@likewatt/models 1.52.1 → 1.52.2
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.
|
@@ -10,7 +10,8 @@ export declare class Invitation {
|
|
|
10
10
|
_id: string;
|
|
11
11
|
email: string;
|
|
12
12
|
principal: string;
|
|
13
|
-
createdAt?: Date;
|
|
13
|
+
createdAt?: Date | string;
|
|
14
|
+
updatedAt?: Date | string;
|
|
14
15
|
}
|
|
15
16
|
export type InvitationDocument = Invitation & Document;
|
|
16
17
|
export declare const InvitationSchema: import("mongoose").Schema<Invitation, import("mongoose").Model<Invitation, any, any, any, Document<unknown, any, Invitation, any, {}> & Invitation & Required<{
|
package/dist/core/Invitation.js
CHANGED
|
@@ -60,11 +60,15 @@ __decorate([
|
|
|
60
60
|
example: '30-04-2024',
|
|
61
61
|
type: String,
|
|
62
62
|
}),
|
|
63
|
-
(0,
|
|
63
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
64
64
|
(0, class_validator_1.IsOptional)(),
|
|
65
|
-
(
|
|
66
|
-
__metadata("design:type", Date)
|
|
65
|
+
__metadata("design:type", Object)
|
|
67
66
|
], Invitation.prototype, "createdAt", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
__metadata("design:type", Object)
|
|
71
|
+
], Invitation.prototype, "updatedAt", void 0);
|
|
68
72
|
exports.Invitation = Invitation = __decorate([
|
|
69
73
|
(0, mongoose_1.Schema)({
|
|
70
74
|
id: false,
|
package/dist/core/Scenario.d.ts
CHANGED
|
@@ -167,7 +167,8 @@ export declare class Scenario {
|
|
|
167
167
|
technologies?: Technology[];
|
|
168
168
|
pvs?: Pv[];
|
|
169
169
|
version?: number;
|
|
170
|
-
createdAt
|
|
170
|
+
createdAt?: Date | string;
|
|
171
|
+
updatedAt?: Date | string;
|
|
171
172
|
}
|
|
172
173
|
export type ScenarioDocument = Scenario & Document;
|
|
173
174
|
export declare const ScenarioSchema: MSchema<Scenario, import("mongoose").Model<Scenario, any, any, any, Document<unknown, any, Scenario, any, {}> & Scenario & Required<{
|
package/dist/core/Scenario.js
CHANGED
|
@@ -585,11 +585,15 @@ __decorate([
|
|
|
585
585
|
__metadata("design:type", Number)
|
|
586
586
|
], Scenario.prototype, "version", void 0);
|
|
587
587
|
__decorate([
|
|
588
|
-
(0, swagger_1.
|
|
589
|
-
(0,
|
|
590
|
-
(
|
|
591
|
-
__metadata("design:type", Date)
|
|
588
|
+
(0, swagger_1.ApiPropertyOptional)({ example: '2025-04-24T14:05:00.000Z' }),
|
|
589
|
+
(0, class_validator_1.IsOptional)(),
|
|
590
|
+
__metadata("design:type", Object)
|
|
592
591
|
], Scenario.prototype, "createdAt", void 0);
|
|
592
|
+
__decorate([
|
|
593
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
594
|
+
(0, class_validator_1.IsOptional)(),
|
|
595
|
+
__metadata("design:type", Object)
|
|
596
|
+
], Scenario.prototype, "updatedAt", void 0);
|
|
593
597
|
exports.Scenario = Scenario = __decorate([
|
|
594
598
|
(0, mongoose_1.Schema)({
|
|
595
599
|
id: false,
|
|
@@ -239,10 +239,8 @@ __decorate([
|
|
|
239
239
|
], ScenarioDefaultValue.prototype, "createdBy", void 0);
|
|
240
240
|
__decorate([
|
|
241
241
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
242
|
-
(0, mongoose_1.Prop)({ type: Date, default: Date.now }),
|
|
243
|
-
(0, class_validator_1.IsDate)(),
|
|
244
242
|
(0, class_validator_1.IsOptional)(),
|
|
245
|
-
__metadata("design:type",
|
|
243
|
+
__metadata("design:type", Object)
|
|
246
244
|
], ScenarioDefaultValue.prototype, "updatedAt", void 0);
|
|
247
245
|
__decorate([
|
|
248
246
|
(0, swagger_1.ApiPropertyOptional)({ example: false }),
|