@orderingstack/ordering-types 1.16.0 → 1.17.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/cjs/index.d.ts +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/package.json +22 -21
package/dist/cjs/index.d.ts
CHANGED
|
@@ -275,7 +275,7 @@ export interface IOrderCoupon {
|
|
|
275
275
|
campaign?: string;
|
|
276
276
|
categoryId?: string;
|
|
277
277
|
productId?: string;
|
|
278
|
-
enableKey?: string;
|
|
278
|
+
enableKey?: string | string[];
|
|
279
279
|
userId?: string;
|
|
280
280
|
extra?: IStringKeyRecord<string>;
|
|
281
281
|
};
|
|
@@ -458,7 +458,7 @@ export interface IOrderProduct {
|
|
|
458
458
|
quantity: string;
|
|
459
459
|
price: string;
|
|
460
460
|
vat?: string;
|
|
461
|
-
extra
|
|
461
|
+
extra?: IStringKeyRecord<string>;
|
|
462
462
|
}
|
|
463
463
|
export declare enum EOrderLineStatus {
|
|
464
464
|
NEW = "NEW",
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -275,7 +275,7 @@ export interface IOrderCoupon {
|
|
|
275
275
|
campaign?: string;
|
|
276
276
|
categoryId?: string;
|
|
277
277
|
productId?: string;
|
|
278
|
-
enableKey?: string;
|
|
278
|
+
enableKey?: string | string[];
|
|
279
279
|
userId?: string;
|
|
280
280
|
extra?: IStringKeyRecord<string>;
|
|
281
281
|
};
|
|
@@ -458,7 +458,7 @@ export interface IOrderProduct {
|
|
|
458
458
|
quantity: string;
|
|
459
459
|
price: string;
|
|
460
460
|
vat?: string;
|
|
461
|
-
extra
|
|
461
|
+
extra?: IStringKeyRecord<string>;
|
|
462
462
|
}
|
|
463
463
|
export declare enum EOrderLineStatus {
|
|
464
464
|
NEW = "NEW",
|
package/package.json
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@orderingstack/ordering-types",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Typescript types for @orderingstack",
|
|
5
|
-
"types": "dist/esm/index.d.ts",
|
|
6
|
-
"main": "dist/cjs/index.js",
|
|
7
|
-
"module": "dist/esm/index.js",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist/"
|
|
10
|
-
],
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@orderingstack/ordering-types",
|
|
3
|
+
"version": "1.17.0",
|
|
4
|
+
"description": "Typescript types for @orderingstack",
|
|
5
|
+
"types": "dist/esm/index.d.ts",
|
|
6
|
+
"main": "dist/cjs/index.js",
|
|
7
|
+
"module": "dist/esm/index.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
|
|
13
|
+
"prepublishOnly": "npm run build"
|
|
14
|
+
},
|
|
15
|
+
"author": "Tomasz Rojek <tomasz.rojek@e3.pl>",
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@types/react": "^18.0.26",
|
|
18
|
+
"react": "^18.2.0",
|
|
19
|
+
"react-hook-form": "^7.42.0",
|
|
20
|
+
"react-spring": "^9.6.1",
|
|
21
|
+
"typescript": "next"
|
|
22
|
+
}
|
|
22
23
|
}
|