@sildeswj/thechium-schema 1.2.0 → 1.2.1
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/collectionOrder.schema.d.ts +6 -0
- package/dist/collectionOrder.schema.d.ts.map +1 -1
- package/dist/collectionOrder.schema.js +15 -0
- package/dist/collectionOrder.schema.js.map +1 -1
- package/dist/retailBrand.schema.d.ts +1 -0
- package/dist/retailBrand.schema.d.ts.map +1 -1
- package/dist/retailBrand.schema.js +11 -0
- package/dist/retailBrand.schema.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import mongoose, { Document } from 'mongoose';
|
|
2
|
+
import { DeliveryMan } from './deliveryMan.schema';
|
|
3
|
+
import { RetailStore } from './retailStore.schema';
|
|
4
|
+
import { CollectionCompany } from './collectionCompany.schema';
|
|
2
5
|
export declare class CollectionOrder extends Document {
|
|
3
6
|
requestMemo?: string;
|
|
4
7
|
collectionVolume: string;
|
|
@@ -7,6 +10,9 @@ export declare class CollectionOrder extends Document {
|
|
|
7
10
|
pickupRequestDate: Date;
|
|
8
11
|
signature?: string;
|
|
9
12
|
status: 'active' | 'deleted' | 'completed' | 'booking' | 'canceled';
|
|
13
|
+
deliveryMan2: DeliveryMan;
|
|
14
|
+
retailStore2: RetailStore;
|
|
15
|
+
collectionCompany: CollectionCompany;
|
|
10
16
|
deliveryMan: mongoose.Schema.Types.ObjectId;
|
|
11
17
|
retailStore: mongoose.Schema.Types.ObjectId;
|
|
12
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collectionOrder.schema.d.ts","sourceRoot":"","sources":["../src/collectionOrder.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,EAAE,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"collectionOrder.schema.d.ts","sourceRoot":"","sources":["../src/collectionOrder.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,EAAE,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAA2B,MAAM,4BAA4B,CAAC;AAExF,qBACa,eAAgB,SAAQ,QAAQ;IAG3C,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,gBAAgB,EAAE,MAAM,CAAC;IAIzB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAIhC,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,iBAAiB,EAAE,IAAI,CAAC;IAIxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAQnB,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,UAAU,CAAC;IAIpE,YAAY,EAAE,WAAW,CAAC;IAI1B,YAAY,EAAE,WAAW,CAAC;IAI1B,iBAAiB,EAAE,iBAAiB,CAAC;IAQrC,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAQ5C,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;CAC7C;AAED,eAAO,MAAM,qBAAqB;;;;;;;;EAAgD,CAAC"}
|
|
@@ -36,6 +36,9 @@ exports.CollectionOrderSchema = exports.CollectionOrder = void 0;
|
|
|
36
36
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
37
37
|
const options_1 = require("./options");
|
|
38
38
|
const mongoose_2 = __importStar(require("mongoose"));
|
|
39
|
+
const deliveryMan_schema_1 = require("./deliveryMan.schema");
|
|
40
|
+
const retailStore_schema_1 = require("./retailStore.schema");
|
|
41
|
+
const collectionCompany_schema_1 = require("./collectionCompany.schema");
|
|
39
42
|
let CollectionOrder = class CollectionOrder extends mongoose_2.Document {
|
|
40
43
|
};
|
|
41
44
|
exports.CollectionOrder = CollectionOrder;
|
|
@@ -71,6 +74,18 @@ __decorate([
|
|
|
71
74
|
}),
|
|
72
75
|
__metadata("design:type", String)
|
|
73
76
|
], CollectionOrder.prototype, "status", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, mongoose_1.Prop)({ type: deliveryMan_schema_1.DeliveryManSchema }),
|
|
79
|
+
__metadata("design:type", deliveryMan_schema_1.DeliveryMan)
|
|
80
|
+
], CollectionOrder.prototype, "deliveryMan2", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, mongoose_1.Prop)({ type: retailStore_schema_1.RetailStoreSchema }),
|
|
83
|
+
__metadata("design:type", retailStore_schema_1.RetailStore)
|
|
84
|
+
], CollectionOrder.prototype, "retailStore2", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, mongoose_1.Prop)({ type: collectionCompany_schema_1.CollectionCompanySchema }),
|
|
87
|
+
__metadata("design:type", collectionCompany_schema_1.CollectionCompany)
|
|
88
|
+
], CollectionOrder.prototype, "collectionCompany", void 0);
|
|
74
89
|
__decorate([
|
|
75
90
|
(0, mongoose_1.Prop)({
|
|
76
91
|
required: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collectionOrder.schema.js","sourceRoot":"","sources":["../src/collectionOrder.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AACpC,qDAA8C;
|
|
1
|
+
{"version":3,"file":"collectionOrder.schema.js","sourceRoot":"","sources":["../src/collectionOrder.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AACpC,qDAA8C;AAC9C,6DAAsE;AACtE,6DAAsE;AACtE,yEAAwF;AAGjF,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,mBAAQ;CA4D5C,CAAA;AA5DY,0CAAe;AAG1B;IADC,IAAA,eAAI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C,MAAM,CAAC,KAAK,CAAC,QAAQ;oDAAC;0BA3DjC,eAAe;IAD3B,IAAA,iBAAM,EAAC,iBAAO,CAAC;GACH,eAAe,CA4D3B;AAEY,QAAA,qBAAqB,GAAG,wBAAa,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
2
|
export declare class RetailBrand {
|
|
3
3
|
name: string;
|
|
4
|
+
collectionCompany: mongoose.Schema.Types.ObjectId;
|
|
4
5
|
status: string;
|
|
5
6
|
}
|
|
6
7
|
export declare const RetailBrandSchema: mongoose.Schema<RetailBrand, mongoose.Model<RetailBrand, any, any, any, mongoose.Document<unknown, any, RetailBrand> & RetailBrand & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retailBrand.schema.d.ts","sourceRoot":"","sources":["../src/retailBrand.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,qBACa,WAAW;IAEtB,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"retailBrand.schema.d.ts","sourceRoot":"","sources":["../src/retailBrand.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,qBACa,WAAW;IAEtB,IAAI,EAAE,MAAM,CAAC;IAMb,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAOlD,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;EAA4C,CAAC"}
|
|
@@ -8,10 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
11
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
15
|
exports.RetailBrandSchema = exports.RetailBrand = void 0;
|
|
13
16
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
17
|
const options_1 = require("./options");
|
|
18
|
+
const mongoose_2 = __importDefault(require("mongoose"));
|
|
15
19
|
let RetailBrand = class RetailBrand {
|
|
16
20
|
};
|
|
17
21
|
exports.RetailBrand = RetailBrand;
|
|
@@ -19,6 +23,13 @@ __decorate([
|
|
|
19
23
|
(0, mongoose_1.Prop)({ required: true, maxlength: 150, minlength: 2 }),
|
|
20
24
|
__metadata("design:type", String)
|
|
21
25
|
], RetailBrand.prototype, "name", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, mongoose_1.Prop)({
|
|
28
|
+
required: true,
|
|
29
|
+
type: mongoose_2.default.Schema.Types.ObjectId,
|
|
30
|
+
}),
|
|
31
|
+
__metadata("design:type", mongoose_2.default.Schema.Types.ObjectId)
|
|
32
|
+
], RetailBrand.prototype, "collectionCompany", void 0);
|
|
22
33
|
__decorate([
|
|
23
34
|
(0, mongoose_1.Prop)({
|
|
24
35
|
required: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retailBrand.schema.js","sourceRoot":"","sources":["../src/retailBrand.schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"retailBrand.schema.js","sourceRoot":"","sources":["../src/retailBrand.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AACpC,wDAAgC;AAGzB,IAAM,WAAW,GAAjB,MAAM,WAAW;CAgBvB,CAAA;AAhBY,kCAAW;AAEtB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;;yCAC1C;AAMb;IAJC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;KACrC,CAAC;8BACiB,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;sDAAC;AAOlD;IALC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;QAC3B,OAAO,EAAE,QAAQ;KAClB,CAAC;;2CACa;sBAfJ,WAAW;IADvB,IAAA,iBAAM,EAAC,iBAAO,CAAC;GACH,WAAW,CAgBvB;AAEY,QAAA,iBAAiB,GAAG,wBAAa,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC"}
|