test-entity-library-asm 2.8.9 → 2.8.10

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,10 @@
1
1
  export declare class MasterNotifications {
2
2
  id: number;
3
3
  master: number;
4
+ partner: number;
4
5
  name: string;
5
6
  description: string;
6
7
  settings: any;
7
- type: number;
8
8
  created: Date;
9
9
  status: number;
10
10
  master_document: string;
@@ -15,6 +15,7 @@ export declare class MasterNotifications {
15
15
  master_profile: any;
16
16
  master_status: number;
17
17
  verify_local_local_information: any;
18
+ verify_local_assigned_master: number;
18
19
  verify_local_status: number;
19
20
  company_name: string;
20
21
  company_profile: any;
@@ -24,4 +25,9 @@ export declare class MasterNotifications {
24
25
  master_previous_name: string;
25
26
  master_previous_surname: string;
26
27
  master_previous_email: string;
28
+ partner_id: number;
29
+ partner_name: string;
30
+ partner_email: string;
31
+ partner_phone: string;
32
+ master_assigned_notification: number;
27
33
  }
@@ -20,10 +20,10 @@ var jsonTransformer = {
20
20
  };
21
21
  var DateTransformer = {
22
22
  to: function (value) {
23
- return moment.utc(value).format('YYYY-MM-DD HH:mm:ss');
23
+ return moment.utc(value).format("YYYY-MM-DD HH:mm:ss");
24
24
  },
25
25
  from: function (value) {
26
- return moment.utc(value).tz((0, __1.getTimeZone)()).format('YYYY-MM-DD HH:mm:ss');
26
+ return moment.utc(value).tz((0, __1.getTimeZone)()).format("YYYY-MM-DD HH:mm:ss");
27
27
  },
28
28
  };
29
29
  var MasterNotifications = /** @class */ (function () {
@@ -37,6 +37,10 @@ var MasterNotifications = /** @class */ (function () {
37
37
  (0, typeorm_1.ViewColumn)(),
38
38
  __metadata("design:type", Number)
39
39
  ], MasterNotifications.prototype, "master", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.ViewColumn)(),
42
+ __metadata("design:type", Number)
43
+ ], MasterNotifications.prototype, "partner", void 0);
40
44
  __decorate([
41
45
  (0, typeorm_1.ViewColumn)(),
42
46
  __metadata("design:type", String)
@@ -49,10 +53,6 @@ var MasterNotifications = /** @class */ (function () {
49
53
  (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
50
54
  __metadata("design:type", Object)
51
55
  ], MasterNotifications.prototype, "settings", void 0);
52
- __decorate([
53
- (0, typeorm_1.ViewColumn)(),
54
- __metadata("design:type", Number)
55
- ], MasterNotifications.prototype, "type", void 0);
56
56
  __decorate([
57
57
  (0, typeorm_1.ViewColumn)({ transformer: DateTransformer }),
58
58
  __metadata("design:type", Date)
@@ -93,6 +93,10 @@ var MasterNotifications = /** @class */ (function () {
93
93
  (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
94
94
  __metadata("design:type", Object)
95
95
  ], MasterNotifications.prototype, "verify_local_local_information", void 0);
96
+ __decorate([
97
+ (0, typeorm_1.ViewColumn)(),
98
+ __metadata("design:type", Number)
99
+ ], MasterNotifications.prototype, "verify_local_assigned_master", void 0);
96
100
  __decorate([
97
101
  (0, typeorm_1.ViewColumn)(),
98
102
  __metadata("design:type", Number)
@@ -129,9 +133,29 @@ var MasterNotifications = /** @class */ (function () {
129
133
  (0, typeorm_1.ViewColumn)(),
130
134
  __metadata("design:type", String)
131
135
  ], MasterNotifications.prototype, "master_previous_email", void 0);
136
+ __decorate([
137
+ (0, typeorm_1.ViewColumn)(),
138
+ __metadata("design:type", Number)
139
+ ], MasterNotifications.prototype, "partner_id", void 0);
140
+ __decorate([
141
+ (0, typeorm_1.ViewColumn)(),
142
+ __metadata("design:type", String)
143
+ ], MasterNotifications.prototype, "partner_name", void 0);
144
+ __decorate([
145
+ (0, typeorm_1.ViewColumn)(),
146
+ __metadata("design:type", String)
147
+ ], MasterNotifications.prototype, "partner_email", void 0);
148
+ __decorate([
149
+ (0, typeorm_1.ViewColumn)(),
150
+ __metadata("design:type", String)
151
+ ], MasterNotifications.prototype, "partner_phone", void 0);
152
+ __decorate([
153
+ (0, typeorm_1.ViewColumn)(),
154
+ __metadata("design:type", Number)
155
+ ], MasterNotifications.prototype, "master_assigned_notification", void 0);
132
156
  MasterNotifications = __decorate([
133
157
  (0, typeorm_1.ViewEntity)({
134
- name: 'master_notifications',
158
+ name: "master_notifications",
135
159
  })
136
160
  ], MasterNotifications);
137
161
  return MasterNotifications;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "2.8.9",
3
+ "version": "2.8.10",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,98 +1,116 @@
1
- import { ViewEntity, ViewColumn } from 'typeorm'
2
- import moment = require('moment-timezone')
3
- import { getTimeZone } from '..'
1
+ import { ViewEntity, ViewColumn } from "typeorm";
2
+ import moment = require("moment-timezone");
3
+ import { getTimeZone } from "..";
4
4
 
5
5
  // JSON Transformer
6
6
  const jsonTransformer = {
7
7
  to: (value: any) => JSON.stringify(value),
8
8
  from: (value: string) => JSON.parse(value),
9
- }
9
+ };
10
10
 
11
11
  const DateTransformer = {
12
12
  to(value: Date | string): string {
13
- return moment.utc(value).format('YYYY-MM-DD HH:mm:ss')
13
+ return moment.utc(value).format("YYYY-MM-DD HH:mm:ss");
14
14
  },
15
15
  from(value: string): string {
16
- return moment.utc(value).tz(getTimeZone()).format('YYYY-MM-DD HH:mm:ss')
16
+ return moment.utc(value).tz(getTimeZone()).format("YYYY-MM-DD HH:mm:ss");
17
17
  },
18
- }
18
+ };
19
19
 
20
20
  @ViewEntity({
21
- name: 'master_notifications',
21
+ name: "master_notifications",
22
22
  })
23
23
  export class MasterNotifications {
24
24
  @ViewColumn()
25
- id: number
25
+ id: number;
26
26
 
27
27
  @ViewColumn()
28
- master: number
28
+ master: number;
29
29
 
30
30
  @ViewColumn()
31
- name: string
31
+ partner: number;
32
32
 
33
33
  @ViewColumn()
34
- description: string
35
-
36
- @ViewColumn({ transformer: jsonTransformer })
37
- settings: any
34
+ name: string;
38
35
 
39
36
  @ViewColumn()
40
- type: number
37
+ description: string;
38
+
39
+ @ViewColumn({ transformer: jsonTransformer })
40
+ settings: any;
41
41
 
42
42
  @ViewColumn({ transformer: DateTransformer })
43
- created: Date
43
+ created: Date;
44
44
 
45
45
  @ViewColumn()
46
- status: number
46
+ status: number;
47
47
 
48
48
  @ViewColumn()
49
- master_document: string
49
+ master_document: string;
50
50
 
51
51
  @ViewColumn()
52
- master_name: string
52
+ master_name: string;
53
53
 
54
54
  @ViewColumn()
55
- master_surname: string
55
+ master_surname: string;
56
56
 
57
57
  @ViewColumn()
58
- master_email: string
58
+ master_email: string;
59
59
 
60
60
  @ViewColumn()
61
- master_phone: string
61
+ master_phone: string;
62
62
 
63
63
  @ViewColumn({ transformer: jsonTransformer })
64
- master_profile: any
64
+ master_profile: any;
65
65
 
66
66
  @ViewColumn()
67
- master_status: number
67
+ master_status: number;
68
68
 
69
69
  @ViewColumn({ transformer: jsonTransformer })
70
- verify_local_local_information: any
70
+ verify_local_local_information: any;
71
+
72
+ @ViewColumn()
73
+ verify_local_assigned_master: number;
71
74
 
72
75
  @ViewColumn()
73
- verify_local_status: number
76
+ verify_local_status: number;
74
77
 
75
78
  @ViewColumn()
76
- company_name: string
79
+ company_name: string;
77
80
 
78
81
  @ViewColumn({ transformer: jsonTransformer })
79
- company_profile: any
82
+ company_profile: any;
80
83
 
81
84
  @ViewColumn()
82
- reassign_review_new_user: number
85
+ reassign_review_new_user: number;
83
86
 
84
87
  @ViewColumn({ transformer: jsonTransformer })
85
- reassign_review_settings: any
88
+ reassign_review_settings: any;
89
+
90
+ @ViewColumn()
91
+ master_previous_id: number;
92
+
93
+ @ViewColumn()
94
+ master_previous_name: string;
95
+
96
+ @ViewColumn()
97
+ master_previous_surname: string;
98
+
99
+ @ViewColumn()
100
+ master_previous_email: string;
101
+
102
+ @ViewColumn()
103
+ partner_id: number;
86
104
 
87
105
  @ViewColumn()
88
- master_previous_id: number
106
+ partner_name: string;
89
107
 
90
108
  @ViewColumn()
91
- master_previous_name: string
109
+ partner_email: string;
92
110
 
93
111
  @ViewColumn()
94
- master_previous_surname: string
112
+ partner_phone: string;
95
113
 
96
114
  @ViewColumn()
97
- master_previous_email: string
115
+ master_assigned_notification: number;
98
116
  }