bt-core-app 1.4.57 → 1.4.59
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 +3184 -3160
- package/dist/index.d.ts +20 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -420,6 +420,10 @@ export declare interface DeleteOptions extends PathOptions, DoActionOptions {
|
|
|
420
420
|
/**Will open a dialog box requesting user confirmation for delete action */
|
|
421
421
|
onDeleteSuccessAsync?: OnDoAsync;
|
|
422
422
|
store?: BTStoreDefinition;
|
|
423
|
+
/**particularly what store syle to use */
|
|
424
|
+
storeMode?: StoreMode;
|
|
425
|
+
/**whether to store data locally or only for the duration of the session */
|
|
426
|
+
storageMode?: StorageMode;
|
|
423
427
|
}
|
|
424
428
|
|
|
425
429
|
declare interface DemoApiGroup {
|
|
@@ -532,6 +536,10 @@ export declare interface GetOptions extends PathOptions, DoActionOptions {
|
|
|
532
536
|
/**called after get occurs successfully */
|
|
533
537
|
onGetSuccessAsync?: OnGetSuccessAsync;
|
|
534
538
|
store?: BTStoreDefinition;
|
|
539
|
+
/**particularly what store syle to use */
|
|
540
|
+
storeMode?: StoreMode;
|
|
541
|
+
/**whether to store data locally or only for the duration of the session */
|
|
542
|
+
storageMode?: StorageMode;
|
|
535
543
|
}
|
|
536
544
|
|
|
537
545
|
export declare function getRandomColor(): string;
|
|
@@ -918,6 +926,10 @@ export declare interface RestoreOptions extends PathOptions, DoActionOptions {
|
|
|
918
926
|
/**Called after restore succeeds */
|
|
919
927
|
onRestoreSuccessAsync?: OnDoSuccessAsync;
|
|
920
928
|
store?: BTStoreDefinition;
|
|
929
|
+
/**particularly what store syle to use */
|
|
930
|
+
storeMode?: StoreMode;
|
|
931
|
+
/**whether to store data locally or only for the duration of the session */
|
|
932
|
+
storageMode?: StorageMode;
|
|
921
933
|
}
|
|
922
934
|
|
|
923
935
|
/**
|
|
@@ -947,6 +959,10 @@ export declare interface SaveOptions extends PathOptions, DoActionOptions {
|
|
|
947
959
|
/**Called after save succeeds */
|
|
948
960
|
onSaveSuccessAsync?: OnDoSuccessAsync;
|
|
949
961
|
store?: BTStoreDefinition;
|
|
962
|
+
/**particularly what store syle to use. DEFAULTS TO SESSION*/
|
|
963
|
+
storeMode?: StoreMode;
|
|
964
|
+
/**whether to store data locally or only for the duration of the session. DEFAULTS TO LOCAL-CACHE */
|
|
965
|
+
storageMode?: StorageMode;
|
|
950
966
|
}
|
|
951
967
|
|
|
952
968
|
export declare function singularize(str: string): string;
|
|
@@ -1022,6 +1038,10 @@ export declare interface UseActionsOptions extends DoActionOptions {
|
|
|
1022
1038
|
proxyID?: string;
|
|
1023
1039
|
refresh?: boolean;
|
|
1024
1040
|
store?: BTStoreDefinition;
|
|
1041
|
+
/**particularly what store syle to use. DEFAULTS to session */
|
|
1042
|
+
storeMode?: StoreMode;
|
|
1043
|
+
/**whether to store data locally or only for the duration of the session. DEFAULTS to local-cache */
|
|
1044
|
+
storageMode?: StorageMode;
|
|
1025
1045
|
throwError?: boolean;
|
|
1026
1046
|
url?: string;
|
|
1027
1047
|
/**for basic functionality when no store is provided */
|
package/package.json
CHANGED