bt-core-app 1.4.13 → 1.4.15
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 +550 -563
- package/dist/index.d.ts +2 -26
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -296,30 +296,6 @@ export declare function createPWA(): BTPWA;
|
|
|
296
296
|
|
|
297
297
|
export declare function createSessionStoreDefinition(options: UseSessionStoreOptions): BTStoreDefinition;
|
|
298
298
|
|
|
299
|
-
export declare function createStoreBuilder(options: CreateStoreBuilderOptions): (opt: CreateStoreOptions) => BTStoreDefinition;
|
|
300
|
-
|
|
301
|
-
export declare interface CreateStoreBuilderOptions {
|
|
302
|
-
/**ideally required. Otherwise will struggle to find url path */
|
|
303
|
-
api?: BTApi;
|
|
304
|
-
/**ideally required. For setting unique local storage keys */
|
|
305
|
-
auth?: BTAuth;
|
|
306
|
-
/**build a query. Overrides the default */
|
|
307
|
-
builderQuery?: (params: any) => string;
|
|
308
|
-
/**overrides the default */
|
|
309
|
-
buildUrl?: (path: PathOptions) => string;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export declare function createStoreDefinition(options: UseStoreOptions): BTStoreDefinition;
|
|
313
|
-
|
|
314
|
-
export declare interface CreateStoreOptions {
|
|
315
|
-
/**particularly what store syle to use */
|
|
316
|
-
storeMode: StoreMode;
|
|
317
|
-
/**whether to store data locally or only for the duration of the session */
|
|
318
|
-
storageMode: StorageMode;
|
|
319
|
-
/**the name of this store */
|
|
320
|
-
storeName: string;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
299
|
export declare function createUrl(options: CreateUrlOptions): CreateUrlOptions;
|
|
324
300
|
|
|
325
301
|
declare interface CreateUrlOptions {
|
|
@@ -1203,9 +1179,9 @@ declare interface UseSessionStoreOptions {
|
|
|
1203
1179
|
storeName: string;
|
|
1204
1180
|
}
|
|
1205
1181
|
|
|
1206
|
-
export declare function useStore(options:
|
|
1182
|
+
export declare function useStore(options: UseStoreOptions): BTStore;
|
|
1207
1183
|
|
|
1208
|
-
export declare function useStoreDefinition(options:
|
|
1184
|
+
export declare function useStoreDefinition(options: UseStoreOptions): BTStoreDefinition;
|
|
1209
1185
|
|
|
1210
1186
|
export declare interface UseStoreOptions {
|
|
1211
1187
|
/**ideally required. Otherwise will struggle to find url path */
|
package/package.json
CHANGED