bt-core-app 2.0.44 → 2.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bt-core-app.js +680 -674
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1051,6 +1051,7 @@ export declare interface ItemProps<T, TSave, TReturn> {
|
|
|
1051
1051
|
onCanSaveAsync?: OnCanDoAsync<TReturn | TSave>;
|
|
1052
1052
|
onDeleteAsync?: OnDoActionAsync<TReturn>;
|
|
1053
1053
|
onDeleteSuccessAsync?: OnDoMaybeSuccessAsync<TReturn, TReturn>;
|
|
1054
|
+
onEditAsync?: (item?: TReturn | TReturn[]) => Promise<TReturn | TReturn[] | undefined>;
|
|
1054
1055
|
onError?: (err: any) => void;
|
|
1055
1056
|
onGetAsync?: OnGetAsync<T>;
|
|
1056
1057
|
onGetListAsync?: OnGetAllAsync<T>;
|
|
@@ -1065,6 +1066,7 @@ export declare interface ItemProps<T, TSave, TReturn> {
|
|
|
1065
1066
|
onSaveAsync?: (item: TSave | TReturn) => Promise<TReturn | undefined>;
|
|
1066
1067
|
onSaveSuccessAsync?: OnDoSuccessAsync<TReturn, TReturn>;
|
|
1067
1068
|
onUpdateAsyncItem?: (asyncItem: TReturn | TReturn[] | undefined, newVersionItem: T) => void;
|
|
1069
|
+
onViewAsync?: (item?: TReturn | TReturn[]) => Promise<TReturn | TReturn[] | undefined>;
|
|
1068
1070
|
params?: any;
|
|
1069
1071
|
proxyID?: string;
|
|
1070
1072
|
proxyKey?: string;
|
package/package.json
CHANGED