@sildeswj/thechium-schema 2.3.0 → 2.3.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.
|
@@ -5,8 +5,8 @@ import { CollectionCompany } from './collectionCompany.schema';
|
|
|
5
5
|
import { RetailBrand } from './retailBrand.schema';
|
|
6
6
|
export declare class CollectionOrder extends Document {
|
|
7
7
|
requestMemo?: string;
|
|
8
|
-
collectionVolume:
|
|
9
|
-
actualCollectionVolume?:
|
|
8
|
+
collectionVolume: number;
|
|
9
|
+
actualCollectionVolume?: number;
|
|
10
10
|
actualCollectionKg?: number;
|
|
11
11
|
pickupDate?: Date;
|
|
12
12
|
pickupRequestDate: Date;
|
|
@@ -18,9 +18,9 @@ export declare class CollectionOrder extends Document {
|
|
|
18
18
|
collectionCompany: CollectionCompany;
|
|
19
19
|
deliveryMan: mongoose.Schema.Types.ObjectId;
|
|
20
20
|
retailStore: mongoose.Schema.Types.ObjectId;
|
|
21
|
-
pricePerKg:
|
|
22
|
-
totalPrice:
|
|
23
|
-
kgPerCan:
|
|
21
|
+
pricePerKg: number;
|
|
22
|
+
totalPrice: number;
|
|
23
|
+
kgPerCan: number;
|
|
24
24
|
howThisPriceApplied: string;
|
|
25
25
|
measureOptions?: string;
|
|
26
26
|
}
|
|
@@ -49,11 +49,11 @@ __decorate([
|
|
|
49
49
|
], CollectionOrder.prototype, "requestMemo", void 0);
|
|
50
50
|
__decorate([
|
|
51
51
|
(0, mongoose_1.Prop)({ required: true }),
|
|
52
|
-
__metadata("design:type",
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
53
|
], CollectionOrder.prototype, "collectionVolume", void 0);
|
|
54
54
|
__decorate([
|
|
55
55
|
(0, mongoose_1.Prop)(),
|
|
56
|
-
__metadata("design:type",
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
57
|
], CollectionOrder.prototype, "actualCollectionVolume", void 0);
|
|
58
58
|
__decorate([
|
|
59
59
|
(0, mongoose_1.Prop)(),
|
|
@@ -115,19 +115,19 @@ __decorate([
|
|
|
115
115
|
(0, mongoose_1.Prop)({
|
|
116
116
|
required: false,
|
|
117
117
|
}),
|
|
118
|
-
__metadata("design:type",
|
|
118
|
+
__metadata("design:type", Number)
|
|
119
119
|
], CollectionOrder.prototype, "pricePerKg", void 0);
|
|
120
120
|
__decorate([
|
|
121
121
|
(0, mongoose_1.Prop)({
|
|
122
122
|
required: false,
|
|
123
123
|
}),
|
|
124
|
-
__metadata("design:type",
|
|
124
|
+
__metadata("design:type", Number)
|
|
125
125
|
], CollectionOrder.prototype, "totalPrice", void 0);
|
|
126
126
|
__decorate([
|
|
127
127
|
(0, mongoose_1.Prop)({
|
|
128
128
|
required: false,
|
|
129
129
|
}),
|
|
130
|
-
__metadata("design:type",
|
|
130
|
+
__metadata("design:type", Number)
|
|
131
131
|
], CollectionOrder.prototype, "kgPerCan", void 0);
|
|
132
132
|
__decorate([
|
|
133
133
|
(0, mongoose_1.Prop)({
|
package/dist/pricing.schema.d.ts
CHANGED
package/dist/pricing.schema.js
CHANGED
|
@@ -17,11 +17,11 @@ let Pricing = class Pricing {
|
|
|
17
17
|
exports.Pricing = Pricing;
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, mongoose_1.Prop)({ required: false }),
|
|
20
|
-
__metadata("design:type",
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
21
|
], Pricing.prototype, "pricePerKg", void 0);
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, mongoose_1.Prop)({ required: false }),
|
|
24
|
-
__metadata("design:type",
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
25
|
], Pricing.prototype, "kgPerCan", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, mongoose_1.Prop)({ required: false }),
|
|
@@ -10,7 +10,7 @@ export declare class RetailStore {
|
|
|
10
10
|
region: string;
|
|
11
11
|
collectionCompany?: mongoose.Schema.Types.ObjectId;
|
|
12
12
|
deliveryMan?: mongoose.Schema.Types.ObjectId;
|
|
13
|
-
pricePerKg:
|
|
13
|
+
pricePerKg: number;
|
|
14
14
|
status: string;
|
|
15
15
|
}
|
|
16
16
|
export declare const RetailStoreSchema: mongoose.Schema<RetailStore, mongoose.Model<RetailStore, any, any, any, mongoose.Document<unknown, any, RetailStore> & RetailStore & {
|