@things-factory/resource-base 5.0.7 → 5.0.11
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.
- package/dist-server/index.js +3 -16
- package/dist-server/index.js.map +1 -1
- package/dist-server/migrations/index.js.map +1 -1
- package/dist-server/service/entity/entity-mutation.js +21 -32
- package/dist-server/service/entity/entity-mutation.js.map +1 -1
- package/dist-server/service/entity/entity-query.js +44 -55
- package/dist-server/service/entity/entity-query.js.map +1 -1
- package/dist-server/service/entity/entity-type.js +84 -92
- package/dist-server/service/entity/entity-type.js.map +1 -1
- package/dist-server/service/entity/entity.js +60 -68
- package/dist-server/service/entity/entity.js.map +1 -1
- package/dist-server/service/entity/index.js.map +1 -1
- package/dist-server/service/entity-column/entity-column-mutation.js +21 -32
- package/dist-server/service/entity-column/entity-column-mutation.js.map +1 -1
- package/dist-server/service/entity-column/entity-column-query.js +34 -45
- package/dist-server/service/entity-column/entity-column-query.js.map +1 -1
- package/dist-server/service/entity-column/entity-column-type.js +144 -152
- package/dist-server/service/entity-column/entity-column-type.js.map +1 -1
- package/dist-server/service/entity-column/entity-column.js +90 -98
- package/dist-server/service/entity-column/entity-column.js.map +1 -1
- package/dist-server/service/entity-column/index.js.map +1 -1
- package/dist-server/service/entity-metadata/entity-metadata-query.js +8 -19
- package/dist-server/service/entity-metadata/entity-metadata-query.js.map +1 -1
- package/dist-server/service/entity-metadata/entity-metadata.js +50 -58
- package/dist-server/service/entity-metadata/entity-metadata.js.map +1 -1
- package/dist-server/service/entity-metadata/index.js.map +1 -1
- package/dist-server/service/index.js +4 -17
- package/dist-server/service/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -0
- package/package.json +3 -3
|
@@ -1,312 +1,304 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.EntityColumnList = exports.EntityColumnPatch = exports.NewEntityColumn = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
13
5
|
const type_graphql_1 = require("type-graphql");
|
|
14
6
|
const entity_column_1 = require("./entity-column");
|
|
15
7
|
let NewEntityColumn = class NewEntityColumn {
|
|
16
8
|
};
|
|
17
|
-
__decorate([
|
|
9
|
+
tslib_1.__decorate([
|
|
18
10
|
(0, type_graphql_1.Field)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
11
|
+
tslib_1.__metadata("design:type", String)
|
|
20
12
|
], NewEntityColumn.prototype, "name", void 0);
|
|
21
|
-
__decorate([
|
|
13
|
+
tslib_1.__decorate([
|
|
22
14
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
23
|
-
__metadata("design:type", String)
|
|
15
|
+
tslib_1.__metadata("design:type", String)
|
|
24
16
|
], NewEntityColumn.prototype, "description", void 0);
|
|
25
|
-
__decorate([
|
|
17
|
+
tslib_1.__decorate([
|
|
26
18
|
(0, type_graphql_1.Field)(),
|
|
27
|
-
__metadata("design:type", String)
|
|
19
|
+
tslib_1.__metadata("design:type", String)
|
|
28
20
|
], NewEntityColumn.prototype, "entity", void 0);
|
|
29
|
-
__decorate([
|
|
21
|
+
tslib_1.__decorate([
|
|
30
22
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
31
|
-
__metadata("design:type", Number)
|
|
23
|
+
tslib_1.__metadata("design:type", Number)
|
|
32
24
|
], NewEntityColumn.prototype, "rank", void 0);
|
|
33
|
-
__decorate([
|
|
25
|
+
tslib_1.__decorate([
|
|
34
26
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
35
|
-
__metadata("design:type", String)
|
|
27
|
+
tslib_1.__metadata("design:type", String)
|
|
36
28
|
], NewEntityColumn.prototype, "term", void 0);
|
|
37
|
-
__decorate([
|
|
29
|
+
tslib_1.__decorate([
|
|
38
30
|
(0, type_graphql_1.Field)(),
|
|
39
|
-
__metadata("design:type", String)
|
|
31
|
+
tslib_1.__metadata("design:type", String)
|
|
40
32
|
], NewEntityColumn.prototype, "colType", void 0);
|
|
41
|
-
__decorate([
|
|
33
|
+
tslib_1.__decorate([
|
|
42
34
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
43
|
-
__metadata("design:type", Number)
|
|
35
|
+
tslib_1.__metadata("design:type", Number)
|
|
44
36
|
], NewEntityColumn.prototype, "colSize", void 0);
|
|
45
|
-
__decorate([
|
|
37
|
+
tslib_1.__decorate([
|
|
46
38
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
47
|
-
__metadata("design:type", Boolean)
|
|
39
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
48
40
|
], NewEntityColumn.prototype, "nullable", void 0);
|
|
49
|
-
__decorate([
|
|
41
|
+
tslib_1.__decorate([
|
|
50
42
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
51
|
-
__metadata("design:type", String)
|
|
43
|
+
tslib_1.__metadata("design:type", String)
|
|
52
44
|
], NewEntityColumn.prototype, "refType", void 0);
|
|
53
|
-
__decorate([
|
|
45
|
+
tslib_1.__decorate([
|
|
54
46
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
55
|
-
__metadata("design:type", String)
|
|
47
|
+
tslib_1.__metadata("design:type", String)
|
|
56
48
|
], NewEntityColumn.prototype, "refName", void 0);
|
|
57
|
-
__decorate([
|
|
49
|
+
tslib_1.__decorate([
|
|
58
50
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
59
|
-
__metadata("design:type", String)
|
|
51
|
+
tslib_1.__metadata("design:type", String)
|
|
60
52
|
], NewEntityColumn.prototype, "refUrl", void 0);
|
|
61
|
-
__decorate([
|
|
53
|
+
tslib_1.__decorate([
|
|
62
54
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
63
|
-
__metadata("design:type", String)
|
|
55
|
+
tslib_1.__metadata("design:type", String)
|
|
64
56
|
], NewEntityColumn.prototype, "refParams", void 0);
|
|
65
|
-
__decorate([
|
|
57
|
+
tslib_1.__decorate([
|
|
66
58
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
67
|
-
__metadata("design:type", String)
|
|
59
|
+
tslib_1.__metadata("design:type", String)
|
|
68
60
|
], NewEntityColumn.prototype, "refRelated", void 0);
|
|
69
|
-
__decorate([
|
|
61
|
+
tslib_1.__decorate([
|
|
70
62
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
71
|
-
__metadata("design:type", Number)
|
|
63
|
+
tslib_1.__metadata("design:type", Number)
|
|
72
64
|
], NewEntityColumn.prototype, "searchRank", void 0);
|
|
73
|
-
__decorate([
|
|
65
|
+
tslib_1.__decorate([
|
|
74
66
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
75
|
-
__metadata("design:type", Number)
|
|
67
|
+
tslib_1.__metadata("design:type", Number)
|
|
76
68
|
], NewEntityColumn.prototype, "sortRank", void 0);
|
|
77
|
-
__decorate([
|
|
69
|
+
tslib_1.__decorate([
|
|
78
70
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
79
|
-
__metadata("design:type", Boolean)
|
|
71
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
80
72
|
], NewEntityColumn.prototype, "reverseSort", void 0);
|
|
81
|
-
__decorate([
|
|
73
|
+
tslib_1.__decorate([
|
|
82
74
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
83
|
-
__metadata("design:type", Boolean)
|
|
75
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
84
76
|
], NewEntityColumn.prototype, "virtualField", void 0);
|
|
85
|
-
__decorate([
|
|
77
|
+
tslib_1.__decorate([
|
|
86
78
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
87
|
-
__metadata("design:type", String)
|
|
79
|
+
tslib_1.__metadata("design:type", String)
|
|
88
80
|
], NewEntityColumn.prototype, "searchName", void 0);
|
|
89
|
-
__decorate([
|
|
81
|
+
tslib_1.__decorate([
|
|
90
82
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
91
|
-
__metadata("design:type", String)
|
|
83
|
+
tslib_1.__metadata("design:type", String)
|
|
92
84
|
], NewEntityColumn.prototype, "searchEditor", void 0);
|
|
93
|
-
__decorate([
|
|
85
|
+
tslib_1.__decorate([
|
|
94
86
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
95
|
-
__metadata("design:type", String)
|
|
87
|
+
tslib_1.__metadata("design:type", String)
|
|
96
88
|
], NewEntityColumn.prototype, "searchOper", void 0);
|
|
97
|
-
__decorate([
|
|
89
|
+
tslib_1.__decorate([
|
|
98
90
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
99
|
-
__metadata("design:type", String)
|
|
91
|
+
tslib_1.__metadata("design:type", String)
|
|
100
92
|
], NewEntityColumn.prototype, "searchInitVal", void 0);
|
|
101
|
-
__decorate([
|
|
93
|
+
tslib_1.__decorate([
|
|
102
94
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
103
|
-
__metadata("design:type", Number)
|
|
95
|
+
tslib_1.__metadata("design:type", Number)
|
|
104
96
|
], NewEntityColumn.prototype, "gridRank", void 0);
|
|
105
|
-
__decorate([
|
|
97
|
+
tslib_1.__decorate([
|
|
106
98
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
107
|
-
__metadata("design:type", String)
|
|
99
|
+
tslib_1.__metadata("design:type", String)
|
|
108
100
|
], NewEntityColumn.prototype, "gridEditor", void 0);
|
|
109
|
-
__decorate([
|
|
101
|
+
tslib_1.__decorate([
|
|
110
102
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
111
|
-
__metadata("design:type", String)
|
|
103
|
+
tslib_1.__metadata("design:type", String)
|
|
112
104
|
], NewEntityColumn.prototype, "gridFormat", void 0);
|
|
113
|
-
__decorate([
|
|
105
|
+
tslib_1.__decorate([
|
|
114
106
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
115
|
-
__metadata("design:type", String)
|
|
107
|
+
tslib_1.__metadata("design:type", String)
|
|
116
108
|
], NewEntityColumn.prototype, "gridValidator", void 0);
|
|
117
|
-
__decorate([
|
|
109
|
+
tslib_1.__decorate([
|
|
118
110
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
119
|
-
__metadata("design:type", Number)
|
|
111
|
+
tslib_1.__metadata("design:type", Number)
|
|
120
112
|
], NewEntityColumn.prototype, "gridWidth", void 0);
|
|
121
|
-
__decorate([
|
|
113
|
+
tslib_1.__decorate([
|
|
122
114
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
123
|
-
__metadata("design:type", String)
|
|
115
|
+
tslib_1.__metadata("design:type", String)
|
|
124
116
|
], NewEntityColumn.prototype, "gridAlign", void 0);
|
|
125
|
-
__decorate([
|
|
117
|
+
tslib_1.__decorate([
|
|
126
118
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
127
|
-
__metadata("design:type", Number)
|
|
119
|
+
tslib_1.__metadata("design:type", Number)
|
|
128
120
|
], NewEntityColumn.prototype, "uniqRank", void 0);
|
|
129
|
-
__decorate([
|
|
121
|
+
tslib_1.__decorate([
|
|
130
122
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
131
|
-
__metadata("design:type", String)
|
|
123
|
+
tslib_1.__metadata("design:type", String)
|
|
132
124
|
], NewEntityColumn.prototype, "formEditor", void 0);
|
|
133
|
-
__decorate([
|
|
125
|
+
tslib_1.__decorate([
|
|
134
126
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
135
|
-
__metadata("design:type", String)
|
|
127
|
+
tslib_1.__metadata("design:type", String)
|
|
136
128
|
], NewEntityColumn.prototype, "formValidator", void 0);
|
|
137
|
-
__decorate([
|
|
129
|
+
tslib_1.__decorate([
|
|
138
130
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
139
|
-
__metadata("design:type", String)
|
|
131
|
+
tslib_1.__metadata("design:type", String)
|
|
140
132
|
], NewEntityColumn.prototype, "formFormat", void 0);
|
|
141
|
-
__decorate([
|
|
133
|
+
tslib_1.__decorate([
|
|
142
134
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
143
|
-
__metadata("design:type", String)
|
|
135
|
+
tslib_1.__metadata("design:type", String)
|
|
144
136
|
], NewEntityColumn.prototype, "defVal", void 0);
|
|
145
|
-
__decorate([
|
|
137
|
+
tslib_1.__decorate([
|
|
146
138
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
147
|
-
__metadata("design:type", String)
|
|
139
|
+
tslib_1.__metadata("design:type", String)
|
|
148
140
|
], NewEntityColumn.prototype, "rangeVal", void 0);
|
|
149
|
-
__decorate([
|
|
141
|
+
tslib_1.__decorate([
|
|
150
142
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
151
|
-
__metadata("design:type", Boolean)
|
|
143
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
152
144
|
], NewEntityColumn.prototype, "ignoreOnSav", void 0);
|
|
153
|
-
NewEntityColumn = __decorate([
|
|
145
|
+
NewEntityColumn = tslib_1.__decorate([
|
|
154
146
|
(0, type_graphql_1.InputType)()
|
|
155
147
|
], NewEntityColumn);
|
|
156
148
|
exports.NewEntityColumn = NewEntityColumn;
|
|
157
149
|
let EntityColumnPatch = class EntityColumnPatch {
|
|
158
150
|
};
|
|
159
|
-
__decorate([
|
|
151
|
+
tslib_1.__decorate([
|
|
160
152
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
161
|
-
__metadata("design:type", String)
|
|
153
|
+
tslib_1.__metadata("design:type", String)
|
|
162
154
|
], EntityColumnPatch.prototype, "name", void 0);
|
|
163
|
-
__decorate([
|
|
155
|
+
tslib_1.__decorate([
|
|
164
156
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
165
|
-
__metadata("design:type", String)
|
|
157
|
+
tslib_1.__metadata("design:type", String)
|
|
166
158
|
], EntityColumnPatch.prototype, "description", void 0);
|
|
167
|
-
__decorate([
|
|
159
|
+
tslib_1.__decorate([
|
|
168
160
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
169
|
-
__metadata("design:type", String)
|
|
161
|
+
tslib_1.__metadata("design:type", String)
|
|
170
162
|
], EntityColumnPatch.prototype, "entity", void 0);
|
|
171
|
-
__decorate([
|
|
163
|
+
tslib_1.__decorate([
|
|
172
164
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
173
|
-
__metadata("design:type", Number)
|
|
165
|
+
tslib_1.__metadata("design:type", Number)
|
|
174
166
|
], EntityColumnPatch.prototype, "rank", void 0);
|
|
175
|
-
__decorate([
|
|
167
|
+
tslib_1.__decorate([
|
|
176
168
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
177
|
-
__metadata("design:type", String)
|
|
169
|
+
tslib_1.__metadata("design:type", String)
|
|
178
170
|
], EntityColumnPatch.prototype, "term", void 0);
|
|
179
|
-
__decorate([
|
|
171
|
+
tslib_1.__decorate([
|
|
180
172
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
181
|
-
__metadata("design:type", String)
|
|
173
|
+
tslib_1.__metadata("design:type", String)
|
|
182
174
|
], EntityColumnPatch.prototype, "colType", void 0);
|
|
183
|
-
__decorate([
|
|
175
|
+
tslib_1.__decorate([
|
|
184
176
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
185
|
-
__metadata("design:type", Number)
|
|
177
|
+
tslib_1.__metadata("design:type", Number)
|
|
186
178
|
], EntityColumnPatch.prototype, "colSize", void 0);
|
|
187
|
-
__decorate([
|
|
179
|
+
tslib_1.__decorate([
|
|
188
180
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
189
|
-
__metadata("design:type", Boolean)
|
|
181
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
190
182
|
], EntityColumnPatch.prototype, "nullable", void 0);
|
|
191
|
-
__decorate([
|
|
183
|
+
tslib_1.__decorate([
|
|
192
184
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
193
|
-
__metadata("design:type", String)
|
|
185
|
+
tslib_1.__metadata("design:type", String)
|
|
194
186
|
], EntityColumnPatch.prototype, "refType", void 0);
|
|
195
|
-
__decorate([
|
|
187
|
+
tslib_1.__decorate([
|
|
196
188
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
197
|
-
__metadata("design:type", String)
|
|
189
|
+
tslib_1.__metadata("design:type", String)
|
|
198
190
|
], EntityColumnPatch.prototype, "refName", void 0);
|
|
199
|
-
__decorate([
|
|
191
|
+
tslib_1.__decorate([
|
|
200
192
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
201
|
-
__metadata("design:type", String)
|
|
193
|
+
tslib_1.__metadata("design:type", String)
|
|
202
194
|
], EntityColumnPatch.prototype, "refUrl", void 0);
|
|
203
|
-
__decorate([
|
|
195
|
+
tslib_1.__decorate([
|
|
204
196
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
205
|
-
__metadata("design:type", String)
|
|
197
|
+
tslib_1.__metadata("design:type", String)
|
|
206
198
|
], EntityColumnPatch.prototype, "refParams", void 0);
|
|
207
|
-
__decorate([
|
|
199
|
+
tslib_1.__decorate([
|
|
208
200
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
209
|
-
__metadata("design:type", String)
|
|
201
|
+
tslib_1.__metadata("design:type", String)
|
|
210
202
|
], EntityColumnPatch.prototype, "refRelated", void 0);
|
|
211
|
-
__decorate([
|
|
203
|
+
tslib_1.__decorate([
|
|
212
204
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
213
|
-
__metadata("design:type", Number)
|
|
205
|
+
tslib_1.__metadata("design:type", Number)
|
|
214
206
|
], EntityColumnPatch.prototype, "searchRank", void 0);
|
|
215
|
-
__decorate([
|
|
207
|
+
tslib_1.__decorate([
|
|
216
208
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
217
|
-
__metadata("design:type", Number)
|
|
209
|
+
tslib_1.__metadata("design:type", Number)
|
|
218
210
|
], EntityColumnPatch.prototype, "sortRank", void 0);
|
|
219
|
-
__decorate([
|
|
211
|
+
tslib_1.__decorate([
|
|
220
212
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
221
|
-
__metadata("design:type", Boolean)
|
|
213
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
222
214
|
], EntityColumnPatch.prototype, "reverseSort", void 0);
|
|
223
|
-
__decorate([
|
|
215
|
+
tslib_1.__decorate([
|
|
224
216
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
225
|
-
__metadata("design:type", Boolean)
|
|
217
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
226
218
|
], EntityColumnPatch.prototype, "virtualField", void 0);
|
|
227
|
-
__decorate([
|
|
219
|
+
tslib_1.__decorate([
|
|
228
220
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
229
|
-
__metadata("design:type", String)
|
|
221
|
+
tslib_1.__metadata("design:type", String)
|
|
230
222
|
], EntityColumnPatch.prototype, "searchName", void 0);
|
|
231
|
-
__decorate([
|
|
223
|
+
tslib_1.__decorate([
|
|
232
224
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
233
|
-
__metadata("design:type", String)
|
|
225
|
+
tslib_1.__metadata("design:type", String)
|
|
234
226
|
], EntityColumnPatch.prototype, "searchEditor", void 0);
|
|
235
|
-
__decorate([
|
|
227
|
+
tslib_1.__decorate([
|
|
236
228
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
237
|
-
__metadata("design:type", String)
|
|
229
|
+
tslib_1.__metadata("design:type", String)
|
|
238
230
|
], EntityColumnPatch.prototype, "searchOper", void 0);
|
|
239
|
-
__decorate([
|
|
231
|
+
tslib_1.__decorate([
|
|
240
232
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
241
|
-
__metadata("design:type", String)
|
|
233
|
+
tslib_1.__metadata("design:type", String)
|
|
242
234
|
], EntityColumnPatch.prototype, "searchInitVal", void 0);
|
|
243
|
-
__decorate([
|
|
235
|
+
tslib_1.__decorate([
|
|
244
236
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
245
|
-
__metadata("design:type", Number)
|
|
237
|
+
tslib_1.__metadata("design:type", Number)
|
|
246
238
|
], EntityColumnPatch.prototype, "gridRank", void 0);
|
|
247
|
-
__decorate([
|
|
239
|
+
tslib_1.__decorate([
|
|
248
240
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
249
|
-
__metadata("design:type", String)
|
|
241
|
+
tslib_1.__metadata("design:type", String)
|
|
250
242
|
], EntityColumnPatch.prototype, "gridEditor", void 0);
|
|
251
|
-
__decorate([
|
|
243
|
+
tslib_1.__decorate([
|
|
252
244
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
253
|
-
__metadata("design:type", String)
|
|
245
|
+
tslib_1.__metadata("design:type", String)
|
|
254
246
|
], EntityColumnPatch.prototype, "gridFormat", void 0);
|
|
255
|
-
__decorate([
|
|
247
|
+
tslib_1.__decorate([
|
|
256
248
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
257
|
-
__metadata("design:type", String)
|
|
249
|
+
tslib_1.__metadata("design:type", String)
|
|
258
250
|
], EntityColumnPatch.prototype, "gridValidator", void 0);
|
|
259
|
-
__decorate([
|
|
251
|
+
tslib_1.__decorate([
|
|
260
252
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
261
|
-
__metadata("design:type", Number)
|
|
253
|
+
tslib_1.__metadata("design:type", Number)
|
|
262
254
|
], EntityColumnPatch.prototype, "gridWidth", void 0);
|
|
263
|
-
__decorate([
|
|
255
|
+
tslib_1.__decorate([
|
|
264
256
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
265
|
-
__metadata("design:type", String)
|
|
257
|
+
tslib_1.__metadata("design:type", String)
|
|
266
258
|
], EntityColumnPatch.prototype, "gridAlign", void 0);
|
|
267
|
-
__decorate([
|
|
259
|
+
tslib_1.__decorate([
|
|
268
260
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
269
|
-
__metadata("design:type", Number)
|
|
261
|
+
tslib_1.__metadata("design:type", Number)
|
|
270
262
|
], EntityColumnPatch.prototype, "uniqRank", void 0);
|
|
271
|
-
__decorate([
|
|
263
|
+
tslib_1.__decorate([
|
|
272
264
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
273
|
-
__metadata("design:type", String)
|
|
265
|
+
tslib_1.__metadata("design:type", String)
|
|
274
266
|
], EntityColumnPatch.prototype, "formEditor", void 0);
|
|
275
|
-
__decorate([
|
|
267
|
+
tslib_1.__decorate([
|
|
276
268
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
277
|
-
__metadata("design:type", String)
|
|
269
|
+
tslib_1.__metadata("design:type", String)
|
|
278
270
|
], EntityColumnPatch.prototype, "formValidator", void 0);
|
|
279
|
-
__decorate([
|
|
271
|
+
tslib_1.__decorate([
|
|
280
272
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
281
|
-
__metadata("design:type", String)
|
|
273
|
+
tslib_1.__metadata("design:type", String)
|
|
282
274
|
], EntityColumnPatch.prototype, "formFormat", void 0);
|
|
283
|
-
__decorate([
|
|
275
|
+
tslib_1.__decorate([
|
|
284
276
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
285
|
-
__metadata("design:type", String)
|
|
277
|
+
tslib_1.__metadata("design:type", String)
|
|
286
278
|
], EntityColumnPatch.prototype, "defVal", void 0);
|
|
287
|
-
__decorate([
|
|
279
|
+
tslib_1.__decorate([
|
|
288
280
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
289
|
-
__metadata("design:type", String)
|
|
281
|
+
tslib_1.__metadata("design:type", String)
|
|
290
282
|
], EntityColumnPatch.prototype, "rangeVal", void 0);
|
|
291
|
-
__decorate([
|
|
283
|
+
tslib_1.__decorate([
|
|
292
284
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
293
|
-
__metadata("design:type", Boolean)
|
|
285
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
294
286
|
], EntityColumnPatch.prototype, "ignoreOnSav", void 0);
|
|
295
|
-
EntityColumnPatch = __decorate([
|
|
287
|
+
EntityColumnPatch = tslib_1.__decorate([
|
|
296
288
|
(0, type_graphql_1.InputType)()
|
|
297
289
|
], EntityColumnPatch);
|
|
298
290
|
exports.EntityColumnPatch = EntityColumnPatch;
|
|
299
291
|
let EntityColumnList = class EntityColumnList {
|
|
300
292
|
};
|
|
301
|
-
__decorate([
|
|
293
|
+
tslib_1.__decorate([
|
|
302
294
|
(0, type_graphql_1.Field)(type => [entity_column_1.EntityColumn]),
|
|
303
|
-
__metadata("design:type", Array)
|
|
295
|
+
tslib_1.__metadata("design:type", Array)
|
|
304
296
|
], EntityColumnList.prototype, "items", void 0);
|
|
305
|
-
__decorate([
|
|
297
|
+
tslib_1.__decorate([
|
|
306
298
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int),
|
|
307
|
-
__metadata("design:type", Number)
|
|
299
|
+
tslib_1.__metadata("design:type", Number)
|
|
308
300
|
], EntityColumnList.prototype, "total", void 0);
|
|
309
|
-
EntityColumnList = __decorate([
|
|
301
|
+
EntityColumnList = tslib_1.__decorate([
|
|
310
302
|
(0, type_graphql_1.ObjectType)()
|
|
311
303
|
], EntityColumnList);
|
|
312
304
|
exports.EntityColumnList = EntityColumnList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-column-type.js","sourceRoot":"","sources":["../../../server/service/entity-column/entity-column-type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entity-column-type.js","sourceRoot":"","sources":["../../../server/service/entity-column/entity-column-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAgE;AAEhE,mDAA8C;AAG9C,IAAa,eAAe,GAA5B,MAAa,eAAe;CAsG3B,CAAA;AApGC;IADC,IAAA,oBAAK,GAAE;;6CACI;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACN;AAGpB;IADC,IAAA,oBAAK,GAAE;;+CACM;AAGd;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACb;AAGb;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACb;AAGb;IADC,IAAA,oBAAK,GAAE;;gDACO;AAGf;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACV;AAGhB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACR;AAGlB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACV;AAGhB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACV;AAGhB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACX;AAGf;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACR;AAGlB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACP;AAGnB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACpB;AAGnB;IADC,IAAA,oBAAK,E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BAAgB,CAM5B;AANY,4CAAgB","sourcesContent":["import { Field, InputType, Int, ObjectType } from 'type-graphql'\n\nimport { EntityColumn } from './entity-column'\n\n@InputType()\nexport class NewEntityColumn {\n @Field()\n name: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field()\n entity: string\n\n @Field({ nullable: true })\n rank?: number\n\n @Field({ nullable: true })\n term?: string\n\n @Field()\n colType: string\n\n @Field({ nullable: true })\n colSize?: number\n\n @Field({ nullable: true })\n nullable?: boolean\n\n @Field({ nullable: true })\n refType?: string\n\n @Field({ nullable: true })\n refName?: string\n\n @Field({ nullable: true })\n refUrl?: string\n\n @Field({ nullable: true })\n refParams?: string\n\n @Field({ nullable: true })\n refRelated?: string\n\n @Field(type => Int, { nullable: true })\n searchRank?: number\n\n @Field(type => Int, { nullable: true })\n sortRank?: number\n\n @Field({ nullable: true })\n reverseSort?: boolean\n\n @Field({ nullable: true })\n virtualField?: boolean\n\n @Field({ nullable: true })\n searchName?: string\n\n @Field({ nullable: true })\n searchEditor?: string\n\n @Field({ nullable: true })\n searchOper?: string\n\n @Field({ nullable: true })\n searchInitVal?: string\n\n @Field(type => Int, { nullable: true })\n gridRank?: number\n\n @Field({ nullable: true })\n gridEditor?: string\n\n @Field({ nullable: true })\n gridFormat?: string\n\n @Field({ nullable: true })\n gridValidator?: string\n\n @Field(type => Int, { nullable: true })\n gridWidth?: number\n\n @Field({ nullable: true })\n gridAlign?: string\n\n @Field(type => Int, { nullable: true })\n uniqRank?: number\n\n @Field({ nullable: true })\n formEditor?: string\n\n @Field({ nullable: true })\n formValidator?: string\n\n @Field({ nullable: true })\n formFormat?: string\n\n @Field({ nullable: true })\n defVal?: string\n\n @Field({ nullable: true })\n rangeVal?: string\n\n @Field({ nullable: true })\n ignoreOnSav?: boolean\n}\n\n@InputType()\nexport class EntityColumnPatch {\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n entity?: string\n\n @Field(type => Int, { nullable: true })\n rank?: number\n\n @Field({ nullable: true })\n term?: string\n\n @Field({ nullable: true })\n colType?: string\n\n @Field(type => Int, { nullable: true })\n colSize?: number\n\n @Field({ nullable: true })\n nullable?: boolean\n\n @Field({ nullable: true })\n refType?: string\n\n @Field({ nullable: true })\n refName?: string\n\n @Field({ nullable: true })\n refUrl?: string\n\n @Field({ nullable: true })\n refParams?: string\n\n @Field({ nullable: true })\n refRelated?: string\n\n @Field(type => Int, { nullable: true })\n searchRank?: number\n\n @Field({ nullable: true })\n sortRank?: number\n\n @Field({ nullable: true })\n reverseSort?: boolean\n\n @Field({ nullable: true })\n virtualField?: boolean\n\n @Field({ nullable: true })\n searchName?: string\n\n @Field({ nullable: true })\n searchEditor?: string\n\n @Field({ nullable: true })\n searchOper?: string\n\n @Field({ nullable: true })\n searchInitVal?: string\n\n @Field(type => Int, { nullable: true })\n gridRank?: number\n\n @Field({ nullable: true })\n gridEditor?: string\n\n @Field({ nullable: true })\n gridFormat?: string\n\n @Field({ nullable: true })\n gridValidator?: string\n\n @Field(type => Int, { nullable: true })\n gridWidth?: number\n\n @Field({ nullable: true })\n gridAlign?: string\n\n @Field(type => Int, { nullable: true })\n uniqRank?: number\n\n @Field({ nullable: true })\n formEditor?: string\n\n @Field({ nullable: true })\n formValidator?: string\n\n @Field({ nullable: true })\n formFormat?: string\n\n @Field({ nullable: true })\n defVal?: string\n\n @Field({ nullable: true })\n rangeVal?: string\n\n @Field({ nullable: true })\n ignoreOnSav?: boolean\n}\n\n@ObjectType()\nexport class EntityColumnList {\n @Field(type => [EntityColumn])\n items: EntityColumn[]\n\n @Field(type => Int)\n total: number\n}\n"]}
|