@vuetify/one 1.4.1 → 1.5.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 +21 -3
- package/dist/index.js +1075 -1048
- package/package.json +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -364,7 +364,7 @@ interface Banner {
|
|
|
364
364
|
site: ('*' | 'dev' | 'vbin' | 'vplay' | 'docs' | 'home' | 'server')[];
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
|
-
interface State$
|
|
367
|
+
interface State$2 {
|
|
368
368
|
all: Ref<Banner[]>;
|
|
369
369
|
aall: Ref<Banner[]>;
|
|
370
370
|
isLoading: ShallowRef<boolean>;
|
|
@@ -378,7 +378,7 @@ interface State$1 {
|
|
|
378
378
|
store: (data: FormData) => Promise<Banner>;
|
|
379
379
|
update: (slug: string, data: FormData) => Promise<Banner>;
|
|
380
380
|
}
|
|
381
|
-
declare const useBannersStore: pinia.StoreDefinition<"banners", pinia._UnwrapAll<Pick<State$
|
|
381
|
+
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">>;
|
|
382
382
|
|
|
383
383
|
type Bin = {
|
|
384
384
|
id: string;
|
|
@@ -1716,6 +1716,24 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
|
|
|
1716
1716
|
verify: () => Promise<void>;
|
|
1717
1717
|
}, "verify" | "cancel" | "activate" | "manage" | "modify" | "resetQuery" | "subscribe" | "subscriptionInfo">>;
|
|
1718
1718
|
|
|
1719
|
+
interface ShopifyProduct {
|
|
1720
|
+
id: string;
|
|
1721
|
+
title: string;
|
|
1722
|
+
vendor: string;
|
|
1723
|
+
product_type: string;
|
|
1724
|
+
tags: string[];
|
|
1725
|
+
handle: string;
|
|
1726
|
+
price: string;
|
|
1727
|
+
image: string;
|
|
1728
|
+
}
|
|
1729
|
+
interface State$1 {
|
|
1730
|
+
all: Ref<ShopifyProduct[]>;
|
|
1731
|
+
themes: ComputedRef<ShopifyProduct[]>;
|
|
1732
|
+
index: () => Promise<ShopifyProduct[]>;
|
|
1733
|
+
randomize: (array: ShopifyProduct[]) => ShopifyProduct[];
|
|
1734
|
+
}
|
|
1735
|
+
declare const useProductsStore: pinia.StoreDefinition<"products", pinia._UnwrapAll<Pick<State$1, "all">>, Pick<State$1, "themes">, Pick<State$1, "index" | "randomize">>;
|
|
1736
|
+
|
|
1719
1737
|
type CosmicImage = {
|
|
1720
1738
|
url: string;
|
|
1721
1739
|
} | null;
|
|
@@ -2462,4 +2480,4 @@ declare function createOne(): {
|
|
|
2462
2480
|
};
|
|
2463
2481
|
declare function one(id: string[], url: string): (context: PiniaPluginContext) => void;
|
|
2464
2482
|
|
|
2465
|
-
export { createOne, one, useAuthStore, useBannersStore, useBinsStore, useHttpStore, useOneStore, usePromotionsStore, useSettingsStore, useSpotsStore, useUserStore };
|
|
2483
|
+
export { createOne, one, useAuthStore, useBannersStore, useBinsStore, useHttpStore, useOneStore, useProductsStore, usePromotionsStore, useSettingsStore, useSpotsStore, useUserStore };
|