@likewatt/models 1.0.66 → 1.0.67

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.
@@ -45,6 +45,7 @@ export declare class User {
45
45
  license?: string;
46
46
  language?: string;
47
47
  allowedNumberOfSites?: number;
48
+ logo?: string;
48
49
  maxUsers?: number;
49
50
  trackerOkd: boolean;
50
51
  isSignUpEmailSent: boolean;
package/dist/core/User.js CHANGED
@@ -251,6 +251,16 @@ __decorate([
251
251
  (0, class_validator_1.IsNumber)(),
252
252
  __metadata("design:type", Number)
253
253
  ], User.prototype, "allowedNumberOfSites", void 0);
254
+ __decorate([
255
+ (0, swagger_1.ApiProperty)({
256
+ description: 'Logo',
257
+ example: 'logo.png',
258
+ }),
259
+ (0, mongoose_2.Prop)({ type: String, required: false }),
260
+ (0, class_validator_1.IsOptional)(),
261
+ (0, class_validator_1.IsString)(),
262
+ __metadata("design:type", String)
263
+ ], User.prototype, "logo", void 0);
254
264
  __decorate([
255
265
  (0, swagger_1.ApiProperty)({
256
266
  description: 'Nombre maximum d’utilisateurs',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {