@sildeswj/thechium-schema 10.1.13 → 10.1.14
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
|
+
import { Geolocation } from '../geoLocation.schema';
|
|
2
3
|
export declare class Warehouse {
|
|
3
4
|
name: string;
|
|
4
5
|
collectionCompanyId: mongoose.Schema.Types.ObjectId;
|
|
@@ -6,6 +7,10 @@ export declare class Warehouse {
|
|
|
6
7
|
address: string;
|
|
7
8
|
addressDetails: string;
|
|
8
9
|
region: string;
|
|
10
|
+
postalCode: string;
|
|
11
|
+
timezone: string;
|
|
12
|
+
geolocation: Geolocation;
|
|
13
|
+
geolocationFailedCount: number;
|
|
9
14
|
description: string;
|
|
10
15
|
status: string;
|
|
11
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"warehouse.schema.d.ts","sourceRoot":"","sources":["../../src/warehouse/warehouse.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"warehouse.schema.d.ts","sourceRoot":"","sources":["../../src/warehouse/warehouse.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,qBACa,SAAS;IAEpB,IAAI,EAAE,MAAM,CAAC;IAMb,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAOpD,4BAA4B,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;IAG/D,OAAO,EAAE,MAAM,CAAC;IAGhB,cAAc,EAAE,MAAM,CAAC;IAGvB,MAAM,EAAE,MAAM,CAAC;IAGf,UAAU,EAAE,MAAM,CAAC;IAGnB,QAAQ,EAAE,MAAM,CAAC;IAGjB,WAAW,EAAE,WAAW,CAAC;IAGzB,sBAAsB,EAAE,MAAM,CAAC;IAG/B,WAAW,EAAE,MAAM,CAAC;IAOpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe;;;;;;;;EAA0C,CAAC"}
|
|
@@ -16,6 +16,7 @@ exports.WarehouseSchema = exports.Warehouse = void 0;
|
|
|
16
16
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
17
17
|
const options_1 = require("../options");
|
|
18
18
|
const mongoose_2 = __importDefault(require("mongoose"));
|
|
19
|
+
const geoLocation_schema_1 = require("../geoLocation.schema");
|
|
19
20
|
let Warehouse = class Warehouse {
|
|
20
21
|
};
|
|
21
22
|
exports.Warehouse = Warehouse;
|
|
@@ -50,6 +51,22 @@ __decorate([
|
|
|
50
51
|
(0, mongoose_1.Prop)({ required: true }),
|
|
51
52
|
__metadata("design:type", String)
|
|
52
53
|
], Warehouse.prototype, "region", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, mongoose_1.Prop)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], Warehouse.prototype, "postalCode", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, mongoose_1.Prop)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], Warehouse.prototype, "timezone", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, mongoose_1.Prop)({ required: false, type: geoLocation_schema_1.Geolocation }),
|
|
64
|
+
__metadata("design:type", geoLocation_schema_1.Geolocation)
|
|
65
|
+
], Warehouse.prototype, "geolocation", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, mongoose_1.Prop)({ type: Number }),
|
|
68
|
+
__metadata("design:type", Number)
|
|
69
|
+
], Warehouse.prototype, "geolocationFailedCount", void 0);
|
|
53
70
|
__decorate([
|
|
54
71
|
(0, mongoose_1.Prop)({ required: false }),
|
|
55
72
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"warehouse.schema.js","sourceRoot":"","sources":["../../src/warehouse/warehouse.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,wCAAqC;AACrC,wDAAgC;
|
|
1
|
+
{"version":3,"file":"warehouse.schema.js","sourceRoot":"","sources":["../../src/warehouse/warehouse.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,wCAAqC;AACrC,wDAAgC;AAChC,8DAAoD;AAG7C,IAAM,SAAS,GAAf,MAAM,SAAS;CA+CrB,CAAA;AA/CY,8BAAS;AAEpB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACZ;AAMb;IAJC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;KACrC,CAAC;8BACmB,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;sDAAC;AAOpD;IALC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,CAAC,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;QACtC,GAAG,EAAE,2BAA2B;KACjC,CAAC;;+DAC6D;AAG/D;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACT;AAGhB;IADC,IAAA,eAAI,EAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;;iDACF;AAGvB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACV;AAGf;IADC,IAAA,eAAI,GAAE;;6CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;2CACU;AAGjB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,gCAAW,EAAE,CAAC;8BAChC,gCAAW;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