@likewatt/models 1.2.10 → 1.2.11
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.
|
@@ -11,12 +11,12 @@ export declare class CollectiveSite {
|
|
|
11
11
|
name: string;
|
|
12
12
|
isC_AND_I: boolean;
|
|
13
13
|
currency: string;
|
|
14
|
-
autoCO2
|
|
15
|
-
co2rate?: number;
|
|
14
|
+
autoCO2: boolean;
|
|
15
|
+
co2rate?: number | null;
|
|
16
16
|
folder?: string;
|
|
17
|
-
TCSPE
|
|
18
|
-
TURPE_VERSION
|
|
19
|
-
TMYstatus
|
|
17
|
+
TCSPE?: number;
|
|
18
|
+
TURPE_VERSION?: number;
|
|
19
|
+
TMYstatus?: number;
|
|
20
20
|
addressDepartementNum: number;
|
|
21
21
|
addressZipCode: string;
|
|
22
22
|
addressCity: string;
|
|
@@ -79,39 +79,41 @@ __decorate([
|
|
|
79
79
|
], CollectiveSite.prototype, "currency", void 0);
|
|
80
80
|
__decorate([
|
|
81
81
|
(0, swagger_1.ApiProperty)(),
|
|
82
|
-
(0, mongoose_1.Prop)({ type: Boolean, required:
|
|
83
|
-
(0, class_validator_1.IsOptional)(),
|
|
82
|
+
(0, mongoose_1.Prop)({ type: Boolean, required: true, default: false }),
|
|
84
83
|
(0, class_validator_1.IsBoolean)(),
|
|
85
84
|
__metadata("design:type", Boolean)
|
|
86
85
|
], CollectiveSite.prototype, "autoCO2", void 0);
|
|
87
86
|
__decorate([
|
|
88
87
|
(0, swagger_1.ApiProperty)(),
|
|
89
|
-
(0, mongoose_1.Prop)({ type: Number, required: false
|
|
88
|
+
(0, mongoose_1.Prop)({ type: Number, required: false }),
|
|
90
89
|
(0, class_validator_1.IsOptional)(),
|
|
91
90
|
(0, class_validator_1.IsNumber)(),
|
|
92
|
-
__metadata("design:type",
|
|
91
|
+
__metadata("design:type", Object)
|
|
93
92
|
], CollectiveSite.prototype, "co2rate", void 0);
|
|
94
93
|
__decorate([
|
|
95
|
-
(0, swagger_1.
|
|
96
|
-
(0, mongoose_1.Prop)(),
|
|
97
|
-
(0, class_validator_1.IsOptional)(),
|
|
94
|
+
(0, swagger_1.ApiProperty)(),
|
|
95
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
98
96
|
(0, class_validator_1.IsString)(),
|
|
99
97
|
__metadata("design:type", String)
|
|
100
98
|
], CollectiveSite.prototype, "folder", void 0);
|
|
101
99
|
__decorate([
|
|
102
|
-
(0, swagger_1.
|
|
103
|
-
(0, mongoose_1.Prop)({ required:
|
|
100
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
101
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
102
|
+
(0, class_validator_1.IsOptional)(),
|
|
104
103
|
(0, class_validator_1.IsNumber)(),
|
|
105
104
|
__metadata("design:type", Number)
|
|
106
105
|
], CollectiveSite.prototype, "TCSPE", void 0);
|
|
107
106
|
__decorate([
|
|
108
|
-
(0, swagger_1.
|
|
109
|
-
(0, mongoose_1.Prop)({ required:
|
|
107
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
108
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
109
|
+
(0, class_validator_1.IsOptional)(),
|
|
110
110
|
(0, class_validator_1.IsNumber)(),
|
|
111
111
|
__metadata("design:type", Number)
|
|
112
112
|
], CollectiveSite.prototype, "TURPE_VERSION", void 0);
|
|
113
113
|
__decorate([
|
|
114
|
-
(0, swagger_1.
|
|
114
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
115
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
116
|
+
(0, class_validator_1.IsOptional)(),
|
|
115
117
|
(0, class_validator_1.IsNumber)(),
|
|
116
118
|
__metadata("design:type", Number)
|
|
117
119
|
], CollectiveSite.prototype, "TMYstatus", void 0);
|