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
|
@@ -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 CreateReceiveInventoryInput = class CreateReceiveInventoryInput {
|
|
18
19
|
};
|
|
19
20
|
exports.CreateReceiveInventoryInput = CreateReceiveInventoryInput;
|
|
@@ -67,10 +68,22 @@ exports.CreateReceiveInventoryInput = CreateReceiveInventoryInput = __decorate([
|
|
|
67
68
|
let ReceiveInventoryFilterInput = class ReceiveInventoryFilterInput {
|
|
68
69
|
};
|
|
69
70
|
exports.ReceiveInventoryFilterInput = ReceiveInventoryFilterInput;
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], ReceiveInventoryFilterInput.prototype, "searchKey", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
77
|
+
__metadata("design:type", Array)
|
|
78
|
+
], ReceiveInventoryFilterInput.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
|
], ReceiveInventoryFilterInput.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
|
+
], ReceiveInventoryFilterInput.prototype, "updatedAt", void 0);
|
|
74
87
|
exports.ReceiveInventoryFilterInput = ReceiveInventoryFilterInput = __decorate([
|
|
75
88
|
(0, graphql_1.InputType)()
|
|
76
89
|
], ReceiveInventoryFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receive-inventory.dto.js","sourceRoot":"","sources":["../../src/dto/receive-inventory.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;
|
|
1
|
+
{"version":3,"file":"receive-inventory.dto.js","sourceRoot":"","sources":["../../src/dto/receive-inventory.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AACpD,qDAAgD;AAGzC,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;CAiCvC,CAAA;AAjCY,kEAA2B;AAEtC;IADC,IAAA,eAAK,GAAE;;wDACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;0DAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3C,oCAAgB;yDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,eAAQ,CAAC,KAAK,EAAE,CAAC;;6DACpD;AAGpB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ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EAC1D,2BAA2B,CAC5B;CAGA,CAAA;AALY,kEAA2B;AAItC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wDACR;sCAJD,2BAA2B;IADvC,IAAA,mBAAS,GAAE;GACC,2BAA2B,CAKvC"}
|
package/dist/dto/roles.dto.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { DateRangeInput } from "./date-range.input";
|
|
2
|
+
import { OrderByInput } from "./order-by.input";
|
|
2
3
|
export declare class CreateRoleInput {
|
|
3
4
|
name: string;
|
|
4
5
|
description?: string;
|
|
5
6
|
}
|
|
6
7
|
export declare class RoleFilterInput {
|
|
8
|
+
searchKey?: string;
|
|
9
|
+
orderBy?: OrderByInput[];
|
|
7
10
|
createdAt?: DateRangeInput;
|
|
11
|
+
updatedAt?: DateRangeInput;
|
|
8
12
|
}
|
|
9
13
|
declare const UpdateRoleInput_base: import("@nestjs/common").Type<Partial<CreateRoleInput>>;
|
|
10
14
|
export declare class UpdateRoleInput extends UpdateRoleInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roles.dto.d.ts","sourceRoot":"","sources":["../../src/dto/roles.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"roles.dto.d.ts","sourceRoot":"","sources":["../../src/dto/roles.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,eAAe;IAE1B,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBACa,eAAe;IAE1B,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,eAAgB,SAAQ,oBAA4B;IAE/D,GAAG,EAAE,MAAM,CAAC;CACb"}
|
package/dist/dto/roles.dto.js
CHANGED
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateRoleInput = exports.RoleFilterInput = exports.CreateRoleInput = 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 CreateRoleInput = class CreateRoleInput {
|
|
16
17
|
};
|
|
17
18
|
exports.CreateRoleInput = CreateRoleInput;
|
|
@@ -29,10 +30,22 @@ exports.CreateRoleInput = CreateRoleInput = __decorate([
|
|
|
29
30
|
let RoleFilterInput = class RoleFilterInput {
|
|
30
31
|
};
|
|
31
32
|
exports.RoleFilterInput = RoleFilterInput;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], RoleFilterInput.prototype, "searchKey", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
39
|
+
__metadata("design:type", Array)
|
|
40
|
+
], RoleFilterInput.prototype, "orderBy", void 0);
|
|
32
41
|
__decorate([
|
|
33
42
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
34
43
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
35
44
|
], RoleFilterInput.prototype, "createdAt", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
47
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
48
|
+
], RoleFilterInput.prototype, "updatedAt", void 0);
|
|
36
49
|
exports.RoleFilterInput = RoleFilterInput = __decorate([
|
|
37
50
|
(0, graphql_1.InputType)()
|
|
38
51
|
], RoleFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roles.dto.js","sourceRoot":"","sources":["../../src/dto/roles.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;
|
|
1
|
+
{"version":3,"file":"roles.dto.js","sourceRoot":"","sources":["../../src/dto/roles.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AACpD,qDAAgD;AAGzC,IAAM,eAAe,GAArB,MAAM,eAAe;CAM3B,CAAA;AANY,0CAAe;AAE1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;6CACP;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACnB;0BALV,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAM3B;AAGM,IAAM,eAAe,GAArB,MAAM,eAAe;CAY3B,CAAA;AAZY,0CAAe;AAE1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACrB;AAGnB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,6BAAY,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACvB;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;kDAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;kDAAC;0BAXhB,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAY3B;AAGM,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,IAAA,qBAAW,EAAC,eAAe,CAAC;CAGhE,CAAA;AAHY,0CAAe;AAE1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACR;0BAFD,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAG3B"}
|
package/dist/dto/tag.dto.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { DateRangeInput } from "./date-range.input";
|
|
2
|
+
import { OrderByInput } from "./order-by.input";
|
|
2
3
|
export declare class CreateTagInput {
|
|
3
4
|
name: string;
|
|
4
5
|
description?: string;
|
|
5
6
|
}
|
|
6
7
|
export declare class TagFilterInput {
|
|
8
|
+
searchKey?: string;
|
|
9
|
+
orderBy?: OrderByInput[];
|
|
7
10
|
createdAt?: DateRangeInput;
|
|
8
11
|
updatedAt?: DateRangeInput;
|
|
9
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.dto.d.ts","sourceRoot":"","sources":["../../src/dto/tag.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"tag.dto.d.ts","sourceRoot":"","sources":["../../src/dto/tag.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,cAAc;IAEzB,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBACa,cAAc;IAEzB,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,cAAe,SAAQ,mBAA2B;IAE7D,GAAG,EAAE,MAAM,CAAC;CACb"}
|
package/dist/dto/tag.dto.js
CHANGED
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateTagInput = exports.TagFilterInput = exports.CreateTagInput = 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 CreateTagInput = class CreateTagInput {
|
|
16
17
|
};
|
|
17
18
|
exports.CreateTagInput = CreateTagInput;
|
|
@@ -29,6 +30,14 @@ exports.CreateTagInput = CreateTagInput = __decorate([
|
|
|
29
30
|
let TagFilterInput = class TagFilterInput {
|
|
30
31
|
};
|
|
31
32
|
exports.TagFilterInput = TagFilterInput;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], TagFilterInput.prototype, "searchKey", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
39
|
+
__metadata("design:type", Array)
|
|
40
|
+
], TagFilterInput.prototype, "orderBy", void 0);
|
|
32
41
|
__decorate([
|
|
33
42
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
34
43
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
package/dist/dto/tag.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.dto.js","sourceRoot":"","sources":["../../src/dto/tag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;
|
|
1
|
+
{"version":3,"file":"tag.dto.js","sourceRoot":"","sources":["../../src/dto/tag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA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ield.dto";
|
|
3
|
+
import { OrderByInput } from "./order-by.input";
|
|
3
4
|
export declare class InventoryQuantityInput {
|
|
4
5
|
branchId: number;
|
|
5
6
|
onHand: number;
|
|
@@ -31,7 +32,10 @@ export declare class CreateVariantInput {
|
|
|
31
32
|
metafields?: MetafieldInput[];
|
|
32
33
|
}
|
|
33
34
|
export declare class VariantFilterInput {
|
|
35
|
+
searchKey?: string;
|
|
36
|
+
orderBy?: OrderByInput[];
|
|
34
37
|
createdAt?: DateRangeInput;
|
|
38
|
+
updatedAt?: DateRangeInput;
|
|
35
39
|
}
|
|
36
40
|
declare const UpdateVariantInput_base: import("@nestjs/common").Type<Partial<CreateVariantInput>>;
|
|
37
41
|
export declare class UpdateVariantInput extends UpdateVariantInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variant.dto.d.ts","sourceRoot":"","sources":["../../src/dto/variant.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"variant.dto.d.ts","sourceRoot":"","sources":["../../src/dto/variant.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,sBAAsB;IAEjC,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,MAAM,CAAC;IAGf,SAAS,EAAE,MAAM,CAAC;IAGlB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,qBACa,kBAAkB;IAE7B,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,CAAC;IAGd,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,EAAE,OAAO,CAAC;IAGjB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAG7B,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,aAAa,CAAC,EAAE,OAAO,CAAC;IAGxB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAGjC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAG3B,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,mBAAmB,EAAE,sBAAsB,EAAE,CAAC;IAG9C,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,IAAI,EAAE,MAAM,CAAC;IAGb,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/variant.dto.js
CHANGED
|
@@ -13,6 +13,7 @@ exports.UpdateVariantInput = exports.VariantFilterInput = exports.CreateVariantI
|
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
14
|
const date_range_input_1 = require("./date-range.input");
|
|
15
15
|
const metafield_dto_1 = require("./metafield.dto");
|
|
16
|
+
const order_by_input_1 = require("./order-by.input");
|
|
16
17
|
let InventoryQuantityInput = class InventoryQuantityInput {
|
|
17
18
|
};
|
|
18
19
|
exports.InventoryQuantityInput = InventoryQuantityInput;
|
|
@@ -132,10 +133,22 @@ exports.CreateVariantInput = CreateVariantInput = __decorate([
|
|
|
132
133
|
let VariantFilterInput = class VariantFilterInput {
|
|
133
134
|
};
|
|
134
135
|
exports.VariantFilterInput = VariantFilterInput;
|
|
136
|
+
__decorate([
|
|
137
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
138
|
+
__metadata("design:type", String)
|
|
139
|
+
], VariantFilterInput.prototype, "searchKey", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
142
|
+
__metadata("design:type", Array)
|
|
143
|
+
], VariantFilterInput.prototype, "orderBy", void 0);
|
|
135
144
|
__decorate([
|
|
136
145
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
137
146
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
138
147
|
], VariantFilterInput.prototype, "createdAt", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
150
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
151
|
+
], VariantFilterInput.prototype, "updatedAt", void 0);
|
|
139
152
|
exports.VariantFilterInput = VariantFilterInput = __decorate([
|
|
140
153
|
(0, graphql_1.InputType)()
|
|
141
154
|
], VariantFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variant.dto.js","sourceRoot":"","sources":["../../src/dto/variant.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAuE;AAGvE,yDAAoD;AACpD,mDAAiD;
|
|
1
|
+
{"version":3,"file":"variant.dto.js","sourceRoot":"","sources":["../../src/dto/variant.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAuE;AAGvE,yDAAoD;AACpD,mDAAiD;AACjD,qDAAgD;AA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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"}
|
package/dist/dto/vendor.dto.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import { ESortDirection } from "../enum";
|
|
2
1
|
import { DateRangeInput } from "./date-range.input";
|
|
3
|
-
|
|
4
|
-
field: string;
|
|
5
|
-
direction: ESortDirection;
|
|
6
|
-
}
|
|
2
|
+
import { OrderByInput } from "./order-by.input";
|
|
7
3
|
export declare class CreateVendorInput {
|
|
8
4
|
name: string;
|
|
9
5
|
description?: string;
|
|
10
6
|
}
|
|
11
7
|
export declare class VendorFilterInput {
|
|
12
|
-
|
|
13
|
-
orderBy?:
|
|
8
|
+
searchKey?: string;
|
|
9
|
+
orderBy?: OrderByInput[];
|
|
14
10
|
createdAt?: DateRangeInput;
|
|
15
11
|
updatedAt?: DateRangeInput;
|
|
16
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendor.dto.d.ts","sourceRoot":"","sources":["../../src/dto/vendor.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"vendor.dto.d.ts","sourceRoot":"","sources":["../../src/dto/vendor.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,iBAAiB;IAE5B,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;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/vendor.dto.js
CHANGED
|
@@ -9,24 +9,10 @@ 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.UpdateVendorInput = exports.VendorFilterInput = exports.CreateVendorInput =
|
|
12
|
+
exports.UpdateVendorInput = exports.VendorFilterInput = exports.CreateVendorInput = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
const enum_1 = require("../enum");
|
|
15
14
|
const date_range_input_1 = require("./date-range.input");
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
exports.OrderByVendorInput = OrderByVendorInput;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, graphql_1.Field)(() => String),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], OrderByVendorInput.prototype, "field", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, graphql_1.Field)(() => enum_1.ESortDirection),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], OrderByVendorInput.prototype, "direction", void 0);
|
|
27
|
-
exports.OrderByVendorInput = OrderByVendorInput = __decorate([
|
|
28
|
-
(0, graphql_1.InputType)()
|
|
29
|
-
], OrderByVendorInput);
|
|
15
|
+
const order_by_input_1 = require("./order-by.input");
|
|
30
16
|
let CreateVendorInput = class CreateVendorInput {
|
|
31
17
|
};
|
|
32
18
|
exports.CreateVendorInput = CreateVendorInput;
|
|
@@ -47,9 +33,9 @@ exports.VendorFilterInput = VendorFilterInput;
|
|
|
47
33
|
__decorate([
|
|
48
34
|
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
49
35
|
__metadata("design:type", String)
|
|
50
|
-
], VendorFilterInput.prototype, "
|
|
36
|
+
], VendorFilterInput.prototype, "searchKey", void 0);
|
|
51
37
|
__decorate([
|
|
52
|
-
(0, graphql_1.Field)(() => [
|
|
38
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
53
39
|
__metadata("design:type", Array)
|
|
54
40
|
], VendorFilterInput.prototype, "orderBy", void 0);
|
|
55
41
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendor.dto.js","sourceRoot":"","sources":["../../src/dto/vendor.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"vendor.dto.js","sourceRoot":"","sources":["../../src/dto/vendor.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AACpD,qDAAgD;AAGzC,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAM7B,CAAA;AANY,8CAAiB;AAE5B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACP;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAA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