bt-core-app 2.0.97 → 2.0.98

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/index.d.ts CHANGED
@@ -163,6 +163,10 @@ export declare interface BaseModel {
163
163
  id?: string;
164
164
  }
165
165
 
166
+ export declare interface BaseSettings<T> {
167
+ settings: Ref<T>;
168
+ }
169
+
166
170
  declare interface BladeData {
167
171
  bladeName: string;
168
172
  bladeGroup: string;
@@ -2635,6 +2639,8 @@ declare interface UseSessionStoreOptions {
2635
2639
  storeName: string;
2636
2640
  }
2637
2641
 
2642
+ export declare function useSettingsFor<TSettings>(key: string, defaultSettings: TSettings): BaseSettings<any>;
2643
+
2638
2644
  export declare function useSteps<T>(id: string, options?: BTSteps<T>): BTStepsStore<T>;
2639
2645
 
2640
2646
  export declare function useStore(options: CreateStoreOptions): BTStore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.97",
3
+ "version": "2.0.98",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {