@likewatt/models 1.54.0 → 1.56.0
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/core/Scenario.d.ts +3 -6
- package/dist/core/Scenario.js +7 -1
- package/package.json +1 -1
package/dist/core/Scenario.d.ts
CHANGED
|
@@ -169,15 +169,14 @@ export declare class Scenario {
|
|
|
169
169
|
version?: number;
|
|
170
170
|
isFullSellOut?: boolean;
|
|
171
171
|
isACCScenario?: boolean;
|
|
172
|
+
__v?: number;
|
|
172
173
|
createdAt?: Date | string;
|
|
173
174
|
updatedAt?: Date | string;
|
|
174
175
|
}
|
|
175
176
|
export type ScenarioDocument = Scenario & Document;
|
|
176
177
|
export declare const ScenarioSchema: MSchema<Scenario, import("mongoose").Model<Scenario, any, any, any, Document<unknown, any, Scenario, any, {}> & Scenario & Required<{
|
|
177
178
|
_id: string;
|
|
178
|
-
}> & {
|
|
179
|
-
__v: number;
|
|
180
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Scenario, Document<unknown, {}, import("mongoose").FlatRecord<Scenario>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<Scenario> & Required<{
|
|
179
|
+
}>, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Scenario, Document<unknown, {}, import("mongoose").FlatRecord<Scenario>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<Scenario> & Required<{
|
|
181
180
|
_id: string;
|
|
182
181
|
}> & {
|
|
183
182
|
__v: number;
|
|
@@ -192,9 +191,7 @@ export declare class ScenarioType extends Scenario {
|
|
|
192
191
|
export type ScenarioTypeDocument = ScenarioType & Document;
|
|
193
192
|
export declare const ScenarioTypeSchema: MSchema<ScenarioType, import("mongoose").Model<ScenarioType, any, any, any, Document<unknown, any, ScenarioType, any, {}> & ScenarioType & Required<{
|
|
194
193
|
_id: string;
|
|
195
|
-
}> & {
|
|
196
|
-
__v: number;
|
|
197
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ScenarioType, Document<unknown, {}, import("mongoose").FlatRecord<ScenarioType>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<ScenarioType> & Required<{
|
|
194
|
+
}>, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ScenarioType, Document<unknown, {}, import("mongoose").FlatRecord<ScenarioType>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<ScenarioType> & Required<{
|
|
198
195
|
_id: string;
|
|
199
196
|
}> & {
|
|
200
197
|
__v: number;
|
package/dist/core/Scenario.js
CHANGED
|
@@ -538,7 +538,7 @@ __decorate([
|
|
|
538
538
|
(0, swagger_1.ApiPropertyOptional)({ example: [1] }),
|
|
539
539
|
(0, mongoose_1.Prop)(),
|
|
540
540
|
(0, class_validator_1.IsOptional)(),
|
|
541
|
-
(0, class_validator_1.
|
|
541
|
+
(0, class_validator_1.IsArray)(),
|
|
542
542
|
__metadata("design:type", Array)
|
|
543
543
|
], Scenario.prototype, "priorities", void 0);
|
|
544
544
|
__decorate([
|
|
@@ -602,6 +602,12 @@ __decorate([
|
|
|
602
602
|
(0, class_validator_1.IsBoolean)(),
|
|
603
603
|
__metadata("design:type", Boolean)
|
|
604
604
|
], Scenario.prototype, "isACCScenario", void 0);
|
|
605
|
+
__decorate([
|
|
606
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
607
|
+
(0, class_validator_1.IsOptional)(),
|
|
608
|
+
(0, class_validator_1.IsNumber)(),
|
|
609
|
+
__metadata("design:type", Number)
|
|
610
|
+
], Scenario.prototype, "__v", void 0);
|
|
605
611
|
__decorate([
|
|
606
612
|
(0, swagger_1.ApiPropertyOptional)({ example: '2025-04-24T14:05:00.000Z' }),
|
|
607
613
|
(0, class_validator_1.IsOptional)(),
|