@likewatt/models 1.20.0 → 1.20.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.
|
@@ -10,7 +10,7 @@ export declare class Invitation {
|
|
|
10
10
|
_id: string;
|
|
11
11
|
email: string;
|
|
12
12
|
principal: string;
|
|
13
|
-
|
|
13
|
+
createdAt?: Date;
|
|
14
14
|
}
|
|
15
15
|
export type InvitationDocument = Invitation & Document;
|
|
16
16
|
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
|
@@ -64,7 +64,7 @@ __decorate([
|
|
|
64
64
|
(0, class_validator_1.IsOptional)(),
|
|
65
65
|
(0, class_validator_1.IsString)(),
|
|
66
66
|
__metadata("design:type", Date)
|
|
67
|
-
], Invitation.prototype, "
|
|
67
|
+
], Invitation.prototype, "createdAt", void 0);
|
|
68
68
|
exports.Invitation = Invitation = __decorate([
|
|
69
69
|
(0, mongoose_1.Schema)({
|
|
70
70
|
id: false,
|
package/dist/core/Scenario.d.ts
CHANGED
|
@@ -166,7 +166,7 @@ export declare class Scenario {
|
|
|
166
166
|
technologies?: Technology[];
|
|
167
167
|
pvs?: Pv[];
|
|
168
168
|
version?: number;
|
|
169
|
-
|
|
169
|
+
createdAt: Date;
|
|
170
170
|
}
|
|
171
171
|
export type ScenarioDocument = Scenario & Document;
|
|
172
172
|
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
|
@@ -576,8 +576,9 @@ __decorate([
|
|
|
576
576
|
__decorate([
|
|
577
577
|
(0, swagger_1.ApiProperty)({ example: '2025-04-24T14:05:00.000Z' }),
|
|
578
578
|
(0, mongoose_1.Prop)({ default: Date.now }),
|
|
579
|
+
(0, class_validator_1.IsDate)(),
|
|
579
580
|
__metadata("design:type", Date)
|
|
580
|
-
], Scenario.prototype, "
|
|
581
|
+
], Scenario.prototype, "createdAt", void 0);
|
|
581
582
|
exports.Scenario = Scenario = __decorate([
|
|
582
583
|
(0, mongoose_1.Schema)({
|
|
583
584
|
id: false,
|