@likewatt/models 1.52.0 → 1.52.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.
@@ -180,13 +180,11 @@ __decorate([
180
180
  __decorate([
181
181
  (0, swagger_1.ApiPropertyOptional)(),
182
182
  (0, class_validator_1.IsOptional)(),
183
- (0, class_validator_1.IsDate)(),
184
183
  __metadata("design:type", Object)
185
184
  ], CollectiveSite.prototype, "createdAt", void 0);
186
185
  __decorate([
187
186
  (0, swagger_1.ApiPropertyOptional)(),
188
187
  (0, class_validator_1.IsOptional)(),
189
- (0, class_validator_1.IsDate)(),
190
188
  __metadata("design:type", Object)
191
189
  ], CollectiveSite.prototype, "updatedAt", void 0);
192
190
  exports.CollectiveSite = CollectiveSite = __decorate([
@@ -53,7 +53,7 @@ export declare class ScenarioDefaultValue {
53
53
  createdBy?: Date;
54
54
  updatedAt?: Date;
55
55
  isLeads?: boolean;
56
- createdAt?: Date;
56
+ createdAt?: Date | string;
57
57
  }
58
58
  export type ScenarioDefaultValueDocument = ScenarioDefaultValue & Document;
59
59
  export declare const ScenarioDefaultValueSchema: import("mongoose").Schema<ScenarioDefaultValue, import("mongoose").Model<ScenarioDefaultValue, any, any, any, Document<unknown, any, ScenarioDefaultValue, any, {}> & ScenarioDefaultValue & Required<{
@@ -254,8 +254,7 @@ __decorate([
254
254
  __decorate([
255
255
  (0, swagger_1.ApiPropertyOptional)(),
256
256
  (0, class_validator_1.IsOptional)(),
257
- (0, class_validator_1.IsDate)(),
258
- __metadata("design:type", Date)
257
+ __metadata("design:type", Object)
259
258
  ], ScenarioDefaultValue.prototype, "createdAt", void 0);
260
259
  exports.ScenarioDefaultValue = ScenarioDefaultValue = __decorate([
261
260
  (0, mongoose_1.Schema)({
package/dist/core/Site.js CHANGED
@@ -579,15 +579,13 @@ __decorate([
579
579
  __metadata("design:type", String)
580
580
  ], Site.prototype, "scenarioOption", void 0);
581
581
  __decorate([
582
- (0, swagger_1.ApiPropertyOptional)({ description: 'Date de création (Mongoose timestamps)' }),
582
+ (0, swagger_1.ApiPropertyOptional)(),
583
583
  (0, class_validator_1.IsOptional)(),
584
- (0, class_validator_1.IsDate)(),
585
584
  __metadata("design:type", Object)
586
585
  ], Site.prototype, "createdAt", void 0);
587
586
  __decorate([
588
- (0, swagger_1.ApiPropertyOptional)({ description: 'Date de dernière mise à jour (Mongoose timestamps)' }),
587
+ (0, swagger_1.ApiPropertyOptional)(),
589
588
  (0, class_validator_1.IsOptional)(),
590
- (0, class_validator_1.IsDate)(),
591
589
  __metadata("design:type", Object)
592
590
  ], Site.prototype, "updatedAt", void 0);
593
591
  exports.Site = Site = __decorate([
@@ -100,13 +100,11 @@ __decorate([
100
100
  __decorate([
101
101
  (0, swagger_1.ApiPropertyOptional)(),
102
102
  (0, class_validator_1.IsOptional)(),
103
- (0, class_validator_1.IsDate)(),
104
103
  __metadata("design:type", Object)
105
104
  ], LeadsForm.prototype, "createdAt", void 0);
106
105
  __decorate([
107
106
  (0, swagger_1.ApiPropertyOptional)(),
108
107
  (0, class_validator_1.IsOptional)(),
109
- (0, class_validator_1.IsDate)(),
110
108
  __metadata("design:type", Object)
111
109
  ], LeadsForm.prototype, "updatedAt", void 0);
112
110
  exports.LeadsForm = LeadsForm = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.52.0",
3
+ "version": "1.52.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {