@likewatt/models 1.0.75 → 1.0.76

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.
@@ -54,6 +54,7 @@ export declare class User {
54
54
  type?: string;
55
55
  domain?: string;
56
56
  license?: string;
57
+ licenseId?: string;
57
58
  language?: string;
58
59
  allowedNumberOfSites?: number;
59
60
  logo?: string;
package/dist/core/User.js CHANGED
@@ -302,6 +302,16 @@ __decorate([
302
302
  (0, class_validator_1.IsString)(),
303
303
  __metadata("design:type", String)
304
304
  ], User.prototype, "license", void 0);
305
+ __decorate([
306
+ (0, swagger_1.ApiProperty)({
307
+ description: 'Identifiant de la licence',
308
+ example: 'Standard',
309
+ }),
310
+ (0, mongoose_2.Prop)({ type: String, required: false }),
311
+ (0, class_validator_1.IsOptional)(),
312
+ (0, class_validator_1.IsString)(),
313
+ __metadata("design:type", String)
314
+ ], User.prototype, "licenseId", void 0);
305
315
  __decorate([
306
316
  (0, swagger_1.ApiProperty)({
307
317
  description: 'Langue',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {