@flusys/nestjs-entity-builder 9.0.1 → 9.1.0
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/README.md +22 -28
- package/config/message-keys.d.ts +9 -62
- package/controllers/flow-api-key.controller.d.ts +14 -0
- package/controllers/flow-definition.controller.d.ts +1 -7
- package/controllers/index.d.ts +1 -0
- package/dtos/flow.dto.d.ts +20 -10
- package/entities/flow-api-key.entity.d.ts +10 -0
- package/entities/flow-definition.entity.d.ts +9 -3
- package/entities/flow-execution.entity.d.ts +0 -1
- package/entities/index.d.ts +3 -3
- package/fesm/21.js +11 -64
- package/fesm/{582.js → 489.js} +11 -20
- package/fesm/{913.js → 606.js} +295 -209
- package/fesm/719.js +186 -162
- package/fesm/794.js +187 -116
- package/fesm/{677.js → 996.js} +616 -1490
- package/fesm/controllers/index.js +6 -5
- package/fesm/docs/index.js +2 -2
- package/fesm/entities/index.js +2 -2
- package/fesm/guards/index.js +19 -12
- package/fesm/index.js +638 -50
- package/fesm/modules/index.js +625 -7
- package/fesm/rule-engine/index.js +2 -2
- package/fesm/services/index.js +25 -54
- package/flow-engine/flow-api-key.d.ts +7 -3
- package/flow-engine/flow-graph.validator.d.ts +2 -4
- package/flow-engine/flow-run.types.d.ts +4 -14
- package/flow-engine/flow.types.d.ts +9 -91
- package/interfaces/flow-definition.interface.d.ts +9 -13
- package/package.json +5 -5
- package/rule-engine/rule-engine.service.d.ts +0 -1
- package/services/entity-flow-scaffold.d.ts +1 -1
- package/services/flow-api-key.service.d.ts +31 -0
- package/services/flow-definition.service.d.ts +12 -24
- package/services/flow-execution.service.d.ts +0 -1
- package/services/flow-executor.service.d.ts +7 -7
- package/services/generic-entity.service.d.ts +1 -1
- package/services/index.d.ts +1 -0
- package/entities/flow-version.entity.d.ts +0 -10
- package/fesm/458.js +0 -649
package/fesm/index.js
CHANGED
|
@@ -102,10 +102,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
102
102
|
// EXPORTS
|
|
103
103
|
__webpack_require__.d(__webpack_exports__, {
|
|
104
104
|
zb: () => (/* reexport */ services/* .ACTOR_BRANCH_METADATA_KEY */.zb),
|
|
105
|
+
Ty: () => (/* reexport */ services/* .BULK_MAX_ITEMS */.Ty),
|
|
105
106
|
Ot: () => (/* reexport */ dtos/* .CreateDynamicEntityDto */.Ot),
|
|
106
107
|
_e: () => (/* reexport */ dtos/* .CreateEntityDefinitionDto */._e),
|
|
107
108
|
Vj: () => (/* reexport */ dtos/* .CreateFieldDefinitionDto */.Vj),
|
|
108
|
-
ZM: () => (/* reexport */ (/* inlined export .DEFAULT_AUTH_MODE */"jwt")),
|
|
109
109
|
Fz: () => (/* reexport */ services/* .DRAFT_TEST_RETAIN */.Fz),
|
|
110
110
|
iq: () => (/* reexport */ enums/* .DdlOperation */.iq),
|
|
111
111
|
Vo: () => (/* reexport */ services/* .DefinitionCacheService */.Vo),
|
|
@@ -140,21 +140,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
140
140
|
fO: () => (/* reexport */ flow_types/* .FLOW_AUTH_MODES */.fO),
|
|
141
141
|
Y3: () => (/* reexport */ flow_types/* .FLOW_BODY_TYPES */.Y3),
|
|
142
142
|
GY: () => (/* reexport */ config/* .FLOW_DEFINITION_MESSAGES */.GY),
|
|
143
|
-
FU: () => (/* reexport */ flow_types/* .FLOW_EMAIL_FORMATS */.FU),
|
|
144
|
-
v1: () => (/* reexport */ flow_types/* .FLOW_EMAIL_MODES */.v1),
|
|
145
|
-
B9: () => (/* reexport */ flow_types/* .FLOW_EMAIL_TARGETS */.B9),
|
|
146
143
|
YO: () => (/* reexport */ flow_types/* .FLOW_ENDPOINT_PATH_PATTERN */.YO),
|
|
147
144
|
zr: () => (/* reexport */ config/* .FLOW_ERROR_MESSAGES */.zr),
|
|
148
|
-
E2: () => (/* reexport */ flow_types/* .FLOW_ID_PATTERN */.E2),
|
|
149
145
|
fZ: () => (/* reexport */ flow_types/* .FLOW_INPUT_NAME_PATTERN */.fZ),
|
|
150
146
|
Q7: () => (/* reexport */ flow_types/* .FLOW_INPUT_TYPES */.Q7),
|
|
151
147
|
Or: () => (/* reexport */ flow_types/* .FLOW_LIMITS */.Or),
|
|
152
148
|
wu: () => (/* reexport */ config/* .FLOW_MESSAGES */.wu),
|
|
153
|
-
KF: () => (/* reexport */ flow_types/* .FLOW_MESSAGE_SERVICES */.KF),
|
|
154
149
|
z6: () => (/* reexport */ flow_types/* .FLOW_NODE_ID_PATTERN */.z6),
|
|
155
150
|
q2: () => (/* reexport */ flow_types/* .FLOW_NODE_TYPES */.q2),
|
|
156
|
-
as: () => (/* reexport */ flow_types/* .FLOW_NOTIFICATION_TARGETS */.as),
|
|
157
|
-
LG: () => (/* reexport */ flow_types/* .FLOW_NOTIFICATION_TYPES */.LG),
|
|
158
151
|
$j: () => (/* reexport */ interfaces/* .FLOW_REFERENCE_PROVIDER */.$j),
|
|
159
152
|
gl: () => (/* reexport */ flow_types/* .FLOW_RUN_AS */.gl),
|
|
160
153
|
ps: () => (/* reexport */ config/* .FLOW_SHAPE_MESSAGES */.IP),
|
|
@@ -169,6 +162,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
169
162
|
J: () => (/* reexport */ services/* .FieldDefinitionService */.J),
|
|
170
163
|
PU: () => (/* reexport */ enums/* .FieldType */.PU),
|
|
171
164
|
CA: () => (/* reexport */ guards/* .FlowAccessGuard */.C),
|
|
165
|
+
Sf: () => (/* reexport */ entities/* .FlowApiKey */.Sf),
|
|
166
|
+
Sv: () => (/* reexport */ controllers/* .FlowApiKeyController */.Sv),
|
|
167
|
+
Td: () => (/* reexport */ services/* .FlowApiKeyService */.Td),
|
|
172
168
|
yL: () => (/* reexport */ flow_errors/* .FlowCodeError */.yL),
|
|
173
169
|
G: () => (/* reexport */ entities/* .FlowDefinition */.G),
|
|
174
170
|
W8: () => (/* reexport */ controllers/* .FlowDefinitionController */.W8),
|
|
@@ -184,11 +180,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
184
180
|
Ly: () => (/* reexport */ services/* .FlowReferenceProvider */.Ly),
|
|
185
181
|
bw: () => (/* reexport */ controllers/* .FlowRuntimeController */.bw),
|
|
186
182
|
a$: () => (/* reexport */ services/* .FlowRuntimeService */.a$),
|
|
187
|
-
pj: () => (/* reexport */ entities/* .FlowVersion */.pj),
|
|
188
183
|
j4: () => (/* reexport */ config/* .GENERIC_RECORD_MESSAGES */.j4),
|
|
189
184
|
GK: () => (/* reexport */ services/* .GenericEntityService */.GK),
|
|
190
185
|
GR: () => (/* reexport */ services/* .GenericEntityServiceFactory */.GR),
|
|
191
|
-
d7: () => (/* reexport */ flow_types/* .KEYLESS_AUTH_MODES */.d7),
|
|
192
186
|
At: () => (/* reexport */ flow_types/* .NON_CONTINUABLE_NODE_TYPES */.At),
|
|
193
187
|
gW: () => (/* reexport */ services/* .NON_INDEXABLE_FIELD_TYPES */.gW),
|
|
194
188
|
M5: () => (/* reexport */ interfaces/* .RECORD_FILTER_LIMITS */.M5),
|
|
@@ -231,7 +225,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
231
225
|
CO: () => (/* reexport */ services/* .buildEntityFlow */.CO),
|
|
232
226
|
fu: () => (/* reexport */ services/* .buildFieldColumn */.fu),
|
|
233
227
|
Rm: () => (/* reexport */ services/* .buildSystemColumns */.Rm),
|
|
234
|
-
r7: () => (/* reexport */ flow_graph_validator/* .callProblems */.r7),
|
|
235
228
|
Er: () => (/* reexport */ services/* .defaultFlowPermissionCode */.Er),
|
|
236
229
|
an: () => (/* reexport */ services/* .describeImpact */.an),
|
|
237
230
|
x2: () => (/* reexport */ services/* .entityFlowSlug */.x2),
|
|
@@ -244,14 +237,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
244
237
|
ac: () => (/* reexport */ entities/* .getEntityBuilderEntities */.ac),
|
|
245
238
|
mo: () => (/* reexport */ services/* .indexName */.mo),
|
|
246
239
|
jI: () => (/* reexport */ services/* .isDestructiveSchemaAction */.C5),
|
|
247
|
-
fP: () => (/* reexport */ flow_types/* .isFunctionFlow */.fP),
|
|
248
240
|
d4: () => (/* reexport */ services/* .isIndexableFieldType */.d4),
|
|
249
|
-
SE: () => (/* reexport */ flow_types/* .isMessageNode */.SE),
|
|
250
241
|
A8: () => (/* reexport */ rule_engine/* .isPermissionFunction */.A8),
|
|
251
|
-
HF: () => (/* reexport */ services/* .isPublished */.HF),
|
|
252
242
|
t1: () => (/* reexport */ interfaces/* .isRecordFilterCondition */.t1),
|
|
253
243
|
GD: () => (/* reexport */ rule_engine/* .isRuleGroup */.GD),
|
|
254
|
-
xA: () => (/* reexport */ flow_types/* .isStoredApiKey */.xA),
|
|
255
244
|
Eq: () => (/* reexport */ services/* .mapDatabaseError */.Eq),
|
|
256
245
|
iw: () => (/* reexport */ services/* .mapSchemaError */.iw),
|
|
257
246
|
dA: () => (/* reexport */ flow_types/* .nodeLabel */.dA),
|
|
@@ -261,24 +250,21 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
261
250
|
e1: () => (/* reexport */ services/* .relationTargetCodes */.e1),
|
|
262
251
|
Sd: () => (/* reexport */ services/* .requestInfo */.Sd),
|
|
263
252
|
G7: () => (/* reexport */ services/* .sameColumns */.G7),
|
|
264
|
-
eY: () => (/* reexport */ services/* .snapshotOf */.eY),
|
|
265
253
|
OG: () => (/* reexport */ services/* .softDeleteColumn */.OG),
|
|
266
254
|
cg: () => (/* reexport */ services/* .sqlTypeFor */.cg),
|
|
267
|
-
IE: () => (/* reexport */ flow_types/* .startEndpoint */.IE),
|
|
268
255
|
uy: () => (/* reexport */ services/* .tableUnique */.uy),
|
|
269
256
|
RK: () => (/* reexport */ services/* .toFlowSettings */.RK),
|
|
270
257
|
um: () => (/* reexport */ flow_types/* .triggerPath */.um),
|
|
271
258
|
jp: () => (/* reexport */ services/* .typeFamily */.jp),
|
|
272
|
-
u9: () => (/* reexport */ flow_graph_validator/* .usesPermissionFunction */.
|
|
273
|
-
nC: () => (/* reexport */ flow_graph_validator/* .validateFlow */.
|
|
274
|
-
eV: () => (/* reexport */ services/* .validateRecord */.eV)
|
|
275
|
-
lw: () => (/* reexport */ services/* .workingCopy */.lw)
|
|
259
|
+
u9: () => (/* reexport */ flow_graph_validator/* .usesPermissionFunction */.u),
|
|
260
|
+
nC: () => (/* reexport */ flow_graph_validator/* .validateFlow */.n),
|
|
261
|
+
eV: () => (/* reexport */ services/* .validateRecord */.eV)
|
|
276
262
|
});
|
|
277
263
|
|
|
278
264
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/config/index.ts
|
|
279
265
|
var config = __webpack_require__(4112);
|
|
280
|
-
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/controllers/index.ts +
|
|
281
|
-
var controllers = __webpack_require__(
|
|
266
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/controllers/index.ts + 8 modules
|
|
267
|
+
var controllers = __webpack_require__(2517);
|
|
282
268
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/dtos/index.ts
|
|
283
269
|
var dtos = __webpack_require__(7508);
|
|
284
270
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/entities/index.ts
|
|
@@ -303,8 +289,8 @@ var guards = __webpack_require__(5460);
|
|
|
303
289
|
var interfaces = __webpack_require__(9546);
|
|
304
290
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/modules/index.ts + 1 modules
|
|
305
291
|
var modules = __webpack_require__(4249);
|
|
306
|
-
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/rule-engine/index.ts +
|
|
307
|
-
var rule_engine = __webpack_require__(
|
|
292
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/rule-engine/index.ts + 2 modules
|
|
293
|
+
var rule_engine = __webpack_require__(5920);
|
|
308
294
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/index.ts + 3 modules
|
|
309
295
|
var services = __webpack_require__(8752);
|
|
310
296
|
;// CONCATENATED MODULE: ./projects/nestjs-entity-builder/src/index.ts
|
|
@@ -348,6 +334,624 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
348
334
|
ox: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.ox),
|
|
349
335
|
t1: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.t1)
|
|
350
336
|
});
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
},
|
|
340
|
+
4249(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
341
|
+
|
|
342
|
+
// EXPORTS
|
|
343
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
344
|
+
l: () => (/* reexport */ EntityBuilderModule)
|
|
345
|
+
});
|
|
346
|
+
|
|
347
|
+
// EXTERNAL MODULE: external "@flusys/nestjs-shared/modules"
|
|
348
|
+
var modules_ = __webpack_require__(1236);
|
|
349
|
+
// EXTERNAL MODULE: external "@nestjs/common"
|
|
350
|
+
var common_ = __webpack_require__(6157);
|
|
351
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/config/entity-builder.constants.ts
|
|
352
|
+
var entity_builder_constants = __webpack_require__(6576);
|
|
353
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/config/event-actions.ts
|
|
354
|
+
var event_actions = __webpack_require__(982);
|
|
355
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/controllers/index.ts + 8 modules
|
|
356
|
+
var controllers = __webpack_require__(2517);
|
|
357
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/interfaces/reference-provider.interface.ts
|
|
358
|
+
var reference_provider_interface = __webpack_require__(2492);
|
|
359
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/rule-engine/index.ts + 2 modules
|
|
360
|
+
var rule_engine = __webpack_require__(5920);
|
|
361
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/index.ts + 3 modules
|
|
362
|
+
var services = __webpack_require__(8752);
|
|
363
|
+
;// CONCATENATED MODULE: ./projects/nestjs-entity-builder/src/modules/entity-builder.module.ts
|
|
364
|
+
function _ts_decorate(decorators, target, key, desc) {
|
|
365
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
366
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
367
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
368
|
+
} else {
|
|
369
|
+
for(var i = decorators.length - 1; i >= 0; i--){
|
|
370
|
+
if (d = decorators[i]) {
|
|
371
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
class EntityBuilderModule {
|
|
386
|
+
static CONTROLLERS = [
|
|
387
|
+
controllers/* .EntityDefinitionController */.hv,
|
|
388
|
+
controllers/* .FieldDefinitionController */.GX,
|
|
389
|
+
controllers/* .FlowDefinitionController */.W8,
|
|
390
|
+
controllers/* .FlowApiKeyController */.Sv,
|
|
391
|
+
controllers/* .FlowExecutionController */.VU,
|
|
392
|
+
controllers/* .FlowRuntimeController */.bw
|
|
393
|
+
];
|
|
394
|
+
static EXPORTS = [
|
|
395
|
+
services/* .EntityBuilderConfigService */.E,
|
|
396
|
+
services/* .EntityBuilderDataSourceProvider */.DR,
|
|
397
|
+
services/* .SchemaDialectAdapterService */.Io,
|
|
398
|
+
services/* .SchemaRegistryService */.Cy,
|
|
399
|
+
services/* .SchemaSyncService */.WQ,
|
|
400
|
+
services/* .DefinitionCacheService */.Vo,
|
|
401
|
+
services/* .SchemaChangeExecutor */.TQ,
|
|
402
|
+
services/* .SchemaEvolutionService */._X,
|
|
403
|
+
services/* .ReferenceScannerService */.tH,
|
|
404
|
+
services/* .EntityDefinitionService */.oc,
|
|
405
|
+
services/* .FieldDefinitionService */.J,
|
|
406
|
+
services/* .GenericEntityServiceFactory */.GR,
|
|
407
|
+
services/* .EntityPermissionService */.u4,
|
|
408
|
+
rule_engine/* .RuleEngineService */.iI,
|
|
409
|
+
services/* .FlowDefinitionService */.Tk,
|
|
410
|
+
services/* .FlowExecutorService */.FT,
|
|
411
|
+
services/* .FlowRuntimeService */.a$
|
|
412
|
+
];
|
|
413
|
+
static forRoot(options) {
|
|
414
|
+
return {
|
|
415
|
+
module: EntityBuilderModule,
|
|
416
|
+
global: options.global ?? false,
|
|
417
|
+
imports: [
|
|
418
|
+
modules_.CacheModule,
|
|
419
|
+
modules_.UtilsModule
|
|
420
|
+
],
|
|
421
|
+
controllers: options.includeController !== false ? this.CONTROLLERS : [],
|
|
422
|
+
providers: [
|
|
423
|
+
...this.buildProviders(options),
|
|
424
|
+
...options.providers ?? []
|
|
425
|
+
],
|
|
426
|
+
exports: this.EXPORTS
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
static forRootAsync(options) {
|
|
430
|
+
return {
|
|
431
|
+
module: EntityBuilderModule,
|
|
432
|
+
global: options.global ?? false,
|
|
433
|
+
imports: [
|
|
434
|
+
...options.imports || [],
|
|
435
|
+
modules_.CacheModule,
|
|
436
|
+
modules_.UtilsModule
|
|
437
|
+
],
|
|
438
|
+
controllers: options.includeController !== false ? this.CONTROLLERS : [],
|
|
439
|
+
providers: [
|
|
440
|
+
...this.buildAsyncProviders(options),
|
|
441
|
+
...this.buildProviders(),
|
|
442
|
+
...options.providers ?? []
|
|
443
|
+
],
|
|
444
|
+
exports: this.EXPORTS
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
static buildProviders(options) {
|
|
448
|
+
const providers = [
|
|
449
|
+
services/* .EntityBuilderConfigService */.E,
|
|
450
|
+
services/* .EntityBuilderDataSourceProvider */.DR,
|
|
451
|
+
services/* .SchemaDialectAdapterService */.Io,
|
|
452
|
+
services/* .SchemaRegistryService */.Cy,
|
|
453
|
+
services/* .SchemaSyncService */.WQ,
|
|
454
|
+
services/* .DefinitionCacheService */.Vo,
|
|
455
|
+
services/* .SchemaChangeExecutor */.TQ,
|
|
456
|
+
services/* .SchemaEvolutionService */._X,
|
|
457
|
+
services/* .ReferenceScannerService */.tH,
|
|
458
|
+
services/* .EntityDefinitionService */.oc,
|
|
459
|
+
services/* .FieldDefinitionService */.J,
|
|
460
|
+
services/* .GenericEntityServiceFactory */.GR,
|
|
461
|
+
services/* .EntityPermissionService */.u4,
|
|
462
|
+
rule_engine/* .RuleEngineService */.iI,
|
|
463
|
+
services/* .FlowDefinitionService */.Tk,
|
|
464
|
+
services/* .FlowApiKeyService */.Td,
|
|
465
|
+
services/* .FlowExecutionService */.AJ,
|
|
466
|
+
services/* .FlowExecutorService */.FT,
|
|
467
|
+
services/* .FlowRuntimeService */.a$,
|
|
468
|
+
services/* .FlowReferenceProvider */.Ly,
|
|
469
|
+
{
|
|
470
|
+
provide: reference_provider_interface/* .FLOW_REFERENCE_PROVIDER */.$,
|
|
471
|
+
useExisting: services/* .FlowReferenceProvider */.Ly
|
|
472
|
+
}
|
|
473
|
+
];
|
|
474
|
+
if (options) {
|
|
475
|
+
providers.unshift({
|
|
476
|
+
provide: entity_builder_constants/* .ENTITY_BUILDER_MODULE_OPTIONS */.CP,
|
|
477
|
+
useValue: options
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
providers.push((0,modules_.createModuleEventsProvider)(event_actions/* .ENTITY_BUILDER_EVENT_MODULE */.S, entity_builder_constants/* .ENTITY_BUILDER_MODULE_OPTIONS */.CP));
|
|
481
|
+
return providers;
|
|
482
|
+
}
|
|
483
|
+
static buildAsyncProviders(options) {
|
|
484
|
+
if (options.useFactory) {
|
|
485
|
+
return [
|
|
486
|
+
{
|
|
487
|
+
provide: entity_builder_constants/* .ENTITY_BUILDER_MODULE_OPTIONS */.CP,
|
|
488
|
+
useFactory: async (...args)=>({
|
|
489
|
+
...options,
|
|
490
|
+
config: await options.useFactory(...args)
|
|
491
|
+
}),
|
|
492
|
+
inject: options.inject || []
|
|
493
|
+
}
|
|
494
|
+
];
|
|
495
|
+
}
|
|
496
|
+
const factoryClass = options.useClass || options.useExisting;
|
|
497
|
+
if (!factoryClass) {
|
|
498
|
+
if (!options.config) {
|
|
499
|
+
throw new Error('EntityBuilderModule.forRootAsync() needs useFactory, useClass, useExisting or a static config.');
|
|
500
|
+
}
|
|
501
|
+
return [
|
|
502
|
+
{
|
|
503
|
+
provide: entity_builder_constants/* .ENTITY_BUILDER_MODULE_OPTIONS */.CP,
|
|
504
|
+
useValue: {
|
|
505
|
+
...options
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
];
|
|
509
|
+
}
|
|
510
|
+
const providers = [
|
|
511
|
+
{
|
|
512
|
+
provide: entity_builder_constants/* .ENTITY_BUILDER_MODULE_OPTIONS */.CP,
|
|
513
|
+
useFactory: async (factory)=>({
|
|
514
|
+
...options,
|
|
515
|
+
config: await factory.createEntityBuilderOptions()
|
|
516
|
+
}),
|
|
517
|
+
inject: [
|
|
518
|
+
factoryClass
|
|
519
|
+
]
|
|
520
|
+
}
|
|
521
|
+
];
|
|
522
|
+
if (options.useClass) {
|
|
523
|
+
providers.push({
|
|
524
|
+
provide: options.useClass,
|
|
525
|
+
useClass: options.useClass
|
|
526
|
+
});
|
|
527
|
+
}
|
|
528
|
+
return providers;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
EntityBuilderModule = _ts_decorate([
|
|
532
|
+
(0,common_.Module)({})
|
|
533
|
+
], EntityBuilderModule);
|
|
534
|
+
|
|
535
|
+
;// CONCATENATED MODULE: ./projects/nestjs-entity-builder/src/modules/index.ts
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
},
|
|
540
|
+
8752(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
541
|
+
|
|
542
|
+
// EXPORTS
|
|
543
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
544
|
+
zb: () => (/* reexport */ generic_entity_service/* .ACTOR_BRANCH_METADATA_KEY */.zb),
|
|
545
|
+
Ty: () => (/* reexport */ (/* inlined export .BULK_MAX_ITEMS */200)),
|
|
546
|
+
Fz: () => (/* reexport */ (/* inlined export .DRAFT_TEST_RETAIN */200)),
|
|
547
|
+
Vo: () => (/* reexport */ definition_cache_service/* .DefinitionCacheService */.V),
|
|
548
|
+
IP: () => (/* reexport */ entity_flow_scaffold/* .ENTITY_FLOW_PATHS */.IP),
|
|
549
|
+
E: () => (/* reexport */ entity_builder_config_service/* .EntityBuilderConfigService */.E),
|
|
550
|
+
DR: () => (/* reexport */ entity_builder_datasource_provider/* .EntityBuilderDataSourceProvider */.D),
|
|
551
|
+
oc: () => (/* reexport */ entity_definition_service/* .EntityDefinitionService */.o),
|
|
552
|
+
u4: () => (/* reexport */ entity_permission_service/* .EntityPermissionService */.u),
|
|
553
|
+
J: () => (/* reexport */ field_definition_service/* .FieldDefinitionService */.J),
|
|
554
|
+
Td: () => (/* reexport */ flow_api_key_service/* .FlowApiKeyService */.T),
|
|
555
|
+
Tk: () => (/* reexport */ flow_definition_service/* .FlowDefinitionService */.Tk),
|
|
556
|
+
AJ: () => (/* reexport */ flow_execution_service/* .FlowExecutionService */.A),
|
|
557
|
+
FT: () => (/* reexport */ flow_executor_service/* .FlowExecutorService */.F),
|
|
558
|
+
Ly: () => (/* reexport */ FlowReferenceProvider),
|
|
559
|
+
a$: () => (/* reexport */ flow_runtime_service/* .FlowRuntimeService */.a),
|
|
560
|
+
GK: () => (/* reexport */ generic_entity_service/* .GenericEntityService */.GK),
|
|
561
|
+
GR: () => (/* reexport */ generic_entity_service_factory/* .GenericEntityServiceFactory */.G),
|
|
562
|
+
gW: () => (/* reexport */ schema_columns/* .NON_INDEXABLE_FIELD_TYPES */.gW),
|
|
563
|
+
xJ: () => (/* reexport */ identifier_rules/* .RESERVED_WORDS */.xJ),
|
|
564
|
+
tH: () => (/* reexport */ reference_scanner_service/* .ReferenceScannerService */.t),
|
|
565
|
+
mq: () => (/* reexport */ schema_columns/* .SYSTEM_COLUMN_NAMES */.mq),
|
|
566
|
+
TQ: () => (/* reexport */ schema_change_executor_service/* .SchemaChangeExecutor */.T),
|
|
567
|
+
Io: () => (/* reexport */ schema_dialect_adapter_service/* .SchemaDialectAdapterService */.I),
|
|
568
|
+
_X: () => (/* reexport */ schema_evolution_service/* .SchemaEvolutionService */._),
|
|
569
|
+
Cy: () => (/* reexport */ schema_registry_service/* .SchemaRegistryService */.C),
|
|
570
|
+
WQ: () => (/* reexport */ schema_sync_service/* .SchemaSyncService */.W),
|
|
571
|
+
DG: () => (/* reexport */ generic_entity_service/* .actorMetadata */.DG),
|
|
572
|
+
$6: () => (/* reexport */ schema_columns/* .addUnique */.$6),
|
|
573
|
+
fY: () => (/* reexport */ identifier_rules/* .assertIndexableField */.fY),
|
|
574
|
+
kV: () => (/* reexport */ identifier_rules/* .assertValidIdentifier */.kV),
|
|
575
|
+
HK: () => (/* reexport */ schema_columns/* .auditColumns */.HK),
|
|
576
|
+
CO: () => (/* reexport */ entity_flow_scaffold/* .buildEntityFlow */.CO),
|
|
577
|
+
fu: () => (/* reexport */ schema_columns/* .buildFieldColumn */.fu),
|
|
578
|
+
Rm: () => (/* reexport */ schema_columns/* .buildSystemColumns */.Rm),
|
|
579
|
+
Er: () => (/* reexport */ flow_definition_service/* .defaultFlowPermissionCode */.Er),
|
|
580
|
+
an: () => (/* reexport */ schema_change_types/* .describeImpact */.a),
|
|
581
|
+
x2: () => (/* reexport */ entity_flow_scaffold/* .entityFlowSlug */.x2),
|
|
582
|
+
HQ: () => (/* reexport */ schema_dialect_adapter_service/* .fitIdentifier */.H),
|
|
583
|
+
YW: () => (/* reexport */ flow_definition_service/* .flowNotFound */.YW),
|
|
584
|
+
gl: () => (/* reexport */ flow_executor_service/* .flowTimeout */.g),
|
|
585
|
+
mo: () => (/* reexport */ schema_columns/* .indexName */.mo),
|
|
586
|
+
C5: () => (/* reexport */ schema_evolution_service/* .isDestructiveSchemaAction */.C),
|
|
587
|
+
d4: () => (/* reexport */ schema_columns/* .isIndexableFieldType */.d4),
|
|
588
|
+
Eq: () => (/* reexport */ database_error_mapper/* .mapDatabaseError */.E),
|
|
589
|
+
iw: () => (/* reexport */ database_error_mapper/* .mapSchemaError */.i),
|
|
590
|
+
v7: () => (/* reexport */ schema_columns/* .plainIndex */.v7),
|
|
591
|
+
IM: () => (/* reexport */ field_type_conversion/* .planTypeConversion */.I),
|
|
592
|
+
e1: () => (/* reexport */ schema_change_executor_service/* .relationTargetCodes */.e),
|
|
593
|
+
Sd: () => (/* reexport */ flow_runtime_service/* .requestInfo */.S),
|
|
594
|
+
G7: () => (/* reexport */ schema_columns/* .sameColumns */.G7),
|
|
595
|
+
OG: () => (/* reexport */ schema_columns/* .softDeleteColumn */.OG),
|
|
596
|
+
cg: () => (/* reexport */ schema_columns/* .sqlTypeFor */.cg),
|
|
597
|
+
uy: () => (/* reexport */ schema_columns/* .tableUnique */.uy),
|
|
598
|
+
RK: () => (/* reexport */ flow_definition_service/* .toFlowSettings */.RK),
|
|
599
|
+
jp: () => (/* reexport */ schema_columns/* .typeFamily */.jp),
|
|
600
|
+
eV: () => (/* reexport */ field_value_validator/* .validateRecord */.e)
|
|
601
|
+
});
|
|
602
|
+
|
|
603
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/entity-builder-config.service.ts
|
|
604
|
+
var entity_builder_config_service = __webpack_require__(4281);
|
|
605
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/entity-builder-datasource.provider.ts
|
|
606
|
+
var entity_builder_datasource_provider = __webpack_require__(424);
|
|
607
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/schema-dialect-adapter.service.ts
|
|
608
|
+
var schema_dialect_adapter_service = __webpack_require__(7259);
|
|
609
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/schema-registry.service.ts
|
|
610
|
+
var schema_registry_service = __webpack_require__(2134);
|
|
611
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/schema-sync.service.ts
|
|
612
|
+
var schema_sync_service = __webpack_require__(3474);
|
|
613
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/entity-definition.service.ts
|
|
614
|
+
var entity_definition_service = __webpack_require__(1296);
|
|
615
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/field-definition.service.ts
|
|
616
|
+
var field_definition_service = __webpack_require__(9487);
|
|
617
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/generic-entity.service.ts
|
|
618
|
+
var generic_entity_service = __webpack_require__(3998);
|
|
619
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/generic-entity-service.factory.ts
|
|
620
|
+
var generic_entity_service_factory = __webpack_require__(7705);
|
|
621
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/entity-permission.service.ts
|
|
622
|
+
var entity_permission_service = __webpack_require__(1462);
|
|
623
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/definition-cache.service.ts
|
|
624
|
+
var definition_cache_service = __webpack_require__(2931);
|
|
625
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/schema-change-executor.service.ts
|
|
626
|
+
var schema_change_executor_service = __webpack_require__(6605);
|
|
627
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/schema-change.types.ts
|
|
628
|
+
var schema_change_types = __webpack_require__(7827);
|
|
629
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/schema-columns.ts
|
|
630
|
+
var schema_columns = __webpack_require__(5313);
|
|
631
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/field-type-conversion.ts
|
|
632
|
+
var field_type_conversion = __webpack_require__(4984);
|
|
633
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/identifier-rules.ts
|
|
634
|
+
var identifier_rules = __webpack_require__(413);
|
|
635
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/schema-evolution.service.ts
|
|
636
|
+
var schema_evolution_service = __webpack_require__(3606);
|
|
637
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/reference-scanner.service.ts
|
|
638
|
+
var reference_scanner_service = __webpack_require__(921);
|
|
639
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/field-value-validator.ts
|
|
640
|
+
var field_value_validator = __webpack_require__(3525);
|
|
641
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/database-error.mapper.ts
|
|
642
|
+
var database_error_mapper = __webpack_require__(8323);
|
|
643
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/flow-definition.service.ts
|
|
644
|
+
var flow_definition_service = __webpack_require__(5229);
|
|
645
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/flow-api-key.service.ts + 1 modules
|
|
646
|
+
var flow_api_key_service = __webpack_require__(8888);
|
|
647
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/flow-execution.service.ts
|
|
648
|
+
var flow_execution_service = __webpack_require__(7810);
|
|
649
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/flow-executor.service.ts + 5 modules
|
|
650
|
+
var flow_executor_service = __webpack_require__(4698);
|
|
651
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/flow-runtime.service.ts
|
|
652
|
+
var flow_runtime_service = __webpack_require__(2300);
|
|
653
|
+
// EXTERNAL MODULE: external "@flusys/nestjs-shared/utils"
|
|
654
|
+
var utils_ = __webpack_require__(9216);
|
|
655
|
+
// EXTERNAL MODULE: external "@nestjs/common"
|
|
656
|
+
var common_ = __webpack_require__(6157);
|
|
657
|
+
// EXTERNAL MODULE: external "typeorm"
|
|
658
|
+
var external_typeorm_ = __webpack_require__(7158);
|
|
659
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/config/message-keys.ts
|
|
660
|
+
var message_keys = __webpack_require__(5732);
|
|
661
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/entities/flow-definition.entity.ts
|
|
662
|
+
var flow_definition_entity = __webpack_require__(3770);
|
|
663
|
+
;// CONCATENATED MODULE: ./projects/nestjs-entity-builder/src/services/reference-rewrite.ts
|
|
664
|
+
/** Pure JSON string helpers for finding and rewriting `<prefix>.<field>` references inside definitions. */ function mapStrings(value, fn) {
|
|
665
|
+
if (typeof value === 'string') return fn(value);
|
|
666
|
+
if (Array.isArray(value)) return value.map((v)=>mapStrings(v, fn));
|
|
667
|
+
if (value && typeof value === 'object') {
|
|
668
|
+
return Object.fromEntries(Object.entries(value).map(([k, v])=>[
|
|
669
|
+
k,
|
|
670
|
+
mapStrings(v, fn)
|
|
671
|
+
]));
|
|
672
|
+
}
|
|
673
|
+
return value;
|
|
674
|
+
}
|
|
675
|
+
function anyString(value, test) {
|
|
676
|
+
if (typeof value === 'string') return test(value);
|
|
677
|
+
if (Array.isArray(value)) return value.some((v)=>anyString(v, test));
|
|
678
|
+
if (value && typeof value === 'object') return Object.values(value).some((v)=>anyString(v, test));
|
|
679
|
+
return false;
|
|
680
|
+
}
|
|
681
|
+
const escapeRe = (s)=>s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
682
|
+
/**
|
|
683
|
+
* `<prefix>.<field>`, `<prefix>.<field>.x` or `{{ <prefix>.<field> }}` inside a template - but not
|
|
684
|
+
* `<prefix>.<field>_2`. The prefix is a regex source (e.g. `context\.find\.items\.\d+`), captured so a rewrite keeps it.
|
|
685
|
+
*/ const referencePatternSource = (prefixSource, field, flags = '')=>new RegExp(`(^|\\{\\{\\s*)(${prefixSource})\\.${escapeRe(field)}(?!\\w)`, flags);
|
|
686
|
+
const replaceReferenceSource = (s, prefixSource, from, to)=>s.replace(referencePatternSource(prefixSource, from, 'g'), (_match, lead, prefix)=>`${lead}${prefix}.${to}`);
|
|
687
|
+
|
|
688
|
+
;// CONCATENATED MODULE: ./projects/nestjs-entity-builder/src/flow-engine/flow-reference.ts
|
|
689
|
+
|
|
690
|
+
const entityOf = (node)=>node.config?.entityCode;
|
|
691
|
+
const childrenOf = (node)=>{
|
|
692
|
+
if (node.type !== 'entity_insert') return [];
|
|
693
|
+
const children = node.config?.children;
|
|
694
|
+
return Array.isArray(children) ? children.filter((c)=>!!c && typeof c === 'object') : [];
|
|
695
|
+
};
|
|
696
|
+
const isLookupOn = (value, entityCode)=>!!value && typeof value === 'object' && !Array.isArray(value) && value.type === 'lookup' && value.entity === entityCode;
|
|
697
|
+
function anyLookup(value, entityCode, test) {
|
|
698
|
+
if (Array.isArray(value)) return value.some((v)=>anyLookup(v, entityCode, test));
|
|
699
|
+
if (!value || typeof value !== 'object') return false;
|
|
700
|
+
if (isLookupOn(value, entityCode) && test(value)) return true;
|
|
701
|
+
return Object.values(value).some((v)=>anyLookup(v, entityCode, test));
|
|
702
|
+
}
|
|
703
|
+
function mapLookups(value, entityCode, fn) {
|
|
704
|
+
if (Array.isArray(value)) return value.map((v)=>mapLookups(v, entityCode, fn));
|
|
705
|
+
if (!value || typeof value !== 'object') return value;
|
|
706
|
+
const mapped = Object.fromEntries(Object.entries(value).map(([k, v])=>[
|
|
707
|
+
k,
|
|
708
|
+
mapLookups(v, entityCode, fn)
|
|
709
|
+
]));
|
|
710
|
+
return isLookupOn(mapped, entityCode) ? fn(mapped) : mapped;
|
|
711
|
+
}
|
|
712
|
+
const lookupUsesField = (lookup, field)=>lookup.field === field || lookup.sort?.field === field || !!lookup.filter && field in lookup.filter;
|
|
713
|
+
const childUsesField = (child, field)=>child.parentField === field || !!child.fields && typeof child.fields === 'object' && field in child.fields;
|
|
714
|
+
function flowUsesEntity(nodes, entityCode) {
|
|
715
|
+
return nodes.some((n)=>entityOf(n) === entityCode || childrenOf(n).some((c)=>c.entityCode === entityCode) || anyLookup(n.config, entityCode, ()=>true));
|
|
716
|
+
}
|
|
717
|
+
const ITEM = '\\.items\\.\\d+';
|
|
718
|
+
/** Regex sources of every output path that holds a record of the entity. */ function recordPrefixes(nodes, entityCode) {
|
|
719
|
+
const out = [];
|
|
720
|
+
for (const node of nodes){
|
|
721
|
+
const base = `context\\.${escapeRe(node.id)}`;
|
|
722
|
+
if (entityOf(node) === entityCode) {
|
|
723
|
+
if (node.type === 'entity_get') out.push(base);
|
|
724
|
+
else if (node.type === 'entity_insert' || node.type === 'entity_update') out.push(`${base}(?:${ITEM})?`);
|
|
725
|
+
else if (node.type === 'entity_query') out.push(`${base}${ITEM}`);
|
|
726
|
+
}
|
|
727
|
+
for (const child of childrenOf(node)){
|
|
728
|
+
if (child.entityCode === entityCode && typeof child.as === 'string' && child.as) out.push(`${base}(?:${ITEM})?\\.${escapeRe(child.as)}\\.\\d+`);
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
return out;
|
|
732
|
+
}
|
|
733
|
+
function flowRefersToField(nodes, entityCode, field) {
|
|
734
|
+
const patterns = recordPrefixes(nodes, entityCode).map((prefix)=>referencePatternSource(prefix, field));
|
|
735
|
+
return nodes.some((node)=>{
|
|
736
|
+
if (entityOf(node) === entityCode) {
|
|
737
|
+
const c = node.config;
|
|
738
|
+
if (c.fields && field in c.fields) return true;
|
|
739
|
+
if (c.filter && field in c.filter) return true;
|
|
740
|
+
if (c.sort?.field === field) return true;
|
|
741
|
+
}
|
|
742
|
+
if (childrenOf(node).some((child)=>child.entityCode === entityCode && childUsesField(child, field))) return true;
|
|
743
|
+
if (anyLookup(node.config, entityCode, (lookup)=>lookupUsesField(lookup, field))) return true;
|
|
744
|
+
return patterns.length > 0 && anyString(node.config, (s)=>patterns.some((p)=>p.test(s)));
|
|
745
|
+
});
|
|
746
|
+
}
|
|
747
|
+
function rewriteFlowField(nodes, entityCode, from, to) {
|
|
748
|
+
const prefixes = recordPrefixes(nodes, entityCode);
|
|
749
|
+
let changed = false;
|
|
750
|
+
const renameKey = (map)=>{
|
|
751
|
+
if (!map || !(from in map)) return map;
|
|
752
|
+
changed = true;
|
|
753
|
+
return Object.fromEntries(Object.entries(map).map(([k, v])=>[
|
|
754
|
+
k === from ? to : k,
|
|
755
|
+
v
|
|
756
|
+
]));
|
|
757
|
+
};
|
|
758
|
+
const renameChild = (child)=>{
|
|
759
|
+
if (child.entityCode !== entityCode || !childUsesField(child, from)) return child;
|
|
760
|
+
changed = true;
|
|
761
|
+
return {
|
|
762
|
+
...child,
|
|
763
|
+
...child.fields && from in child.fields ? {
|
|
764
|
+
fields: renameKey(child.fields)
|
|
765
|
+
} : {},
|
|
766
|
+
...child.parentField === from ? {
|
|
767
|
+
parentField: to
|
|
768
|
+
} : {}
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
const rewritten = nodes.map((node)=>{
|
|
772
|
+
let config = node.config;
|
|
773
|
+
if (entityOf(node) === entityCode) {
|
|
774
|
+
const next = {
|
|
775
|
+
...config
|
|
776
|
+
};
|
|
777
|
+
if (next['fields']) next['fields'] = renameKey(next['fields']);
|
|
778
|
+
if (next['filter']) next['filter'] = renameKey(next['filter']);
|
|
779
|
+
const sort = next['sort'];
|
|
780
|
+
if (sort?.field === from) {
|
|
781
|
+
next['sort'] = {
|
|
782
|
+
...sort,
|
|
783
|
+
field: to
|
|
784
|
+
};
|
|
785
|
+
changed = true;
|
|
786
|
+
}
|
|
787
|
+
config = next;
|
|
788
|
+
}
|
|
789
|
+
const children = childrenOf(node);
|
|
790
|
+
if (children.some((child)=>child.entityCode === entityCode && childUsesField(child, from))) {
|
|
791
|
+
config = {
|
|
792
|
+
...config,
|
|
793
|
+
children: children.map(renameChild)
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
config = mapLookups(config, entityCode, (lookup)=>{
|
|
797
|
+
if (!lookupUsesField(lookup, from)) return lookup;
|
|
798
|
+
changed = true;
|
|
799
|
+
return {
|
|
800
|
+
...lookup,
|
|
801
|
+
...lookup.filter ? {
|
|
802
|
+
filter: renameKey(lookup.filter)
|
|
803
|
+
} : {},
|
|
804
|
+
...lookup.field === from ? {
|
|
805
|
+
field: to
|
|
806
|
+
} : {},
|
|
807
|
+
...lookup.sort?.field === from ? {
|
|
808
|
+
sort: {
|
|
809
|
+
...lookup.sort,
|
|
810
|
+
field: to
|
|
811
|
+
}
|
|
812
|
+
} : {}
|
|
813
|
+
};
|
|
814
|
+
});
|
|
815
|
+
if (prefixes.length) {
|
|
816
|
+
config = mapStrings(config, (s)=>{
|
|
817
|
+
const out = prefixes.reduce((acc, prefix)=>replaceReferenceSource(acc, prefix, from, to), s);
|
|
818
|
+
if (out !== s) changed = true;
|
|
819
|
+
return out;
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
return config === node.config ? node : {
|
|
823
|
+
...node,
|
|
824
|
+
config
|
|
825
|
+
};
|
|
826
|
+
});
|
|
827
|
+
return {
|
|
828
|
+
nodes: rewritten,
|
|
829
|
+
changed
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
;// CONCATENATED MODULE: ./projects/nestjs-entity-builder/src/services/flow-reference.provider.ts
|
|
834
|
+
function _ts_decorate(decorators, target, key, desc) {
|
|
835
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
836
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
837
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
838
|
+
} else {
|
|
839
|
+
for(var i = decorators.length - 1; i >= 0; i--){
|
|
840
|
+
if (d = decorators[i]) {
|
|
841
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
846
|
+
}
|
|
847
|
+
function _ts_metadata(metadataKey, metadataValue) {
|
|
848
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
|
|
849
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
function _ts_param(paramIndex, decorator) {
|
|
853
|
+
return function(target, key) {
|
|
854
|
+
decorator(target, key, paramIndex);
|
|
855
|
+
};
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
class FlowReferenceProvider {
|
|
865
|
+
provider;
|
|
866
|
+
constructor(provider){
|
|
867
|
+
this.provider = provider;
|
|
868
|
+
}
|
|
869
|
+
async flows(manager) {
|
|
870
|
+
return (await this.repo(manager)).find({
|
|
871
|
+
where: {
|
|
872
|
+
deletedAt: (0,external_typeorm_.IsNull)()
|
|
873
|
+
}
|
|
874
|
+
});
|
|
875
|
+
}
|
|
876
|
+
async repo(manager) {
|
|
877
|
+
return manager ? manager.getRepository(flow_definition_entity/* .FlowDefinition */.G) : this.provider.getRepository(flow_definition_entity/* .FlowDefinition */.G);
|
|
878
|
+
}
|
|
879
|
+
async findEntityReferences(entityCode) {
|
|
880
|
+
return (await this.flows()).filter((f)=>flowUsesEntity(f.nodes, entityCode)).map((f)=>({
|
|
881
|
+
kind: 'flow',
|
|
882
|
+
id: f.id,
|
|
883
|
+
name: f.name,
|
|
884
|
+
detail: (0,utils_.messageRef)(message_keys/* .SCHEMA_IMPACT_MESSAGES.FLOW_ON_ENTITY */.aB.FLOW_ON_ENTITY, {
|
|
885
|
+
slug: f.slug
|
|
886
|
+
})
|
|
887
|
+
}));
|
|
888
|
+
}
|
|
889
|
+
async findFieldReferences(entityCode, fieldCode) {
|
|
890
|
+
return (await this.flows()).filter((f)=>flowRefersToField(f.nodes, entityCode, fieldCode)).map((f)=>({
|
|
891
|
+
kind: 'flow',
|
|
892
|
+
id: f.id,
|
|
893
|
+
name: f.name,
|
|
894
|
+
detail: (0,utils_.messageRef)(message_keys/* .SCHEMA_IMPACT_MESSAGES.FLOW_USES_FIELD */.aB.FLOW_USES_FIELD, {
|
|
895
|
+
slug: f.slug,
|
|
896
|
+
field: fieldCode
|
|
897
|
+
})
|
|
898
|
+
}));
|
|
899
|
+
}
|
|
900
|
+
async rewriteFieldReferences(entityCode, from, to, manager) {
|
|
901
|
+
let count = 0;
|
|
902
|
+
for (const flow of (await this.flows(manager))){
|
|
903
|
+
const { nodes, changed } = rewriteFlowField(flow.nodes, entityCode, from, to);
|
|
904
|
+
if (!changed) continue;
|
|
905
|
+
await (await this.repo(manager)).update(flow.id, {
|
|
906
|
+
nodes,
|
|
907
|
+
version: flow.version + 1
|
|
908
|
+
});
|
|
909
|
+
count++;
|
|
910
|
+
}
|
|
911
|
+
return count;
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
FlowReferenceProvider = _ts_decorate([
|
|
915
|
+
(0,common_.Injectable)({
|
|
916
|
+
scope: common_.Scope.REQUEST
|
|
917
|
+
}),
|
|
918
|
+
_ts_param(0, (0,common_.Inject)(entity_builder_datasource_provider/* .EntityBuilderDataSourceProvider */.D)),
|
|
919
|
+
_ts_metadata("design:type", Function),
|
|
920
|
+
_ts_metadata("design:paramtypes", [
|
|
921
|
+
typeof entity_builder_datasource_provider/* .EntityBuilderDataSourceProvider */.D === "undefined" ? Object : entity_builder_datasource_provider/* .EntityBuilderDataSourceProvider */.D
|
|
922
|
+
])
|
|
923
|
+
], FlowReferenceProvider);
|
|
924
|
+
|
|
925
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/entity-flow-scaffold.ts
|
|
926
|
+
var entity_flow_scaffold = __webpack_require__(8271);
|
|
927
|
+
;// CONCATENATED MODULE: ./projects/nestjs-entity-builder/src/services/index.ts
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
|
|
351
955
|
|
|
352
956
|
|
|
353
957
|
},
|
|
@@ -357,27 +961,25 @@ import { __webpack_require__ } from './runtime.js';
|
|
|
357
961
|
var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
|
|
358
962
|
import * as __rspack_chunk_1 from './21.js';
|
|
359
963
|
__webpack_require__.C(__rspack_chunk_1);
|
|
360
|
-
import * as __rspack_chunk_2 from './
|
|
964
|
+
import * as __rspack_chunk_2 from './489.js';
|
|
361
965
|
__webpack_require__.C(__rspack_chunk_2);
|
|
362
966
|
import * as __rspack_chunk_3 from './794.js';
|
|
363
967
|
__webpack_require__.C(__rspack_chunk_3);
|
|
364
|
-
import * as __rspack_chunk_4 from './
|
|
968
|
+
import * as __rspack_chunk_4 from './996.js';
|
|
365
969
|
__webpack_require__.C(__rspack_chunk_4);
|
|
366
970
|
import * as __rspack_chunk_5 from './362.js';
|
|
367
971
|
__webpack_require__.C(__rspack_chunk_5);
|
|
368
972
|
import * as __rspack_chunk_6 from './719.js';
|
|
369
973
|
__webpack_require__.C(__rspack_chunk_6);
|
|
370
|
-
import * as __rspack_chunk_7 from './
|
|
974
|
+
import * as __rspack_chunk_7 from './606.js';
|
|
371
975
|
__webpack_require__.C(__rspack_chunk_7);
|
|
372
|
-
import * as __rspack_chunk_8 from './
|
|
976
|
+
import * as __rspack_chunk_8 from './index.js';
|
|
373
977
|
__webpack_require__.C(__rspack_chunk_8);
|
|
374
|
-
import * as __rspack_chunk_9 from './index.js';
|
|
375
|
-
__webpack_require__.C(__rspack_chunk_9);
|
|
376
978
|
var __webpack_exports__ = __webpack_exec__(8165);var __webpack_exports__ACTOR_BRANCH_METADATA_KEY = __webpack_exports__.zb;
|
|
979
|
+
var __webpack_exports__BULK_MAX_ITEMS = __webpack_exports__.Ty;
|
|
377
980
|
var __webpack_exports__CreateDynamicEntityDto = __webpack_exports__.Ot;
|
|
378
981
|
var __webpack_exports__CreateEntityDefinitionDto = __webpack_exports__._e;
|
|
379
982
|
var __webpack_exports__CreateFieldDefinitionDto = __webpack_exports__.Vj;
|
|
380
|
-
var __webpack_exports__DEFAULT_AUTH_MODE = __webpack_exports__.ZM;
|
|
381
983
|
var __webpack_exports__DRAFT_TEST_RETAIN = __webpack_exports__.Fz;
|
|
382
984
|
var __webpack_exports__DdlOperation = __webpack_exports__.iq;
|
|
383
985
|
var __webpack_exports__DefinitionCacheService = __webpack_exports__.Vo;
|
|
@@ -412,21 +1014,14 @@ var __webpack_exports__FIELD_VALIDATION_MESSAGES = __webpack_exports__.KE;
|
|
|
412
1014
|
var __webpack_exports__FLOW_AUTH_MODES = __webpack_exports__.fO;
|
|
413
1015
|
var __webpack_exports__FLOW_BODY_TYPES = __webpack_exports__.Y3;
|
|
414
1016
|
var __webpack_exports__FLOW_DEFINITION_MESSAGES = __webpack_exports__.GY;
|
|
415
|
-
var __webpack_exports__FLOW_EMAIL_FORMATS = __webpack_exports__.FU;
|
|
416
|
-
var __webpack_exports__FLOW_EMAIL_MODES = __webpack_exports__.v1;
|
|
417
|
-
var __webpack_exports__FLOW_EMAIL_TARGETS = __webpack_exports__.B9;
|
|
418
1017
|
var __webpack_exports__FLOW_ENDPOINT_PATH_PATTERN = __webpack_exports__.YO;
|
|
419
1018
|
var __webpack_exports__FLOW_ERROR_MESSAGES = __webpack_exports__.zr;
|
|
420
|
-
var __webpack_exports__FLOW_ID_PATTERN = __webpack_exports__.E2;
|
|
421
1019
|
var __webpack_exports__FLOW_INPUT_NAME_PATTERN = __webpack_exports__.fZ;
|
|
422
1020
|
var __webpack_exports__FLOW_INPUT_TYPES = __webpack_exports__.Q7;
|
|
423
1021
|
var __webpack_exports__FLOW_LIMITS = __webpack_exports__.Or;
|
|
424
1022
|
var __webpack_exports__FLOW_MESSAGES = __webpack_exports__.wu;
|
|
425
|
-
var __webpack_exports__FLOW_MESSAGE_SERVICES = __webpack_exports__.KF;
|
|
426
1023
|
var __webpack_exports__FLOW_NODE_ID_PATTERN = __webpack_exports__.z6;
|
|
427
1024
|
var __webpack_exports__FLOW_NODE_TYPES = __webpack_exports__.q2;
|
|
428
|
-
var __webpack_exports__FLOW_NOTIFICATION_TARGETS = __webpack_exports__.as;
|
|
429
|
-
var __webpack_exports__FLOW_NOTIFICATION_TYPES = __webpack_exports__.LG;
|
|
430
1025
|
var __webpack_exports__FLOW_REFERENCE_PROVIDER = __webpack_exports__.$j;
|
|
431
1026
|
var __webpack_exports__FLOW_RUN_AS = __webpack_exports__.gl;
|
|
432
1027
|
var __webpack_exports__FLOW_SHAPE_MESSAGES = __webpack_exports__.ps;
|
|
@@ -441,6 +1036,9 @@ var __webpack_exports__FieldDefinitionResponseDto = __webpack_exports__.C5;
|
|
|
441
1036
|
var __webpack_exports__FieldDefinitionService = __webpack_exports__.J;
|
|
442
1037
|
var __webpack_exports__FieldType = __webpack_exports__.PU;
|
|
443
1038
|
var __webpack_exports__FlowAccessGuard = __webpack_exports__.CA;
|
|
1039
|
+
var __webpack_exports__FlowApiKey = __webpack_exports__.Sf;
|
|
1040
|
+
var __webpack_exports__FlowApiKeyController = __webpack_exports__.Sv;
|
|
1041
|
+
var __webpack_exports__FlowApiKeyService = __webpack_exports__.Td;
|
|
444
1042
|
var __webpack_exports__FlowCodeError = __webpack_exports__.yL;
|
|
445
1043
|
var __webpack_exports__FlowDefinition = __webpack_exports__.G;
|
|
446
1044
|
var __webpack_exports__FlowDefinitionController = __webpack_exports__.W8;
|
|
@@ -456,11 +1054,9 @@ var __webpack_exports__FlowNodeError = __webpack_exports__.tC;
|
|
|
456
1054
|
var __webpack_exports__FlowReferenceProvider = __webpack_exports__.Ly;
|
|
457
1055
|
var __webpack_exports__FlowRuntimeController = __webpack_exports__.bw;
|
|
458
1056
|
var __webpack_exports__FlowRuntimeService = __webpack_exports__.a$;
|
|
459
|
-
var __webpack_exports__FlowVersion = __webpack_exports__.pj;
|
|
460
1057
|
var __webpack_exports__GENERIC_RECORD_MESSAGES = __webpack_exports__.j4;
|
|
461
1058
|
var __webpack_exports__GenericEntityService = __webpack_exports__.GK;
|
|
462
1059
|
var __webpack_exports__GenericEntityServiceFactory = __webpack_exports__.GR;
|
|
463
|
-
var __webpack_exports__KEYLESS_AUTH_MODES = __webpack_exports__.d7;
|
|
464
1060
|
var __webpack_exports__NON_CONTINUABLE_NODE_TYPES = __webpack_exports__.At;
|
|
465
1061
|
var __webpack_exports__NON_INDEXABLE_FIELD_TYPES = __webpack_exports__.gW;
|
|
466
1062
|
var __webpack_exports__RECORD_FILTER_LIMITS = __webpack_exports__.M5;
|
|
@@ -503,7 +1099,6 @@ var __webpack_exports__auditColumns = __webpack_exports__.HK;
|
|
|
503
1099
|
var __webpack_exports__buildEntityFlow = __webpack_exports__.CO;
|
|
504
1100
|
var __webpack_exports__buildFieldColumn = __webpack_exports__.fu;
|
|
505
1101
|
var __webpack_exports__buildSystemColumns = __webpack_exports__.Rm;
|
|
506
|
-
var __webpack_exports__callProblems = __webpack_exports__.r7;
|
|
507
1102
|
var __webpack_exports__defaultFlowPermissionCode = __webpack_exports__.Er;
|
|
508
1103
|
var __webpack_exports__describeImpact = __webpack_exports__.an;
|
|
509
1104
|
var __webpack_exports__entityFlowSlug = __webpack_exports__.x2;
|
|
@@ -516,14 +1111,10 @@ var __webpack_exports__flowTimeout = __webpack_exports__.PZ;
|
|
|
516
1111
|
var __webpack_exports__getEntityBuilderEntities = __webpack_exports__.ac;
|
|
517
1112
|
var __webpack_exports__indexName = __webpack_exports__.mo;
|
|
518
1113
|
var __webpack_exports__isDestructiveSchemaAction = __webpack_exports__.jI;
|
|
519
|
-
var __webpack_exports__isFunctionFlow = __webpack_exports__.fP;
|
|
520
1114
|
var __webpack_exports__isIndexableFieldType = __webpack_exports__.d4;
|
|
521
|
-
var __webpack_exports__isMessageNode = __webpack_exports__.SE;
|
|
522
1115
|
var __webpack_exports__isPermissionFunction = __webpack_exports__.A8;
|
|
523
|
-
var __webpack_exports__isPublished = __webpack_exports__.HF;
|
|
524
1116
|
var __webpack_exports__isRecordFilterCondition = __webpack_exports__.t1;
|
|
525
1117
|
var __webpack_exports__isRuleGroup = __webpack_exports__.GD;
|
|
526
|
-
var __webpack_exports__isStoredApiKey = __webpack_exports__.xA;
|
|
527
1118
|
var __webpack_exports__mapDatabaseError = __webpack_exports__.Eq;
|
|
528
1119
|
var __webpack_exports__mapSchemaError = __webpack_exports__.iw;
|
|
529
1120
|
var __webpack_exports__nodeLabel = __webpack_exports__.dA;
|
|
@@ -533,10 +1124,8 @@ var __webpack_exports__portsOf = __webpack_exports__.a5;
|
|
|
533
1124
|
var __webpack_exports__relationTargetCodes = __webpack_exports__.e1;
|
|
534
1125
|
var __webpack_exports__requestInfo = __webpack_exports__.Sd;
|
|
535
1126
|
var __webpack_exports__sameColumns = __webpack_exports__.G7;
|
|
536
|
-
var __webpack_exports__snapshotOf = __webpack_exports__.eY;
|
|
537
1127
|
var __webpack_exports__softDeleteColumn = __webpack_exports__.OG;
|
|
538
1128
|
var __webpack_exports__sqlTypeFor = __webpack_exports__.cg;
|
|
539
|
-
var __webpack_exports__startEndpoint = __webpack_exports__.IE;
|
|
540
1129
|
var __webpack_exports__tableUnique = __webpack_exports__.uy;
|
|
541
1130
|
var __webpack_exports__toFlowSettings = __webpack_exports__.RK;
|
|
542
1131
|
var __webpack_exports__triggerPath = __webpack_exports__.um;
|
|
@@ -544,5 +1133,4 @@ var __webpack_exports__typeFamily = __webpack_exports__.jp;
|
|
|
544
1133
|
var __webpack_exports__usesPermissionFunction = __webpack_exports__.u9;
|
|
545
1134
|
var __webpack_exports__validateFlow = __webpack_exports__.nC;
|
|
546
1135
|
var __webpack_exports__validateRecord = __webpack_exports__.eV;
|
|
547
|
-
|
|
548
|
-
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__CreateDynamicEntityDto as CreateDynamicEntityDto, __webpack_exports__CreateEntityDefinitionDto as CreateEntityDefinitionDto, __webpack_exports__CreateFieldDefinitionDto as CreateFieldDefinitionDto, __webpack_exports__DEFAULT_AUTH_MODE as DEFAULT_AUTH_MODE, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __webpack_exports__DdlOperation as DdlOperation, __webpack_exports__DefinitionCacheService as DefinitionCacheService, __webpack_exports__ENTITY_BUILDER_EVENT_ENTITIES as ENTITY_BUILDER_EVENT_ENTITIES, __webpack_exports__ENTITY_BUILDER_EVENT_MODULE as ENTITY_BUILDER_EVENT_MODULE, __webpack_exports__ENTITY_BUILDER_MODULE_OPTIONS as ENTITY_BUILDER_MODULE_OPTIONS, __webpack_exports__ENTITY_CHANGE_KEYS as ENTITY_CHANGE_KEYS, __webpack_exports__ENTITY_CODE_MAX_LENGTH as ENTITY_CODE_MAX_LENGTH, __webpack_exports__ENTITY_CODE_PATTERN as ENTITY_CODE_PATTERN, __webpack_exports__ENTITY_DEFINITION_MESSAGES as ENTITY_DEFINITION_MESSAGES, __webpack_exports__ENTITY_FLOW_ENDPOINTS as ENTITY_FLOW_ENDPOINTS, __webpack_exports__ENTITY_FLOW_PATHS as ENTITY_FLOW_PATHS, __webpack_exports__ENTITY_TABLE_PREFIX as ENTITY_TABLE_PREFIX, __webpack_exports__EntityBuilderConfigService as EntityBuilderConfigService, __webpack_exports__EntityBuilderDataSourceProvider as EntityBuilderDataSourceProvider, __webpack_exports__EntityBuilderEntities as EntityBuilderEntities, __webpack_exports__EntityBuilderModule as EntityBuilderModule, __webpack_exports__EntityChangesDto as EntityChangesDto, __webpack_exports__EntityDefinition as EntityDefinition, __webpack_exports__EntityDefinitionController as EntityDefinitionController, __webpack_exports__EntityDefinitionResponseDto as EntityDefinitionResponseDto, __webpack_exports__EntityDefinitionService as EntityDefinitionService, __webpack_exports__EntityFieldSpecDto as EntityFieldSpecDto, __webpack_exports__EntityFlowInputLabelsDto as EntityFlowInputLabelsDto, __webpack_exports__EntityFlowNamesDto as EntityFlowNamesDto, __webpack_exports__EntityFlowTextsDto as EntityFlowTextsDto, __webpack_exports__EntityPermissionService as EntityPermissionService, __webpack_exports__EntityStatus as EntityStatus, __webpack_exports__FIELD_CHANGE_KEYS as FIELD_CHANGE_KEYS, __webpack_exports__FIELD_DEFINITION_MESSAGES as FIELD_DEFINITION_MESSAGES, __webpack_exports__FIELD_VALIDATION_MESSAGES as FIELD_VALIDATION_MESSAGES, __webpack_exports__FLOW_AUTH_MODES as FLOW_AUTH_MODES, __webpack_exports__FLOW_BODY_TYPES as FLOW_BODY_TYPES, __webpack_exports__FLOW_DEFINITION_MESSAGES as FLOW_DEFINITION_MESSAGES, __webpack_exports__FLOW_EMAIL_FORMATS as FLOW_EMAIL_FORMATS, __webpack_exports__FLOW_EMAIL_MODES as FLOW_EMAIL_MODES, __webpack_exports__FLOW_EMAIL_TARGETS as FLOW_EMAIL_TARGETS, __webpack_exports__FLOW_ENDPOINT_PATH_PATTERN as FLOW_ENDPOINT_PATH_PATTERN, __webpack_exports__FLOW_ERROR_MESSAGES as FLOW_ERROR_MESSAGES, __webpack_exports__FLOW_ID_PATTERN as FLOW_ID_PATTERN, __webpack_exports__FLOW_INPUT_NAME_PATTERN as FLOW_INPUT_NAME_PATTERN, __webpack_exports__FLOW_INPUT_TYPES as FLOW_INPUT_TYPES, __webpack_exports__FLOW_LIMITS as FLOW_LIMITS, __webpack_exports__FLOW_MESSAGES as FLOW_MESSAGES, __webpack_exports__FLOW_MESSAGE_SERVICES as FLOW_MESSAGE_SERVICES, __webpack_exports__FLOW_NODE_ID_PATTERN as FLOW_NODE_ID_PATTERN, __webpack_exports__FLOW_NODE_TYPES as FLOW_NODE_TYPES, __webpack_exports__FLOW_NOTIFICATION_TARGETS as FLOW_NOTIFICATION_TARGETS, __webpack_exports__FLOW_NOTIFICATION_TYPES as FLOW_NOTIFICATION_TYPES, __webpack_exports__FLOW_REFERENCE_PROVIDER as FLOW_REFERENCE_PROVIDER, __webpack_exports__FLOW_RUN_AS as FLOW_RUN_AS, __webpack_exports__FLOW_SHAPE_MESSAGES as FLOW_SHAPE_MESSAGES, __webpack_exports__FLOW_SKIP_MESSAGES as FLOW_SKIP_MESSAGES, __webpack_exports__FLOW_SLUG_PATTERN as FLOW_SLUG_PATTERN, __webpack_exports__FLOW_SUBJECT_MESSAGES as FLOW_SUBJECT_MESSAGES, __webpack_exports__FLOW_VALIDATION_MESSAGES as FLOW_VALIDATION_MESSAGES, __webpack_exports__FieldChangesDto as FieldChangesDto, __webpack_exports__FieldDefinition as FieldDefinition, __webpack_exports__FieldDefinitionController as FieldDefinitionController, __webpack_exports__FieldDefinitionResponseDto as FieldDefinitionResponseDto, __webpack_exports__FieldDefinitionService as FieldDefinitionService, __webpack_exports__FieldType as FieldType, __webpack_exports__FlowAccessGuard as FlowAccessGuard, __webpack_exports__FlowCodeError as FlowCodeError, __webpack_exports__FlowDefinition as FlowDefinition, __webpack_exports__FlowDefinitionController as FlowDefinitionController, __webpack_exports__FlowDefinitionService as FlowDefinitionService, __webpack_exports__FlowExecution as FlowExecution, __webpack_exports__FlowExecutionController as FlowExecutionController, __webpack_exports__FlowExecutionService as FlowExecutionService, __webpack_exports__FlowExecutorService as FlowExecutorService, __webpack_exports__FlowHttpError as FlowHttpError, __webpack_exports__FlowKeyedError as FlowKeyedError, __webpack_exports__FlowLimitError as FlowLimitError, __webpack_exports__FlowNodeError as FlowNodeError, __webpack_exports__FlowReferenceProvider as FlowReferenceProvider, __webpack_exports__FlowRuntimeController as FlowRuntimeController, __webpack_exports__FlowRuntimeService as FlowRuntimeService, __webpack_exports__FlowVersion as FlowVersion, __webpack_exports__GENERIC_RECORD_MESSAGES as GENERIC_RECORD_MESSAGES, __webpack_exports__GenericEntityService as GenericEntityService, __webpack_exports__GenericEntityServiceFactory as GenericEntityServiceFactory, __webpack_exports__KEYLESS_AUTH_MODES as KEYLESS_AUTH_MODES, __webpack_exports__NON_CONTINUABLE_NODE_TYPES as NON_CONTINUABLE_NODE_TYPES, __webpack_exports__NON_INDEXABLE_FIELD_TYPES as NON_INDEXABLE_FIELD_TYPES, __webpack_exports__RECORD_FILTER_LIMITS as RECORD_FILTER_LIMITS, __webpack_exports__RECORD_FILTER_OPS as RECORD_FILTER_OPS, __webpack_exports__RECORD_WRITE_TARGETS as RECORD_WRITE_TARGETS, __webpack_exports__RESERVED_WORDS as RESERVED_WORDS, __webpack_exports__RULE_COMPARISON_OPERATORS as RULE_COMPARISON_OPERATORS, __webpack_exports__RULE_DURATION_UNITS as RULE_DURATION_UNITS, __webpack_exports__RULE_ENGINE_LIMITS as RULE_ENGINE_LIMITS, __webpack_exports__RULE_ENGINE_MESSAGES as RULE_ENGINE_MESSAGES, __webpack_exports__RULE_PERMISSION_FUNCTIONS as RULE_PERMISSION_FUNCTIONS, __webpack_exports__RULE_REQUEST_FUNCTIONS as RULE_REQUEST_FUNCTIONS, __webpack_exports__RULE_TEMPLATE_MAX_LENGTH as RULE_TEMPLATE_MAX_LENGTH, __webpack_exports__ReferenceScannerService as ReferenceScannerService, __webpack_exports__RuleEngineService as RuleEngineService, __webpack_exports__SCHEMA_BLOCKER_MESSAGES as SCHEMA_BLOCKER_MESSAGES, __webpack_exports__SCHEMA_FINDING_MESSAGES as SCHEMA_FINDING_MESSAGES, __webpack_exports__SCHEMA_IMPACT_MESSAGES as SCHEMA_IMPACT_MESSAGES, __webpack_exports__SCHEMA_MESSAGES as SCHEMA_MESSAGES, __webpack_exports__SCHEMA_PRECHECK_MESSAGES as SCHEMA_PRECHECK_MESSAGES, __webpack_exports__SCHEMA_STEP_MESSAGES as SCHEMA_STEP_MESSAGES, __webpack_exports__SCHEMA_WARNING_MESSAGES as SCHEMA_WARNING_MESSAGES, __webpack_exports__SYSTEM_COLUMN_NAMES as SYSTEM_COLUMN_NAMES, __webpack_exports__SchemaChangeAction as SchemaChangeAction, __webpack_exports__SchemaChangeExecutor as SchemaChangeExecutor, __webpack_exports__SchemaChangeLog as SchemaChangeLog, __webpack_exports__SchemaChangeRequestDto as SchemaChangeRequestDto, __webpack_exports__SchemaCheckRequestDto as SchemaCheckRequestDto, __webpack_exports__SchemaDialectAdapterService as SchemaDialectAdapterService, __webpack_exports__SchemaEvolutionService as SchemaEvolutionService, __webpack_exports__SchemaRegistryService as SchemaRegistryService, __webpack_exports__SchemaSyncService as SchemaSyncService, __webpack_exports__UpdateEntityDefinitionDto as UpdateEntityDefinitionDto, __webpack_exports__UpdateFieldDefinitionDto as UpdateFieldDefinitionDto, __webpack_exports__actorMetadata as actorMetadata, __webpack_exports__addUnique as addUnique, __webpack_exports__assertIndexableField as assertIndexableField, __webpack_exports__assertValidIdentifier as assertValidIdentifier, __webpack_exports__auditColumns as auditColumns, __webpack_exports__buildEntityFlow as buildEntityFlow, __webpack_exports__buildFieldColumn as buildFieldColumn, __webpack_exports__buildSystemColumns as buildSystemColumns, __webpack_exports__callProblems as callProblems, __webpack_exports__defaultFlowPermissionCode as defaultFlowPermissionCode, __webpack_exports__describeImpact as describeImpact, __webpack_exports__entityFlowSlug as entityFlowSlug, __webpack_exports__errorRef as errorRef, __webpack_exports__findEndpoint as findEndpoint, __webpack_exports__fitIdentifier as fitIdentifier, __webpack_exports__flowEndpoints as flowEndpoints, __webpack_exports__flowNotFound as flowNotFound, __webpack_exports__flowTimeout as flowTimeout, __webpack_exports__getEntityBuilderEntities as getEntityBuilderEntities, __webpack_exports__indexName as indexName, __webpack_exports__isDestructiveSchemaAction as isDestructiveSchemaAction, __webpack_exports__isFunctionFlow as isFunctionFlow, __webpack_exports__isIndexableFieldType as isIndexableFieldType, __webpack_exports__isMessageNode as isMessageNode, __webpack_exports__isPermissionFunction as isPermissionFunction, __webpack_exports__isPublished as isPublished, __webpack_exports__isRecordFilterCondition as isRecordFilterCondition, __webpack_exports__isRuleGroup as isRuleGroup, __webpack_exports__isStoredApiKey as isStoredApiKey, __webpack_exports__mapDatabaseError as mapDatabaseError, __webpack_exports__mapSchemaError as mapSchemaError, __webpack_exports__nodeLabel as nodeLabel, __webpack_exports__plainIndex as plainIndex, __webpack_exports__planTypeConversion as planTypeConversion, __webpack_exports__portsOf as portsOf, __webpack_exports__relationTargetCodes as relationTargetCodes, __webpack_exports__requestInfo as requestInfo, __webpack_exports__sameColumns as sameColumns, __webpack_exports__snapshotOf as snapshotOf, __webpack_exports__softDeleteColumn as softDeleteColumn, __webpack_exports__sqlTypeFor as sqlTypeFor, __webpack_exports__startEndpoint as startEndpoint, __webpack_exports__tableUnique as tableUnique, __webpack_exports__toFlowSettings as toFlowSettings, __webpack_exports__triggerPath as triggerPath, __webpack_exports__typeFamily as typeFamily, __webpack_exports__usesPermissionFunction as usesPermissionFunction, __webpack_exports__validateFlow as validateFlow, __webpack_exports__validateRecord as validateRecord, __webpack_exports__workingCopy as workingCopy };
|
|
1136
|
+
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__BULK_MAX_ITEMS as BULK_MAX_ITEMS, __webpack_exports__CreateDynamicEntityDto as CreateDynamicEntityDto, __webpack_exports__CreateEntityDefinitionDto as CreateEntityDefinitionDto, __webpack_exports__CreateFieldDefinitionDto as CreateFieldDefinitionDto, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __webpack_exports__DdlOperation as DdlOperation, __webpack_exports__DefinitionCacheService as DefinitionCacheService, __webpack_exports__ENTITY_BUILDER_EVENT_ENTITIES as ENTITY_BUILDER_EVENT_ENTITIES, __webpack_exports__ENTITY_BUILDER_EVENT_MODULE as ENTITY_BUILDER_EVENT_MODULE, __webpack_exports__ENTITY_BUILDER_MODULE_OPTIONS as ENTITY_BUILDER_MODULE_OPTIONS, __webpack_exports__ENTITY_CHANGE_KEYS as ENTITY_CHANGE_KEYS, __webpack_exports__ENTITY_CODE_MAX_LENGTH as ENTITY_CODE_MAX_LENGTH, __webpack_exports__ENTITY_CODE_PATTERN as ENTITY_CODE_PATTERN, __webpack_exports__ENTITY_DEFINITION_MESSAGES as ENTITY_DEFINITION_MESSAGES, __webpack_exports__ENTITY_FLOW_ENDPOINTS as ENTITY_FLOW_ENDPOINTS, __webpack_exports__ENTITY_FLOW_PATHS as ENTITY_FLOW_PATHS, __webpack_exports__ENTITY_TABLE_PREFIX as ENTITY_TABLE_PREFIX, __webpack_exports__EntityBuilderConfigService as EntityBuilderConfigService, __webpack_exports__EntityBuilderDataSourceProvider as EntityBuilderDataSourceProvider, __webpack_exports__EntityBuilderEntities as EntityBuilderEntities, __webpack_exports__EntityBuilderModule as EntityBuilderModule, __webpack_exports__EntityChangesDto as EntityChangesDto, __webpack_exports__EntityDefinition as EntityDefinition, __webpack_exports__EntityDefinitionController as EntityDefinitionController, __webpack_exports__EntityDefinitionResponseDto as EntityDefinitionResponseDto, __webpack_exports__EntityDefinitionService as EntityDefinitionService, __webpack_exports__EntityFieldSpecDto as EntityFieldSpecDto, __webpack_exports__EntityFlowInputLabelsDto as EntityFlowInputLabelsDto, __webpack_exports__EntityFlowNamesDto as EntityFlowNamesDto, __webpack_exports__EntityFlowTextsDto as EntityFlowTextsDto, __webpack_exports__EntityPermissionService as EntityPermissionService, __webpack_exports__EntityStatus as EntityStatus, __webpack_exports__FIELD_CHANGE_KEYS as FIELD_CHANGE_KEYS, __webpack_exports__FIELD_DEFINITION_MESSAGES as FIELD_DEFINITION_MESSAGES, __webpack_exports__FIELD_VALIDATION_MESSAGES as FIELD_VALIDATION_MESSAGES, __webpack_exports__FLOW_AUTH_MODES as FLOW_AUTH_MODES, __webpack_exports__FLOW_BODY_TYPES as FLOW_BODY_TYPES, __webpack_exports__FLOW_DEFINITION_MESSAGES as FLOW_DEFINITION_MESSAGES, __webpack_exports__FLOW_ENDPOINT_PATH_PATTERN as FLOW_ENDPOINT_PATH_PATTERN, __webpack_exports__FLOW_ERROR_MESSAGES as FLOW_ERROR_MESSAGES, __webpack_exports__FLOW_INPUT_NAME_PATTERN as FLOW_INPUT_NAME_PATTERN, __webpack_exports__FLOW_INPUT_TYPES as FLOW_INPUT_TYPES, __webpack_exports__FLOW_LIMITS as FLOW_LIMITS, __webpack_exports__FLOW_MESSAGES as FLOW_MESSAGES, __webpack_exports__FLOW_NODE_ID_PATTERN as FLOW_NODE_ID_PATTERN, __webpack_exports__FLOW_NODE_TYPES as FLOW_NODE_TYPES, __webpack_exports__FLOW_REFERENCE_PROVIDER as FLOW_REFERENCE_PROVIDER, __webpack_exports__FLOW_RUN_AS as FLOW_RUN_AS, __webpack_exports__FLOW_SHAPE_MESSAGES as FLOW_SHAPE_MESSAGES, __webpack_exports__FLOW_SKIP_MESSAGES as FLOW_SKIP_MESSAGES, __webpack_exports__FLOW_SLUG_PATTERN as FLOW_SLUG_PATTERN, __webpack_exports__FLOW_SUBJECT_MESSAGES as FLOW_SUBJECT_MESSAGES, __webpack_exports__FLOW_VALIDATION_MESSAGES as FLOW_VALIDATION_MESSAGES, __webpack_exports__FieldChangesDto as FieldChangesDto, __webpack_exports__FieldDefinition as FieldDefinition, __webpack_exports__FieldDefinitionController as FieldDefinitionController, __webpack_exports__FieldDefinitionResponseDto as FieldDefinitionResponseDto, __webpack_exports__FieldDefinitionService as FieldDefinitionService, __webpack_exports__FieldType as FieldType, __webpack_exports__FlowAccessGuard as FlowAccessGuard, __webpack_exports__FlowApiKey as FlowApiKey, __webpack_exports__FlowApiKeyController as FlowApiKeyController, __webpack_exports__FlowApiKeyService as FlowApiKeyService, __webpack_exports__FlowCodeError as FlowCodeError, __webpack_exports__FlowDefinition as FlowDefinition, __webpack_exports__FlowDefinitionController as FlowDefinitionController, __webpack_exports__FlowDefinitionService as FlowDefinitionService, __webpack_exports__FlowExecution as FlowExecution, __webpack_exports__FlowExecutionController as FlowExecutionController, __webpack_exports__FlowExecutionService as FlowExecutionService, __webpack_exports__FlowExecutorService as FlowExecutorService, __webpack_exports__FlowHttpError as FlowHttpError, __webpack_exports__FlowKeyedError as FlowKeyedError, __webpack_exports__FlowLimitError as FlowLimitError, __webpack_exports__FlowNodeError as FlowNodeError, __webpack_exports__FlowReferenceProvider as FlowReferenceProvider, __webpack_exports__FlowRuntimeController as FlowRuntimeController, __webpack_exports__FlowRuntimeService as FlowRuntimeService, __webpack_exports__GENERIC_RECORD_MESSAGES as GENERIC_RECORD_MESSAGES, __webpack_exports__GenericEntityService as GenericEntityService, __webpack_exports__GenericEntityServiceFactory as GenericEntityServiceFactory, __webpack_exports__NON_CONTINUABLE_NODE_TYPES as NON_CONTINUABLE_NODE_TYPES, __webpack_exports__NON_INDEXABLE_FIELD_TYPES as NON_INDEXABLE_FIELD_TYPES, __webpack_exports__RECORD_FILTER_LIMITS as RECORD_FILTER_LIMITS, __webpack_exports__RECORD_FILTER_OPS as RECORD_FILTER_OPS, __webpack_exports__RECORD_WRITE_TARGETS as RECORD_WRITE_TARGETS, __webpack_exports__RESERVED_WORDS as RESERVED_WORDS, __webpack_exports__RULE_COMPARISON_OPERATORS as RULE_COMPARISON_OPERATORS, __webpack_exports__RULE_DURATION_UNITS as RULE_DURATION_UNITS, __webpack_exports__RULE_ENGINE_LIMITS as RULE_ENGINE_LIMITS, __webpack_exports__RULE_ENGINE_MESSAGES as RULE_ENGINE_MESSAGES, __webpack_exports__RULE_PERMISSION_FUNCTIONS as RULE_PERMISSION_FUNCTIONS, __webpack_exports__RULE_REQUEST_FUNCTIONS as RULE_REQUEST_FUNCTIONS, __webpack_exports__RULE_TEMPLATE_MAX_LENGTH as RULE_TEMPLATE_MAX_LENGTH, __webpack_exports__ReferenceScannerService as ReferenceScannerService, __webpack_exports__RuleEngineService as RuleEngineService, __webpack_exports__SCHEMA_BLOCKER_MESSAGES as SCHEMA_BLOCKER_MESSAGES, __webpack_exports__SCHEMA_FINDING_MESSAGES as SCHEMA_FINDING_MESSAGES, __webpack_exports__SCHEMA_IMPACT_MESSAGES as SCHEMA_IMPACT_MESSAGES, __webpack_exports__SCHEMA_MESSAGES as SCHEMA_MESSAGES, __webpack_exports__SCHEMA_PRECHECK_MESSAGES as SCHEMA_PRECHECK_MESSAGES, __webpack_exports__SCHEMA_STEP_MESSAGES as SCHEMA_STEP_MESSAGES, __webpack_exports__SCHEMA_WARNING_MESSAGES as SCHEMA_WARNING_MESSAGES, __webpack_exports__SYSTEM_COLUMN_NAMES as SYSTEM_COLUMN_NAMES, __webpack_exports__SchemaChangeAction as SchemaChangeAction, __webpack_exports__SchemaChangeExecutor as SchemaChangeExecutor, __webpack_exports__SchemaChangeLog as SchemaChangeLog, __webpack_exports__SchemaChangeRequestDto as SchemaChangeRequestDto, __webpack_exports__SchemaCheckRequestDto as SchemaCheckRequestDto, __webpack_exports__SchemaDialectAdapterService as SchemaDialectAdapterService, __webpack_exports__SchemaEvolutionService as SchemaEvolutionService, __webpack_exports__SchemaRegistryService as SchemaRegistryService, __webpack_exports__SchemaSyncService as SchemaSyncService, __webpack_exports__UpdateEntityDefinitionDto as UpdateEntityDefinitionDto, __webpack_exports__UpdateFieldDefinitionDto as UpdateFieldDefinitionDto, __webpack_exports__actorMetadata as actorMetadata, __webpack_exports__addUnique as addUnique, __webpack_exports__assertIndexableField as assertIndexableField, __webpack_exports__assertValidIdentifier as assertValidIdentifier, __webpack_exports__auditColumns as auditColumns, __webpack_exports__buildEntityFlow as buildEntityFlow, __webpack_exports__buildFieldColumn as buildFieldColumn, __webpack_exports__buildSystemColumns as buildSystemColumns, __webpack_exports__defaultFlowPermissionCode as defaultFlowPermissionCode, __webpack_exports__describeImpact as describeImpact, __webpack_exports__entityFlowSlug as entityFlowSlug, __webpack_exports__errorRef as errorRef, __webpack_exports__findEndpoint as findEndpoint, __webpack_exports__fitIdentifier as fitIdentifier, __webpack_exports__flowEndpoints as flowEndpoints, __webpack_exports__flowNotFound as flowNotFound, __webpack_exports__flowTimeout as flowTimeout, __webpack_exports__getEntityBuilderEntities as getEntityBuilderEntities, __webpack_exports__indexName as indexName, __webpack_exports__isDestructiveSchemaAction as isDestructiveSchemaAction, __webpack_exports__isIndexableFieldType as isIndexableFieldType, __webpack_exports__isPermissionFunction as isPermissionFunction, __webpack_exports__isRecordFilterCondition as isRecordFilterCondition, __webpack_exports__isRuleGroup as isRuleGroup, __webpack_exports__mapDatabaseError as mapDatabaseError, __webpack_exports__mapSchemaError as mapSchemaError, __webpack_exports__nodeLabel as nodeLabel, __webpack_exports__plainIndex as plainIndex, __webpack_exports__planTypeConversion as planTypeConversion, __webpack_exports__portsOf as portsOf, __webpack_exports__relationTargetCodes as relationTargetCodes, __webpack_exports__requestInfo as requestInfo, __webpack_exports__sameColumns as sameColumns, __webpack_exports__softDeleteColumn as softDeleteColumn, __webpack_exports__sqlTypeFor as sqlTypeFor, __webpack_exports__tableUnique as tableUnique, __webpack_exports__toFlowSettings as toFlowSettings, __webpack_exports__triggerPath as triggerPath, __webpack_exports__typeFamily as typeFamily, __webpack_exports__usesPermissionFunction as usesPermissionFunction, __webpack_exports__validateFlow as validateFlow, __webpack_exports__validateRecord as validateRecord };
|