@asumano/worklip-typeorm-db 1.1.109 → 1.1.110

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.
@@ -11,6 +11,7 @@ export declare class Associate {
11
11
  code: string;
12
12
  company: Company;
13
13
  document: string;
14
+ document_type: string;
14
15
  name: string;
15
16
  surname: string;
16
17
  email: string;
@@ -55,6 +55,15 @@ __decorate([
55
55
  }),
56
56
  __metadata("design:type", String)
57
57
  ], Associate.prototype, "document", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.Column)({
60
+ type: "varchar",
61
+ length: 10,
62
+ default: "C.C",
63
+ comment: "Código del tipo de documento (document_type.code del país: C.C, C.E, PASAPORTE...).",
64
+ }),
65
+ __metadata("design:type", String)
66
+ ], Associate.prototype, "document_type", void 0);
58
67
  __decorate([
59
68
  (0, typeorm_1.Column)({ length: 50, type: "varchar", comment: "Nombre del usuario." }),
60
69
  __metadata("design:type", String)
@@ -6,6 +6,7 @@ export declare class Master {
6
6
  id: number;
7
7
  code: string;
8
8
  document: string;
9
+ document_type: string;
9
10
  name: string;
10
11
  surname: string;
11
12
  email: string;
@@ -43,6 +43,15 @@ __decorate([
43
43
  }),
44
44
  __metadata("design:type", String)
45
45
  ], Master.prototype, "document", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({
48
+ type: "varchar",
49
+ length: 10,
50
+ default: "C.C",
51
+ comment: "Código del tipo de documento (document_type.code de Colombia: C.C, C.E, PASAPORTE...).",
52
+ }),
53
+ __metadata("design:type", String)
54
+ ], Master.prototype, "document_type", void 0);
46
55
  __decorate([
47
56
  (0, typeorm_1.Column)({ length: 50, type: "varchar", comment: "Nombre del administrador." }),
48
57
  __metadata("design:type", String)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asumano/worklip-typeorm-db",
3
- "version": "1.1.109",
3
+ "version": "1.1.110",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },