@nextblock-cms/ecom 0.14.5 → 0.15.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/lib/product-actions.d.ts
CHANGED
|
@@ -137,6 +137,7 @@ export declare function getProduct(supabase: SupabaseClient<Database>, id: strin
|
|
|
137
137
|
trial_requires_payment_method: boolean;
|
|
138
138
|
upc: string | null;
|
|
139
139
|
updated_at: string | null;
|
|
140
|
+
version: number;
|
|
140
141
|
languages: {
|
|
141
142
|
code: string;
|
|
142
143
|
};
|
|
@@ -263,6 +264,7 @@ export declare function createProduct(supabase: SupabaseClient<Database>, data:
|
|
|
263
264
|
trial_requires_payment_method: boolean;
|
|
264
265
|
upc: string | null;
|
|
265
266
|
updated_at: string | null;
|
|
267
|
+
version: number;
|
|
266
268
|
} | null>;
|
|
267
269
|
export declare function updateProduct(supabase: SupabaseClient<Database>, id: string, data: ProductFormValues): Promise<{
|
|
268
270
|
average_rating: number;
|
|
@@ -301,6 +303,7 @@ export declare function updateProduct(supabase: SupabaseClient<Database>, id: st
|
|
|
301
303
|
trial_requires_payment_method: boolean;
|
|
302
304
|
upc: string | null;
|
|
303
305
|
updated_at: string | null;
|
|
306
|
+
version: number;
|
|
304
307
|
} | null>;
|
|
305
308
|
export declare function deleteProduct(supabase: SupabaseClient<Database>, id: string): Promise<boolean>;
|
|
306
309
|
export declare function copyProductFromLanguage(supabase: SupabaseClient<Database>, targetProductId: string, sourceProductId: string): Promise<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextblock-cms/ecom",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@nextblock-cms/db": "^0.
|
|
14
|
-
"@nextblock-cms/ui": "^0.
|
|
15
|
-
"@nextblock-cms/utils": "^0.
|
|
13
|
+
"@nextblock-cms/db": "^0.15.0",
|
|
14
|
+
"@nextblock-cms/ui": "^0.15.0",
|
|
15
|
+
"@nextblock-cms/utils": "^0.15.0",
|
|
16
16
|
"@freemius/checkout": "^1.4.1",
|
|
17
17
|
"@freemius/sdk": "^0.3.0",
|
|
18
18
|
"@hookform/resolvers": "^5.2.2",
|