@merkaly/api 0.3.2 → 0.3.4
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/abstract.entity.d.ts +1 -0
- package/dist/abstract.repository.d.ts +13 -3
- package/dist/account/address/index.js +0 -10
- package/dist/account/cart/index.js +0 -10
- package/dist/account/payment/index.js +0 -10
- package/dist/account/user/index.js +0 -10
- package/dist/account/wishlist/index.js +0 -10
- package/dist/assets/asset/index.js +0 -5
- package/dist/billing/payment/index.js +0 -5
- package/dist/billing/status/index.js +0 -5
- package/dist/index.js +0 -20
- package/dist/inventory/catalog/attribute/index.js +0 -10
- package/dist/inventory/catalog/brand/index.js +0 -10
- package/dist/inventory/catalog/category/index.js +0 -10
- package/dist/inventory/catalog/collection/index.js +0 -10
- package/dist/inventory/catalog/product/index.js +0 -10
- package/dist/inventory/configuration/label/index.js +0 -10
- package/dist/inventory/configuration/measurement/index.js +0 -10
- package/dist/inventory/configuration/unit/index.js +0 -5
- package/dist/inventory/stock/backorder/index.js +0 -10
- package/dist/inventory/stock/transfer/index.js +0 -10
- package/dist/inventory/stock/warehouse/index.js +0 -10
- package/dist/logistic/carrier/index.js +0 -10
- package/dist/logistic/shipment/index.js +0 -10
- package/dist/order/purchase/item/index.js +0 -10
- package/dist/order/purchase/transaction/index.js +0 -10
- package/dist/order/purchase/vendor/index.js +0 -10
- package/dist/order/sale/address/index.js +0 -5
- package/dist/order/sale/customer/index.js +0 -10
- package/dist/order/sale/item/index.js +0 -10
- package/dist/order/sale/payment/index.js +0 -5
- package/dist/order/sale/transaction/index.js +0 -10
- package/dist/order/sale/transaction/transaction.entity.d.ts +1 -1
- package/dist/order/sale/transaction/transaction.validator.d.ts +1 -1
- package/package.json +5 -6
- package/dist/abstract.entity.js +0 -45
- package/dist/abstract.repository.js +0 -200
- package/dist/abstract.validator.js +0 -98
- package/dist/account/address/address.entity.js +0 -34
- package/dist/account/address/address.validator.js +0 -67
- package/dist/account/cart/cart.entity.js +0 -34
- package/dist/account/cart/cart.validator.js +0 -45
- package/dist/account/payment/payment.entity.js +0 -57
- package/dist/account/payment/payment.validator.js +0 -57
- package/dist/account/user/user.entity.js +0 -46
- package/dist/account/user/user.validator.js +0 -68
- package/dist/account/wishlist/wishlist.entity.js +0 -38
- package/dist/account/wishlist/wishlist.validator.js +0 -39
- package/dist/address.entity.js +0 -59
- package/dist/assets/asset/asset.entity.js +0 -58
- package/dist/billing/payment/transaction.entity.js +0 -55
- package/dist/billing/status/status.entity.js +0 -40
- package/dist/inventory/catalog/attribute/attribute.entity.js +0 -47
- package/dist/inventory/catalog/attribute/attribute.validator.js +0 -58
- package/dist/inventory/catalog/brand/brand.entity.js +0 -33
- package/dist/inventory/catalog/brand/brand.validator.js +0 -39
- package/dist/inventory/catalog/category/category.entity.js +0 -33
- package/dist/inventory/catalog/category/category.validator.js +0 -39
- package/dist/inventory/catalog/collection/collection.entity.js +0 -42
- package/dist/inventory/catalog/collection/collection.validator.js +0 -45
- package/dist/inventory/catalog/product/product.entity.js +0 -115
- package/dist/inventory/catalog/product/product.validator.js +0 -135
- package/dist/inventory/configuration/label/label.entity.js +0 -42
- package/dist/inventory/configuration/label/label.validator.js +0 -51
- package/dist/inventory/configuration/measurement/measurement.entity.js +0 -42
- package/dist/inventory/configuration/measurement/measurement.validator.js +0 -87
- package/dist/inventory/configuration/unit/unit.entity.js +0 -46
- package/dist/inventory/stock/backorder/backorder.entity.js +0 -106
- package/dist/inventory/stock/backorder/backorder.validator.js +0 -112
- package/dist/inventory/stock/transfer/transfer.entity.js +0 -108
- package/dist/inventory/stock/transfer/transfer.validator.js +0 -108
- package/dist/inventory/stock/warehouse/warehouse.entity.js +0 -67
- package/dist/inventory/stock/warehouse/warehouse.validator.js +0 -115
- package/dist/logistic/carrier/carrier.entity.js +0 -57
- package/dist/logistic/carrier/carrier.validator.js +0 -69
- package/dist/logistic/shipment/shipment.entity.js +0 -67
- package/dist/logistic/shipment/shipment.validator.js +0 -65
- package/dist/order/purchase/item/item.entity.js +0 -46
- package/dist/order/purchase/item/item.validator.js +0 -41
- package/dist/order/purchase/transaction/transaction.entity.js +0 -67
- package/dist/order/purchase/transaction/transaction.validator.js +0 -87
- package/dist/order/purchase/vendor/vendor.entity.js +0 -62
- package/dist/order/purchase/vendor/vendor.validator.js +0 -75
- package/dist/order/sale/address/address.validator.js +0 -70
- package/dist/order/sale/customer/customer.entity.js +0 -62
- package/dist/order/sale/customer/customer.validator.js +0 -77
- package/dist/order/sale/item/item.entity.js +0 -45
- package/dist/order/sale/item/item.validator.js +0 -34
- package/dist/order/sale/payment/payment.validator.js +0 -51
- package/dist/order/sale/transaction/transaction.entity.js +0 -56
- package/dist/order/sale/transaction/transaction.validator.js +0 -76
|
@@ -1,42 +0,0 @@
|
|
|
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.CatalogCollectionEntity = void 0;
|
|
13
|
-
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
-
const mongoose_2 = require("mongoose");
|
|
15
|
-
const product_schema_1 = require("../schemas/product.schema");
|
|
16
|
-
const abstract_entity_1 = require("../../../../infrastructure/abstracts/abstract.entity");
|
|
17
|
-
let CatalogCollectionEntity = class CatalogCollectionEntity extends abstract_entity_1.AbstractEntity {
|
|
18
|
-
name;
|
|
19
|
-
description;
|
|
20
|
-
products = [];
|
|
21
|
-
};
|
|
22
|
-
exports.CatalogCollectionEntity = CatalogCollectionEntity;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, mongoose_1.Prop)({ length: 32, required: true, trim: true, type: mongoose_2.Schema.Types.String, unique: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], CatalogCollectionEntity.prototype, "name", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.String, default: '' }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], CatalogCollectionEntity.prototype, "description", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, mongoose_1.Prop)({
|
|
33
|
-
default: [],
|
|
34
|
-
ref: product_schema_1.InventoryCatalogProductSchema.name,
|
|
35
|
-
type: [{ type: mongoose_2.Schema.Types.ObjectId }],
|
|
36
|
-
}),
|
|
37
|
-
__metadata("design:type", Array)
|
|
38
|
-
], CatalogCollectionEntity.prototype, "products", void 0);
|
|
39
|
-
exports.CatalogCollectionEntity = CatalogCollectionEntity = __decorate([
|
|
40
|
-
(0, mongoose_1.Schema)(abstract_entity_1.$collection)
|
|
41
|
-
], CatalogCollectionEntity);
|
|
42
|
-
//# sourceMappingURL=collection.entity.js.map
|
|
@@ -1,45 +0,0 @@
|
|
|
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.UpdateCollectionValidator = exports.CreateCollectionValidator = exports.ReadCollectionValidator = exports.SearchCollectionValidator = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const abstract_validator_1 = require("../../../../infrastructure/abstracts/abstract.validator");
|
|
15
|
-
class SearchCollectionValidator extends abstract_validator_1.SearchValidator {
|
|
16
|
-
}
|
|
17
|
-
exports.SearchCollectionValidator = SearchCollectionValidator;
|
|
18
|
-
class ReadCollectionValidator extends abstract_validator_1.ReadValidator {
|
|
19
|
-
}
|
|
20
|
-
exports.ReadCollectionValidator = ReadCollectionValidator;
|
|
21
|
-
class CreateCollectionValidator extends abstract_validator_1.AbstractValidator {
|
|
22
|
-
name;
|
|
23
|
-
description;
|
|
24
|
-
products = [];
|
|
25
|
-
}
|
|
26
|
-
exports.CreateCollectionValidator = CreateCollectionValidator;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], CreateCollectionValidator.prototype, "name", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, class_validator_1.IsOptional)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], CreateCollectionValidator.prototype, "description", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
__metadata("design:type", Array)
|
|
41
|
-
], CreateCollectionValidator.prototype, "products", void 0);
|
|
42
|
-
class UpdateCollectionValidator extends CreateCollectionValidator {
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateCollectionValidator = UpdateCollectionValidator;
|
|
45
|
-
//# sourceMappingURL=collection.validator.js.map
|
|
@@ -1,115 +0,0 @@
|
|
|
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.CatalogProductEntity = void 0;
|
|
13
|
-
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
-
const mongoose_2 = require("mongoose");
|
|
15
|
-
const asset_schema_1 = require("../../../assets/schemas/asset.schema");
|
|
16
|
-
const product_status_enum_1 = require("../enums/product.status.enum");
|
|
17
|
-
const attribute_schema_1 = require("../schemas/attribute.schema");
|
|
18
|
-
const brand_schema_1 = require("../schemas/brand.schema");
|
|
19
|
-
const category_schema_1 = require("../schemas/category.schema");
|
|
20
|
-
const measurement_schema_1 = require("../../configuration/schemas/measurement.schema");
|
|
21
|
-
const abstract_entity_1 = require("../../../../infrastructure/abstracts/abstract.entity");
|
|
22
|
-
let CatalogProductEntity = class CatalogProductEntity extends abstract_entity_1.AbstractEntity {
|
|
23
|
-
sku;
|
|
24
|
-
name;
|
|
25
|
-
description;
|
|
26
|
-
price;
|
|
27
|
-
pictures = [];
|
|
28
|
-
category;
|
|
29
|
-
brand;
|
|
30
|
-
attributes = [];
|
|
31
|
-
measure;
|
|
32
|
-
hashtags = [];
|
|
33
|
-
status;
|
|
34
|
-
stock;
|
|
35
|
-
wishlist = [];
|
|
36
|
-
};
|
|
37
|
-
exports.CatalogProductEntity = CatalogProductEntity;
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, mongoose_1.Prop)({ trim: true, unique: true, sparse: true }),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], CatalogProductEntity.prototype, "sku", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, mongoose_1.Prop)({ required: true, trim: true }),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], CatalogProductEntity.prototype, "name", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, mongoose_1.Prop)({ default: '', trim: true }),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], CatalogProductEntity.prototype, "description", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, mongoose_1.Prop)({
|
|
52
|
-
default: 0,
|
|
53
|
-
min: 0,
|
|
54
|
-
type: mongoose_2.Schema.Types.Number,
|
|
55
|
-
validate: { validator: Number.isInteger },
|
|
56
|
-
}),
|
|
57
|
-
__metadata("design:type", Number)
|
|
58
|
-
], CatalogProductEntity.prototype, "price", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, mongoose_1.Prop)({ default: [], ref: asset_schema_1.AssetSchema.name, type: [{ type: mongoose_2.Schema.Types.ObjectId }] }),
|
|
61
|
-
__metadata("design:type", Array)
|
|
62
|
-
], CatalogProductEntity.prototype, "pictures", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, mongoose_1.Prop)({ ref: category_schema_1.InventoryCatalogCategorySchema.name, type: mongoose_2.Schema.Types.ObjectId }),
|
|
65
|
-
__metadata("design:type", Object)
|
|
66
|
-
], CatalogProductEntity.prototype, "category", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, mongoose_1.Prop)({ ref: brand_schema_1.InventoryCatalogBrandSchema.name, type: mongoose_2.Schema.Types.ObjectId }),
|
|
69
|
-
__metadata("design:type", Object)
|
|
70
|
-
], CatalogProductEntity.prototype, "brand", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, mongoose_1.Prop)({
|
|
73
|
-
_id: false,
|
|
74
|
-
default: () => ({}),
|
|
75
|
-
required: true,
|
|
76
|
-
type: [
|
|
77
|
-
{
|
|
78
|
-
content: { required: true, type: mongoose_2.Schema.Types.Mixed },
|
|
79
|
-
relation: { ref: attribute_schema_1.InventoryCatalogAttributeSchema.name, type: mongoose_2.Schema.Types.ObjectId },
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
}),
|
|
83
|
-
__metadata("design:type", Array)
|
|
84
|
-
], CatalogProductEntity.prototype, "attributes", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, mongoose_1.Prop)({
|
|
87
|
-
_id: false,
|
|
88
|
-
default: () => ({}),
|
|
89
|
-
type: {
|
|
90
|
-
amount: { default: 0, min: 0, type: mongoose_2.Schema.Types.Number },
|
|
91
|
-
kind: {
|
|
92
|
-
ref: measurement_schema_1.ConfigurationMeasurementSchema.name,
|
|
93
|
-
type: mongoose_2.Schema.Types.ObjectId,
|
|
94
|
-
},
|
|
95
|
-
unit: { type: mongoose_2.Schema.Types.String },
|
|
96
|
-
},
|
|
97
|
-
}),
|
|
98
|
-
__metadata("design:type", Object)
|
|
99
|
-
], CatalogProductEntity.prototype, "measure", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
(0, mongoose_1.Prop)({ type: [String], default: [] }),
|
|
102
|
-
__metadata("design:type", Array)
|
|
103
|
-
], CatalogProductEntity.prototype, "hashtags", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
(0, mongoose_1.Prop)({ default: product_status_enum_1.CatalogProductStatus.Draft, enum: product_status_enum_1.CatalogProductStatus }),
|
|
106
|
-
__metadata("design:type", String)
|
|
107
|
-
], CatalogProductEntity.prototype, "status", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
(0, mongoose_1.Prop)({ default: 0, min: 0, type: mongoose_2.Schema.Types.Number }),
|
|
110
|
-
__metadata("design:type", Number)
|
|
111
|
-
], CatalogProductEntity.prototype, "stock", void 0);
|
|
112
|
-
exports.CatalogProductEntity = CatalogProductEntity = __decorate([
|
|
113
|
-
(0, mongoose_1.Schema)(abstract_entity_1.$collection)
|
|
114
|
-
], CatalogProductEntity);
|
|
115
|
-
//# sourceMappingURL=product.entity.js.map
|
|
@@ -1,135 +0,0 @@
|
|
|
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.UpdateProductValidator = exports.CreateProductValidator = exports.CatalogProductAttributeValidator = exports.ReadProductValidator = exports.SearchProductValidator = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const product_status_enum_1 = require("../enums/product.status.enum");
|
|
16
|
-
const abstract_validator_1 = require("../../../../infrastructure/abstracts/abstract.validator");
|
|
17
|
-
class SearchProductValidator extends abstract_validator_1.SearchValidator {
|
|
18
|
-
}
|
|
19
|
-
exports.SearchProductValidator = SearchProductValidator;
|
|
20
|
-
class ReadProductValidator extends abstract_validator_1.ReadValidator {
|
|
21
|
-
}
|
|
22
|
-
exports.ReadProductValidator = ReadProductValidator;
|
|
23
|
-
class CatalogProductAttributeValidator extends abstract_validator_1.AbstractValidator {
|
|
24
|
-
relation;
|
|
25
|
-
content;
|
|
26
|
-
required = false;
|
|
27
|
-
}
|
|
28
|
-
exports.CatalogProductAttributeValidator = CatalogProductAttributeValidator;
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsMongoId)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CatalogProductAttributeValidator.prototype, "relation", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], CatalogProductAttributeValidator.prototype, "content", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsBoolean)(),
|
|
39
|
-
__metadata("design:type", Object)
|
|
40
|
-
], CatalogProductAttributeValidator.prototype, "required", void 0);
|
|
41
|
-
class CreateProductValidator extends abstract_validator_1.AbstractValidator {
|
|
42
|
-
sku;
|
|
43
|
-
name;
|
|
44
|
-
description;
|
|
45
|
-
price;
|
|
46
|
-
measure;
|
|
47
|
-
pictures = [];
|
|
48
|
-
stock = 0;
|
|
49
|
-
category;
|
|
50
|
-
brand;
|
|
51
|
-
hashtags = [];
|
|
52
|
-
attributes = [];
|
|
53
|
-
status = product_status_enum_1.CatalogProductStatus.Draft;
|
|
54
|
-
}
|
|
55
|
-
exports.CreateProductValidator = CreateProductValidator;
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, class_validator_1.IsString)(),
|
|
58
|
-
(0, class_validator_1.IsOptional)(),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], CreateProductValidator.prototype, "sku", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_validator_1.IsString)(),
|
|
63
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], CreateProductValidator.prototype, "name", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, class_validator_1.IsString)(),
|
|
68
|
-
(0, class_validator_1.IsOptional)(),
|
|
69
|
-
__metadata("design:type", String)
|
|
70
|
-
], CreateProductValidator.prototype, "description", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, class_validator_1.IsPositive)(),
|
|
73
|
-
__metadata("design:type", Number)
|
|
74
|
-
], CreateProductValidator.prototype, "price", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, class_validator_1.IsNotEmptyObject)(),
|
|
77
|
-
(0, class_validator_1.IsOptional)(),
|
|
78
|
-
__metadata("design:type", Object)
|
|
79
|
-
], CreateProductValidator.prototype, "measure", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
82
|
-
(0, class_validator_1.IsArray)(),
|
|
83
|
-
(0, class_validator_1.IsOptional)(),
|
|
84
|
-
__metadata("design:type", Array)
|
|
85
|
-
], CreateProductValidator.prototype, "pictures", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, class_validator_1.IsOptional)(),
|
|
88
|
-
__metadata("design:type", Object)
|
|
89
|
-
], CreateProductValidator.prototype, "stock", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, class_validator_1.IsOptional)(),
|
|
92
|
-
(0, class_validator_1.IsMongoId)(),
|
|
93
|
-
__metadata("design:type", String)
|
|
94
|
-
], CreateProductValidator.prototype, "category", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
(0, class_validator_1.IsOptional)(),
|
|
97
|
-
(0, class_validator_1.IsMongoId)(),
|
|
98
|
-
__metadata("design:type", String)
|
|
99
|
-
], CreateProductValidator.prototype, "brand", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
(0, class_validator_1.IsOptional)(),
|
|
102
|
-
(0, class_validator_1.IsArray)(),
|
|
103
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
104
|
-
__metadata("design:type", Array)
|
|
105
|
-
], CreateProductValidator.prototype, "hashtags", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, class_validator_1.IsArray)(),
|
|
108
|
-
(0, class_transformer_1.Type)(() => CatalogProductAttributeValidator),
|
|
109
|
-
(0, class_validator_1.ValidateNested)(),
|
|
110
|
-
__metadata("design:type", Array)
|
|
111
|
-
], CreateProductValidator.prototype, "attributes", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
(0, class_validator_1.IsOptional)(),
|
|
114
|
-
(0, class_validator_1.IsEnum)(product_status_enum_1.CatalogProductStatus),
|
|
115
|
-
__metadata("design:type", String)
|
|
116
|
-
], CreateProductValidator.prototype, "status", void 0);
|
|
117
|
-
class UpdateProductValidator extends CreateProductValidator {
|
|
118
|
-
}
|
|
119
|
-
exports.UpdateProductValidator = UpdateProductValidator;
|
|
120
|
-
__decorate([
|
|
121
|
-
(0, class_validator_1.IsString)(),
|
|
122
|
-
(0, class_validator_1.IsOptional)(),
|
|
123
|
-
__metadata("design:type", String)
|
|
124
|
-
], UpdateProductValidator.prototype, "name", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, class_validator_1.IsPositive)(),
|
|
127
|
-
(0, class_validator_1.IsOptional)(),
|
|
128
|
-
__metadata("design:type", Number)
|
|
129
|
-
], UpdateProductValidator.prototype, "price", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
(0, class_validator_1.IsNotEmptyObject)(),
|
|
132
|
-
(0, class_validator_1.IsOptional)(),
|
|
133
|
-
__metadata("design:type", Object)
|
|
134
|
-
], UpdateProductValidator.prototype, "measure", void 0);
|
|
135
|
-
//# sourceMappingURL=product.validator.js.map
|
|
@@ -1,42 +0,0 @@
|
|
|
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.ConfigurationLabelEntity = void 0;
|
|
13
|
-
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
-
const mongoose_2 = require("mongoose");
|
|
15
|
-
const abstract_entity_1 = require("../../../../infrastructure/abstracts/abstract.entity");
|
|
16
|
-
let ConfigurationLabelEntity = class ConfigurationLabelEntity extends abstract_entity_1.AbstractEntity {
|
|
17
|
-
name;
|
|
18
|
-
description;
|
|
19
|
-
color;
|
|
20
|
-
active;
|
|
21
|
-
};
|
|
22
|
-
exports.ConfigurationLabelEntity = ConfigurationLabelEntity;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, mongoose_1.Prop)({ required: true, trim: true, unique: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], ConfigurationLabelEntity.prototype, "name", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.String }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ConfigurationLabelEntity.prototype, "description", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, mongoose_1.Prop)({ default: '#6c757d' }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], ConfigurationLabelEntity.prototype, "color", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, mongoose_1.Prop)({ default: true }),
|
|
37
|
-
__metadata("design:type", Boolean)
|
|
38
|
-
], ConfigurationLabelEntity.prototype, "active", void 0);
|
|
39
|
-
exports.ConfigurationLabelEntity = ConfigurationLabelEntity = __decorate([
|
|
40
|
-
(0, mongoose_1.Schema)(abstract_entity_1.$collection)
|
|
41
|
-
], ConfigurationLabelEntity);
|
|
42
|
-
//# sourceMappingURL=label.entity.js.map
|
|
@@ -1,51 +0,0 @@
|
|
|
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.UpdateLabelValidator = exports.CreateLabelValidator = exports.ReadLabelValidator = exports.SearchLabelValidator = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const abstract_validator_1 = require("../../../../infrastructure/abstracts/abstract.validator");
|
|
15
|
-
class SearchLabelValidator extends abstract_validator_1.SearchValidator {
|
|
16
|
-
}
|
|
17
|
-
exports.SearchLabelValidator = SearchLabelValidator;
|
|
18
|
-
class ReadLabelValidator extends abstract_validator_1.ReadValidator {
|
|
19
|
-
}
|
|
20
|
-
exports.ReadLabelValidator = ReadLabelValidator;
|
|
21
|
-
class CreateLabelValidator extends abstract_validator_1.AbstractValidator {
|
|
22
|
-
name;
|
|
23
|
-
description;
|
|
24
|
-
color;
|
|
25
|
-
active;
|
|
26
|
-
}
|
|
27
|
-
exports.CreateLabelValidator = CreateLabelValidator;
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsString)(),
|
|
30
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CreateLabelValidator.prototype, "name", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsString)(),
|
|
35
|
-
(0, class_validator_1.IsOptional)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], CreateLabelValidator.prototype, "description", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsString)(),
|
|
40
|
-
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], CreateLabelValidator.prototype, "color", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_validator_1.IsBoolean)(),
|
|
45
|
-
(0, class_validator_1.IsOptional)(),
|
|
46
|
-
__metadata("design:type", Boolean)
|
|
47
|
-
], CreateLabelValidator.prototype, "active", void 0);
|
|
48
|
-
class UpdateLabelValidator extends CreateLabelValidator {
|
|
49
|
-
}
|
|
50
|
-
exports.UpdateLabelValidator = UpdateLabelValidator;
|
|
51
|
-
//# sourceMappingURL=label.validator.js.map
|
|
@@ -1,42 +0,0 @@
|
|
|
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.ConfigurationMeasurementEntity = void 0;
|
|
13
|
-
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
-
const abstract_entity_1 = require("../../../../infrastructure/abstracts/abstract.entity");
|
|
15
|
-
const unit_entity_1 = require("./unit.entity");
|
|
16
|
-
let ConfigurationMeasurementEntity = class ConfigurationMeasurementEntity extends abstract_entity_1.AbstractEntity {
|
|
17
|
-
name;
|
|
18
|
-
description;
|
|
19
|
-
active;
|
|
20
|
-
units = [];
|
|
21
|
-
};
|
|
22
|
-
exports.ConfigurationMeasurementEntity = ConfigurationMeasurementEntity;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, mongoose_1.Prop)({ required: true, trim: true, unique: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], ConfigurationMeasurementEntity.prototype, "name", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, mongoose_1.Prop)({ default: '', trim: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ConfigurationMeasurementEntity.prototype, "description", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, mongoose_1.Prop)({ default: true }),
|
|
33
|
-
__metadata("design:type", Boolean)
|
|
34
|
-
], ConfigurationMeasurementEntity.prototype, "active", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, mongoose_1.Prop)({ default: () => [], type: [unit_entity_1.ConfigurationUnitEntity] }),
|
|
37
|
-
__metadata("design:type", Array)
|
|
38
|
-
], ConfigurationMeasurementEntity.prototype, "units", void 0);
|
|
39
|
-
exports.ConfigurationMeasurementEntity = ConfigurationMeasurementEntity = __decorate([
|
|
40
|
-
(0, mongoose_1.Schema)(abstract_entity_1.$collection)
|
|
41
|
-
], ConfigurationMeasurementEntity);
|
|
42
|
-
//# sourceMappingURL=measurement.entity.js.map
|
|
@@ -1,87 +0,0 @@
|
|
|
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.UpdateMeasurementValidator = exports.CreateMeasurementValidator = exports.ReadMeasurementValidator = exports.SearchMeasurementValidator = exports.ConfigurationUnitValidator = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const abstract_validator_1 = require("../../../../infrastructure/abstracts/abstract.validator");
|
|
16
|
-
class ConfigurationUnitValidator extends abstract_validator_1.AbstractValidator {
|
|
17
|
-
name;
|
|
18
|
-
symbol;
|
|
19
|
-
description;
|
|
20
|
-
active;
|
|
21
|
-
isBaseUnit;
|
|
22
|
-
}
|
|
23
|
-
exports.ConfigurationUnitValidator = ConfigurationUnitValidator;
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsString)(),
|
|
26
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], ConfigurationUnitValidator.prototype, "name", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsString)(),
|
|
31
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], ConfigurationUnitValidator.prototype, "symbol", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsString)(),
|
|
36
|
-
(0, class_validator_1.IsOptional)(),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], ConfigurationUnitValidator.prototype, "description", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsBoolean)(),
|
|
41
|
-
(0, class_validator_1.IsOptional)(),
|
|
42
|
-
__metadata("design:type", Boolean)
|
|
43
|
-
], ConfigurationUnitValidator.prototype, "active", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsBoolean)(),
|
|
46
|
-
(0, class_validator_1.IsOptional)(),
|
|
47
|
-
__metadata("design:type", Boolean)
|
|
48
|
-
], ConfigurationUnitValidator.prototype, "isBaseUnit", void 0);
|
|
49
|
-
class SearchMeasurementValidator extends abstract_validator_1.SearchValidator {
|
|
50
|
-
}
|
|
51
|
-
exports.SearchMeasurementValidator = SearchMeasurementValidator;
|
|
52
|
-
class ReadMeasurementValidator extends abstract_validator_1.ReadValidator {
|
|
53
|
-
}
|
|
54
|
-
exports.ReadMeasurementValidator = ReadMeasurementValidator;
|
|
55
|
-
class CreateMeasurementValidator extends abstract_validator_1.AbstractValidator {
|
|
56
|
-
name;
|
|
57
|
-
description;
|
|
58
|
-
active;
|
|
59
|
-
units;
|
|
60
|
-
}
|
|
61
|
-
exports.CreateMeasurementValidator = CreateMeasurementValidator;
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, class_validator_1.IsString)(),
|
|
64
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], CreateMeasurementValidator.prototype, "name", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, class_validator_1.IsString)(),
|
|
69
|
-
(0, class_validator_1.IsOptional)(),
|
|
70
|
-
__metadata("design:type", String)
|
|
71
|
-
], CreateMeasurementValidator.prototype, "description", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, class_validator_1.IsBoolean)(),
|
|
74
|
-
(0, class_validator_1.IsOptional)(),
|
|
75
|
-
__metadata("design:type", Boolean)
|
|
76
|
-
], CreateMeasurementValidator.prototype, "active", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, class_validator_1.IsArray)(),
|
|
79
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
80
|
-
(0, class_transformer_1.Type)(() => ConfigurationUnitValidator),
|
|
81
|
-
(0, class_validator_1.IsOptional)(),
|
|
82
|
-
__metadata("design:type", Array)
|
|
83
|
-
], CreateMeasurementValidator.prototype, "units", void 0);
|
|
84
|
-
class UpdateMeasurementValidator extends CreateMeasurementValidator {
|
|
85
|
-
}
|
|
86
|
-
exports.UpdateMeasurementValidator = UpdateMeasurementValidator;
|
|
87
|
-
//# sourceMappingURL=measurement.validator.js.map
|
|
@@ -1,46 +0,0 @@
|
|
|
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.ConfigurationUnitEntity = void 0;
|
|
13
|
-
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
-
const abstract_entity_1 = require("../../../../infrastructure/abstracts/abstract.entity");
|
|
15
|
-
let ConfigurationUnitEntity = class ConfigurationUnitEntity extends abstract_entity_1.AbstractEntity {
|
|
16
|
-
name;
|
|
17
|
-
symbol;
|
|
18
|
-
description;
|
|
19
|
-
active;
|
|
20
|
-
isBaseUnit;
|
|
21
|
-
};
|
|
22
|
-
exports.ConfigurationUnitEntity = ConfigurationUnitEntity;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, mongoose_1.Prop)({ required: true, trim: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], ConfigurationUnitEntity.prototype, "name", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, mongoose_1.Prop)({ required: true, trim: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ConfigurationUnitEntity.prototype, "symbol", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, mongoose_1.Prop)({ default: '', trim: true }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], ConfigurationUnitEntity.prototype, "description", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, mongoose_1.Prop)({ default: true }),
|
|
37
|
-
__metadata("design:type", Boolean)
|
|
38
|
-
], ConfigurationUnitEntity.prototype, "active", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, mongoose_1.Prop)({ default: false }),
|
|
41
|
-
__metadata("design:type", Boolean)
|
|
42
|
-
], ConfigurationUnitEntity.prototype, "isBaseUnit", void 0);
|
|
43
|
-
exports.ConfigurationUnitEntity = ConfigurationUnitEntity = __decorate([
|
|
44
|
-
(0, mongoose_1.Schema)(abstract_entity_1.$subdocument)
|
|
45
|
-
], ConfigurationUnitEntity);
|
|
46
|
-
//# sourceMappingURL=unit.entity.js.map
|