test-entity-library-asm 2.8.4 → 2.8.6

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.
@@ -14,7 +14,7 @@ export declare class Company {
14
14
  city: City;
15
15
  partner: Partner;
16
16
  profile: any;
17
- contact_details: IPropsContactDetails;
17
+ contact_details: IPropsContactDetails | null;
18
18
  legal_information: any;
19
19
  legal_agent: any;
20
20
  created: Date;
@@ -163,7 +163,7 @@ var Partners = /** @class */ (function () {
163
163
  ], Partners.prototype, "assigned_local", void 0);
164
164
  Partners = __decorate([
165
165
  (0, typeorm_1.ViewEntity)({
166
- name: "Partners",
166
+ name: "partners",
167
167
  })
168
168
  ], Partners);
169
169
  return Partners;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "2.8.4",
3
+ "version": "2.8.6",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -64,7 +64,7 @@ export class Company {
64
64
  comment:
65
65
  'Campo de tipo JSON donde se guarda información para guardar el teléfono y el correo electrónico, también los nuevos valores qué tengan esos 2 campos.',
66
66
  })
67
- contact_details: IPropsContactDetails
67
+ contact_details: IPropsContactDetails | null
68
68
 
69
69
  @Column({
70
70
  type: 'longtext',
@@ -26,7 +26,7 @@ const DateTransformer = {
26
26
  };
27
27
 
28
28
  @ViewEntity({
29
- name: "Partners",
29
+ name: "partners",
30
30
  })
31
31
  export class Partners {
32
32
  @ViewColumn()