@unchainedshop/core-products 1.2.30 → 1.2.40

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.
@@ -1,2 +1,3 @@
1
- export const ProductMediaSchema: any;
2
- export const ProductMediaTextsSchema: any;
1
+ export const ProductMediaSchema: SimpleSchema;
2
+ export const ProductMediaTextsSchema: SimpleSchema;
3
+ import SimpleSchema from "simpl-schema";
@@ -3,4 +3,5 @@ export namespace ProductReviewVoteTypes {
3
3
  const DOWNVOTE: string;
4
4
  const REPORT: string;
5
5
  }
6
- export const ProductReviewsSchema: any;
6
+ export const ProductReviewsSchema: SimpleSchema;
7
+ import SimpleSchema from "simpl-schema";
@@ -2,5 +2,6 @@ export namespace ProductVariationType {
2
2
  const COLOR: string;
3
3
  const TEXT: string;
4
4
  }
5
- export const ProductVariationsSchema: any;
6
- export const ProductVariationTextsSchema: any;
5
+ export const ProductVariationsSchema: SimpleSchema;
6
+ export const ProductVariationTextsSchema: SimpleSchema;
7
+ import SimpleSchema from "simpl-schema";
@@ -4,5 +4,6 @@ export namespace ProductTypes {
4
4
  const BundleProduct: string;
5
5
  const PlanProduct: string;
6
6
  }
7
- export const ProductsSchema: any;
8
- export const ProductTextsSchema: any;
7
+ export const ProductsSchema: SimpleSchema;
8
+ export const ProductTextsSchema: SimpleSchema;
9
+ import SimpleSchema from "simpl-schema";
@@ -1,3 +1,3 @@
1
1
  import { ModuleInput } from '@unchainedshop/types/core';
2
2
  import { ProductsModule, ProductsSettingsOptions } from '@unchainedshop/types/products';
3
- export declare const configureProductsModule: ({ db, options, }: ModuleInput<ProductsSettingsOptions>) => Promise<ProductsModule>;
3
+ export declare const configureProductsModule: ({ db, options: productsOptions, }: ModuleInput<ProductsSettingsOptions>) => Promise<ProductsModule>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchainedshop/core-products",
3
- "version": "1.2.30",
3
+ "version": "1.2.40",
4
4
  "main": "lib/products-index.js",
5
5
  "exports": {
6
6
  ".": "./lib/products-index.js",
@@ -30,19 +30,19 @@
30
30
  },
31
31
  "homepage": "https://github.com/unchainedshop/unchained#readme",
32
32
  "dependencies": {
33
- "@unchainedshop/events": "^1.2.30",
34
- "@unchainedshop/file-upload": "^1.2.30",
35
- "@unchainedshop/utils": "^1.2.30",
33
+ "@unchainedshop/events": "^1.2.40",
34
+ "@unchainedshop/file-upload": "^1.2.40",
35
+ "@unchainedshop/utils": "^1.2.40",
36
36
  "locale": "^0.1.0",
37
37
  "lru-cache": "^7.14.0",
38
- "simpl-schema": "^1.13.1"
38
+ "simpl-schema": "^3.0.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/locale": "^0.1.1",
42
- "@types/node": "^16.11.59",
43
- "@unchainedshop/types": "^1.2.30",
44
- "jest": "^29.0.2",
45
- "ts-jest": "^28.0.8",
46
- "typescript": "^4.8.3"
42
+ "@types/node": "^16.11.66",
43
+ "@unchainedshop/types": "^1.2.40",
44
+ "jest": "^29.2.0",
45
+ "ts-jest": "^29.0.3",
46
+ "typescript": "^4.8.4"
47
47
  }
48
48
  }