synunu-libs 1.0.48 → 1.0.50
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/constants/patterns.constant.d.ts +4 -4
- package/dist/constants/patterns.constant.js +1 -1
- package/dist/constants/patterns.constant.js.map +1 -1
- package/dist/constants/permission.constant.d.ts +4 -4
- package/dist/constants/permission.constant.js +1 -1
- package/dist/constants/permission.constant.js.map +1 -1
- package/dist/dto/collection.dto.d.ts +4 -3
- package/dist/dto/collection.dto.d.ts.map +1 -1
- package/dist/dto/collection.dto.js +12 -11
- package/dist/dto/collection.dto.js.map +1 -1
- package/dist/dto/inventory-adjustment.dto.d.ts +4 -0
- package/dist/dto/inventory-adjustment.dto.d.ts.map +1 -1
- package/dist/dto/inventory-adjustment.dto.js +13 -0
- package/dist/dto/inventory-adjustment.dto.js.map +1 -1
- package/dist/dto/inventory-item.dto.d.ts +4 -0
- package/dist/dto/inventory-item.dto.d.ts.map +1 -1
- package/dist/dto/inventory-item.dto.js +13 -0
- package/dist/dto/inventory-item.dto.js.map +1 -1
- package/dist/dto/inventory-level.dto.d.ts +4 -0
- package/dist/dto/inventory-level.dto.d.ts.map +1 -1
- package/dist/dto/inventory-level.dto.js +13 -0
- package/dist/dto/inventory-level.dto.js.map +1 -1
- package/dist/dto/inventory-location.dto.d.ts +4 -0
- package/dist/dto/inventory-location.dto.d.ts.map +1 -1
- package/dist/dto/inventory-location.dto.js +13 -0
- package/dist/dto/inventory-location.dto.js.map +1 -1
- package/dist/dto/inventory-storage.dto.d.ts +4 -0
- package/dist/dto/inventory-storage.dto.d.ts.map +1 -1
- package/dist/dto/inventory-storage.dto.js +13 -0
- package/dist/dto/inventory-storage.dto.js.map +1 -1
- package/dist/dto/menu.dto.d.ts +4 -0
- package/dist/dto/menu.dto.d.ts.map +1 -1
- package/dist/dto/menu.dto.js +13 -0
- package/dist/dto/menu.dto.js.map +1 -1
- package/dist/dto/option.dto.d.ts +4 -0
- package/dist/dto/option.dto.d.ts.map +1 -1
- package/dist/dto/option.dto.js +13 -0
- package/dist/dto/option.dto.js.map +1 -1
- package/dist/dto/order-by.input.d.ts +6 -0
- package/dist/dto/order-by.input.d.ts.map +1 -0
- package/dist/dto/order-by.input.js +29 -0
- package/dist/dto/order-by.input.js.map +1 -0
- package/dist/dto/packsize.dto.d.ts +4 -0
- package/dist/dto/packsize.dto.d.ts.map +1 -1
- package/dist/dto/packsize.dto.js +13 -0
- package/dist/dto/packsize.dto.js.map +1 -1
- package/dist/dto/product-image.dto.d.ts +4 -0
- package/dist/dto/product-image.dto.d.ts.map +1 -1
- package/dist/dto/product-image.dto.js +13 -0
- package/dist/dto/product-image.dto.js.map +1 -1
- package/dist/dto/product-type.dto.d.ts +15 -13
- package/dist/dto/product-type.dto.d.ts.map +1 -1
- package/dist/dto/product-type.dto.js +40 -42
- package/dist/dto/product-type.dto.js.map +1 -1
- package/dist/dto/product.dto.d.ts +4 -0
- package/dist/dto/product.dto.d.ts.map +1 -1
- package/dist/dto/product.dto.js +13 -0
- package/dist/dto/product.dto.js.map +1 -1
- package/dist/dto/publication.dto.d.ts +4 -0
- package/dist/dto/publication.dto.d.ts.map +1 -1
- package/dist/dto/publication.dto.js +13 -0
- package/dist/dto/publication.dto.js.map +1 -1
- package/dist/dto/receive-inventory.dto.d.ts +4 -0
- package/dist/dto/receive-inventory.dto.d.ts.map +1 -1
- package/dist/dto/receive-inventory.dto.js +13 -0
- package/dist/dto/receive-inventory.dto.js.map +1 -1
- package/dist/dto/roles.dto.d.ts +4 -0
- package/dist/dto/roles.dto.d.ts.map +1 -1
- package/dist/dto/roles.dto.js +13 -0
- package/dist/dto/roles.dto.js.map +1 -1
- package/dist/dto/tag.dto.d.ts +3 -0
- package/dist/dto/tag.dto.d.ts.map +1 -1
- package/dist/dto/tag.dto.js +9 -0
- package/dist/dto/tag.dto.js.map +1 -1
- package/dist/dto/variant.dto.d.ts +4 -0
- package/dist/dto/variant.dto.d.ts.map +1 -1
- package/dist/dto/variant.dto.js +13 -0
- package/dist/dto/variant.dto.js.map +1 -1
- package/dist/dto/vendor.dto.d.ts +3 -7
- package/dist/dto/vendor.dto.d.ts.map +1 -1
- package/dist/dto/vendor.dto.js +4 -18
- package/dist/dto/vendor.dto.js.map +1 -1
- package/package.json +1 -1
package/dist/dto/menu.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.dto.js","sourceRoot":"","sources":["../../src/dto/menu.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AAEvD,kCAAmC;AACnC,yDAAoD;
|
|
1
|
+
{"version":3,"file":"menu.dto.js","sourceRoot":"","sources":["../../src/dto/menu.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AAEvD,kCAAmC;AACnC,yDAAoD;AACpD,qDAAgD;AAGzC,IAAM,eAAe,GAArB,MAAM,eAAe;CAiC3B,CAAA;AAjCY,0CAAe;AAE1B;IADC,IAAA,eAAK,GAAE;;4CACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;8CAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3C,oCAAgB;6CAAC;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,eAAQ,CAAC,KAAK,EAAE,CAAC;;iDACpD;AAGpB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EA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Y,0CAAe;AAE1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACR;0BAFD,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAG3B"}
|
package/dist/dto/option.dto.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TranslationInput } from "./translation.input";
|
|
2
2
|
import { UserType } from "../enum";
|
|
3
3
|
import { DateRangeInput } from "./date-range.input";
|
|
4
|
+
import { OrderByInput } from "./order-by.input";
|
|
4
5
|
export declare class CreateOptionInput {
|
|
5
6
|
key: string;
|
|
6
7
|
label: TranslationInput;
|
|
@@ -15,7 +16,10 @@ export declare class CreateOptionInput {
|
|
|
15
16
|
isActive?: boolean;
|
|
16
17
|
}
|
|
17
18
|
export declare class OptionFilterInput {
|
|
19
|
+
searchKey?: string;
|
|
20
|
+
orderBy?: OrderByInput[];
|
|
18
21
|
createdAt?: DateRangeInput;
|
|
22
|
+
updatedAt?: DateRangeInput;
|
|
19
23
|
}
|
|
20
24
|
declare const UpdateOptionInput_base: import("@nestjs/common").Type<Partial<CreateOptionInput>>;
|
|
21
25
|
export declare class UpdateOptionInput extends UpdateOptionInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option.dto.d.ts","sourceRoot":"","sources":["../../src/dto/option.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"option.dto.d.ts","sourceRoot":"","sources":["../../src/dto/option.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,iBAAiB;IAE5B,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBACa,iBAAiB;IAE5B,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,iBAAkB,SAAQ,sBAA8B;IAEnE,GAAG,EAAE,MAAM,CAAC;CACb"}
|
package/dist/dto/option.dto.js
CHANGED
|
@@ -14,6 +14,7 @@ const graphql_1 = require("@nestjs/graphql");
|
|
|
14
14
|
const translation_input_1 = require("./translation.input");
|
|
15
15
|
const enum_1 = require("../enum");
|
|
16
16
|
const date_range_input_1 = require("./date-range.input");
|
|
17
|
+
const order_by_input_1 = require("./order-by.input");
|
|
17
18
|
let CreateOptionInput = class CreateOptionInput {
|
|
18
19
|
};
|
|
19
20
|
exports.CreateOptionInput = CreateOptionInput;
|
|
@@ -67,10 +68,22 @@ exports.CreateOptionInput = CreateOptionInput = __decorate([
|
|
|
67
68
|
let OptionFilterInput = class OptionFilterInput {
|
|
68
69
|
};
|
|
69
70
|
exports.OptionFilterInput = OptionFilterInput;
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], OptionFilterInput.prototype, "searchKey", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
77
|
+
__metadata("design:type", Array)
|
|
78
|
+
], OptionFilterInput.prototype, "orderBy", void 0);
|
|
70
79
|
__decorate([
|
|
71
80
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
81
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
82
|
], OptionFilterInput.prototype, "createdAt", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
85
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
86
|
+
], OptionFilterInput.prototype, "updatedAt", void 0);
|
|
74
87
|
exports.OptionFilterInput = OptionFilterInput = __decorate([
|
|
75
88
|
(0, graphql_1.InputType)()
|
|
76
89
|
], OptionFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option.dto.js","sourceRoot":"","sources":["../../src/dto/option.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;
|
|
1
|
+
{"version":3,"file":"option.dto.js","sourceRoot":"","sources":["../../src/dto/option.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AACpD,qDAAgD;AAGzC,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAiC7B,CAAA;AAjCY,8CAAiB;AAE5B;IADC,IAAA,eAAK,GAAE;;8CACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;gDAAC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,EAAC,GAAG,EAAE,CAAC,CAAC,6BAAY,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACvB;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;oDAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;oDAAC;4BAXhB,iBAAiB;IAD7B,IAAA,mBAAS,GAAE;GACC,iBAAiB,CAY7B;AAGM,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,IAAA,qBAAW,EAAC,iBAAiB,CAAC;CAGpE,CAAA;AAHY,8CAAiB;AAE5B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACR;4BAFD,iBAAiB;IAD7B,IAAA,mBAAS,GAAE;GACC,iBAAiB,CAG7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-by.input.d.ts","sourceRoot":"","sources":["../../src/dto/order-by.input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,qBACa,YAAY;IAEvB,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,EAAE,cAAc,CAAC;CAC3B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.OrderByInput = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const enum_1 = require("../enum");
|
|
15
|
+
let OrderByInput = class OrderByInput {
|
|
16
|
+
};
|
|
17
|
+
exports.OrderByInput = OrderByInput;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, graphql_1.Field)(() => String),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], OrderByInput.prototype, "field", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, graphql_1.Field)(() => enum_1.ESortDirection),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], OrderByInput.prototype, "direction", void 0);
|
|
26
|
+
exports.OrderByInput = OrderByInput = __decorate([
|
|
27
|
+
(0, graphql_1.InputType)()
|
|
28
|
+
], OrderByInput);
|
|
29
|
+
//# sourceMappingURL=order-by.input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-by.input.js","sourceRoot":"","sources":["../../src/dto/order-by.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AACnD,kCAAyC;AAGlC,IAAM,YAAY,GAAlB,MAAM,YAAY;CAMxB,CAAA;AANY,oCAAY;AAEvB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACN;AAGd;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,qBAAc,CAAC;;+CACF;uBALf,YAAY;IADxB,IAAA,mBAAS,GAAE;GACC,YAAY,CAMxB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TranslationInput } from "./translation.input";
|
|
2
2
|
import { UserType } from "../enum";
|
|
3
3
|
import { DateRangeInput } from "./date-range.input";
|
|
4
|
+
import { OrderByInput } from "./order-by.input";
|
|
4
5
|
export declare class CreatePacksizeInput {
|
|
5
6
|
key: string;
|
|
6
7
|
label: TranslationInput;
|
|
@@ -15,7 +16,10 @@ export declare class CreatePacksizeInput {
|
|
|
15
16
|
isActive?: boolean;
|
|
16
17
|
}
|
|
17
18
|
export declare class PacksizeFilterInput {
|
|
19
|
+
searchKey?: string;
|
|
20
|
+
orderBy?: OrderByInput[];
|
|
18
21
|
createdAt?: DateRangeInput;
|
|
22
|
+
updatedAt?: DateRangeInput;
|
|
19
23
|
}
|
|
20
24
|
declare const UpdatePacksizeInput_base: import("@nestjs/common").Type<Partial<CreatePacksizeInput>>;
|
|
21
25
|
export declare class UpdatePacksizeInput extends UpdatePacksizeInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packsize.dto.d.ts","sourceRoot":"","sources":["../../src/dto/packsize.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"packsize.dto.d.ts","sourceRoot":"","sources":["../../src/dto/packsize.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,mBAAmB;IAE9B,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBACa,mBAAmB;IAE9B,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,mBAAoB,SAAQ,wBAAgC;IAEvE,GAAG,EAAE,MAAM,CAAC;CACb"}
|
package/dist/dto/packsize.dto.js
CHANGED
|
@@ -14,6 +14,7 @@ const graphql_1 = require("@nestjs/graphql");
|
|
|
14
14
|
const translation_input_1 = require("./translation.input");
|
|
15
15
|
const enum_1 = require("../enum");
|
|
16
16
|
const date_range_input_1 = require("./date-range.input");
|
|
17
|
+
const order_by_input_1 = require("./order-by.input");
|
|
17
18
|
let CreatePacksizeInput = class CreatePacksizeInput {
|
|
18
19
|
};
|
|
19
20
|
exports.CreatePacksizeInput = CreatePacksizeInput;
|
|
@@ -67,10 +68,22 @@ exports.CreatePacksizeInput = CreatePacksizeInput = __decorate([
|
|
|
67
68
|
let PacksizeFilterInput = class PacksizeFilterInput {
|
|
68
69
|
};
|
|
69
70
|
exports.PacksizeFilterInput = PacksizeFilterInput;
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], PacksizeFilterInput.prototype, "searchKey", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
77
|
+
__metadata("design:type", Array)
|
|
78
|
+
], PacksizeFilterInput.prototype, "orderBy", void 0);
|
|
70
79
|
__decorate([
|
|
71
80
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
81
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
82
|
], PacksizeFilterInput.prototype, "createdAt", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
85
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
86
|
+
], PacksizeFilterInput.prototype, "updatedAt", void 0);
|
|
74
87
|
exports.PacksizeFilterInput = PacksizeFilterInput = __decorate([
|
|
75
88
|
(0, graphql_1.InputType)()
|
|
76
89
|
], PacksizeFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packsize.dto.js","sourceRoot":"","sources":["../../src/dto/packsize.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;
|
|
1
|
+
{"version":3,"file":"packsize.dto.js","sourceRoot":"","sources":["../../src/dto/packsize.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AACpD,qDAAgD;AAGzC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAiC/B,CAAA;AAjCY,kDAAmB;AAE9B;IADC,IAAA,eAAK,GAAE;;gDACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;kDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE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C,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;sDAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;sDAAC;8BAXhB,mBAAmB;IAD/B,IAAA,mBAAS,GAAE;GACC,mBAAmB,CAY/B;AAGM,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,IAAA,qBAAW,EAAC,mBAAmB,CAAC;CAGxE,CAAA;AAHY,kDAAmB;AAE9B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gDACR;8BAFD,mBAAmB;IAD/B,IAAA,mBAAS,GAAE;GACC,mBAAmB,CAG/B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DateRangeInput } from "./date-range.input";
|
|
2
|
+
import { OrderByInput } from "./order-by.input";
|
|
2
3
|
export declare class CreateProductImageInput {
|
|
3
4
|
productId?: string;
|
|
4
5
|
position?: number;
|
|
@@ -15,7 +16,10 @@ export declare class CreateProductImageInput {
|
|
|
15
16
|
mimeType: string;
|
|
16
17
|
}
|
|
17
18
|
export declare class ProductImageFilterInput {
|
|
19
|
+
searchKey?: string;
|
|
20
|
+
orderBy?: OrderByInput[];
|
|
18
21
|
createdAt?: DateRangeInput;
|
|
22
|
+
updatedAt?: DateRangeInput;
|
|
19
23
|
}
|
|
20
24
|
declare const UpdateProductImageInput_base: import("@nestjs/common").Type<Partial<CreateProductImageInput>>;
|
|
21
25
|
export declare class UpdateProductImageInput extends UpdateProductImageInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-image.dto.d.ts","sourceRoot":"","sources":["../../src/dto/product-image.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"product-image.dto.d.ts","sourceRoot":"","sources":["../../src/dto/product-image.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,uBAAuB;IAGlC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAGtB,GAAG,EAAE,MAAM,CAAC;IAGZ,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,OAAO,CAAC,EAAE,GAAG,CAAC;IAGd,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAGjB,aAAa,EAAE,MAAM,CAAC;IAGtB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBACa,uBAAuB;IAElC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,uBAAwB,SAAQ,4BAE5C;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateProductImageInput = exports.ProductImageFilterInput = exports.CreateProductImageInput = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
14
|
const date_range_input_1 = require("./date-range.input");
|
|
15
|
+
const order_by_input_1 = require("./order-by.input");
|
|
15
16
|
let CreateProductImageInput = class CreateProductImageInput {
|
|
16
17
|
};
|
|
17
18
|
exports.CreateProductImageInput = CreateProductImageInput;
|
|
@@ -74,10 +75,22 @@ exports.CreateProductImageInput = CreateProductImageInput = __decorate([
|
|
|
74
75
|
let ProductImageFilterInput = class ProductImageFilterInput {
|
|
75
76
|
};
|
|
76
77
|
exports.ProductImageFilterInput = ProductImageFilterInput;
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], ProductImageFilterInput.prototype, "searchKey", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
84
|
+
__metadata("design:type", Array)
|
|
85
|
+
], ProductImageFilterInput.prototype, "orderBy", void 0);
|
|
77
86
|
__decorate([
|
|
78
87
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
79
88
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
80
89
|
], ProductImageFilterInput.prototype, "createdAt", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
92
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
93
|
+
], ProductImageFilterInput.prototype, "updatedAt", void 0);
|
|
81
94
|
exports.ProductImageFilterInput = ProductImageFilterInput = __decorate([
|
|
82
95
|
(0, graphql_1.InputType)()
|
|
83
96
|
], ProductImageFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-image.dto.js","sourceRoot":"","sources":["../../src/dto/product-image.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAGhE,yDAAoD;
|
|
1
|
+
{"version":3,"file":"product-image.dto.js","sourceRoot":"","sources":["../../src/dto/product-image.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAGhE,yDAAoD;AACpD,qDAAgD;AAGzC,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;CAwC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AE,IAAI,EAAE,CAAC;;wDACvB;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;0DAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;0DAAC;kCAXhB,uBAAuB;IADnC,IAAA,mBAAS,GAAE;GACC,uBAAuB,CAYnC;AAGM,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,IAAA,qBAAW,EACtD,uBAAuB,CACxB;CAGA,CAAA;AALY,0DAAuB;AAIlC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oDACR;kCAJD,uBAAuB;IADnC,IAAA,mBAAS,GAAE;GACC,uBAAuB,CAKnC"}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { TranslationInput } from "./translation.input";
|
|
2
|
-
import { UserType } from "../enum";
|
|
3
1
|
import { DateRangeInput } from "./date-range.input";
|
|
2
|
+
import { ESortDirection } from "enum";
|
|
3
|
+
export declare enum EProductTypeSortField {
|
|
4
|
+
NAME = "name",
|
|
5
|
+
CREATED_AT = "createdAt",
|
|
6
|
+
UPDATED_AT = "updatedAt"
|
|
7
|
+
}
|
|
8
|
+
export declare class OrderByProductTypeInput {
|
|
9
|
+
field: EProductTypeSortField;
|
|
10
|
+
direction: ESortDirection;
|
|
11
|
+
}
|
|
4
12
|
export declare class CreateProductTypeInput {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
icon?: string;
|
|
8
|
-
rootPath?: string;
|
|
9
|
-
path?: TranslationInput;
|
|
10
|
-
userType?: UserType;
|
|
11
|
-
order?: number;
|
|
12
|
-
visible?: boolean;
|
|
13
|
-
permissions?: string[];
|
|
14
|
-
parent?: string | null;
|
|
15
|
-
isActive?: boolean;
|
|
13
|
+
name: string;
|
|
14
|
+
description?: string;
|
|
16
15
|
}
|
|
17
16
|
export declare class ProductTypeFilterInput {
|
|
17
|
+
name?: string;
|
|
18
|
+
orderBy?: OrderByProductTypeInput[];
|
|
18
19
|
createdAt?: DateRangeInput;
|
|
20
|
+
updatedAt?: DateRangeInput;
|
|
19
21
|
}
|
|
20
22
|
declare const UpdateProductTypeInput_base: import("@nestjs/common").Type<Partial<CreateProductTypeInput>>;
|
|
21
23
|
export declare class UpdateProductTypeInput extends UpdateProductTypeInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-type.dto.d.ts","sourceRoot":"","sources":["../../src/dto/product-type.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-type.dto.d.ts","sourceRoot":"","sources":["../../src/dto/product-type.dto.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAEtC,oBAAY,qBAAqB;IAC/B,IAAI,SAAS;IACb,UAAU,cAAc;IACxB,UAAU,cAAc;CACzB;AAMD,qBACa,uBAAuB;IAElC,KAAK,EAAE,qBAAqB,CAAC;IAG7B,SAAS,EAAE,cAAc,CAAC;CAC3B;AAED,qBACa,sBAAsB;IAEjC,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBACa,sBAAsB;IAEjC,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,OAAO,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAGpC,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,sBAAuB,SAAQ,2BAE3C;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -9,68 +9,66 @@ 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
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UpdateProductTypeInput = exports.ProductTypeFilterInput = exports.CreateProductTypeInput = void 0;
|
|
12
|
+
exports.UpdateProductTypeInput = exports.ProductTypeFilterInput = exports.CreateProductTypeInput = exports.OrderByProductTypeInput = exports.EProductTypeSortField = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
const translation_input_1 = require("./translation.input");
|
|
15
|
-
const enum_1 = require("../enum");
|
|
16
14
|
const date_range_input_1 = require("./date-range.input");
|
|
17
|
-
|
|
15
|
+
const enum_1 = require("enum");
|
|
16
|
+
var EProductTypeSortField;
|
|
17
|
+
(function (EProductTypeSortField) {
|
|
18
|
+
EProductTypeSortField["NAME"] = "name";
|
|
19
|
+
EProductTypeSortField["CREATED_AT"] = "createdAt";
|
|
20
|
+
EProductTypeSortField["UPDATED_AT"] = "updatedAt";
|
|
21
|
+
})(EProductTypeSortField || (exports.EProductTypeSortField = EProductTypeSortField = {}));
|
|
22
|
+
(0, graphql_1.registerEnumType)(EProductTypeSortField, {
|
|
23
|
+
name: "EProductTypeSortField",
|
|
24
|
+
});
|
|
25
|
+
let OrderByProductTypeInput = class OrderByProductTypeInput {
|
|
18
26
|
};
|
|
19
|
-
exports.
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, graphql_1.Field)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], CreateProductTypeInput.prototype, "key", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
-
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
-
], CreateProductTypeInput.prototype, "label", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], CreateProductTypeInput.prototype, "icon", void 0);
|
|
27
|
+
exports.OrderByProductTypeInput = OrderByProductTypeInput;
|
|
32
28
|
__decorate([
|
|
33
|
-
(0, graphql_1.Field)(
|
|
29
|
+
(0, graphql_1.Field)(() => EProductTypeSortField),
|
|
34
30
|
__metadata("design:type", String)
|
|
35
|
-
],
|
|
31
|
+
], OrderByProductTypeInput.prototype, "field", void 0);
|
|
36
32
|
__decorate([
|
|
37
|
-
(0, graphql_1.Field)(() =>
|
|
38
|
-
__metadata("design:type", translation_input_1.TranslationInput)
|
|
39
|
-
], CreateProductTypeInput.prototype, "path", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], CreateProductTypeInput.prototype, "userType", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
33
|
+
(0, graphql_1.Field)(() => enum_1.ESortDirection),
|
|
46
34
|
__metadata("design:type", Number)
|
|
47
|
-
],
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, graphql_1.
|
|
50
|
-
|
|
51
|
-
|
|
35
|
+
], OrderByProductTypeInput.prototype, "direction", void 0);
|
|
36
|
+
exports.OrderByProductTypeInput = OrderByProductTypeInput = __decorate([
|
|
37
|
+
(0, graphql_1.InputType)()
|
|
38
|
+
], OrderByProductTypeInput);
|
|
39
|
+
let CreateProductTypeInput = class CreateProductTypeInput {
|
|
40
|
+
};
|
|
41
|
+
exports.CreateProductTypeInput = CreateProductTypeInput;
|
|
52
42
|
__decorate([
|
|
53
|
-
(0, graphql_1.Field)(() =>
|
|
54
|
-
__metadata("design:type",
|
|
55
|
-
], CreateProductTypeInput.prototype, "
|
|
43
|
+
(0, graphql_1.Field)(() => String),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CreateProductTypeInput.prototype, "name", void 0);
|
|
56
46
|
__decorate([
|
|
57
47
|
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
-
__metadata("design:type",
|
|
59
|
-
], CreateProductTypeInput.prototype, "
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
-
__metadata("design:type", Boolean)
|
|
63
|
-
], CreateProductTypeInput.prototype, "isActive", void 0);
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], CreateProductTypeInput.prototype, "description", void 0);
|
|
64
50
|
exports.CreateProductTypeInput = CreateProductTypeInput = __decorate([
|
|
65
51
|
(0, graphql_1.InputType)()
|
|
66
52
|
], CreateProductTypeInput);
|
|
67
53
|
let ProductTypeFilterInput = class ProductTypeFilterInput {
|
|
68
54
|
};
|
|
69
55
|
exports.ProductTypeFilterInput = ProductTypeFilterInput;
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], ProductTypeFilterInput.prototype, "name", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)(() => [OrderByProductTypeInput], { nullable: true }),
|
|
62
|
+
__metadata("design:type", Array)
|
|
63
|
+
], ProductTypeFilterInput.prototype, "orderBy", void 0);
|
|
70
64
|
__decorate([
|
|
71
65
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
66
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
67
|
], ProductTypeFilterInput.prototype, "createdAt", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
70
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
71
|
+
], ProductTypeFilterInput.prototype, "updatedAt", void 0);
|
|
74
72
|
exports.ProductTypeFilterInput = ProductTypeFilterInput = __decorate([
|
|
75
73
|
(0, graphql_1.InputType)()
|
|
76
74
|
], ProductTypeFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-type.dto.js","sourceRoot":"","sources":["../../src/dto/product-type.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"product-type.dto.js","sourceRoot":"","sources":["../../src/dto/product-type.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAKyB;AACzB,yDAAoD;AACpD,+BAAsC;AAEtC,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sCAAa,CAAA;IACb,iDAAwB,CAAA;IACxB,iDAAwB,CAAA;AAC1B,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC;AAED,IAAA,0BAAgB,EAAC,qBAAqB,EAAE;IACtC,IAAI,EAAE,uBAAuB;CAC9B,CAAC,CAAC;AAGI,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;CAMnC,CAAA;AANY,0DAAuB;AAElC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;;sDACN;AAG7B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,qBAAc,CAAC;;0DACF;kCALf,uBAAuB;IADnC,IAAA,mBAAS,GAAE;GACC,uBAAuB,CAMnC;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAMlC,CAAA;AANY,wDAAsB;AAEjC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oDACP;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACnB;iCALV,sBAAsB;IADlC,IAAA,mBAAS,GAAE;GACC,sBAAsB,CAMlC;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAYlC,CAAA;AAZY,wDAAsB;AAEjC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAC1B;AAGd;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,uBAAuB,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACvB;AAGpC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;yDAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;yDAAC;iCAXhB,sBAAsB;IADlC,IAAA,mBAAS,GAAE;GACC,sBAAsB,CAYlC;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,IAAA,qBAAW,EACrD,sBAAsB,CACvB;CAGA,CAAA;AALY,wDAAsB;AAIjC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mDACR;iCAJD,sBAAsB;IADlC,IAAA,mBAAS,GAAE;GACC,sBAAsB,CAKlC"}
|
|
@@ -2,6 +2,7 @@ import { DateRangeInput } from "./date-range.input";
|
|
|
2
2
|
import { CreateVariantInput } from "./variant.dto";
|
|
3
3
|
import { CreateProductImageInput } from "./product-image.dto";
|
|
4
4
|
import { MetafieldInput } from "./metafield.dto";
|
|
5
|
+
import { OrderByInput } from "./order-by.input";
|
|
5
6
|
export declare class ProductOptionInput {
|
|
6
7
|
name: string;
|
|
7
8
|
values: string[];
|
|
@@ -25,7 +26,10 @@ export declare class CreateProductInput {
|
|
|
25
26
|
metafields?: MetafieldInput[];
|
|
26
27
|
}
|
|
27
28
|
export declare class ProductFilterInput {
|
|
29
|
+
searchKey?: string;
|
|
30
|
+
orderBy?: OrderByInput[];
|
|
28
31
|
createdAt?: DateRangeInput;
|
|
32
|
+
updatedAt?: DateRangeInput;
|
|
29
33
|
}
|
|
30
34
|
declare const UpdateProductInput_base: import("@nestjs/common").Type<Partial<CreateProductInput>>;
|
|
31
35
|
export declare class UpdateProductInput extends UpdateProductInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.dto.d.ts","sourceRoot":"","sources":["../../src/dto/product.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"product.dto.d.ts","sourceRoot":"","sources":["../../src/dto/product.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,kBAAkB;IAE7B,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,qBACa,kBAAkB;IAE7B,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,WAAW,CAAC,EAAE,IAAI,CAAC;IAGnB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAGhB,MAAM,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAGnC,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAG/B,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAG9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAG5B,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;CAC/B;AAED,qBACa,kBAAkB;IAE7B,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,kBAAmB,SAAQ,uBAA+B;IAErE,GAAG,EAAE,MAAM,CAAC;CACb"}
|
package/dist/dto/product.dto.js
CHANGED
|
@@ -15,6 +15,7 @@ const date_range_input_1 = require("./date-range.input");
|
|
|
15
15
|
const variant_dto_1 = require("./variant.dto");
|
|
16
16
|
const product_image_dto_1 = require("./product-image.dto");
|
|
17
17
|
const metafield_dto_1 = require("./metafield.dto");
|
|
18
|
+
const order_by_input_1 = require("./order-by.input");
|
|
18
19
|
let ProductOptionInput = class ProductOptionInput {
|
|
19
20
|
};
|
|
20
21
|
exports.ProductOptionInput = ProductOptionInput;
|
|
@@ -102,10 +103,22 @@ exports.CreateProductInput = CreateProductInput = __decorate([
|
|
|
102
103
|
let ProductFilterInput = class ProductFilterInput {
|
|
103
104
|
};
|
|
104
105
|
exports.ProductFilterInput = ProductFilterInput;
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], ProductFilterInput.prototype, "searchKey", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
112
|
+
__metadata("design:type", Array)
|
|
113
|
+
], ProductFilterInput.prototype, "orderBy", void 0);
|
|
105
114
|
__decorate([
|
|
106
115
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
107
116
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
108
117
|
], ProductFilterInput.prototype, "createdAt", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
120
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
121
|
+
], ProductFilterInput.prototype, "updatedAt", void 0);
|
|
109
122
|
exports.ProductFilterInput = ProductFilterInput = __decorate([
|
|
110
123
|
(0, graphql_1.InputType)()
|
|
111
124
|
], ProductFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../src/dto/product.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAGhE,yDAAoD;AACpD,+CAAmD;AACnD,2DAA8D;AAC9D,mDAAiD;
|
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../src/dto/product.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAGhE,yDAAoD;AACpD,+CAAmD;AACnD,2DAA8D;AAC9D,mDAAiD;AACjD,qDAAgD;AAGzC,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAM9B,CAAA;AANY,gDAAkB;AAE7B;IADC,IAAA,eAAK,GAAE;;gDACK;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;;kDACL;6BALN,kBAAkB;IAD9B,IAAA,mBAAS,GAAE;GACC,kBAAkB,CAM9B;AAGM,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAgD9B,CAAA;AAhDY,gDAAkB;AAE7B;IADC,IAAA,eAAK,GAAE;;gDACK;AAGb;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,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AAkB;IAD9B,IAAA,mBAAS,GAAE;GACC,kBAAkB,CAgD9B;AAGM,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAY9B,CAAA;AAZY,gDAAkB;AAE7B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACrB;AAGnB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,6BAAY,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACvB;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;qDAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;qDAAC;6BAXhB,kBAAkB;IAD9B,IAAA,mBAAS,GAAE;GACC,kBAAkB,CAY9B;AAGM,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,IAAA,qBAAW,EAAC,kBAAkB,CAAC;CAGtE,CAAA;AAHY,gDAAkB;AAE7B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACR;6BAFD,kBAAkB;IAD9B,IAAA,mBAAS,GAAE;GACC,kBAAkB,CAG9B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TranslationInput } from "./translation.input";
|
|
2
2
|
import { UserType } from "../enum";
|
|
3
3
|
import { DateRangeInput } from "./date-range.input";
|
|
4
|
+
import { OrderByInput } from "./order-by.input";
|
|
4
5
|
export declare class CreatePublicationInput {
|
|
5
6
|
key: string;
|
|
6
7
|
label: TranslationInput;
|
|
@@ -15,7 +16,10 @@ export declare class CreatePublicationInput {
|
|
|
15
16
|
isActive?: boolean;
|
|
16
17
|
}
|
|
17
18
|
export declare class PublicationFilterInput {
|
|
19
|
+
searchKey?: string;
|
|
20
|
+
orderBy?: OrderByInput[];
|
|
18
21
|
createdAt?: DateRangeInput;
|
|
22
|
+
updatedAt?: DateRangeInput;
|
|
19
23
|
}
|
|
20
24
|
declare const UpdatePublicationInput_base: import("@nestjs/common").Type<Partial<CreatePublicationInput>>;
|
|
21
25
|
export declare class UpdatePublicationInput extends UpdatePublicationInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publication.dto.d.ts","sourceRoot":"","sources":["../../src/dto/publication.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"publication.dto.d.ts","sourceRoot":"","sources":["../../src/dto/publication.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,sBAAsB;IAEjC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBACa,sBAAsB;IAEjC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,sBAAuB,SAAQ,2BAE3C;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -14,6 +14,7 @@ const graphql_1 = require("@nestjs/graphql");
|
|
|
14
14
|
const translation_input_1 = require("./translation.input");
|
|
15
15
|
const enum_1 = require("../enum");
|
|
16
16
|
const date_range_input_1 = require("./date-range.input");
|
|
17
|
+
const order_by_input_1 = require("./order-by.input");
|
|
17
18
|
let CreatePublicationInput = class CreatePublicationInput {
|
|
18
19
|
};
|
|
19
20
|
exports.CreatePublicationInput = CreatePublicationInput;
|
|
@@ -67,10 +68,22 @@ exports.CreatePublicationInput = CreatePublicationInput = __decorate([
|
|
|
67
68
|
let PublicationFilterInput = class PublicationFilterInput {
|
|
68
69
|
};
|
|
69
70
|
exports.PublicationFilterInput = PublicationFilterInput;
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], PublicationFilterInput.prototype, "searchKey", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
77
|
+
__metadata("design:type", Array)
|
|
78
|
+
], PublicationFilterInput.prototype, "orderBy", void 0);
|
|
70
79
|
__decorate([
|
|
71
80
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
81
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
82
|
], PublicationFilterInput.prototype, "createdAt", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
85
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
86
|
+
], PublicationFilterInput.prototype, "updatedAt", void 0);
|
|
74
87
|
exports.PublicationFilterInput = PublicationFilterInput = __decorate([
|
|
75
88
|
(0, graphql_1.InputType)()
|
|
76
89
|
], PublicationFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publication.dto.js","sourceRoot":"","sources":["../../src/dto/publication.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;
|
|
1
|
+
{"version":3,"file":"publication.dto.js","sourceRoot":"","sources":["../../src/dto/publication.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AACpD,qDAAgD;AAGzC,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAiClC,CAAA;AAjCY,wDAAsB;AAEjC;IADC,IAAA,eAAK,GAAE;;mDACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;qDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3C,oCAAgB;oDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,eAAQ,CAAC,KAAK,EAAE,CAAC;;wDACpD;AAGpB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE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;AALY,wDAAsB;AAIjC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mDACR;iCAJD,sBAAsB;IADlC,IAAA,mBAAS,GAAE;GACC,sBAAsB,CAKlC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TranslationInput } from "./translation.input";
|
|
2
2
|
import { UserType } from "../enum";
|
|
3
3
|
import { DateRangeInput } from "./date-range.input";
|
|
4
|
+
import { OrderByInput } from "./order-by.input";
|
|
4
5
|
export declare class CreateReceiveInventoryInput {
|
|
5
6
|
key: string;
|
|
6
7
|
label: TranslationInput;
|
|
@@ -15,7 +16,10 @@ export declare class CreateReceiveInventoryInput {
|
|
|
15
16
|
isActive?: boolean;
|
|
16
17
|
}
|
|
17
18
|
export declare class ReceiveInventoryFilterInput {
|
|
19
|
+
searchKey?: string;
|
|
20
|
+
orderBy?: OrderByInput[];
|
|
18
21
|
createdAt?: DateRangeInput;
|
|
22
|
+
updatedAt?: DateRangeInput;
|
|
19
23
|
}
|
|
20
24
|
declare const UpdateReceiveInventoryInput_base: import("@nestjs/common").Type<Partial<CreateReceiveInventoryInput>>;
|
|
21
25
|
export declare class UpdateReceiveInventoryInput extends UpdateReceiveInventoryInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receive-inventory.dto.d.ts","sourceRoot":"","sources":["../../src/dto/receive-inventory.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"receive-inventory.dto.d.ts","sourceRoot":"","sources":["../../src/dto/receive-inventory.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,2BAA2B;IAEtC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBACa,2BAA2B;IAEtC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,2BAA4B,SAAQ,gCAEhD;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
|