@unchainedshop/core-products 4.5.0 → 4.6.1
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/db/ProductsCollection.js +1 -0
- package/lib/module/configureProductMediaModule.d.ts +1 -0
- package/lib/module/configureProductPrices.d.ts +1 -0
- package/lib/module/configureProductReviewsModule.d.ts +1 -0
- package/lib/module/configureProductTextsModule.d.ts +1 -0
- package/lib/module/configureProductVariationsModule.d.ts +1 -0
- package/package.json +5 -4
|
@@ -40,3 +40,4 @@ export declare const configureProductMediaModule: ({ db }: ModuleInput<Record<st
|
|
|
40
40
|
} & Omit<Partial<ProductMediaText>, "productMediaId" | "locale">)[]) => Promise<ProductMediaText[]>;
|
|
41
41
|
};
|
|
42
42
|
}>;
|
|
43
|
+
export type ProductMediaModule = Awaited<ReturnType<typeof configureProductMediaModule>>;
|
|
@@ -48,3 +48,4 @@ export declare const configureProductReviewsModule: ({ db }: ModuleInput<Record<
|
|
|
48
48
|
removeVote: (productReviewId: string, { userId, type }: ProductVote) => Promise<mongodb.WithId<ProductReview> | null>;
|
|
49
49
|
};
|
|
50
50
|
}>;
|
|
51
|
+
export type ProductReviewsModule = Awaited<ReturnType<typeof configureProductReviewsModule>>;
|
|
@@ -47,3 +47,4 @@ export declare const configureProductVariationsModule: ({ db }: ModuleInput<Reco
|
|
|
47
47
|
} & Omit<Partial<ProductVariationText>, "locale" | "productVariationId" | "productVariationOptionValue">)[], productVariationOptionValue?: string) => Promise<ProductVariationText[]>;
|
|
48
48
|
};
|
|
49
49
|
}>;
|
|
50
|
+
export type ProductVariationsModule = Awaited<ReturnType<typeof configureProductVariationsModule>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unchainedshop/core-products",
|
|
3
|
-
"
|
|
3
|
+
"description": "Product catalog management module for the Unchained Engine",
|
|
4
|
+
"version": "4.6.1",
|
|
4
5
|
"main": "lib/products-index.js",
|
|
5
6
|
"types": "lib/products-index.d.ts",
|
|
6
7
|
"type": "module",
|
|
@@ -34,9 +35,9 @@
|
|
|
34
35
|
},
|
|
35
36
|
"homepage": "https://github.com/unchainedshop/unchained#readme",
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@unchainedshop/events": "^4.
|
|
38
|
-
"@unchainedshop/file-upload": "^4.
|
|
39
|
-
"@unchainedshop/utils": "^4.
|
|
38
|
+
"@unchainedshop/events": "^4.6.0",
|
|
39
|
+
"@unchainedshop/file-upload": "^4.6.0",
|
|
40
|
+
"@unchainedshop/utils": "^4.6.0"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@types/node": "^25.0.0",
|