@trusted-solutions/sdit.models 0.20.0-alpha.1 → 0.20.0-alpha.2
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/lambda/request/menu.d.ts +2 -1
- package/models/menu.d.ts +4 -0
- package/models/store.d.ts +2 -0
- package/package.json +1 -1
package/lambda/request/menu.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProductCategory, Product, ProductAttributeCategory, ProductAttribute, ReorderConfig } from "./../../models";
|
|
1
|
+
import { ProductCategory, Product, ProductAttributeCategory, ProductAttribute, ReorderConfig, ProductProductAttribute } from "./../../models";
|
|
2
2
|
import { BlockVersion } from "../../enums/block-storage";
|
|
3
3
|
import { AttributeIdsInProduct } from "../../models/array-mutations";
|
|
4
4
|
import { CursorPaginationEnabled, Filterable } from './common';
|
|
@@ -84,4 +84,5 @@ export interface OverwriteMenuRequest extends StoreTemplateItemRequest {
|
|
|
84
84
|
productAttributes: ProductAttribute[];
|
|
85
85
|
productCategories: ProductCategory[];
|
|
86
86
|
productAttributeCategories: ProductAttributeCategory[];
|
|
87
|
+
productProductAttributeRelations: ProductProductAttribute[];
|
|
87
88
|
}
|
package/models/menu.d.ts
CHANGED
|
@@ -65,6 +65,10 @@ export interface ProductAttribute {
|
|
|
65
65
|
disableOnline?: boolean;
|
|
66
66
|
disableKiosk?: boolean;
|
|
67
67
|
}
|
|
68
|
+
export interface ProductProductAttribute {
|
|
69
|
+
productId: string;
|
|
70
|
+
productAttributeId: string;
|
|
71
|
+
}
|
|
68
72
|
export interface ProductAttributeCategory {
|
|
69
73
|
id?: string;
|
|
70
74
|
name: string;
|
package/models/store.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.20.0-alpha.
|
|
3
|
+
"version": "0.20.0-alpha.2",
|
|
4
4
|
"description": "TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|