easywork-common-lib 1.0.358 → 1.0.359

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.
@@ -1,4 +1,5 @@
1
1
  import { BaseEntity } from "../common/database";
2
2
  export declare class Group extends BaseEntity {
3
3
  name: string;
4
+ level: number;
4
5
  }
@@ -15,13 +15,18 @@ const class_validator_1 = require("class-validator");
15
15
  const typeorm_1 = require("typeorm");
16
16
  let Group = class Group extends database_1.BaseEntity {
17
17
  name;
18
+ level;
18
19
  };
19
20
  exports.Group = Group;
20
21
  __decorate([
21
- (0, class_validator_1.MinLength)(3),
22
+ (0, class_validator_1.MinLength)(1),
22
23
  (0, typeorm_1.Column)({ unique: true }),
23
24
  __metadata("design:type", String)
24
25
  ], Group.prototype, "name", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Column)(),
28
+ __metadata("design:type", Number)
29
+ ], Group.prototype, "level", void 0);
25
30
  exports.Group = Group = __decorate([
26
31
  (0, typeorm_1.Entity)()
27
32
  ], Group);
@@ -1 +1 @@
1
- {"version":3,"file":"group.entity.js","sourceRoot":"","sources":["../../src/entities/group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,qBAAU;IAGnC,IAAI,CAAS;CACd,CAAA;AAJY,sBAAK;AAGhB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mCACZ;gBAHF,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CAIjB"}
1
+ {"version":3,"file":"group.entity.js","sourceRoot":"","sources":["../../src/entities/group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,qBAAU;IAGnC,IAAI,CAAS;IAGb,KAAK,CAAS;CACf,CAAA;AAPY,sBAAK;AAGhB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mCACZ;AAGb;IADC,IAAA,gBAAM,GAAE;;oCACK;gBANH,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CAOjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.358",
3
+ "version": "1.0.359",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {