@vuetify/one 1.7.1 → 1.8.0

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
@@ -361,7 +361,7 @@ interface Banner {
361
361
  site: ('*' | 'dev' | 'vbin' | 'vplay' | 'docs' | 'home' | 'server')[];
362
362
  };
363
363
  }
364
- interface State$2 {
364
+ interface State$3 {
365
365
  all: Ref<Banner[]>;
366
366
  aall: Ref<Banner[]>;
367
367
  isLoading: ShallowRef<boolean>;
@@ -375,7 +375,7 @@ interface State$2 {
375
375
  store: (data: FormData) => Promise<Banner>;
376
376
  update: (slug: string, data: FormData) => Promise<Banner>;
377
377
  }
378
- declare const useBannersStore: pinia.StoreDefinition<"banners", pinia._UnwrapAll<Pick<State$2, "isLoading" | "all" | "aall" | "record">>, Pick<State$2, "server" | "banner">, Pick<State$2, "show" | "admin" | "destroy" | "index" | "store" | "update">>;
378
+ declare const useBannersStore: pinia.StoreDefinition<"banners", pinia._UnwrapAll<Pick<State$3, "isLoading" | "all" | "aall" | "record">>, Pick<State$3, "server" | "banner">, Pick<State$3, "show" | "admin" | "destroy" | "index" | "store" | "update">>;
379
379
 
380
380
  type Bin = {
381
381
  id: string;
@@ -1747,13 +1747,13 @@ interface ShopifyProduct {
1747
1747
  price: string;
1748
1748
  image: string;
1749
1749
  }
1750
- interface State$1 {
1750
+ interface State$2 {
1751
1751
  all: Ref<ShopifyProduct[]>;
1752
1752
  themes: ComputedRef<ShopifyProduct[]>;
1753
1753
  index: () => Promise<ShopifyProduct[]>;
1754
1754
  randomize: (array: ShopifyProduct[]) => ShopifyProduct[];
1755
1755
  }
1756
- declare const useProductsStore: pinia.StoreDefinition<"products", pinia._UnwrapAll<Pick<State$1, "all">>, Pick<State$1, "themes">, Pick<State$1, "index" | "randomize">>;
1756
+ declare const useProductsStore: pinia.StoreDefinition<"products", pinia._UnwrapAll<Pick<State$2, "all">>, Pick<State$2, "themes">, Pick<State$2, "index" | "randomize">>;
1757
1757
 
1758
1758
  type CosmicImage = {
1759
1759
  url: string;
@@ -2337,6 +2337,13 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
2337
2337
  update: (id: string, data: FormData) => Promise<Promotion | undefined>;
2338
2338
  }, "show" | "admin" | "destroy" | "index" | "store" | "update" | "random">>;
2339
2339
 
2340
+ type Snackbar = Record<string, any>;
2341
+ interface State$1 {
2342
+ queue: Ref<Snackbar[]>;
2343
+ show: (text: Record<string, any> | string) => void;
2344
+ }
2345
+ declare const useQueueStore: pinia.StoreDefinition<"Queue", pinia._UnwrapAll<Pick<State$1, "queue">>, Pick<State$1, never>, Pick<State$1, "show">>;
2346
+
2340
2347
  interface Suit {
2341
2348
  'app-bar': string;
2342
2349
  'drawer': string;
@@ -2520,4 +2527,4 @@ declare function createOne(): {
2520
2527
  };
2521
2528
  declare function one(id: string[], url: string): (context: PiniaPluginContext) => void;
2522
2529
 
2523
- export { createOne, one, useAuthStore, useBannersStore, useBinsStore, useHttpStore, useOneStore, useProductsStore, usePromotionsStore, useSettingsStore, useSpotsStore, useUserStore };
2530
+ export { createOne, one, useAuthStore, useBannersStore, useBinsStore, useHttpStore, useOneStore, useProductsStore, usePromotionsStore, useQueueStore, useSettingsStore, useSpotsStore, useUserStore };