@things-factory/resource-base 4.3.582 → 4.3.671
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/package.json +3 -3
- package/dist-server/index.js +0 -19
- package/dist-server/index.js.map +0 -1
- package/dist-server/migrations/index.js +0 -12
- package/dist-server/migrations/index.js.map +0 -1
- package/dist-server/service/entity/entity-mutation.js +0 -81
- package/dist-server/service/entity/entity-mutation.js.map +0 -1
- package/dist-server/service/entity/entity-query.js +0 -129
- package/dist-server/service/entity/entity-query.js.map +0 -1
- package/dist-server/service/entity/entity-type.js +0 -193
- package/dist-server/service/entity/entity-type.js.map +0 -1
- package/dist-server/service/entity/entity.js +0 -203
- package/dist-server/service/entity/entity.js.map +0 -1
- package/dist-server/service/entity/index.js +0 -9
- package/dist-server/service/entity/index.js.map +0 -1
- package/dist-server/service/entity-column/entity-column-mutation.js +0 -76
- package/dist-server/service/entity-column/entity-column-mutation.js.map +0 -1
- package/dist-server/service/entity-column/entity-column-query.js +0 -98
- package/dist-server/service/entity-column/entity-column-query.js.map +0 -1
- package/dist-server/service/entity-column/entity-column-type.js +0 -313
- package/dist-server/service/entity-column/entity-column-type.js.map +0 -1
- package/dist-server/service/entity-column/entity-column.js +0 -316
- package/dist-server/service/entity-column/entity-column.js.map +0 -1
- package/dist-server/service/entity-column/index.js +0 -9
- package/dist-server/service/entity-column/index.js.map +0 -1
- package/dist-server/service/entity-metadata/entity-metadata-query.js +0 -36
- package/dist-server/service/entity-metadata/entity-metadata-query.js.map +0 -1
- package/dist-server/service/entity-metadata/entity-metadata.js +0 -125
- package/dist-server/service/entity-metadata/entity-metadata.js.map +0 -1
- package/dist-server/service/entity-metadata/index.js +0 -8
- package/dist-server/service/entity-metadata/index.js.map +0 -1
- package/dist-server/service/index.js +0 -39
- package/dist-server/service/index.js.map +0 -1
|
@@ -1,313 +0,0 @@
|
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.EntityColumnList = exports.EntityColumnPatch = exports.NewEntityColumn = void 0;
|
|
13
|
-
const type_graphql_1 = require("type-graphql");
|
|
14
|
-
const entity_column_1 = require("./entity-column");
|
|
15
|
-
let NewEntityColumn = class NewEntityColumn {
|
|
16
|
-
};
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, type_graphql_1.Field)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], NewEntityColumn.prototype, "name", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], NewEntityColumn.prototype, "description", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, type_graphql_1.Field)(),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], NewEntityColumn.prototype, "entity", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
31
|
-
__metadata("design:type", Number)
|
|
32
|
-
], NewEntityColumn.prototype, "rank", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], NewEntityColumn.prototype, "term", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, type_graphql_1.Field)(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], NewEntityColumn.prototype, "colType", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
43
|
-
__metadata("design:type", Number)
|
|
44
|
-
], NewEntityColumn.prototype, "colSize", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
47
|
-
__metadata("design:type", Boolean)
|
|
48
|
-
], NewEntityColumn.prototype, "nullable", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], NewEntityColumn.prototype, "refType", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], NewEntityColumn.prototype, "refName", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], NewEntityColumn.prototype, "refUrl", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], NewEntityColumn.prototype, "refParams", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], NewEntityColumn.prototype, "refRelated", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
71
|
-
__metadata("design:type", Number)
|
|
72
|
-
], NewEntityColumn.prototype, "searchRank", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
75
|
-
__metadata("design:type", Number)
|
|
76
|
-
], NewEntityColumn.prototype, "sortRank", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
79
|
-
__metadata("design:type", Boolean)
|
|
80
|
-
], NewEntityColumn.prototype, "reverseSort", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
83
|
-
__metadata("design:type", Boolean)
|
|
84
|
-
], NewEntityColumn.prototype, "virtualField", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
87
|
-
__metadata("design:type", String)
|
|
88
|
-
], NewEntityColumn.prototype, "searchName", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
91
|
-
__metadata("design:type", String)
|
|
92
|
-
], NewEntityColumn.prototype, "searchEditor", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
95
|
-
__metadata("design:type", String)
|
|
96
|
-
], NewEntityColumn.prototype, "searchOper", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
99
|
-
__metadata("design:type", String)
|
|
100
|
-
], NewEntityColumn.prototype, "searchInitVal", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
103
|
-
__metadata("design:type", Number)
|
|
104
|
-
], NewEntityColumn.prototype, "gridRank", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
107
|
-
__metadata("design:type", String)
|
|
108
|
-
], NewEntityColumn.prototype, "gridEditor", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
111
|
-
__metadata("design:type", String)
|
|
112
|
-
], NewEntityColumn.prototype, "gridFormat", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
115
|
-
__metadata("design:type", String)
|
|
116
|
-
], NewEntityColumn.prototype, "gridValidator", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
119
|
-
__metadata("design:type", Number)
|
|
120
|
-
], NewEntityColumn.prototype, "gridWidth", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
123
|
-
__metadata("design:type", String)
|
|
124
|
-
], NewEntityColumn.prototype, "gridAlign", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
127
|
-
__metadata("design:type", Number)
|
|
128
|
-
], NewEntityColumn.prototype, "uniqRank", void 0);
|
|
129
|
-
__decorate([
|
|
130
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
131
|
-
__metadata("design:type", String)
|
|
132
|
-
], NewEntityColumn.prototype, "formEditor", void 0);
|
|
133
|
-
__decorate([
|
|
134
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
135
|
-
__metadata("design:type", String)
|
|
136
|
-
], NewEntityColumn.prototype, "formValidator", void 0);
|
|
137
|
-
__decorate([
|
|
138
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
139
|
-
__metadata("design:type", String)
|
|
140
|
-
], NewEntityColumn.prototype, "formFormat", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
143
|
-
__metadata("design:type", String)
|
|
144
|
-
], NewEntityColumn.prototype, "defVal", void 0);
|
|
145
|
-
__decorate([
|
|
146
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
147
|
-
__metadata("design:type", String)
|
|
148
|
-
], NewEntityColumn.prototype, "rangeVal", void 0);
|
|
149
|
-
__decorate([
|
|
150
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
151
|
-
__metadata("design:type", Boolean)
|
|
152
|
-
], NewEntityColumn.prototype, "ignoreOnSav", void 0);
|
|
153
|
-
NewEntityColumn = __decorate([
|
|
154
|
-
(0, type_graphql_1.InputType)()
|
|
155
|
-
], NewEntityColumn);
|
|
156
|
-
exports.NewEntityColumn = NewEntityColumn;
|
|
157
|
-
let EntityColumnPatch = class EntityColumnPatch {
|
|
158
|
-
};
|
|
159
|
-
__decorate([
|
|
160
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
161
|
-
__metadata("design:type", String)
|
|
162
|
-
], EntityColumnPatch.prototype, "name", void 0);
|
|
163
|
-
__decorate([
|
|
164
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
165
|
-
__metadata("design:type", String)
|
|
166
|
-
], EntityColumnPatch.prototype, "description", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
169
|
-
__metadata("design:type", String)
|
|
170
|
-
], EntityColumnPatch.prototype, "entity", void 0);
|
|
171
|
-
__decorate([
|
|
172
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
173
|
-
__metadata("design:type", Number)
|
|
174
|
-
], EntityColumnPatch.prototype, "rank", void 0);
|
|
175
|
-
__decorate([
|
|
176
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
177
|
-
__metadata("design:type", String)
|
|
178
|
-
], EntityColumnPatch.prototype, "term", void 0);
|
|
179
|
-
__decorate([
|
|
180
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
181
|
-
__metadata("design:type", String)
|
|
182
|
-
], EntityColumnPatch.prototype, "colType", void 0);
|
|
183
|
-
__decorate([
|
|
184
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
185
|
-
__metadata("design:type", Number)
|
|
186
|
-
], EntityColumnPatch.prototype, "colSize", void 0);
|
|
187
|
-
__decorate([
|
|
188
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
189
|
-
__metadata("design:type", Boolean)
|
|
190
|
-
], EntityColumnPatch.prototype, "nullable", void 0);
|
|
191
|
-
__decorate([
|
|
192
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
193
|
-
__metadata("design:type", String)
|
|
194
|
-
], EntityColumnPatch.prototype, "refType", void 0);
|
|
195
|
-
__decorate([
|
|
196
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
197
|
-
__metadata("design:type", String)
|
|
198
|
-
], EntityColumnPatch.prototype, "refName", void 0);
|
|
199
|
-
__decorate([
|
|
200
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
201
|
-
__metadata("design:type", String)
|
|
202
|
-
], EntityColumnPatch.prototype, "refUrl", void 0);
|
|
203
|
-
__decorate([
|
|
204
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
205
|
-
__metadata("design:type", String)
|
|
206
|
-
], EntityColumnPatch.prototype, "refParams", void 0);
|
|
207
|
-
__decorate([
|
|
208
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
209
|
-
__metadata("design:type", String)
|
|
210
|
-
], EntityColumnPatch.prototype, "refRelated", void 0);
|
|
211
|
-
__decorate([
|
|
212
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
213
|
-
__metadata("design:type", Number)
|
|
214
|
-
], EntityColumnPatch.prototype, "searchRank", void 0);
|
|
215
|
-
__decorate([
|
|
216
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
217
|
-
__metadata("design:type", Number)
|
|
218
|
-
], EntityColumnPatch.prototype, "sortRank", void 0);
|
|
219
|
-
__decorate([
|
|
220
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
221
|
-
__metadata("design:type", Boolean)
|
|
222
|
-
], EntityColumnPatch.prototype, "reverseSort", void 0);
|
|
223
|
-
__decorate([
|
|
224
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
225
|
-
__metadata("design:type", Boolean)
|
|
226
|
-
], EntityColumnPatch.prototype, "virtualField", void 0);
|
|
227
|
-
__decorate([
|
|
228
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
229
|
-
__metadata("design:type", String)
|
|
230
|
-
], EntityColumnPatch.prototype, "searchName", void 0);
|
|
231
|
-
__decorate([
|
|
232
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
233
|
-
__metadata("design:type", String)
|
|
234
|
-
], EntityColumnPatch.prototype, "searchEditor", void 0);
|
|
235
|
-
__decorate([
|
|
236
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
237
|
-
__metadata("design:type", String)
|
|
238
|
-
], EntityColumnPatch.prototype, "searchOper", void 0);
|
|
239
|
-
__decorate([
|
|
240
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
241
|
-
__metadata("design:type", String)
|
|
242
|
-
], EntityColumnPatch.prototype, "searchInitVal", void 0);
|
|
243
|
-
__decorate([
|
|
244
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
245
|
-
__metadata("design:type", Number)
|
|
246
|
-
], EntityColumnPatch.prototype, "gridRank", void 0);
|
|
247
|
-
__decorate([
|
|
248
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
249
|
-
__metadata("design:type", String)
|
|
250
|
-
], EntityColumnPatch.prototype, "gridEditor", void 0);
|
|
251
|
-
__decorate([
|
|
252
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
253
|
-
__metadata("design:type", String)
|
|
254
|
-
], EntityColumnPatch.prototype, "gridFormat", void 0);
|
|
255
|
-
__decorate([
|
|
256
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
257
|
-
__metadata("design:type", String)
|
|
258
|
-
], EntityColumnPatch.prototype, "gridValidator", void 0);
|
|
259
|
-
__decorate([
|
|
260
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
261
|
-
__metadata("design:type", Number)
|
|
262
|
-
], EntityColumnPatch.prototype, "gridWidth", void 0);
|
|
263
|
-
__decorate([
|
|
264
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
265
|
-
__metadata("design:type", String)
|
|
266
|
-
], EntityColumnPatch.prototype, "gridAlign", void 0);
|
|
267
|
-
__decorate([
|
|
268
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
269
|
-
__metadata("design:type", Number)
|
|
270
|
-
], EntityColumnPatch.prototype, "uniqRank", void 0);
|
|
271
|
-
__decorate([
|
|
272
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
273
|
-
__metadata("design:type", String)
|
|
274
|
-
], EntityColumnPatch.prototype, "formEditor", void 0);
|
|
275
|
-
__decorate([
|
|
276
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
277
|
-
__metadata("design:type", String)
|
|
278
|
-
], EntityColumnPatch.prototype, "formValidator", void 0);
|
|
279
|
-
__decorate([
|
|
280
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
281
|
-
__metadata("design:type", String)
|
|
282
|
-
], EntityColumnPatch.prototype, "formFormat", void 0);
|
|
283
|
-
__decorate([
|
|
284
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
285
|
-
__metadata("design:type", String)
|
|
286
|
-
], EntityColumnPatch.prototype, "defVal", void 0);
|
|
287
|
-
__decorate([
|
|
288
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
289
|
-
__metadata("design:type", String)
|
|
290
|
-
], EntityColumnPatch.prototype, "rangeVal", void 0);
|
|
291
|
-
__decorate([
|
|
292
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
293
|
-
__metadata("design:type", Boolean)
|
|
294
|
-
], EntityColumnPatch.prototype, "ignoreOnSav", void 0);
|
|
295
|
-
EntityColumnPatch = __decorate([
|
|
296
|
-
(0, type_graphql_1.InputType)()
|
|
297
|
-
], EntityColumnPatch);
|
|
298
|
-
exports.EntityColumnPatch = EntityColumnPatch;
|
|
299
|
-
let EntityColumnList = class EntityColumnList {
|
|
300
|
-
};
|
|
301
|
-
__decorate([
|
|
302
|
-
(0, type_graphql_1.Field)(type => [entity_column_1.EntityColumn]),
|
|
303
|
-
__metadata("design:type", Array)
|
|
304
|
-
], EntityColumnList.prototype, "items", void 0);
|
|
305
|
-
__decorate([
|
|
306
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int),
|
|
307
|
-
__metadata("design:type", Number)
|
|
308
|
-
], EntityColumnList.prototype, "total", void 0);
|
|
309
|
-
EntityColumnList = __decorate([
|
|
310
|
-
(0, type_graphql_1.ObjectType)()
|
|
311
|
-
], EntityColumnList);
|
|
312
|
-
exports.EntityColumnList = EntityColumnList;
|
|
313
|
-
//# sourceMappingURL=entity-column-type.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity-column-type.js","sourceRoot":"","sources":["../../../server/service/entity-column/entity-column-type.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAgE;AAEhE,mDAA8C;AAGvC,IAAM,eAAe,GAArB,MAAM,eAAe;CAsG3B,CAAA;AArGC;IAAC,IAAA,oBAAK,GAAE;;6CACI;AAEZ;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACN;AAEpB;IAAC,IAAA,oBAAK,GAAE;;+CACM;AAEd;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACb;AAEb;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACb;AAEb;IAAC,IAAA,oBAAK,GAAE;;gDACO;AAEf;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACV;AAEhB;IAAC,IAAA,oBAA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AAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACP;AAEnB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACX;AAEf;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACT;AAEjB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACL;AArGV,iBAAiB;IAD7B,IAAA,wBAAS,GAAE;GACC,iBAAiB,CAsG7B;AAtGY,8CAAiB;AAyGvB,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAM5B,CAAA;AALC;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,4BAAY,CAAC,CAAC;;+CACT;AAErB;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;+CACN;AALF,gBAAgB;IAD5B,IAAA,yBAAU,GAAE;GACA,gBAAgB,CAM5B;AANY,4CAAgB"}
|
|
@@ -1,316 +0,0 @@
|
|
|
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
|
-
var _a, _b, _c;
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.EntityColumn = void 0;
|
|
14
|
-
const type_graphql_1 = require("type-graphql");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const auth_base_1 = require("@things-factory/auth-base");
|
|
17
|
-
const shell_1 = require("@things-factory/shell");
|
|
18
|
-
const entity_1 = require("../entity/entity");
|
|
19
|
-
let EntityColumn = class EntityColumn {
|
|
20
|
-
};
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
23
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], EntityColumn.prototype, "id", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typeorm_1.ManyToOne)(type => shell_1.Domain),
|
|
28
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
29
|
-
__metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
|
|
30
|
-
], EntityColumn.prototype, "domain", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.RelationId)((entityColumn) => entityColumn.domain),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], EntityColumn.prototype, "domainId", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.ManyToOne)(type => entity_1.Entity, entity => entity.columns),
|
|
37
|
-
(0, type_graphql_1.Field)(type => entity_1.Entity),
|
|
38
|
-
__metadata("design:type", entity_1.Entity)
|
|
39
|
-
], EntityColumn.prototype, "entity", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.RelationId)((entityColumn) => entityColumn.entity),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], EntityColumn.prototype, "entityId", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.Column)(),
|
|
46
|
-
(0, type_graphql_1.Field)(),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], EntityColumn.prototype, "name", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({
|
|
51
|
-
nullable: true
|
|
52
|
-
}),
|
|
53
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], EntityColumn.prototype, "description", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, typeorm_1.Column)('int', {
|
|
58
|
-
nullable: true
|
|
59
|
-
}),
|
|
60
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
61
|
-
__metadata("design:type", Number)
|
|
62
|
-
], EntityColumn.prototype, "rank", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)({
|
|
65
|
-
nullable: true
|
|
66
|
-
}),
|
|
67
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
68
|
-
__metadata("design:type", String)
|
|
69
|
-
], EntityColumn.prototype, "term", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, typeorm_1.Column)(),
|
|
72
|
-
(0, type_graphql_1.Field)(),
|
|
73
|
-
__metadata("design:type", String)
|
|
74
|
-
], EntityColumn.prototype, "colType", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, typeorm_1.Column)('int', {
|
|
77
|
-
nullable: true
|
|
78
|
-
}),
|
|
79
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
80
|
-
__metadata("design:type", Number)
|
|
81
|
-
], EntityColumn.prototype, "colSize", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, typeorm_1.Column)({
|
|
84
|
-
nullable: true,
|
|
85
|
-
default: true
|
|
86
|
-
}),
|
|
87
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
88
|
-
__metadata("design:type", Boolean)
|
|
89
|
-
], EntityColumn.prototype, "nullable", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, typeorm_1.Column)({
|
|
92
|
-
nullable: true
|
|
93
|
-
}),
|
|
94
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
95
|
-
__metadata("design:type", String)
|
|
96
|
-
], EntityColumn.prototype, "refType", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, typeorm_1.Column)({
|
|
99
|
-
nullable: true
|
|
100
|
-
}),
|
|
101
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
102
|
-
__metadata("design:type", String)
|
|
103
|
-
], EntityColumn.prototype, "refName", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
(0, typeorm_1.Column)({
|
|
106
|
-
nullable: true
|
|
107
|
-
}),
|
|
108
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
109
|
-
__metadata("design:type", String)
|
|
110
|
-
], EntityColumn.prototype, "refUrl", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, typeorm_1.Column)({
|
|
113
|
-
nullable: true
|
|
114
|
-
}),
|
|
115
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
116
|
-
__metadata("design:type", String)
|
|
117
|
-
], EntityColumn.prototype, "refParams", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
(0, typeorm_1.Column)({
|
|
120
|
-
nullable: true
|
|
121
|
-
}),
|
|
122
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
123
|
-
__metadata("design:type", String)
|
|
124
|
-
], EntityColumn.prototype, "refRelated", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, typeorm_1.Column)('int', {
|
|
127
|
-
nullable: true
|
|
128
|
-
}),
|
|
129
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
130
|
-
__metadata("design:type", Number)
|
|
131
|
-
], EntityColumn.prototype, "searchRank", void 0);
|
|
132
|
-
__decorate([
|
|
133
|
-
(0, typeorm_1.Column)('int', {
|
|
134
|
-
nullable: true
|
|
135
|
-
}),
|
|
136
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
137
|
-
__metadata("design:type", Number)
|
|
138
|
-
], EntityColumn.prototype, "sortRank", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
(0, typeorm_1.Column)({
|
|
141
|
-
nullable: true,
|
|
142
|
-
default: false
|
|
143
|
-
}),
|
|
144
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
145
|
-
__metadata("design:type", Boolean)
|
|
146
|
-
], EntityColumn.prototype, "reverseSort", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
(0, typeorm_1.Column)({
|
|
149
|
-
nullable: true,
|
|
150
|
-
default: false
|
|
151
|
-
}),
|
|
152
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
153
|
-
__metadata("design:type", Boolean)
|
|
154
|
-
], EntityColumn.prototype, "virtualField", void 0);
|
|
155
|
-
__decorate([
|
|
156
|
-
(0, typeorm_1.Column)({
|
|
157
|
-
nullable: true
|
|
158
|
-
}),
|
|
159
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
160
|
-
__metadata("design:type", String)
|
|
161
|
-
], EntityColumn.prototype, "searchName", void 0);
|
|
162
|
-
__decorate([
|
|
163
|
-
(0, typeorm_1.Column)({
|
|
164
|
-
nullable: true
|
|
165
|
-
}),
|
|
166
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
167
|
-
__metadata("design:type", String)
|
|
168
|
-
], EntityColumn.prototype, "searchEditor", void 0);
|
|
169
|
-
__decorate([
|
|
170
|
-
(0, typeorm_1.Column)({
|
|
171
|
-
nullable: true
|
|
172
|
-
}),
|
|
173
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
174
|
-
__metadata("design:type", String)
|
|
175
|
-
], EntityColumn.prototype, "searchOper", void 0);
|
|
176
|
-
__decorate([
|
|
177
|
-
(0, typeorm_1.Column)({
|
|
178
|
-
nullable: true
|
|
179
|
-
}),
|
|
180
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
181
|
-
__metadata("design:type", String)
|
|
182
|
-
], EntityColumn.prototype, "searchInitVal", void 0);
|
|
183
|
-
__decorate([
|
|
184
|
-
(0, typeorm_1.Column)('int', {
|
|
185
|
-
nullable: true
|
|
186
|
-
}),
|
|
187
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
188
|
-
__metadata("design:type", Number)
|
|
189
|
-
], EntityColumn.prototype, "gridRank", void 0);
|
|
190
|
-
__decorate([
|
|
191
|
-
(0, typeorm_1.Column)({
|
|
192
|
-
nullable: true
|
|
193
|
-
}),
|
|
194
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
195
|
-
__metadata("design:type", String)
|
|
196
|
-
], EntityColumn.prototype, "gridEditor", void 0);
|
|
197
|
-
__decorate([
|
|
198
|
-
(0, typeorm_1.Column)({
|
|
199
|
-
nullable: true
|
|
200
|
-
}),
|
|
201
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
202
|
-
__metadata("design:type", String)
|
|
203
|
-
], EntityColumn.prototype, "gridFormat", void 0);
|
|
204
|
-
__decorate([
|
|
205
|
-
(0, typeorm_1.Column)({
|
|
206
|
-
nullable: true
|
|
207
|
-
}),
|
|
208
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
209
|
-
__metadata("design:type", String)
|
|
210
|
-
], EntityColumn.prototype, "gridValidator", void 0);
|
|
211
|
-
__decorate([
|
|
212
|
-
(0, typeorm_1.Column)('int', {
|
|
213
|
-
nullable: true
|
|
214
|
-
}),
|
|
215
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
216
|
-
__metadata("design:type", Number)
|
|
217
|
-
], EntityColumn.prototype, "gridWidth", void 0);
|
|
218
|
-
__decorate([
|
|
219
|
-
(0, typeorm_1.Column)({
|
|
220
|
-
nullable: true
|
|
221
|
-
}),
|
|
222
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
223
|
-
__metadata("design:type", String)
|
|
224
|
-
], EntityColumn.prototype, "gridAlign", void 0);
|
|
225
|
-
__decorate([
|
|
226
|
-
(0, typeorm_1.Column)('int', {
|
|
227
|
-
nullable: true
|
|
228
|
-
}),
|
|
229
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
230
|
-
__metadata("design:type", Number)
|
|
231
|
-
], EntityColumn.prototype, "uniqRank", void 0);
|
|
232
|
-
__decorate([
|
|
233
|
-
(0, typeorm_1.Column)({
|
|
234
|
-
nullable: true
|
|
235
|
-
}),
|
|
236
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
237
|
-
__metadata("design:type", String)
|
|
238
|
-
], EntityColumn.prototype, "formEditor", void 0);
|
|
239
|
-
__decorate([
|
|
240
|
-
(0, typeorm_1.Column)({
|
|
241
|
-
nullable: true
|
|
242
|
-
}),
|
|
243
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
244
|
-
__metadata("design:type", String)
|
|
245
|
-
], EntityColumn.prototype, "formValidator", void 0);
|
|
246
|
-
__decorate([
|
|
247
|
-
(0, typeorm_1.Column)({
|
|
248
|
-
nullable: true
|
|
249
|
-
}),
|
|
250
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
251
|
-
__metadata("design:type", String)
|
|
252
|
-
], EntityColumn.prototype, "formFormat", void 0);
|
|
253
|
-
__decorate([
|
|
254
|
-
(0, typeorm_1.Column)({
|
|
255
|
-
nullable: true
|
|
256
|
-
}),
|
|
257
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
258
|
-
__metadata("design:type", String)
|
|
259
|
-
], EntityColumn.prototype, "defVal", void 0);
|
|
260
|
-
__decorate([
|
|
261
|
-
(0, typeorm_1.Column)({
|
|
262
|
-
nullable: true
|
|
263
|
-
}),
|
|
264
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
265
|
-
__metadata("design:type", String)
|
|
266
|
-
], EntityColumn.prototype, "rangeVal", void 0);
|
|
267
|
-
__decorate([
|
|
268
|
-
(0, typeorm_1.Column)({
|
|
269
|
-
nullable: true,
|
|
270
|
-
default: false
|
|
271
|
-
}),
|
|
272
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
273
|
-
__metadata("design:type", Boolean)
|
|
274
|
-
], EntityColumn.prototype, "ignoreOnSav", void 0);
|
|
275
|
-
__decorate([
|
|
276
|
-
(0, typeorm_1.CreateDateColumn)(),
|
|
277
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
278
|
-
__metadata("design:type", Date)
|
|
279
|
-
], EntityColumn.prototype, "createdAt", void 0);
|
|
280
|
-
__decorate([
|
|
281
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
|
282
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
283
|
-
__metadata("design:type", Date)
|
|
284
|
-
], EntityColumn.prototype, "updatedAt", void 0);
|
|
285
|
-
__decorate([
|
|
286
|
-
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, {
|
|
287
|
-
nullable: true
|
|
288
|
-
}),
|
|
289
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
290
|
-
__metadata("design:type", typeof (_b = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _b : Object)
|
|
291
|
-
], EntityColumn.prototype, "creator", void 0);
|
|
292
|
-
__decorate([
|
|
293
|
-
(0, typeorm_1.RelationId)((entityColumn) => entityColumn.creator),
|
|
294
|
-
__metadata("design:type", String)
|
|
295
|
-
], EntityColumn.prototype, "creatorId", void 0);
|
|
296
|
-
__decorate([
|
|
297
|
-
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, {
|
|
298
|
-
nullable: true
|
|
299
|
-
}),
|
|
300
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
301
|
-
__metadata("design:type", typeof (_c = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _c : Object)
|
|
302
|
-
], EntityColumn.prototype, "updater", void 0);
|
|
303
|
-
__decorate([
|
|
304
|
-
(0, typeorm_1.RelationId)((entityColumn) => entityColumn.creator),
|
|
305
|
-
__metadata("design:type", String)
|
|
306
|
-
], EntityColumn.prototype, "updaterId", void 0);
|
|
307
|
-
EntityColumn = __decorate([
|
|
308
|
-
(0, typeorm_1.Entity)(),
|
|
309
|
-
(0, typeorm_1.Index)('ix_entity_col_0', (entityColumn) => [entityColumn.entity, entityColumn.name], {
|
|
310
|
-
unique: true
|
|
311
|
-
}),
|
|
312
|
-
(0, typeorm_1.Index)('ix_entity_col_1', (entityColumn) => [entityColumn.entity, entityColumn.rank]),
|
|
313
|
-
(0, type_graphql_1.ObjectType)({ description: 'Entity for EntityColumn' })
|
|
314
|
-
], EntityColumn);
|
|
315
|
-
exports.EntityColumn = EntityColumn;
|
|
316
|
-
//# sourceMappingURL=entity-column.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity-column.js","sourceRoot":"","sources":["../../../server/service/entity-column/entity-column.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,+CAAoD;AACpD,qCASgB;AAEhB,yDAAgD;AAChD,iDAA8C;AAE9C,6CAAyC;AAQlC,IAAM,YAAY,GAAlB,MAAM,YAAY;CAkPxB,CAAA;AAjPC;IAAC,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;wCACC;AAEnB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;IACzB,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;kDACjB,cAAM,oBAAN,cAAM;4CAAA;AAEf;IAAC,IAAA,oBAAU,EAAC,CAAC,YAA0B,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC;;8CAC/C;AAEjB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,eAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC;IACnD,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,eAAM,CAAC;8BACd,eAAM;4CAAA;AAEd;IAAC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C;IACD,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;kDAChB,gBAAI,oBAAJ,gBAAI;6CAAA;AAEd;IAAC,IAAA,oBAAU,EAAC,CAAC,YAA0B,EAAE,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC;;+CAC/C;AAElB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,EAAE;QACvB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;kDAChB,gBAAI,oBAAJ,gBAAI;6CAAA;AAEd;IAAC,IAAA,oBAAU,EAAC,CAAC,YAA0B,EAAE,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC;;+CAC/C;AAjPP,YAAY;IANxB,IAAA,gBAAS,GAAE;IACX,IAAA,eAAK,EAAC,iBAAiB,EAAE,CAAC,YAA0B,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE;QAClG,MAAM,EAAE,IAAI;KACb,CAAC;IACD,IAAA,eAAK,EAAC,iBAAiB,EAAE,CAAC,YAA0B,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;IAClG,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;GAC1C,YAAY,CAkPxB;AAlPY,oCAAY"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolvers = exports.entities = void 0;
|
|
4
|
-
const entity_column_1 = require("./entity-column");
|
|
5
|
-
const entity_column_query_1 = require("./entity-column-query");
|
|
6
|
-
const entity_column_mutation_1 = require("./entity-column-mutation");
|
|
7
|
-
exports.entities = [entity_column_1.EntityColumn];
|
|
8
|
-
exports.resolvers = [entity_column_query_1.EntityColumnQuery, entity_column_mutation_1.EntityColumnMutation];
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/entity-column/index.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAC9C,+DAAyD;AACzD,qEAA+D;AAElD,QAAA,QAAQ,GAAG,CAAC,4BAAY,CAAC,CAAA;AACzB,QAAA,SAAS,GAAG,CAAC,uCAAiB,EAAE,6CAAoB,CAAC,CAAA"}
|