bt-core-app 2.0.146 → 2.0.148
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 +4899 -4892
- package/dist/index.d.ts +7 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -625,10 +625,10 @@ export declare interface CreateCoreOptions {
|
|
|
625
625
|
menu?: CreateMenuOptions;
|
|
626
626
|
navigation?: UseNavigationOptions;
|
|
627
627
|
presets?: any;
|
|
628
|
+
pwa?: CreatePWAOptions;
|
|
628
629
|
/**suboptions */
|
|
629
630
|
subscriptionOptions?: AuthSubscription[];
|
|
630
631
|
urls: CreateUrlOptions;
|
|
631
|
-
usePWA?: boolean;
|
|
632
632
|
}
|
|
633
633
|
|
|
634
634
|
export declare function createCosmetics<T extends BaseCosmeticTheme>(options: UseCosmeticsOptions<T>): BTCosmetics;
|
|
@@ -691,6 +691,11 @@ export declare interface CreatePresetsOptions {
|
|
|
691
691
|
|
|
692
692
|
export declare function createPWA(options: UsePWAOptions): BTPWA;
|
|
693
693
|
|
|
694
|
+
declare interface CreatePWAOptions {
|
|
695
|
+
registerServiceWorker?: boolean;
|
|
696
|
+
usePWA?: boolean;
|
|
697
|
+
}
|
|
698
|
+
|
|
694
699
|
export declare function createSessionStoreDefinition(options: UseSessionStoreOptions): BTStoreDefinition;
|
|
695
700
|
|
|
696
701
|
export declare function createStoreBuilder(options: CreateStoreBuilderOptions): (opt: CreateStoreOptions) => BTStoreDefinition;
|
|
@@ -2579,7 +2584,7 @@ export declare function usePresets(preset?: string): any;
|
|
|
2579
2584
|
|
|
2580
2585
|
export declare function usePWA(): BTPWA;
|
|
2581
2586
|
|
|
2582
|
-
declare interface UsePWAOptions {
|
|
2587
|
+
declare interface UsePWAOptions extends CreatePWAOptions {
|
|
2583
2588
|
urls: CreateUrlOptions;
|
|
2584
2589
|
}
|
|
2585
2590
|
|
package/package.json
CHANGED