@things-factory/sales-base 4.3.239 → 4.3.244
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-server/constants/order.js +2 -1
- package/dist-server/constants/order.js.map +1 -1
- package/dist-server/controllers/ecommerce/index.js +1 -0
- package/dist-server/controllers/ecommerce/index.js.map +1 -1
- package/dist-server/controllers/ecommerce/powrup-controller.js +211 -0
- package/dist-server/controllers/ecommerce/powrup-controller.js.map +1 -0
- package/dist-server/index.js +1 -0
- package/dist-server/index.js.map +1 -1
- package/dist-server/service/delivery-order/delivery-order-query.js +2 -2
- package/dist-server/service/delivery-order/delivery-order-query.js.map +1 -1
- package/dist-server/service/index.js +4 -0
- package/dist-server/service/index.js.map +1 -1
- package/dist-server/service/order-inventory/order-inventory-query.js +2 -1
- package/dist-server/service/order-inventory/order-inventory-query.js.map +1 -1
- package/dist-server/service/order-vas/order-vas-mutation.js +85 -0
- package/dist-server/service/order-vas/order-vas-mutation.js.map +1 -1
- package/dist-server/service/order-vas/order-vas-query.js +4 -1
- package/dist-server/service/order-vas/order-vas-query.js.map +1 -1
- package/dist-server/service/order-vas/order-vas-types.js +54 -10
- package/dist-server/service/order-vas/order-vas-types.js.map +1 -1
- package/dist-server/service/order-vas/order-vas.js +103 -21
- package/dist-server/service/order-vas/order-vas.js.map +1 -1
- package/dist-server/service/order-vas-item/index.js +9 -0
- package/dist-server/service/order-vas-item/index.js.map +1 -0
- package/dist-server/service/order-vas-item/order-vas-item-mutation.js +120 -0
- package/dist-server/service/order-vas-item/order-vas-item-mutation.js.map +1 -0
- package/dist-server/service/order-vas-item/order-vas-item-query.js +99 -0
- package/dist-server/service/order-vas-item/order-vas-item-query.js.map +1 -0
- package/dist-server/service/order-vas-item/order-vas-item-type.js +111 -0
- package/dist-server/service/order-vas-item/order-vas-item-type.js.map +1 -0
- package/dist-server/service/order-vas-item/order-vas-item.js +146 -0
- package/dist-server/service/order-vas-item/order-vas-item.js.map +1 -0
- package/dist-server/service/release-good/release-good-mutation.js +28 -25
- package/dist-server/service/release-good/release-good-mutation.js.map +1 -1
- package/dist-server/service/release-good/release-good-query.js +6 -1
- package/dist-server/service/release-good/release-good-query.js.map +1 -1
- package/dist-server/service/vas/vas.js +8 -6
- package/dist-server/service/vas/vas.js.map +1 -1
- package/dist-server/service/vas-order/vas-order-mutation.js +2 -2
- package/dist-server/service/vas-order/vas-order-mutation.js.map +1 -1
- package/package.json +4 -3
- package/server/constants/order.ts +2 -1
- package/server/controllers/ecommerce/index.ts +1 -0
- package/server/controllers/ecommerce/powrup-controller.ts +301 -0
- package/server/index.ts +1 -0
- package/server/service/delivery-order/delivery-order-query.ts +19 -19
- package/server/service/index.ts +4 -0
- package/server/service/order-inventory/order-inventory-query.ts +2 -1
- package/server/service/order-vas/order-vas-mutation.ts +94 -1
- package/server/service/order-vas/order-vas-query.ts +4 -1
- package/server/service/order-vas/order-vas-types.ts +34 -1
- package/server/service/order-vas/order-vas.ts +89 -10
- package/server/service/order-vas-item/index.ts +6 -0
- package/server/service/order-vas-item/order-vas-item-mutation.ts +112 -0
- package/server/service/order-vas-item/order-vas-item-query.ts +58 -0
- package/server/service/order-vas-item/order-vas-item-type.ts +71 -0
- package/server/service/order-vas-item/order-vas-item.ts +128 -0
- package/server/service/release-good/release-good-mutation.ts +30 -26
- package/server/service/release-good/release-good-query.ts +56 -87
- package/server/service/vas/vas.ts +11 -5
- package/server/service/vas-order/vas-order-mutation.ts +2 -2
|
@@ -14,14 +14,70 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.OrderVasMutation = void 0;
|
|
16
16
|
const type_graphql_1 = require("type-graphql");
|
|
17
|
+
const typeorm_1 = require("typeorm");
|
|
17
18
|
const __1 = require("../");
|
|
18
19
|
const order_vas_1 = require("./order-vas");
|
|
20
|
+
// import { WorksheetDetail } from '@things-factory/worksheet-base'
|
|
19
21
|
let OrderVasMutation = class OrderVasMutation {
|
|
20
22
|
async updateOrderVas(id, patch, context) {
|
|
21
23
|
const { tx, domain } = context.state;
|
|
22
24
|
let orderVas = await tx.getRepository(order_vas_1.OrderVas).findOne(id);
|
|
23
25
|
return await tx.getRepository(order_vas_1.OrderVas).save(Object.assign({ orderVas }, patch));
|
|
24
26
|
}
|
|
27
|
+
async updateMultipleOrderVas(patches, context) {
|
|
28
|
+
const { domain, user } = context.state;
|
|
29
|
+
let results = [];
|
|
30
|
+
const _createRecords = patches.filter((patch) => patch.cuFlag.toUpperCase() === '+');
|
|
31
|
+
const _updateRecords = patches.filter((patch) => patch.cuFlag.toUpperCase() === 'M');
|
|
32
|
+
const orderVasRepo = (0, typeorm_1.getRepository)(order_vas_1.OrderVas);
|
|
33
|
+
if (_createRecords.length > 0) {
|
|
34
|
+
for (let i = 0; i < _createRecords.length; i++) {
|
|
35
|
+
const newRecord = _createRecords[i];
|
|
36
|
+
const result = await orderVasRepo.save(Object.assign(Object.assign({}, newRecord), { domain: domain, creator: user, updater: user }));
|
|
37
|
+
results.push(Object.assign(Object.assign({}, result), { cuFlag: '+' }));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
if (_updateRecords.length > 0) {
|
|
41
|
+
for (let i = 0; i < _updateRecords.length; i++) {
|
|
42
|
+
const newRecord = _updateRecords[i];
|
|
43
|
+
const orderVas = await orderVasRepo.findOne({
|
|
44
|
+
where: { domain, id: newRecord.id },
|
|
45
|
+
relations: ['product', 'productDetail', 'newProduct', 'newProductDetail', 'releaseGood', 'orderVasItems']
|
|
46
|
+
});
|
|
47
|
+
const result = await orderVasRepo.save(Object.assign(Object.assign(Object.assign({}, orderVas), newRecord), { updater: user }));
|
|
48
|
+
results.push(Object.assign(Object.assign({}, result), { cuFlag: 'M' }));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return results;
|
|
52
|
+
}
|
|
53
|
+
async deleteOrderVas(id, context) {
|
|
54
|
+
const { tx } = context.state;
|
|
55
|
+
await tx.getRepository(order_vas_1.OrderVas).delete(id);
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
async deleteOrderVass(ids, context) {
|
|
59
|
+
const { tx } = context.state;
|
|
60
|
+
// const foundWDs = await tx.getRepository(WorksheetDetail)
|
|
61
|
+
// .createQueryBuilder('wd')
|
|
62
|
+
// .innerJoinAndSelect('wd.targetVas', 'tv')
|
|
63
|
+
// .where('tv.id IN (:...ids)', { ids })
|
|
64
|
+
// .getMany();
|
|
65
|
+
const foundWDs = await tx.query(`
|
|
66
|
+
select wd.*, ov.*
|
|
67
|
+
from worksheet_details wd
|
|
68
|
+
left join order_vass ov on wd.target_vas_id = ov.id
|
|
69
|
+
where ov.id IN ('${ids}');
|
|
70
|
+
`);
|
|
71
|
+
if (foundWDs.length > 0) {
|
|
72
|
+
await tx.query(`
|
|
73
|
+
delete from worksheet_details wd
|
|
74
|
+
left join order_vass or on wd.target_vas_id = ov.id
|
|
75
|
+
where ov.id IN ('${ids}')
|
|
76
|
+
`);
|
|
77
|
+
}
|
|
78
|
+
await tx.getRepository(order_vas_1.OrderVas).delete(ids);
|
|
79
|
+
return true;
|
|
80
|
+
}
|
|
25
81
|
};
|
|
26
82
|
__decorate([
|
|
27
83
|
(0, type_graphql_1.Directive)('@transaction'),
|
|
@@ -33,6 +89,35 @@ __decorate([
|
|
|
33
89
|
__metadata("design:paramtypes", [String, __1.OrderVasPatch, Object]),
|
|
34
90
|
__metadata("design:returntype", Promise)
|
|
35
91
|
], OrderVasMutation.prototype, "updateOrderVas", null);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, type_graphql_1.Directive)('@transaction'),
|
|
94
|
+
(0, type_graphql_1.Mutation)(returns => [order_vas_1.OrderVas]),
|
|
95
|
+
__param(0, (0, type_graphql_1.Arg)('patches', type => [__1.OrderVasPatch])),
|
|
96
|
+
__param(1, (0, type_graphql_1.Ctx)()),
|
|
97
|
+
__metadata("design:type", Function),
|
|
98
|
+
__metadata("design:paramtypes", [Array, Object]),
|
|
99
|
+
__metadata("design:returntype", Promise)
|
|
100
|
+
], OrderVasMutation.prototype, "updateMultipleOrderVas", null);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, type_graphql_1.Directive)('@privilege(category: "vas", privilege: "mutation")'),
|
|
103
|
+
(0, type_graphql_1.Directive)('@transaction'),
|
|
104
|
+
(0, type_graphql_1.Mutation)(returns => Boolean),
|
|
105
|
+
__param(0, (0, type_graphql_1.Arg)('id')),
|
|
106
|
+
__param(1, (0, type_graphql_1.Ctx)()),
|
|
107
|
+
__metadata("design:type", Function),
|
|
108
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
109
|
+
__metadata("design:returntype", Promise)
|
|
110
|
+
], OrderVasMutation.prototype, "deleteOrderVas", null);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, type_graphql_1.Directive)('@privilege(category: "vas", privilege: "mutation")'),
|
|
113
|
+
(0, type_graphql_1.Directive)('@transaction'),
|
|
114
|
+
(0, type_graphql_1.Mutation)(returns => Boolean),
|
|
115
|
+
__param(0, (0, type_graphql_1.Arg)('ids', type => [String])),
|
|
116
|
+
__param(1, (0, type_graphql_1.Ctx)()),
|
|
117
|
+
__metadata("design:type", Function),
|
|
118
|
+
__metadata("design:paramtypes", [Array, Object]),
|
|
119
|
+
__metadata("design:returntype", Promise)
|
|
120
|
+
], OrderVasMutation.prototype, "deleteOrderVass", null);
|
|
36
121
|
OrderVasMutation = __decorate([
|
|
37
122
|
(0, type_graphql_1.Resolver)(order_vas_1.OrderVas)
|
|
38
123
|
], OrderVasMutation);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-vas-mutation.js","sourceRoot":"","sources":["../../../server/service/order-vas/order-vas-mutation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,+CAAsE;
|
|
1
|
+
{"version":3,"file":"order-vas-mutation.js","sourceRoot":"","sources":["../../../server/service/order-vas/order-vas-mutation.ts"],"names":[],"mappings":";;;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AAG,GAAE,CAAA;;;;sDAIjD;AAKK;IAHL,IAAA,wBAAS,EAAC,oDAAoD,CAAC;IAC/D,IAAA,wBAAS,EAAC,cAAc,CAAC;IACzB,IAAA,uBAAQ,EAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC;IACN,WAAA,IAAA,kBAAG,EAAC,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;IAAiB,WAAA,IAAA,kBAAG,GAAE,CAAA;;;;uDA6BxE;AAxGU,gBAAgB;IAD5B,IAAA,uBAAQ,EAAC,oBAAQ,CAAC;GACN,gBAAgB,CAyG5B;AAzGY,4CAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-vas-query.js","sourceRoot":"","sources":["../../../server/service/order-vas/order-vas-query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAgD;AAChD,iDAA8F;AAC9F,+CAA6E;AAC7E,qCAAuC;AACvC,2BAAkC;AAClC,2CAAsC;AAG/B,IAAM,aAAa,GAAnB,MAAM,aAAa;IAElB,AAAN,KAAK,CAAC,SAAS,CACyC,OAAkB,EACb,UAAuB,EAC1B,QAAoB;QAE5E,MAAM,eAAe,GAAG,IAAA,yBAAiB,EAAC,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAA;QAC5E,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,MAAM,IAAA,uBAAa,EAAC,oBAAQ,CAAC,CAAC,YAAY,iCAC5D,eAAe,KAClB,SAAS,EAAE;gBACT,QAAQ;gBACR,eAAe;gBACf,aAAa;gBACb,UAAU;gBACV,eAAe;gBACf,
|
|
1
|
+
{"version":3,"file":"order-vas-query.js","sourceRoot":"","sources":["../../../server/service/order-vas/order-vas-query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAgD;AAChD,iDAA8F;AAC9F,+CAA6E;AAC7E,qCAAuC;AACvC,2BA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IACb,WAAA,IAAA,mBAAI,GAAE,CAAA;;qCAAW,oBAAQ;;4CAEvC;AAhEU,aAAa;IADzB,IAAA,uBAAQ,EAAC,oBAAQ,CAAC;GACN,aAAa,CAiEzB;AAjEY,sCAAa"}
|
|
@@ -8,7 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
11
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.OrderVasPatch = exports.NewOrderVas = exports.OrderVasList = void 0;
|
|
14
14
|
const shell_1 = require("@things-factory/shell");
|
|
@@ -49,7 +49,7 @@ __decorate([
|
|
|
49
49
|
__decorate([
|
|
50
50
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
51
51
|
__metadata("design:type", typeof (_a = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _a : Object)
|
|
52
|
-
], NewOrderVas.prototype, "
|
|
52
|
+
], NewOrderVas.prototype, "product", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
55
55
|
__metadata("design:type", String)
|
|
@@ -132,6 +132,10 @@ __decorate([
|
|
|
132
132
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
133
133
|
__metadata("design:type", String)
|
|
134
134
|
], OrderVasPatch.prototype, "id", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
137
|
+
__metadata("design:type", typeof (_j = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _j : Object)
|
|
138
|
+
], OrderVasPatch.prototype, "bizplace", void 0);
|
|
135
139
|
__decorate([
|
|
136
140
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
137
141
|
__metadata("design:type", String)
|
|
@@ -150,8 +154,16 @@ __decorate([
|
|
|
150
154
|
], OrderVasPatch.prototype, "targetBatchId", void 0);
|
|
151
155
|
__decorate([
|
|
152
156
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
153
|
-
__metadata("design:type", typeof (
|
|
157
|
+
__metadata("design:type", typeof (_k = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _k : Object)
|
|
154
158
|
], OrderVasPatch.prototype, "targetProduct", void 0);
|
|
159
|
+
__decorate([
|
|
160
|
+
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
161
|
+
__metadata("design:type", typeof (_l = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _l : Object)
|
|
162
|
+
], OrderVasPatch.prototype, "product", void 0);
|
|
163
|
+
__decorate([
|
|
164
|
+
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
165
|
+
__metadata("design:type", typeof (_m = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _m : Object)
|
|
166
|
+
], OrderVasPatch.prototype, "productDetail", void 0);
|
|
155
167
|
__decorate([
|
|
156
168
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
157
169
|
__metadata("design:type", String)
|
|
@@ -160,6 +172,10 @@ __decorate([
|
|
|
160
172
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
161
173
|
__metadata("design:type", Number)
|
|
162
174
|
], OrderVasPatch.prototype, "qty", void 0);
|
|
175
|
+
__decorate([
|
|
176
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
177
|
+
__metadata("design:type", String)
|
|
178
|
+
], OrderVasPatch.prototype, "uom", void 0);
|
|
163
179
|
__decorate([
|
|
164
180
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
165
181
|
__metadata("design:type", Number)
|
|
@@ -178,36 +194,60 @@ __decorate([
|
|
|
178
194
|
], OrderVasPatch.prototype, "packingType", void 0);
|
|
179
195
|
__decorate([
|
|
180
196
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
181
|
-
__metadata("design:type", typeof (
|
|
197
|
+
__metadata("design:type", typeof (_o = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _o : Object)
|
|
182
198
|
], OrderVasPatch.prototype, "arrivalNotice", void 0);
|
|
183
199
|
__decorate([
|
|
184
200
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
185
|
-
__metadata("design:type", typeof (
|
|
201
|
+
__metadata("design:type", typeof (_p = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _p : Object)
|
|
186
202
|
], OrderVasPatch.prototype, "releaseGood", void 0);
|
|
187
203
|
__decorate([
|
|
188
204
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
189
|
-
__metadata("design:type", typeof (
|
|
205
|
+
__metadata("design:type", typeof (_q = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _q : Object)
|
|
190
206
|
], OrderVasPatch.prototype, "shippingOrder", void 0);
|
|
191
207
|
__decorate([
|
|
192
208
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
193
|
-
__metadata("design:type", typeof (
|
|
209
|
+
__metadata("design:type", typeof (_r = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _r : Object)
|
|
194
210
|
], OrderVasPatch.prototype, "retailReplenishmentOrder", void 0);
|
|
195
211
|
__decorate([
|
|
196
212
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
197
|
-
__metadata("design:type", typeof (
|
|
213
|
+
__metadata("design:type", typeof (_s = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _s : Object)
|
|
198
214
|
], OrderVasPatch.prototype, "transferOrder", void 0);
|
|
199
215
|
__decorate([
|
|
200
216
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
201
|
-
__metadata("design:type", typeof (
|
|
217
|
+
__metadata("design:type", typeof (_t = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _t : Object)
|
|
202
218
|
], OrderVasPatch.prototype, "inventory", void 0);
|
|
203
219
|
__decorate([
|
|
204
220
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
205
|
-
__metadata("design:type", typeof (
|
|
221
|
+
__metadata("design:type", typeof (_u = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _u : Object)
|
|
206
222
|
], OrderVasPatch.prototype, "vas", void 0);
|
|
207
223
|
__decorate([
|
|
208
224
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
209
225
|
__metadata("design:type", String)
|
|
210
226
|
], OrderVasPatch.prototype, "operationGuide", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
229
|
+
__metadata("design:type", String)
|
|
230
|
+
], OrderVasPatch.prototype, "newProduct", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
233
|
+
__metadata("design:type", String)
|
|
234
|
+
], OrderVasPatch.prototype, "newProductDetail", void 0);
|
|
235
|
+
__decorate([
|
|
236
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
237
|
+
__metadata("design:type", String)
|
|
238
|
+
], OrderVasPatch.prototype, "newPackingType", void 0);
|
|
239
|
+
__decorate([
|
|
240
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
241
|
+
__metadata("design:type", String)
|
|
242
|
+
], OrderVasPatch.prototype, "newUom", void 0);
|
|
243
|
+
__decorate([
|
|
244
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
245
|
+
__metadata("design:type", Number)
|
|
246
|
+
], OrderVasPatch.prototype, "newUomValue", void 0);
|
|
247
|
+
__decorate([
|
|
248
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
249
|
+
__metadata("design:type", Number)
|
|
250
|
+
], OrderVasPatch.prototype, "outputQty", void 0);
|
|
211
251
|
__decorate([
|
|
212
252
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
213
253
|
__metadata("design:type", String)
|
|
@@ -220,6 +260,10 @@ __decorate([
|
|
|
220
260
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
221
261
|
__metadata("design:type", String)
|
|
222
262
|
], OrderVasPatch.prototype, "status", void 0);
|
|
263
|
+
__decorate([
|
|
264
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
265
|
+
__metadata("design:type", String)
|
|
266
|
+
], OrderVasPatch.prototype, "domain", void 0);
|
|
223
267
|
__decorate([
|
|
224
268
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
225
269
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-vas-types.js","sourceRoot":"","sources":["../../../server/service/order-vas/order-vas-types.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,iDAAiD;AACjD,+CAAuE;AACvE,2CAAsC;AAG/B,IAAM,YAAY,GAAlB,MAAM,YAAY;CAMxB,CAAA;AALC;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,oBAAQ,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CAC7B;AAEjB;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CAC1B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, v);
|
|
10
10
|
};
|
|
11
11
|
var OrderVas_1;
|
|
12
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
12
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.OrderVas = void 0;
|
|
15
15
|
const type_graphql_1 = require("type-graphql");
|
|
@@ -20,6 +20,7 @@ const product_base_1 = require("@things-factory/product-base");
|
|
|
20
20
|
const shell_1 = require("@things-factory/shell");
|
|
21
21
|
const warehouse_base_1 = require("@things-factory/warehouse-base");
|
|
22
22
|
const arrival_notice_1 = require("../arrival-notice/arrival-notice");
|
|
23
|
+
const order_inventory_1 = require("../order-inventory/order-inventory");
|
|
23
24
|
const release_good_1 = require("../release-good/release-good");
|
|
24
25
|
const retail_replenishment_order_1 = require("../retail-replenishment-order/retail-replenishment-order");
|
|
25
26
|
const return_order_1 = require("../return-order/return-order");
|
|
@@ -27,6 +28,7 @@ const shipping_order_1 = require("../shipping-order/shipping-order");
|
|
|
27
28
|
const transfer_order_1 = require("../transfer-order/transfer-order");
|
|
28
29
|
const vas_order_1 = require("../vas-order/vas-order");
|
|
29
30
|
const vas_1 = require("../vas/vas");
|
|
31
|
+
const order_vas_item_1 = require("../order-vas-item/order-vas-item");
|
|
30
32
|
let OrderVas = OrderVas_1 = class OrderVas {
|
|
31
33
|
};
|
|
32
34
|
__decorate([
|
|
@@ -86,6 +88,52 @@ __decorate([
|
|
|
86
88
|
(0, typeorm_1.RelationId)((orderVas) => orderVas.targetProduct),
|
|
87
89
|
__metadata("design:type", String)
|
|
88
90
|
], OrderVas.prototype, "targetProductId", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, typeorm_1.ManyToOne)(type => product_base_1.Product),
|
|
93
|
+
(0, type_graphql_1.Field)(type => product_base_1.Product, { nullable: true }),
|
|
94
|
+
__metadata("design:type", typeof (_d = typeof product_base_1.Product !== "undefined" && product_base_1.Product) === "function" ? _d : Object)
|
|
95
|
+
], OrderVas.prototype, "product", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, typeorm_1.RelationId)((orderVas) => orderVas.product),
|
|
98
|
+
__metadata("design:type", String)
|
|
99
|
+
], OrderVas.prototype, "productId", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.ManyToOne)(type => product_base_1.ProductDetail, { nullable: true }),
|
|
102
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
103
|
+
__metadata("design:type", typeof (_e = typeof product_base_1.ProductDetail !== "undefined" && product_base_1.ProductDetail) === "function" ? _e : Object)
|
|
104
|
+
], OrderVas.prototype, "productDetail", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
107
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
108
|
+
__metadata("design:type", Number)
|
|
109
|
+
], OrderVas.prototype, "outputQty", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, typeorm_1.ManyToOne)(type => order_inventory_1.OrderInventory),
|
|
112
|
+
(0, type_graphql_1.Field)(type => order_inventory_1.OrderInventory, { nullable: true }),
|
|
113
|
+
__metadata("design:type", order_inventory_1.OrderInventory)
|
|
114
|
+
], OrderVas.prototype, "orderInventory", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, typeorm_1.RelationId)((orderVas) => orderVas.orderInventory),
|
|
117
|
+
__metadata("design:type", String)
|
|
118
|
+
], OrderVas.prototype, "orderInventoryId", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, typeorm_1.ManyToOne)(type => product_base_1.Product),
|
|
121
|
+
(0, type_graphql_1.Field)(type => product_base_1.Product, { nullable: true }),
|
|
122
|
+
__metadata("design:type", typeof (_f = typeof product_base_1.Product !== "undefined" && product_base_1.Product) === "function" ? _f : Object)
|
|
123
|
+
], OrderVas.prototype, "newProduct", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, typeorm_1.RelationId)((orderVas) => orderVas.newProduct),
|
|
126
|
+
__metadata("design:type", String)
|
|
127
|
+
], OrderVas.prototype, "newProductId", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, typeorm_1.ManyToOne)(type => product_base_1.ProductDetail, { nullable: true }),
|
|
130
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
131
|
+
__metadata("design:type", typeof (_g = typeof product_base_1.ProductDetail !== "undefined" && product_base_1.ProductDetail) === "function" ? _g : Object)
|
|
132
|
+
], OrderVas.prototype, "newProductDetail", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, typeorm_1.RelationId)((orderVas) => orderVas.newProductDetail),
|
|
135
|
+
__metadata("design:type", String)
|
|
136
|
+
], OrderVas.prototype, "newProductDetailId", void 0);
|
|
89
137
|
__decorate([
|
|
90
138
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
91
139
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
@@ -101,6 +149,11 @@ __decorate([
|
|
|
101
149
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
102
150
|
__metadata("design:type", Number)
|
|
103
151
|
], OrderVas.prototype, "actualQty", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
154
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
155
|
+
__metadata("design:type", String)
|
|
156
|
+
], OrderVas.prototype, "uom", void 0);
|
|
104
157
|
__decorate([
|
|
105
158
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
106
159
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
@@ -142,7 +195,9 @@ __decorate([
|
|
|
142
195
|
__decorate([
|
|
143
196
|
(0, typeorm_1.ManyToOne)(type => shipping_order_1.ShippingOrder),
|
|
144
197
|
(0, type_graphql_1.Field)(type => shipping_order_1.ShippingOrder, { nullable: true }),
|
|
145
|
-
__metadata("design:type", shipping_order_1.ShippingOrder
|
|
198
|
+
__metadata("design:type", shipping_order_1.ShippingOrder
|
|
199
|
+
// not used for restrructure VAS anymore
|
|
200
|
+
)
|
|
146
201
|
], OrderVas.prototype, "shippingOrder", void 0);
|
|
147
202
|
__decorate([
|
|
148
203
|
(0, typeorm_1.RelationId)((orderVas) => orderVas.shippingOrder),
|
|
@@ -151,7 +206,9 @@ __decorate([
|
|
|
151
206
|
__decorate([
|
|
152
207
|
(0, typeorm_1.ManyToOne)(type => transfer_order_1.TransferOrder),
|
|
153
208
|
(0, type_graphql_1.Field)(type => transfer_order_1.TransferOrder, { nullable: true }),
|
|
154
|
-
__metadata("design:type", transfer_order_1.TransferOrder
|
|
209
|
+
__metadata("design:type", transfer_order_1.TransferOrder
|
|
210
|
+
// not used for restrructure VAS anymore
|
|
211
|
+
)
|
|
155
212
|
], OrderVas.prototype, "transferOrder", void 0);
|
|
156
213
|
__decorate([
|
|
157
214
|
(0, typeorm_1.RelationId)((orderVas) => orderVas.transferOrder),
|
|
@@ -160,7 +217,9 @@ __decorate([
|
|
|
160
217
|
__decorate([
|
|
161
218
|
(0, typeorm_1.ManyToOne)(type => return_order_1.ReturnOrder),
|
|
162
219
|
(0, type_graphql_1.Field)(type => return_order_1.ReturnOrder, { nullable: true }),
|
|
163
|
-
__metadata("design:type", return_order_1.ReturnOrder
|
|
220
|
+
__metadata("design:type", return_order_1.ReturnOrder
|
|
221
|
+
// not used for restrructure VAS anymore
|
|
222
|
+
)
|
|
164
223
|
], OrderVas.prototype, "returnOrder", void 0);
|
|
165
224
|
__decorate([
|
|
166
225
|
(0, typeorm_1.RelationId)((orderVas) => orderVas.returnOrder),
|
|
@@ -169,7 +228,9 @@ __decorate([
|
|
|
169
228
|
__decorate([
|
|
170
229
|
(0, typeorm_1.ManyToOne)(type => retail_replenishment_order_1.RetailReplenishmentOrder),
|
|
171
230
|
(0, type_graphql_1.Field)(type => retail_replenishment_order_1.RetailReplenishmentOrder, { nullable: true }),
|
|
172
|
-
__metadata("design:type", retail_replenishment_order_1.RetailReplenishmentOrder
|
|
231
|
+
__metadata("design:type", retail_replenishment_order_1.RetailReplenishmentOrder
|
|
232
|
+
// not used for restrructure VAS anymore
|
|
233
|
+
)
|
|
173
234
|
], OrderVas.prototype, "retailReplenishmentOrder", void 0);
|
|
174
235
|
__decorate([
|
|
175
236
|
(0, typeorm_1.RelationId)((orderVas) => orderVas.retailReplenishmentOrder),
|
|
@@ -178,7 +239,9 @@ __decorate([
|
|
|
178
239
|
__decorate([
|
|
179
240
|
(0, typeorm_1.ManyToOne)(type => OrderVas_1),
|
|
180
241
|
(0, type_graphql_1.Field)(type => OrderVas_1, { nullable: true }),
|
|
181
|
-
__metadata("design:type", OrderVas
|
|
242
|
+
__metadata("design:type", OrderVas
|
|
243
|
+
// remove
|
|
244
|
+
)
|
|
182
245
|
], OrderVas.prototype, "orderVas", void 0);
|
|
183
246
|
__decorate([
|
|
184
247
|
(0, typeorm_1.RelationId)((orderVas) => orderVas.orderVas),
|
|
@@ -187,7 +250,9 @@ __decorate([
|
|
|
187
250
|
__decorate([
|
|
188
251
|
(0, typeorm_1.ManyToOne)(type => vas_order_1.VasOrder),
|
|
189
252
|
(0, type_graphql_1.Field)(type => vas_order_1.VasOrder, { nullable: true }),
|
|
190
|
-
__metadata("design:type", vas_order_1.VasOrder
|
|
253
|
+
__metadata("design:type", vas_order_1.VasOrder
|
|
254
|
+
// not used for restrructure VAS anymore
|
|
255
|
+
)
|
|
191
256
|
], OrderVas.prototype, "vasOrder", void 0);
|
|
192
257
|
__decorate([
|
|
193
258
|
(0, typeorm_1.RelationId)((orderVas) => orderVas.vasOrder),
|
|
@@ -210,7 +275,7 @@ __decorate([
|
|
|
210
275
|
__decorate([
|
|
211
276
|
(0, typeorm_1.ManyToOne)(type => warehouse_base_1.Inventory),
|
|
212
277
|
(0, type_graphql_1.Field)(type => warehouse_base_1.Inventory, { nullable: true }),
|
|
213
|
-
__metadata("design:type", typeof (
|
|
278
|
+
__metadata("design:type", typeof (_h = typeof warehouse_base_1.Inventory !== "undefined" && warehouse_base_1.Inventory) === "function" ? _h : Object)
|
|
214
279
|
], OrderVas.prototype, "inventory", void 0);
|
|
215
280
|
__decorate([
|
|
216
281
|
(0, typeorm_1.RelationId)((orderVas) => orderVas.inventory),
|
|
@@ -226,6 +291,26 @@ __decorate([
|
|
|
226
291
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
227
292
|
__metadata("design:type", String)
|
|
228
293
|
], OrderVas.prototype, "remark", void 0);
|
|
294
|
+
__decorate([
|
|
295
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
296
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
297
|
+
__metadata("design:type", String)
|
|
298
|
+
], OrderVas.prototype, "newPackingType", void 0);
|
|
299
|
+
__decorate([
|
|
300
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
301
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
302
|
+
__metadata("design:type", String)
|
|
303
|
+
], OrderVas.prototype, "newUom", void 0);
|
|
304
|
+
__decorate([
|
|
305
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
306
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
307
|
+
__metadata("design:type", Number)
|
|
308
|
+
], OrderVas.prototype, "newUomValue", void 0);
|
|
309
|
+
__decorate([
|
|
310
|
+
(0, typeorm_1.OneToMany)(type => order_vas_item_1.OrderVasItem, orderVasItem => orderVasItem.orderVas),
|
|
311
|
+
(0, type_graphql_1.Field)(type => [order_vas_item_1.OrderVasItem]),
|
|
312
|
+
__metadata("design:type", Array)
|
|
313
|
+
], OrderVas.prototype, "orderVasItems", void 0);
|
|
229
314
|
__decorate([
|
|
230
315
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
231
316
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
@@ -241,29 +326,24 @@ __decorate([
|
|
|
241
326
|
(0, type_graphql_1.Field)(),
|
|
242
327
|
__metadata("design:type", Date)
|
|
243
328
|
], OrderVas.prototype, "createdAt", void 0);
|
|
244
|
-
__decorate([
|
|
245
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
|
246
|
-
(0, type_graphql_1.Field)(),
|
|
247
|
-
__metadata("design:type", Date)
|
|
248
|
-
], OrderVas.prototype, "updatedAt", void 0);
|
|
249
|
-
__decorate([
|
|
250
|
-
(0, typeorm_1.ManyToOne)(type => product_base_1.ProductDetail, { nullable: true }),
|
|
251
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
252
|
-
__metadata("design:type", typeof (_e = typeof product_base_1.ProductDetail !== "undefined" && product_base_1.ProductDetail) === "function" ? _e : Object)
|
|
253
|
-
], OrderVas.prototype, "productDetail", void 0);
|
|
254
329
|
__decorate([
|
|
255
330
|
(0, typeorm_1.ManyToOne)(type => auth_base_1.User),
|
|
256
331
|
(0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
|
|
257
|
-
__metadata("design:type", typeof (
|
|
332
|
+
__metadata("design:type", typeof (_j = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _j : Object)
|
|
258
333
|
], OrderVas.prototype, "creator", void 0);
|
|
259
334
|
__decorate([
|
|
260
335
|
(0, typeorm_1.RelationId)((orderVas) => orderVas.creator),
|
|
261
336
|
__metadata("design:type", String)
|
|
262
337
|
], OrderVas.prototype, "creatorId", void 0);
|
|
338
|
+
__decorate([
|
|
339
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
340
|
+
(0, type_graphql_1.Field)(),
|
|
341
|
+
__metadata("design:type", Date)
|
|
342
|
+
], OrderVas.prototype, "updatedAt", void 0);
|
|
263
343
|
__decorate([
|
|
264
344
|
(0, typeorm_1.ManyToOne)(type => auth_base_1.User),
|
|
265
345
|
(0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
|
|
266
|
-
__metadata("design:type", typeof (
|
|
346
|
+
__metadata("design:type", typeof (_k = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _k : Object)
|
|
267
347
|
], OrderVas.prototype, "updater", void 0);
|
|
268
348
|
__decorate([
|
|
269
349
|
(0, typeorm_1.RelationId)((orderVas) => orderVas.updater),
|
|
@@ -271,7 +351,9 @@ __decorate([
|
|
|
271
351
|
], OrderVas.prototype, "updaterId", void 0);
|
|
272
352
|
OrderVas = OrderVas_1 = __decorate([
|
|
273
353
|
(0, typeorm_1.Entity)('order_vass'),
|
|
274
|
-
(0, typeorm_1.Index)('ix_order-vas_0', (orderVas) => [orderVas.domain, orderVas.name], {
|
|
354
|
+
(0, typeorm_1.Index)('ix_order-vas_0', (orderVas) => [orderVas.domain, orderVas.name, orderVas.releaseGood], {
|
|
355
|
+
unique: true
|
|
356
|
+
}),
|
|
275
357
|
(0, type_graphql_1.ObjectType)()
|
|
276
358
|
], OrderVas);
|
|
277
359
|
exports.OrderVas = OrderVas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-vas.js","sourceRoot":"","sources":["../../../server/service/order-vas/order-vas.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+CAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"order-vas.js","sourceRoot":"","sources":["../../../server/service/order-vas/order-vas.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+CAAoD;AACpD,qCAUgB;AAEhB,yDAAgD;AAChD,uDAAmD;AACnD,+DAAqE;AACrE,iDAA8C;AAC9C,mEAA0D;AAE1D,qEAAgE;AAChE,wEAAmE;AACnE,+DAA0D;AAC1D,yGAAmG;AACnG,+DAA0D;AAC1D,qEAAgE;AAChE,qEAAgE;AAChE,sDAAiD;AACjD,oCAAgC;AAChC,qEAA+D;AAOxD,IAAM,QAAQ,gBAAd,MAAM,QAAQ;CAwQpB,CAAA;AAvQC;IAAC,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;oCACC;AAEnB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,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AI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;kDAC/B,gBAAI,oBAAJ,gBAAI;yCAAA;AAEb;IAAC,IAAA,oBAAU,EAAC,CAAC,QAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC;;2CACpC;AAEjB;IAAC,IAAA,0BAAgB,GAAE;IAClB,IAAA,oBAAK,GAAE;8BACG,IAAI;2CAAA;AAEf;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACvB,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;kDAC/B,gBAAI,oBAAJ,gBAAI;yCAAA;AAEb;IAAC,IAAA,oBAAU,EAAC,CAAC,QAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC;;2CACpC;AAvQN,QAAQ;IALpB,IAAA,gBAAM,EAAC,YAAY,CAAC;IACpB,IAAA,eAAK,EAAC,gBAAgB,EAAE,CAAC,QAAkB,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,WAAW,CAAC,EAAE;QACvG,MAAM,EAAE,IAAI;KACb,CAAC;IACD,IAAA,yBAAU,GAAE;GACA,QAAQ,CAwQpB;AAxQY,4BAAQ"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolvers = exports.entities = void 0;
|
|
4
|
+
const order_vas_item_1 = require("./order-vas-item");
|
|
5
|
+
const order_vas_item_query_1 = require("./order-vas-item-query");
|
|
6
|
+
const order_vas_item_mutation_1 = require("./order-vas-item-mutation");
|
|
7
|
+
exports.entities = [order_vas_item_1.OrderVasItem];
|
|
8
|
+
exports.resolvers = [order_vas_item_query_1.OrderVasItemQuery, order_vas_item_mutation_1.OrderVasItemMutation];
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/order-vas-item/index.ts"],"names":[],"mappings":";;;AAAA,qDAA+C;AAC/C,iEAA0D;AAC1D,uEAAgE;AAEnD,QAAA,QAAQ,GAAG,CAAC,6BAAY,CAAC,CAAA;AACzB,QAAA,SAAS,GAAG,CAAC,wCAAiB,EAAE,8CAAoB,CAAC,CAAA"}
|