test-entity-library-asm 1.5.2 → 1.5.4

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,10 +1,11 @@
1
1
  export declare class LocalsCompany {
2
2
  id: number;
3
+ company: number;
3
4
  name: string;
4
5
  address: string;
5
6
  latitude: string;
6
7
  longitude: string;
7
- local_details: object;
8
+ details: object;
8
9
  created: string;
9
10
  updated: string;
10
11
  status: number;
@@ -23,6 +23,10 @@ var LocalsCompany = /** @class */ (function () {
23
23
  (0, typeorm_1.ViewColumn)(),
24
24
  __metadata("design:type", Number)
25
25
  ], LocalsCompany.prototype, "id", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.ViewColumn)(),
28
+ __metadata("design:type", Number)
29
+ ], LocalsCompany.prototype, "company", void 0);
26
30
  __decorate([
27
31
  (0, typeorm_1.ViewColumn)(),
28
32
  __metadata("design:type", String)
@@ -42,7 +46,7 @@ var LocalsCompany = /** @class */ (function () {
42
46
  __decorate([
43
47
  (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
44
48
  __metadata("design:type", Object)
45
- ], LocalsCompany.prototype, "local_details", void 0);
49
+ ], LocalsCompany.prototype, "details", void 0);
46
50
  __decorate([
47
51
  (0, typeorm_1.ViewColumn)(),
48
52
  __metadata("design:type", String)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,6 +12,9 @@ export class LocalsCompany {
12
12
  @ViewColumn()
13
13
  id: number
14
14
 
15
+ @ViewColumn()
16
+ company: number
17
+
15
18
  @ViewColumn()
16
19
  name: string
17
20
 
@@ -25,7 +28,7 @@ export class LocalsCompany {
25
28
  longitude: string
26
29
 
27
30
  @ViewColumn({ transformer: jsonTransformer })
28
- local_details: object
31
+ details: object
29
32
 
30
33
  @ViewColumn()
31
34
  created: string