bt-core-app 2.0.28 → 2.0.30

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
@@ -1067,6 +1067,7 @@ export declare interface ItemProps<T, TSave, TReturn> {
1067
1067
  params?: any;
1068
1068
  proxyID?: string;
1069
1069
  proxyKey?: string;
1070
+ queryParams?: string[] | Record<string, string>[];
1070
1071
  refreshToggle?: boolean;
1071
1072
  resetTrackerToggle?: boolean;
1072
1073
  startEditing?: boolean;
@@ -1606,7 +1607,7 @@ export declare interface StorePathOptions extends PathOptions {
1606
1607
  /**will store this request in session as a special memory in the pinia store */
1607
1608
  getStorageKey?: (dOptions: GetStorageKeyOptions) => string;
1608
1609
  localOnly?: boolean;
1609
- localPredicate?: (item: any) => boolean;
1610
+ localPredicate?: <T>(item: T) => boolean;
1610
1611
  storeKey?: string;
1611
1612
  /**PLU Only */
1612
1613
  dateFrom?: string;
@@ -2282,6 +2283,7 @@ export declare function useItem<T, TSave, TReturn>(props: ItemProps<T, TSave, TR
2282
2283
  export declare interface UseItemOptions {
2283
2284
  onGetItem?: (item: any) => void;
2284
2285
  onError?: (err: any) => void;
2286
+ route?: RouteLocationNormalizedLoaded;
2285
2287
  storeKey?: string;
2286
2288
  storeMode?: StoreMode;
2287
2289
  storageMode?: StorageMode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.28",
3
+ "version": "2.0.30",
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": {