@trusted-solutions/sdit.models 0.58.0-alpha.1 → 0.58.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/models/menu.d.ts +16 -2
- package/models/menu.js.map +1 -1
- package/package.json +1 -1
package/models/menu.d.ts
CHANGED
|
@@ -51,7 +51,18 @@ export interface Product {
|
|
|
51
51
|
amount: number;
|
|
52
52
|
imageUrl: string;
|
|
53
53
|
disabled: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* 此property沒有直接存入DB,而是另外存關聯
|
|
56
|
+
* 為了方便使用,透過Service撈出來會一起把其關聯撈出回填這個值(virtual)
|
|
57
|
+
* @deprecated 改用 `attributeCategoryIds`
|
|
58
|
+
*/
|
|
54
59
|
attributeIds: string[];
|
|
60
|
+
/**
|
|
61
|
+
* 此商品關聯了哪些附加屬性大類
|
|
62
|
+
* 此property沒有直接存入DB,而是另外存關聯
|
|
63
|
+
* 為了方便使用,透過Service撈出來會一起把其關聯撈出回填這個值(virtual)
|
|
64
|
+
*/
|
|
65
|
+
attributeCategoryIds?: string[];
|
|
55
66
|
tax: Tax;
|
|
56
67
|
sort: number;
|
|
57
68
|
/**
|
|
@@ -95,10 +106,13 @@ export interface ProductAttribute {
|
|
|
95
106
|
/** type為combo時,必填 */
|
|
96
107
|
productId?: string;
|
|
97
108
|
}
|
|
98
|
-
export interface
|
|
109
|
+
export interface ProductProductAttributeCategory {
|
|
99
110
|
productId: string;
|
|
100
|
-
|
|
111
|
+
productAttributeCategoryId: string;
|
|
101
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* @deprecated 以 `ProductProductAttributeCategory` 取代
|
|
115
|
+
*/
|
|
102
116
|
export interface ProductProductAttribute {
|
|
103
117
|
productId: string;
|
|
104
118
|
productAttributeId: string;
|
package/models/menu.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/menu.ts"],"names":[],"mappings":";;;AAMA,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,6CAAiC,CAAA;IACjC,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;IACzB,2BAAe,CAAA;AACjB,CAAC,EANW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAMnB;AAkCD,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,gCAAiB,CAAA;AACnB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;
|
|
1
|
+
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/menu.ts"],"names":[],"mappings":";;;AAMA,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,6CAAiC,CAAA;IACjC,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;IACzB,2BAAe,CAAA;AACjB,CAAC,EANW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAMnB;AAkCD,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,gCAAiB,CAAA;AACnB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AA2CD,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,kCAAiB,CAAA;AACnB,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.58.0-alpha.
|
|
3
|
+
"version": "0.58.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": {
|