test-entity-library-asm 3.9.60 → 3.9.61
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.
|
@@ -12,10 +12,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.LocalsCompany = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
// JSON Transformer
|
|
15
|
-
const jsonTransformer = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
15
|
+
// const jsonTransformer = {
|
|
16
|
+
// to: (value: any) => JSON.stringify(value),
|
|
17
|
+
// from: (value: string) => JSON.parse(value),
|
|
18
|
+
// };
|
|
19
19
|
let LocalsCompany = class LocalsCompany {
|
|
20
20
|
};
|
|
21
21
|
exports.LocalsCompany = LocalsCompany;
|
|
@@ -44,7 +44,7 @@ __decorate([
|
|
|
44
44
|
__metadata("design:type", String)
|
|
45
45
|
], LocalsCompany.prototype, "longitude", void 0);
|
|
46
46
|
__decorate([
|
|
47
|
-
(0, typeorm_1.ViewColumn)(
|
|
47
|
+
(0, typeorm_1.ViewColumn)(),
|
|
48
48
|
__metadata("design:type", Object)
|
|
49
49
|
], LocalsCompany.prototype, "details", void 0);
|
|
50
50
|
__decorate([
|
|
@@ -100,7 +100,7 @@ __decorate([
|
|
|
100
100
|
__metadata("design:type", Number)
|
|
101
101
|
], LocalsCompany.prototype, "country_status", void 0);
|
|
102
102
|
__decorate([
|
|
103
|
-
(0, typeorm_1.ViewColumn)(
|
|
103
|
+
(0, typeorm_1.ViewColumn)(),
|
|
104
104
|
__metadata("design:type", Object)
|
|
105
105
|
], LocalsCompany.prototype, "country_details", void 0);
|
|
106
106
|
__decorate([
|
|
@@ -148,11 +148,11 @@ __decorate([
|
|
|
148
148
|
__metadata("design:type", String)
|
|
149
149
|
], LocalsCompany.prototype, "pos_system_description", void 0);
|
|
150
150
|
__decorate([
|
|
151
|
-
(0, typeorm_1.ViewColumn)(
|
|
151
|
+
(0, typeorm_1.ViewColumn)(),
|
|
152
152
|
__metadata("design:type", Object)
|
|
153
153
|
], LocalsCompany.prototype, "pos_system_endpoint_products", void 0);
|
|
154
154
|
__decorate([
|
|
155
|
-
(0, typeorm_1.ViewColumn)(
|
|
155
|
+
(0, typeorm_1.ViewColumn)(),
|
|
156
156
|
__metadata("design:type", Object)
|
|
157
157
|
], LocalsCompany.prototype, "pos_system_endpoint_order", void 0);
|
|
158
158
|
__decorate([
|
|
@@ -160,7 +160,7 @@ __decorate([
|
|
|
160
160
|
__metadata("design:type", Object)
|
|
161
161
|
], LocalsCompany.prototype, "pos_system_authentication_credentials", void 0);
|
|
162
162
|
__decorate([
|
|
163
|
-
(0, typeorm_1.ViewColumn)(
|
|
163
|
+
(0, typeorm_1.ViewColumn)(),
|
|
164
164
|
__metadata("design:type", Object)
|
|
165
165
|
], LocalsCompany.prototype, "pos_system_settings", void 0);
|
|
166
166
|
__decorate([
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ViewColumn, ViewEntity } from "typeorm";
|
|
2
2
|
|
|
3
3
|
// JSON Transformer
|
|
4
|
-
const jsonTransformer = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
4
|
+
// const jsonTransformer = {
|
|
5
|
+
// to: (value: any) => JSON.stringify(value),
|
|
6
|
+
// from: (value: string) => JSON.parse(value),
|
|
7
|
+
// };
|
|
8
8
|
|
|
9
9
|
@ViewEntity({
|
|
10
10
|
name: "locals_company",
|
|
@@ -28,7 +28,7 @@ export class LocalsCompany {
|
|
|
28
28
|
@ViewColumn()
|
|
29
29
|
longitude: string;
|
|
30
30
|
|
|
31
|
-
@ViewColumn(
|
|
31
|
+
@ViewColumn()
|
|
32
32
|
details: any | null;
|
|
33
33
|
|
|
34
34
|
@ViewColumn()
|
|
@@ -70,7 +70,7 @@ export class LocalsCompany {
|
|
|
70
70
|
@ViewColumn()
|
|
71
71
|
country_status: number;
|
|
72
72
|
|
|
73
|
-
@ViewColumn(
|
|
73
|
+
@ViewColumn()
|
|
74
74
|
country_details: any | null;
|
|
75
75
|
|
|
76
76
|
@ViewColumn()
|
|
@@ -106,16 +106,16 @@ export class LocalsCompany {
|
|
|
106
106
|
@ViewColumn()
|
|
107
107
|
pos_system_description: string;
|
|
108
108
|
|
|
109
|
-
@ViewColumn(
|
|
109
|
+
@ViewColumn()
|
|
110
110
|
pos_system_endpoint_products: any;
|
|
111
111
|
|
|
112
|
-
@ViewColumn(
|
|
112
|
+
@ViewColumn()
|
|
113
113
|
pos_system_endpoint_order: any;
|
|
114
114
|
|
|
115
115
|
@ViewColumn()
|
|
116
116
|
pos_system_authentication_credentials: number | null;
|
|
117
117
|
|
|
118
|
-
@ViewColumn(
|
|
118
|
+
@ViewColumn()
|
|
119
119
|
pos_system_settings: any | null;
|
|
120
120
|
|
|
121
121
|
@ViewColumn()
|