@flusys/nestjs-entity-builder 9.2.0 → 9.2.1
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 +40 -22
- package/config/entity-builder.constants.d.ts +1 -0
- package/config/message-keys.d.ts +11 -2
- package/controllers/definition-bundle.controller.d.ts +2 -2
- package/controllers/entity-definition.controller.d.ts +0 -1
- package/controllers/field-definition.controller.d.ts +0 -1
- package/controllers/flow-definition.controller.d.ts +2 -1
- package/controllers/flow-runtime.controller.d.ts +4 -3
- package/fesm/21.js +13 -5
- package/fesm/{458.js → 28.js} +104 -62
- package/fesm/677.js +1234 -469
- package/fesm/794.js +1 -1
- package/fesm/857.js +1 -2
- package/fesm/870.js +415 -332
- package/fesm/897.js +23 -29
- package/fesm/946.js +67 -42
- package/fesm/config/index.js +10 -14
- package/fesm/docs/index.js +1 -1
- package/fesm/guards/index.js +15 -9
- package/fesm/index.js +25 -25
- package/fesm/modules/index.js +4 -3
- package/fesm/services/index.js +29 -58
- package/flow-engine/flow-code-runner.d.ts +16 -0
- package/flow-engine/flow-graph.validator.d.ts +1 -0
- package/flow-engine/flow-input.validator.d.ts +14 -0
- package/flow-engine/flow-run.types.d.ts +15 -0
- package/flow-engine/flow.types.d.ts +1 -1
- package/guards/designer-writable.interceptor.d.ts +1 -0
- package/interfaces/definition-bundle.interface.d.ts +2 -0
- package/interfaces/entity-builder-module.interface.d.ts +9 -0
- package/modules/entity-builder.module.d.ts +1 -0
- package/modules/index.d.ts +1 -0
- package/modules/tenant-context-id.strategy.d.ts +16 -0
- package/package.json +3 -4
- package/services/definition-bundle.diff.d.ts +0 -2
- package/services/definition-bundle.file.d.ts +2 -1
- package/services/definition-bundle.service.d.ts +0 -1
- package/services/entity-builder-config.service.d.ts +3 -0
- package/services/entity-builder-datasource.provider.d.ts +1 -0
- package/services/field-value-validator.d.ts +7 -0
- package/services/flow-definition.service.d.ts +10 -2
- package/services/flow-executor.service.d.ts +3 -0
- package/services/flow-runtime.service.d.ts +6 -1
- package/services/generic-entity-service.factory.d.ts +5 -1
- package/services/generic-entity.service.d.ts +24 -2
- package/services/identifier-rules.d.ts +0 -1
- package/services/save-loaded.d.ts +2 -0
- package/services/schema-columns.d.ts +7 -2
- package/services/schema-evolution.service.d.ts +8 -2
- package/services/schema-registry.service.d.ts +12 -0
- package/services/schema-sync.service.d.ts +3 -1
- package/flow-engine/flow-code-sandbox.d.ts +0 -5
package/fesm/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
33
33
|
j4: () => (/* reexport safe */ _message_keys_js__rspack_import_2.j4),
|
|
34
34
|
oc: () => (/* reexport safe */ _message_keys_js__rspack_import_2.oc),
|
|
35
35
|
pL: () => (/* reexport safe */ _message_keys_js__rspack_import_2.pL),
|
|
36
|
+
qX: () => (/* reexport safe */ (/* inlined export _entity_builder_constants_js__rspack_import_0 */1000)),
|
|
36
37
|
qj: () => (/* reexport safe */ _message_keys_js__rspack_import_2.qj),
|
|
37
38
|
vs: () => (/* reexport safe */ _entity_builder_constants_js__rspack_import_0.vs),
|
|
38
39
|
wu: () => (/* reexport safe */ _message_keys_js__rspack_import_2.wu),
|
|
@@ -120,6 +121,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
120
121
|
JEv: () => (/* reexport */ dtos/* .DefinitionBundleDto */.JE),
|
|
121
122
|
P0o: () => (/* reexport */ services/* .DefinitionBundleService */.P0),
|
|
122
123
|
Vo2: () => (/* reexport */ services/* .DefinitionCacheService */.Vo),
|
|
124
|
+
H6L: () => (/* reexport */ guards/* .DesignerAllowsRepair */.H6),
|
|
123
125
|
Xgv: () => (/* reexport */ guards/* .DesignerWritableInterceptor */.Xg),
|
|
124
126
|
WqV: () => (/* reexport */ guards/* .DesignerWrites */.Wq),
|
|
125
127
|
Ohl: () => (/* reexport */ interfaces/* .EMPTY_FILTER_OPS */.Oh),
|
|
@@ -127,10 +129,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
127
129
|
SDV: () => (/* reexport */ config/* .ENTITY_BUILDER_EVENT_MODULE */.SD),
|
|
128
130
|
CPn: () => (/* reexport */ config/* .ENTITY_BUILDER_MODULE_OPTIONS */.CP),
|
|
129
131
|
EAB: () => (/* reexport */ config/* .ENTITY_BUNDLE_MAX_BYTES */.EA),
|
|
132
|
+
qXZ: () => (/* reexport */ config/* .ENTITY_BUNDLE_MAX_FILES */.qX),
|
|
130
133
|
OiO: () => (/* reexport */ dtos/* .ENTITY_CHANGE_KEYS */.Oi),
|
|
131
134
|
KAD: () => (/* reexport */ config/* .ENTITY_CODE_MAX_LENGTH */.KA),
|
|
132
135
|
vs4: () => (/* reexport */ config/* .ENTITY_CODE_PATTERN */.vs),
|
|
133
|
-
$I: () => (/* reexport */ services/* .ENTITY_COMPARED_KEYS */.$I),
|
|
134
136
|
pL8: () => (/* reexport */ config/* .ENTITY_DEFINITION_MESSAGES */.pL),
|
|
135
137
|
WTy: () => (/* reexport */ config/* .ENTITY_FLOW_ENDPOINTS */.WT),
|
|
136
138
|
IPI: () => (/* reexport */ services/* .ENTITY_FLOW_PATHS */.IP),
|
|
@@ -152,7 +154,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
152
154
|
cxn: () => (/* reexport */ enums/* .EntityStatus */.cx),
|
|
153
155
|
QJI: () => (/* reexport */ dtos/* .ExportBundleDto */.QJ),
|
|
154
156
|
bDG: () => (/* reexport */ dtos/* .FIELD_CHANGE_KEYS */.bD),
|
|
155
|
-
mT8: () => (/* reexport */ services/* .FIELD_COMPARED_KEYS */.mT),
|
|
156
157
|
oc_: () => (/* reexport */ config/* .FIELD_DEFINITION_MESSAGES */.oc),
|
|
157
158
|
KE: () => (/* reexport */ config/* .FIELD_VALIDATION_MESSAGES */.KE),
|
|
158
159
|
w9L: () => (/* reexport */ interfaces/* .FILTER_OP_VALUE_KIND */.w9),
|
|
@@ -214,12 +215,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
214
215
|
vSK: () => (/* reexport */ dtos/* .ImportBundleOptionsDto */.vS),
|
|
215
216
|
d7n: () => (/* reexport */ flow_types/* .KEYLESS_AUTH_MODES */.d7),
|
|
216
217
|
yVv: () => (/* reexport */ interfaces/* .LIST_FIELD_FILTER_OPS */.yV),
|
|
218
|
+
vxV: () => (/* reexport */ services/* .LIVE_ROWS_WHERE */.vx),
|
|
217
219
|
At$: () => (/* reexport */ flow_types/* .NON_CONTINUABLE_NODE_TYPES */.At),
|
|
218
|
-
gWB: () => (/* reexport */ services/* .NON_INDEXABLE_FIELD_TYPES */.gW),
|
|
219
220
|
M51: () => (/* reexport */ interfaces/* .RECORD_FILTER_LIMITS */.M5),
|
|
220
221
|
oxG: () => (/* reexport */ interfaces/* .RECORD_FILTER_OPS */.ox),
|
|
221
222
|
Dnt: () => (/* reexport */ flow_types/* .RECORD_WRITE_TARGETS */.Dn),
|
|
222
|
-
xJi: () => (/* reexport */ services/* .RESERVED_WORDS */.xJ),
|
|
223
223
|
dJk: () => (/* reexport */ rule_engine/* .RULE_COMPARISON_OPERATORS */.dJ),
|
|
224
224
|
qOZ: () => (/* reexport */ rule_engine/* .RULE_DURATION_UNITS */.qO),
|
|
225
225
|
bw: () => (/* reexport */ rule_engine/* .RULE_ENGINE_LIMITS */.bw),
|
|
@@ -247,6 +247,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
247
247
|
CyA: () => (/* reexport */ services/* .SchemaRegistryService */.Cy),
|
|
248
248
|
WQX: () => (/* reexport */ services/* .SchemaSyncService */.WQ),
|
|
249
249
|
wkp: () => (/* reexport */ interfaces/* .TEXT_FILTER_OPS */.wk),
|
|
250
|
+
o7d: () => (/* reexport */ modules/* .TenantContextIdStrategy */.o),
|
|
250
251
|
hL_: () => (/* reexport */ dtos/* .UpdateEntityDefinitionDto */.hL),
|
|
251
252
|
C3I: () => (/* reexport */ dtos/* .UpdateFieldDefinitionDto */.C3),
|
|
252
253
|
DGs: () => (/* reexport */ services/* .actorMetadata */.DG),
|
|
@@ -282,10 +283,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
282
283
|
gld: () => (/* reexport */ services/* .flowTimeout */.gl),
|
|
283
284
|
acI: () => (/* reexport */ entities/* .getEntityBuilderEntities */.ac),
|
|
284
285
|
mo7: () => (/* reexport */ services/* .indexName */.mo),
|
|
286
|
+
w5A: () => (/* reexport */ services/* .indexedByDefault */.w5),
|
|
285
287
|
C5: () => (/* reexport */ services/* .isDestructiveSchemaAction */.C5),
|
|
286
288
|
iAn: () => (/* reexport */ interfaces/* .isFilterRange */.iA),
|
|
287
289
|
fPx: () => (/* reexport */ flow_types/* .isFunctionFlow */.fP),
|
|
288
290
|
d4l: () => (/* reexport */ services/* .isIndexableFieldType */.d4),
|
|
291
|
+
YSp: () => (/* reexport */ services/* .isLiveRowsIndex */.YS),
|
|
289
292
|
SEA: () => (/* reexport */ flow_types/* .isMessageNode */.SE),
|
|
290
293
|
A8n: () => (/* reexport */ rule_engine/* .isPermissionFunction */.A8),
|
|
291
294
|
HFh: () => (/* reexport */ services/* .isPublished */.HF),
|
|
@@ -302,6 +305,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
302
305
|
pp8: () => (/* reexport */ services/* .planTypeConversion */.IM),
|
|
303
306
|
a58: () => (/* reexport */ flow_types/* .portsOf */.a5),
|
|
304
307
|
zim: () => (/* reexport */ services/* .readBundleFile */.zi),
|
|
308
|
+
KA4: () => (/* reexport */ services/* .readBundleFiles */.KA),
|
|
305
309
|
e1H: () => (/* reexport */ services/* .relationTargetCodes */.e1),
|
|
306
310
|
SdQ: () => (/* reexport */ services/* .requestInfo */.Sd),
|
|
307
311
|
G7J: () => (/* reexport */ services/* .sameColumns */.G7),
|
|
@@ -309,6 +313,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
309
313
|
OGf: () => (/* reexport */ services/* .softDeleteColumn */.OG),
|
|
310
314
|
cgo: () => (/* reexport */ services/* .sqlTypeFor */.cg),
|
|
311
315
|
IEC: () => (/* reexport */ flow_types/* .startEndpoint */.IE),
|
|
316
|
+
xV7: () => (/* reexport */ services/* .statementTimeoutSql */.xV),
|
|
312
317
|
dXj: () => (/* reexport */ services/* .stripApiKeys */.dX),
|
|
313
318
|
uyQ: () => (/* reexport */ services/* .tableUnique */.uy),
|
|
314
319
|
RKn: () => (/* reexport */ services/* .toFlowSettings */.RK),
|
|
@@ -318,6 +323,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
318
323
|
u99: () => (/* reexport */ flow_graph_validator/* .usesPermissionFunction */.u9),
|
|
319
324
|
nCR: () => (/* reexport */ flow_graph_validator/* .validateFlow */.nC),
|
|
320
325
|
eVP: () => (/* reexport */ services/* .validateRecord */.eV),
|
|
326
|
+
CMj: () => (/* reexport */ services/* .valueRulesOf */.CM),
|
|
321
327
|
lwz: () => (/* reexport */ services/* .workingCopy */.lw),
|
|
322
328
|
l6E: () => (/* reexport */ services/* .writtenSecrets */.l6)
|
|
323
329
|
});
|
|
@@ -348,34 +354,23 @@ var enums = __webpack_require__(6188);
|
|
|
348
354
|
var guards = __webpack_require__(5460);
|
|
349
355
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/interfaces/index.ts
|
|
350
356
|
var interfaces = __webpack_require__(9546);
|
|
351
|
-
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/modules/index.ts +
|
|
352
|
-
var modules = __webpack_require__(
|
|
357
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/modules/index.ts + 4 modules
|
|
358
|
+
var modules = __webpack_require__(4735);
|
|
353
359
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/rule-engine/index.ts + 2 modules
|
|
354
360
|
var rule_engine = __webpack_require__(8552);
|
|
355
|
-
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/index.ts +
|
|
356
|
-
var services = __webpack_require__(
|
|
361
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/index.ts + 2 modules
|
|
362
|
+
var services = __webpack_require__(712);
|
|
357
363
|
;// CONCATENATED MODULE: ./projects/nestjs-entity-builder/src/index.ts
|
|
358
|
-
// Config
|
|
359
364
|
|
|
360
|
-
// Controllers
|
|
361
365
|
|
|
362
|
-
// DTOs
|
|
363
366
|
|
|
364
|
-
// Entities
|
|
365
367
|
|
|
366
|
-
// Flow types, errors and validation
|
|
367
368
|
|
|
368
|
-
// Enums
|
|
369
369
|
|
|
370
|
-
// Guards
|
|
371
370
|
|
|
372
|
-
// Interfaces
|
|
373
371
|
|
|
374
|
-
// Modules
|
|
375
372
|
|
|
376
|
-
// Rule engine
|
|
377
373
|
|
|
378
|
-
// Services
|
|
379
374
|
|
|
380
375
|
|
|
381
376
|
|
|
@@ -425,7 +420,7 @@ import * as __rspack_chunk_6 from './870.js';
|
|
|
425
420
|
__webpack_require__.C(__rspack_chunk_6);
|
|
426
421
|
import * as __rspack_chunk_7 from './946.js';
|
|
427
422
|
__webpack_require__.C(__rspack_chunk_7);
|
|
428
|
-
import * as __rspack_chunk_8 from './
|
|
423
|
+
import * as __rspack_chunk_8 from './28.js';
|
|
429
424
|
__webpack_require__.C(__rspack_chunk_8);
|
|
430
425
|
import * as __rspack_chunk_9 from './index.js';
|
|
431
426
|
__webpack_require__.C(__rspack_chunk_9);
|
|
@@ -447,6 +442,7 @@ var __webpack_exports__DefinitionBundleController = __webpack_exports__.APL;
|
|
|
447
442
|
var __webpack_exports__DefinitionBundleDto = __webpack_exports__.JEv;
|
|
448
443
|
var __webpack_exports__DefinitionBundleService = __webpack_exports__.P0o;
|
|
449
444
|
var __webpack_exports__DefinitionCacheService = __webpack_exports__.Vo2;
|
|
445
|
+
var __webpack_exports__DesignerAllowsRepair = __webpack_exports__.H6L;
|
|
450
446
|
var __webpack_exports__DesignerWritableInterceptor = __webpack_exports__.Xgv;
|
|
451
447
|
var __webpack_exports__DesignerWrites = __webpack_exports__.WqV;
|
|
452
448
|
var __webpack_exports__EMPTY_FILTER_OPS = __webpack_exports__.Ohl;
|
|
@@ -454,10 +450,10 @@ var __webpack_exports__ENTITY_BUILDER_EVENT_ENTITIES = __webpack_exports__.P1Q;
|
|
|
454
450
|
var __webpack_exports__ENTITY_BUILDER_EVENT_MODULE = __webpack_exports__.SDV;
|
|
455
451
|
var __webpack_exports__ENTITY_BUILDER_MODULE_OPTIONS = __webpack_exports__.CPn;
|
|
456
452
|
var __webpack_exports__ENTITY_BUNDLE_MAX_BYTES = __webpack_exports__.EAB;
|
|
453
|
+
var __webpack_exports__ENTITY_BUNDLE_MAX_FILES = __webpack_exports__.qXZ;
|
|
457
454
|
var __webpack_exports__ENTITY_CHANGE_KEYS = __webpack_exports__.OiO;
|
|
458
455
|
var __webpack_exports__ENTITY_CODE_MAX_LENGTH = __webpack_exports__.KAD;
|
|
459
456
|
var __webpack_exports__ENTITY_CODE_PATTERN = __webpack_exports__.vs4;
|
|
460
|
-
var __webpack_exports__ENTITY_COMPARED_KEYS = __webpack_exports__.$I;
|
|
461
457
|
var __webpack_exports__ENTITY_DEFINITION_MESSAGES = __webpack_exports__.pL8;
|
|
462
458
|
var __webpack_exports__ENTITY_FLOW_ENDPOINTS = __webpack_exports__.WTy;
|
|
463
459
|
var __webpack_exports__ENTITY_FLOW_PATHS = __webpack_exports__.IPI;
|
|
@@ -479,7 +475,6 @@ var __webpack_exports__EntityPermissionService = __webpack_exports__.u43;
|
|
|
479
475
|
var __webpack_exports__EntityStatus = __webpack_exports__.cxn;
|
|
480
476
|
var __webpack_exports__ExportBundleDto = __webpack_exports__.QJI;
|
|
481
477
|
var __webpack_exports__FIELD_CHANGE_KEYS = __webpack_exports__.bDG;
|
|
482
|
-
var __webpack_exports__FIELD_COMPARED_KEYS = __webpack_exports__.mT8;
|
|
483
478
|
var __webpack_exports__FIELD_DEFINITION_MESSAGES = __webpack_exports__.oc_;
|
|
484
479
|
var __webpack_exports__FIELD_VALIDATION_MESSAGES = __webpack_exports__.KE;
|
|
485
480
|
var __webpack_exports__FILTER_OP_VALUE_KIND = __webpack_exports__.w9L;
|
|
@@ -541,12 +536,11 @@ var __webpack_exports__GenericEntityServiceFactory = __webpack_exports__.GR_;
|
|
|
541
536
|
var __webpack_exports__ImportBundleOptionsDto = __webpack_exports__.vSK;
|
|
542
537
|
var __webpack_exports__KEYLESS_AUTH_MODES = __webpack_exports__.d7n;
|
|
543
538
|
var __webpack_exports__LIST_FIELD_FILTER_OPS = __webpack_exports__.yVv;
|
|
539
|
+
var __webpack_exports__LIVE_ROWS_WHERE = __webpack_exports__.vxV;
|
|
544
540
|
var __webpack_exports__NON_CONTINUABLE_NODE_TYPES = __webpack_exports__.At$;
|
|
545
|
-
var __webpack_exports__NON_INDEXABLE_FIELD_TYPES = __webpack_exports__.gWB;
|
|
546
541
|
var __webpack_exports__RECORD_FILTER_LIMITS = __webpack_exports__.M51;
|
|
547
542
|
var __webpack_exports__RECORD_FILTER_OPS = __webpack_exports__.oxG;
|
|
548
543
|
var __webpack_exports__RECORD_WRITE_TARGETS = __webpack_exports__.Dnt;
|
|
549
|
-
var __webpack_exports__RESERVED_WORDS = __webpack_exports__.xJi;
|
|
550
544
|
var __webpack_exports__RULE_COMPARISON_OPERATORS = __webpack_exports__.dJk;
|
|
551
545
|
var __webpack_exports__RULE_DURATION_UNITS = __webpack_exports__.qOZ;
|
|
552
546
|
var __webpack_exports__RULE_ENGINE_LIMITS = __webpack_exports__.bw;
|
|
@@ -574,6 +568,7 @@ var __webpack_exports__SchemaEvolutionService = __webpack_exports__._XM;
|
|
|
574
568
|
var __webpack_exports__SchemaRegistryService = __webpack_exports__.CyA;
|
|
575
569
|
var __webpack_exports__SchemaSyncService = __webpack_exports__.WQX;
|
|
576
570
|
var __webpack_exports__TEXT_FILTER_OPS = __webpack_exports__.wkp;
|
|
571
|
+
var __webpack_exports__TenantContextIdStrategy = __webpack_exports__.o7d;
|
|
577
572
|
var __webpack_exports__UpdateEntityDefinitionDto = __webpack_exports__.hL_;
|
|
578
573
|
var __webpack_exports__UpdateFieldDefinitionDto = __webpack_exports__.C3I;
|
|
579
574
|
var __webpack_exports__actorMetadata = __webpack_exports__.DGs;
|
|
@@ -609,10 +604,12 @@ var __webpack_exports__flowPermissions = __webpack_exports__.j4A;
|
|
|
609
604
|
var __webpack_exports__flowTimeout = __webpack_exports__.gld;
|
|
610
605
|
var __webpack_exports__getEntityBuilderEntities = __webpack_exports__.acI;
|
|
611
606
|
var __webpack_exports__indexName = __webpack_exports__.mo7;
|
|
607
|
+
var __webpack_exports__indexedByDefault = __webpack_exports__.w5A;
|
|
612
608
|
var __webpack_exports__isDestructiveSchemaAction = __webpack_exports__.C5;
|
|
613
609
|
var __webpack_exports__isFilterRange = __webpack_exports__.iAn;
|
|
614
610
|
var __webpack_exports__isFunctionFlow = __webpack_exports__.fPx;
|
|
615
611
|
var __webpack_exports__isIndexableFieldType = __webpack_exports__.d4l;
|
|
612
|
+
var __webpack_exports__isLiveRowsIndex = __webpack_exports__.YSp;
|
|
616
613
|
var __webpack_exports__isMessageNode = __webpack_exports__.SEA;
|
|
617
614
|
var __webpack_exports__isPermissionFunction = __webpack_exports__.A8n;
|
|
618
615
|
var __webpack_exports__isPublished = __webpack_exports__.HFh;
|
|
@@ -629,6 +626,7 @@ var __webpack_exports__plainIndex = __webpack_exports__.v78;
|
|
|
629
626
|
var __webpack_exports__planTypeConversion = __webpack_exports__.pp8;
|
|
630
627
|
var __webpack_exports__portsOf = __webpack_exports__.a58;
|
|
631
628
|
var __webpack_exports__readBundleFile = __webpack_exports__.zim;
|
|
629
|
+
var __webpack_exports__readBundleFiles = __webpack_exports__.KA4;
|
|
632
630
|
var __webpack_exports__relationTargetCodes = __webpack_exports__.e1H;
|
|
633
631
|
var __webpack_exports__requestInfo = __webpack_exports__.SdQ;
|
|
634
632
|
var __webpack_exports__sameColumns = __webpack_exports__.G7J;
|
|
@@ -636,6 +634,7 @@ var __webpack_exports__snapshotOf = __webpack_exports__.eYs;
|
|
|
636
634
|
var __webpack_exports__softDeleteColumn = __webpack_exports__.OGf;
|
|
637
635
|
var __webpack_exports__sqlTypeFor = __webpack_exports__.cgo;
|
|
638
636
|
var __webpack_exports__startEndpoint = __webpack_exports__.IEC;
|
|
637
|
+
var __webpack_exports__statementTimeoutSql = __webpack_exports__.xV7;
|
|
639
638
|
var __webpack_exports__stripApiKeys = __webpack_exports__.dXj;
|
|
640
639
|
var __webpack_exports__tableUnique = __webpack_exports__.uyQ;
|
|
641
640
|
var __webpack_exports__toFlowSettings = __webpack_exports__.RKn;
|
|
@@ -645,6 +644,7 @@ var __webpack_exports__typeFamily = __webpack_exports__.jpR;
|
|
|
645
644
|
var __webpack_exports__usesPermissionFunction = __webpack_exports__.u99;
|
|
646
645
|
var __webpack_exports__validateFlow = __webpack_exports__.nCR;
|
|
647
646
|
var __webpack_exports__validateRecord = __webpack_exports__.eVP;
|
|
647
|
+
var __webpack_exports__valueRulesOf = __webpack_exports__.CMj;
|
|
648
648
|
var __webpack_exports__workingCopy = __webpack_exports__.lwz;
|
|
649
649
|
var __webpack_exports__writtenSecrets = __webpack_exports__.l6E;
|
|
650
|
-
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__BUNDLE_MESSAGES as BUNDLE_MESSAGES, __webpack_exports__BUNDLE_VARIABLE_NAME_PATTERN as BUNDLE_VARIABLE_NAME_PATTERN, __webpack_exports__BundleEntityDto as BundleEntityDto, __webpack_exports__BundleFieldDto as BundleFieldDto, __webpack_exports__BundleFlowDto as BundleFlowDto, __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__DEFINITION_BUNDLE_FORMAT as DEFINITION_BUNDLE_FORMAT, __webpack_exports__DEFINITION_BUNDLE_VERSION as DEFINITION_BUNDLE_VERSION, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __webpack_exports__DdlOperation as DdlOperation, __webpack_exports__DefinitionBundleController as DefinitionBundleController, __webpack_exports__DefinitionBundleDto as DefinitionBundleDto, __webpack_exports__DefinitionBundleService as DefinitionBundleService, __webpack_exports__DefinitionCacheService as DefinitionCacheService, __webpack_exports__DesignerWritableInterceptor as DesignerWritableInterceptor, __webpack_exports__DesignerWrites as DesignerWrites, __webpack_exports__EMPTY_FILTER_OPS as EMPTY_FILTER_OPS, __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_BUNDLE_MAX_BYTES as ENTITY_BUNDLE_MAX_BYTES, __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_COMPARED_KEYS as ENTITY_COMPARED_KEYS, __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__ExportBundleDto as ExportBundleDto, __webpack_exports__FIELD_CHANGE_KEYS as FIELD_CHANGE_KEYS, __webpack_exports__FIELD_COMPARED_KEYS as FIELD_COMPARED_KEYS, __webpack_exports__FIELD_DEFINITION_MESSAGES as FIELD_DEFINITION_MESSAGES, __webpack_exports__FIELD_VALIDATION_MESSAGES as FIELD_VALIDATION_MESSAGES, __webpack_exports__FILTER_OP_VALUE_KIND as FILTER_OP_VALUE_KIND, __webpack_exports__FLOW_ACCESS_SUBJECTS as FLOW_ACCESS_SUBJECTS, __webpack_exports__FLOW_AUTH_MODES as FLOW_AUTH_MODES, __webpack_exports__FLOW_BODY_TYPES as FLOW_BODY_TYPES, __webpack_exports__FLOW_BRANCH_COMPANIES as FLOW_BRANCH_COMPANIES, __webpack_exports__FLOW_BRANCH_MATCHES as FLOW_BRANCH_MATCHES, __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_REQUEST_CONTRACTS as FLOW_REQUEST_CONTRACTS, __webpack_exports__FLOW_RESPONSE_FORMATS as FLOW_RESPONSE_FORMATS, __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__ImportBundleOptionsDto as ImportBundleOptionsDto, __webpack_exports__KEYLESS_AUTH_MODES as KEYLESS_AUTH_MODES, __webpack_exports__LIST_FIELD_FILTER_OPS as LIST_FIELD_FILTER_OPS, __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__TEXT_FILTER_OPS as TEXT_FILTER_OPS, __webpack_exports__UpdateEntityDefinitionDto as UpdateEntityDefinitionDto, __webpack_exports__UpdateFieldDefinitionDto as UpdateFieldDefinitionDto, __webpack_exports__actorMetadata as actorMetadata, __webpack_exports__addUnique as addUnique, __webpack_exports__applyVariables as applyVariables, __webpack_exports__asksExecutePermission as asksExecutePermission, __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__bundleChecksum as bundleChecksum, __webpack_exports__bundleSubject as bundleSubject, __webpack_exports__byCode as byCode, __webpack_exports__callProblems as callProblems, __webpack_exports__calledFlowSlugs as calledFlowSlugs, __webpack_exports__canonicalJson as canonicalJson, __webpack_exports__contractFields as contractFields, __webpack_exports__defaultFlowPermissionCode as defaultFlowPermissionCode, __webpack_exports__describeImpact as describeImpact, __webpack_exports__diffEntities as diffEntities, __webpack_exports__entityFlowSlug as entityFlowSlug, __webpack_exports__entityPermissionCodes as entityPermissionCodes, __webpack_exports__errorRef as errorRef, __webpack_exports__extractVariables as extractVariables, __webpack_exports__findEndpoint as findEndpoint, __webpack_exports__fitIdentifier as fitIdentifier, __webpack_exports__fixedIds as fixedIds, __webpack_exports__flowEndpoints as flowEndpoints, __webpack_exports__flowNotFound as flowNotFound, __webpack_exports__flowPermissions as flowPermissions, __webpack_exports__flowTimeout as flowTimeout, __webpack_exports__getEntityBuilderEntities as getEntityBuilderEntities, __webpack_exports__indexName as indexName, __webpack_exports__isDestructiveSchemaAction as isDestructiveSchemaAction, __webpack_exports__isFilterRange as isFilterRange, __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__matchDefinitions as matchDefinitions, __webpack_exports__nodeLabel as nodeLabel, __webpack_exports__orderFlows as orderFlows, __webpack_exports__permissionCodes as permissionCodes, __webpack_exports__plainIndex as plainIndex, __webpack_exports__planTypeConversion as planTypeConversion, __webpack_exports__portsOf as portsOf, __webpack_exports__readBundleFile as readBundleFile, __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__stripApiKeys as stripApiKeys, __webpack_exports__tableUnique as tableUnique, __webpack_exports__toFlowSettings as toFlowSettings, __webpack_exports__triggerContract as triggerContract, __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, __webpack_exports__writtenSecrets as writtenSecrets };
|
|
650
|
+
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__BUNDLE_MESSAGES as BUNDLE_MESSAGES, __webpack_exports__BUNDLE_VARIABLE_NAME_PATTERN as BUNDLE_VARIABLE_NAME_PATTERN, __webpack_exports__BundleEntityDto as BundleEntityDto, __webpack_exports__BundleFieldDto as BundleFieldDto, __webpack_exports__BundleFlowDto as BundleFlowDto, __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__DEFINITION_BUNDLE_FORMAT as DEFINITION_BUNDLE_FORMAT, __webpack_exports__DEFINITION_BUNDLE_VERSION as DEFINITION_BUNDLE_VERSION, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __webpack_exports__DdlOperation as DdlOperation, __webpack_exports__DefinitionBundleController as DefinitionBundleController, __webpack_exports__DefinitionBundleDto as DefinitionBundleDto, __webpack_exports__DefinitionBundleService as DefinitionBundleService, __webpack_exports__DefinitionCacheService as DefinitionCacheService, __webpack_exports__DesignerAllowsRepair as DesignerAllowsRepair, __webpack_exports__DesignerWritableInterceptor as DesignerWritableInterceptor, __webpack_exports__DesignerWrites as DesignerWrites, __webpack_exports__EMPTY_FILTER_OPS as EMPTY_FILTER_OPS, __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_BUNDLE_MAX_BYTES as ENTITY_BUNDLE_MAX_BYTES, __webpack_exports__ENTITY_BUNDLE_MAX_FILES as ENTITY_BUNDLE_MAX_FILES, __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__ExportBundleDto as ExportBundleDto, __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__FILTER_OP_VALUE_KIND as FILTER_OP_VALUE_KIND, __webpack_exports__FLOW_ACCESS_SUBJECTS as FLOW_ACCESS_SUBJECTS, __webpack_exports__FLOW_AUTH_MODES as FLOW_AUTH_MODES, __webpack_exports__FLOW_BODY_TYPES as FLOW_BODY_TYPES, __webpack_exports__FLOW_BRANCH_COMPANIES as FLOW_BRANCH_COMPANIES, __webpack_exports__FLOW_BRANCH_MATCHES as FLOW_BRANCH_MATCHES, __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_REQUEST_CONTRACTS as FLOW_REQUEST_CONTRACTS, __webpack_exports__FLOW_RESPONSE_FORMATS as FLOW_RESPONSE_FORMATS, __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__ImportBundleOptionsDto as ImportBundleOptionsDto, __webpack_exports__KEYLESS_AUTH_MODES as KEYLESS_AUTH_MODES, __webpack_exports__LIST_FIELD_FILTER_OPS as LIST_FIELD_FILTER_OPS, __webpack_exports__LIVE_ROWS_WHERE as LIVE_ROWS_WHERE, __webpack_exports__NON_CONTINUABLE_NODE_TYPES as NON_CONTINUABLE_NODE_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__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__TEXT_FILTER_OPS as TEXT_FILTER_OPS, __webpack_exports__TenantContextIdStrategy as TenantContextIdStrategy, __webpack_exports__UpdateEntityDefinitionDto as UpdateEntityDefinitionDto, __webpack_exports__UpdateFieldDefinitionDto as UpdateFieldDefinitionDto, __webpack_exports__actorMetadata as actorMetadata, __webpack_exports__addUnique as addUnique, __webpack_exports__applyVariables as applyVariables, __webpack_exports__asksExecutePermission as asksExecutePermission, __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__bundleChecksum as bundleChecksum, __webpack_exports__bundleSubject as bundleSubject, __webpack_exports__byCode as byCode, __webpack_exports__callProblems as callProblems, __webpack_exports__calledFlowSlugs as calledFlowSlugs, __webpack_exports__canonicalJson as canonicalJson, __webpack_exports__contractFields as contractFields, __webpack_exports__defaultFlowPermissionCode as defaultFlowPermissionCode, __webpack_exports__describeImpact as describeImpact, __webpack_exports__diffEntities as diffEntities, __webpack_exports__entityFlowSlug as entityFlowSlug, __webpack_exports__entityPermissionCodes as entityPermissionCodes, __webpack_exports__errorRef as errorRef, __webpack_exports__extractVariables as extractVariables, __webpack_exports__findEndpoint as findEndpoint, __webpack_exports__fitIdentifier as fitIdentifier, __webpack_exports__fixedIds as fixedIds, __webpack_exports__flowEndpoints as flowEndpoints, __webpack_exports__flowNotFound as flowNotFound, __webpack_exports__flowPermissions as flowPermissions, __webpack_exports__flowTimeout as flowTimeout, __webpack_exports__getEntityBuilderEntities as getEntityBuilderEntities, __webpack_exports__indexName as indexName, __webpack_exports__indexedByDefault as indexedByDefault, __webpack_exports__isDestructiveSchemaAction as isDestructiveSchemaAction, __webpack_exports__isFilterRange as isFilterRange, __webpack_exports__isFunctionFlow as isFunctionFlow, __webpack_exports__isIndexableFieldType as isIndexableFieldType, __webpack_exports__isLiveRowsIndex as isLiveRowsIndex, __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__matchDefinitions as matchDefinitions, __webpack_exports__nodeLabel as nodeLabel, __webpack_exports__orderFlows as orderFlows, __webpack_exports__permissionCodes as permissionCodes, __webpack_exports__plainIndex as plainIndex, __webpack_exports__planTypeConversion as planTypeConversion, __webpack_exports__portsOf as portsOf, __webpack_exports__readBundleFile as readBundleFile, __webpack_exports__readBundleFiles as readBundleFiles, __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__statementTimeoutSql as statementTimeoutSql, __webpack_exports__stripApiKeys as stripApiKeys, __webpack_exports__tableUnique as tableUnique, __webpack_exports__toFlowSettings as toFlowSettings, __webpack_exports__triggerContract as triggerContract, __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__valueRulesOf as valueRulesOf, __webpack_exports__workingCopy as workingCopy, __webpack_exports__writtenSecrets as writtenSecrets };
|
package/fesm/modules/index.js
CHANGED
|
@@ -17,9 +17,10 @@ import * as __rspack_chunk_6 from '../870.js';
|
|
|
17
17
|
__webpack_require__.C(__rspack_chunk_6);
|
|
18
18
|
import * as __rspack_chunk_7 from '../946.js';
|
|
19
19
|
__webpack_require__.C(__rspack_chunk_7);
|
|
20
|
-
import * as __rspack_chunk_8 from '../
|
|
20
|
+
import * as __rspack_chunk_8 from '../28.js';
|
|
21
21
|
__webpack_require__.C(__rspack_chunk_8);
|
|
22
22
|
import * as __rspack_chunk_9 from './index.js';
|
|
23
23
|
__webpack_require__.C(__rspack_chunk_9);
|
|
24
|
-
var __webpack_exports__ = __webpack_exec__(
|
|
25
|
-
|
|
24
|
+
var __webpack_exports__ = __webpack_exec__(4735);var __webpack_exports__EntityBuilderModule = __webpack_exports__.l;
|
|
25
|
+
var __webpack_exports__TenantContextIdStrategy = __webpack_exports__.o;
|
|
26
|
+
export { __webpack_exports__EntityBuilderModule as EntityBuilderModule, __webpack_exports__TenantContextIdStrategy as TenantContextIdStrategy };
|
package/fesm/services/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const __rspack_esm_id = 995;
|
|
2
2
|
export const __rspack_esm_ids = [995];
|
|
3
3
|
export const __webpack_modules__ = {
|
|
4
|
-
|
|
4
|
+
712(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
5
5
|
|
|
6
6
|
// EXPORTS
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -9,13 +9,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
9
9
|
Fz: () => (/* reexport */ (/* inlined export .DRAFT_TEST_RETAIN */200)),
|
|
10
10
|
P0: () => (/* reexport */ definition_bundle_service/* .DefinitionBundleService */.P),
|
|
11
11
|
Vo: () => (/* reexport */ definition_cache_service/* .DefinitionCacheService */.V),
|
|
12
|
-
$I: () => (/* reexport */ definition_bundle_diff/* .ENTITY_COMPARED_KEYS */.$I),
|
|
13
12
|
IP: () => (/* reexport */ entity_flow_scaffold/* .ENTITY_FLOW_PATHS */.IP),
|
|
14
13
|
E: () => (/* reexport */ entity_builder_config_service/* .EntityBuilderConfigService */.E),
|
|
15
14
|
DR: () => (/* reexport */ entity_builder_datasource_provider/* .EntityBuilderDataSourceProvider */.D),
|
|
16
15
|
oc: () => (/* reexport */ entity_definition_service/* .EntityDefinitionService */.o),
|
|
17
16
|
u4: () => (/* reexport */ entity_permission_service/* .EntityPermissionService */.u),
|
|
18
|
-
mT: () => (/* reexport */ definition_bundle_diff/* .FIELD_COMPARED_KEYS */.mT),
|
|
19
17
|
J: () => (/* reexport */ field_definition_service/* .FieldDefinitionService */.J),
|
|
20
18
|
Tk: () => (/* reexport */ flow_definition_service/* .FlowDefinitionService */.Tk),
|
|
21
19
|
AJ: () => (/* reexport */ flow_execution_service/* .FlowExecutionService */.A),
|
|
@@ -24,8 +22,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
24
22
|
a$: () => (/* reexport */ flow_runtime_service/* .FlowRuntimeService */.a),
|
|
25
23
|
GK: () => (/* reexport */ generic_entity_service/* .GenericEntityService */.GK),
|
|
26
24
|
GR: () => (/* reexport */ generic_entity_service_factory/* .GenericEntityServiceFactory */.G),
|
|
27
|
-
|
|
28
|
-
xJ: () => (/* reexport */ identifier_rules/* .RESERVED_WORDS */.xJ),
|
|
25
|
+
vx: () => (/* reexport */ schema_columns/* .LIVE_ROWS_WHERE */.vx),
|
|
29
26
|
tH: () => (/* reexport */ reference_scanner_service/* .ReferenceScannerService */.t),
|
|
30
27
|
mq: () => (/* reexport */ schema_columns/* .SYSTEM_COLUMN_NAMES */.mq),
|
|
31
28
|
TQ: () => (/* reexport */ schema_change_executor_service/* .SchemaChangeExecutor */.T),
|
|
@@ -37,8 +34,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37
34
|
$6: () => (/* reexport */ schema_columns/* .addUnique */.$6),
|
|
38
35
|
gT: () => (/* reexport */ definition_bundle_diff/* .applyVariables */.gT),
|
|
39
36
|
b$: () => (/* reexport */ flow_definition_service/* .asksExecutePermission */.b$),
|
|
40
|
-
fY: () => (/* reexport */ identifier_rules/* .assertIndexableField */.
|
|
41
|
-
kV: () => (/* reexport */ identifier_rules/* .assertValidIdentifier */.
|
|
37
|
+
fY: () => (/* reexport */ identifier_rules/* .assertIndexableField */.f),
|
|
38
|
+
kV: () => (/* reexport */ identifier_rules/* .assertValidIdentifier */.k),
|
|
42
39
|
HK: () => (/* reexport */ schema_columns/* .auditColumns */.HK),
|
|
43
40
|
CO: () => (/* reexport */ entity_flow_scaffold/* .buildEntityFlow */.CO),
|
|
44
41
|
fu: () => (/* reexport */ schema_columns/* .buildFieldColumn */.fu),
|
|
@@ -60,8 +57,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
60
57
|
j4: () => (/* reexport */ flow_definition_service/* .flowPermissions */.j4),
|
|
61
58
|
gl: () => (/* reexport */ flow_executor_service/* .flowTimeout */.g),
|
|
62
59
|
mo: () => (/* reexport */ schema_columns/* .indexName */.mo),
|
|
60
|
+
w5: () => (/* reexport */ schema_columns/* .indexedByDefault */.w5),
|
|
63
61
|
C5: () => (/* reexport */ schema_evolution_service/* .isDestructiveSchemaAction */.C),
|
|
64
62
|
d4: () => (/* reexport */ schema_columns/* .isIndexableFieldType */.d4),
|
|
63
|
+
YS: () => (/* reexport */ schema_columns/* .isLiveRowsIndex */.YS),
|
|
65
64
|
HF: () => (/* reexport */ flow_definition_service/* .isPublished */.HF),
|
|
66
65
|
Eq: () => (/* reexport */ database_error_mapper/* .mapDatabaseError */.E),
|
|
67
66
|
iw: () => (/* reexport */ database_error_mapper/* .mapSchemaError */.i),
|
|
@@ -71,17 +70,20 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
71
70
|
v7: () => (/* reexport */ schema_columns/* .plainIndex */.v7),
|
|
72
71
|
IM: () => (/* reexport */ field_type_conversion/* .planTypeConversion */.I),
|
|
73
72
|
zi: () => (/* reexport */ definition_bundle_file/* .readBundleFile */.z),
|
|
73
|
+
KA: () => (/* reexport */ definition_bundle_file/* .readBundleFiles */.K),
|
|
74
74
|
e1: () => (/* reexport */ schema_change_executor_service/* .relationTargetCodes */.e),
|
|
75
75
|
Sd: () => (/* reexport */ flow_runtime_service/* .requestInfo */.S),
|
|
76
76
|
G7: () => (/* reexport */ schema_columns/* .sameColumns */.G7),
|
|
77
77
|
eY: () => (/* reexport */ flow_definition_service/* .snapshotOf */.eY),
|
|
78
78
|
OG: () => (/* reexport */ schema_columns/* .softDeleteColumn */.OG),
|
|
79
79
|
cg: () => (/* reexport */ schema_columns/* .sqlTypeFor */.cg),
|
|
80
|
+
xV: () => (/* reexport */ generic_entity_service/* .statementTimeoutSql */.xV),
|
|
80
81
|
dX: () => (/* reexport */ definition_bundle_diff/* .stripApiKeys */.dX),
|
|
81
82
|
uy: () => (/* reexport */ schema_columns/* .tableUnique */.uy),
|
|
82
83
|
RK: () => (/* reexport */ flow_definition_service/* .toFlowSettings */.RK),
|
|
83
84
|
jp: () => (/* reexport */ schema_columns/* .typeFamily */.jp),
|
|
84
85
|
eV: () => (/* reexport */ field_value_validator/* .validateRecord */.e),
|
|
86
|
+
CM: () => (/* reexport */ field_value_validator/* .valueRulesOf */.C),
|
|
85
87
|
lw: () => (/* reexport */ flow_definition_service/* .workingCopy */.lw),
|
|
86
88
|
l6: () => (/* reexport */ definition_bundle_diff/* .writtenSecrets */.l6)
|
|
87
89
|
});
|
|
@@ -100,8 +102,8 @@ var schema_sync_service = __webpack_require__(3474);
|
|
|
100
102
|
var entity_definition_service = __webpack_require__(1296);
|
|
101
103
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/field-definition.service.ts
|
|
102
104
|
var field_definition_service = __webpack_require__(9487);
|
|
103
|
-
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/generic-entity.service.ts
|
|
104
|
-
var generic_entity_service = __webpack_require__(
|
|
105
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/generic-entity.service.ts + 3 modules
|
|
106
|
+
var generic_entity_service = __webpack_require__(3052);
|
|
105
107
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/generic-entity-service.factory.ts
|
|
106
108
|
var generic_entity_service_factory = __webpack_require__(7705);
|
|
107
109
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/entity-permission.service.ts
|
|
@@ -138,39 +140,14 @@ var flow_runtime_service = __webpack_require__(2300);
|
|
|
138
140
|
var utils_ = __webpack_require__(9216);
|
|
139
141
|
// EXTERNAL MODULE: external "@nestjs/common"
|
|
140
142
|
var common_ = __webpack_require__(6157);
|
|
141
|
-
// EXTERNAL MODULE: external "typeorm"
|
|
142
|
-
var external_typeorm_ = __webpack_require__(7158);
|
|
143
143
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/config/message-keys.ts
|
|
144
144
|
var message_keys = __webpack_require__(5732);
|
|
145
145
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/entities/flow-definition.entity.ts
|
|
146
146
|
var flow_definition_entity = __webpack_require__(3770);
|
|
147
147
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/entities/flow-version.entity.ts
|
|
148
148
|
var flow_version_entity = __webpack_require__(2399);
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
if (typeof value === 'string') return fn(value);
|
|
152
|
-
if (Array.isArray(value)) return value.map((v)=>mapStrings(v, fn));
|
|
153
|
-
if (value && typeof value === 'object') {
|
|
154
|
-
return Object.fromEntries(Object.entries(value).map(([k, v])=>[
|
|
155
|
-
k,
|
|
156
|
-
mapStrings(v, fn)
|
|
157
|
-
]));
|
|
158
|
-
}
|
|
159
|
-
return value;
|
|
160
|
-
}
|
|
161
|
-
function anyString(value, test) {
|
|
162
|
-
if (typeof value === 'string') return test(value);
|
|
163
|
-
if (Array.isArray(value)) return value.some((v)=>anyString(v, test));
|
|
164
|
-
if (value && typeof value === 'object') return Object.values(value).some((v)=>anyString(v, test));
|
|
165
|
-
return false;
|
|
166
|
-
}
|
|
167
|
-
const escapeRe = (s)=>s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
168
|
-
/**
|
|
169
|
-
* `<prefix>.<field>`, `<prefix>.<field>.x` or `{{ <prefix>.<field> }}` inside a template - but not
|
|
170
|
-
* `<prefix>.<field>_2`. The prefix is a regex source (e.g. `context\.find\.items\.\d+`), captured so a rewrite keeps it.
|
|
171
|
-
*/ const referencePatternSource = (prefixSource, field, flags = '')=>new RegExp(`(^|\\{\\{\\s*)(${prefixSource})\\.${escapeRe(field)}(?!\\w)`, flags);
|
|
172
|
-
const replaceReferenceSource = (s, prefixSource, from, to)=>s.replace(referencePatternSource(prefixSource, from, 'g'), (_match, lead, prefix)=>`${lead}${prefix}.${to}`);
|
|
173
|
-
|
|
149
|
+
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/reference-rewrite.ts
|
|
150
|
+
var reference_rewrite = __webpack_require__(3086);
|
|
174
151
|
;// CONCATENATED MODULE: ./projects/nestjs-entity-builder/src/flow-engine/flow-reference.ts
|
|
175
152
|
|
|
176
153
|
const entityOf = (node)=>node.config?.entityCode;
|
|
@@ -204,20 +181,20 @@ const ITEM = '\\.items\\.\\d+';
|
|
|
204
181
|
/** Regex sources of every output path that holds a record of the entity. */ function recordPrefixes(nodes, entityCode) {
|
|
205
182
|
const out = [];
|
|
206
183
|
for (const node of nodes){
|
|
207
|
-
const base = `context\\.${escapeRe(node.id)}`;
|
|
184
|
+
const base = `context\\.${(0,reference_rewrite/* .escapeRe */.NF)(node.id)}`;
|
|
208
185
|
if (entityOf(node) === entityCode) {
|
|
209
186
|
if (node.type === 'entity_get') out.push(base);
|
|
210
187
|
else if (node.type === 'entity_insert' || node.type === 'entity_update') out.push(`${base}(?:${ITEM})?`);
|
|
211
188
|
else if (node.type === 'entity_query') out.push(`${base}${ITEM}`);
|
|
212
189
|
}
|
|
213
190
|
for (const child of childrenOf(node)){
|
|
214
|
-
if (child.entityCode === entityCode && typeof child.as === 'string' && child.as) out.push(`${base}(?:${ITEM})?\\.${escapeRe(child.as)}\\.\\d+`);
|
|
191
|
+
if (child.entityCode === entityCode && typeof child.as === 'string' && child.as) out.push(`${base}(?:${ITEM})?\\.${(0,reference_rewrite/* .escapeRe */.NF)(child.as)}\\.\\d+`);
|
|
215
192
|
}
|
|
216
193
|
}
|
|
217
194
|
return out;
|
|
218
195
|
}
|
|
219
196
|
function flowRefersToField(nodes, entityCode, field) {
|
|
220
|
-
const patterns = recordPrefixes(nodes, entityCode).map((prefix)=>referencePatternSource(prefix, field));
|
|
197
|
+
const patterns = recordPrefixes(nodes, entityCode).map((prefix)=>(0,reference_rewrite/* .referencePatternSource */.LV)(prefix, field));
|
|
221
198
|
return nodes.some((node)=>{
|
|
222
199
|
if (entityOf(node) === entityCode) {
|
|
223
200
|
const c = node.config;
|
|
@@ -227,7 +204,7 @@ function flowRefersToField(nodes, entityCode, field) {
|
|
|
227
204
|
}
|
|
228
205
|
if (childrenOf(node).some((child)=>child.entityCode === entityCode && childUsesField(child, field))) return true;
|
|
229
206
|
if (anyLookup(node.config, entityCode, (lookup)=>lookupUsesField(lookup, field))) return true;
|
|
230
|
-
return patterns.length > 0 && anyString(node.config, (s)=>patterns.some((p)=>p.test(s)));
|
|
207
|
+
return patterns.length > 0 && (0,reference_rewrite/* .anyString */.gp)(node.config, (s)=>patterns.some((p)=>p.test(s)));
|
|
231
208
|
});
|
|
232
209
|
}
|
|
233
210
|
function rewriteFlowField(nodes, entityCode, from, to) {
|
|
@@ -299,8 +276,8 @@ function rewriteFlowField(nodes, entityCode, from, to) {
|
|
|
299
276
|
};
|
|
300
277
|
});
|
|
301
278
|
if (prefixes.length) {
|
|
302
|
-
config = mapStrings(config, (s)=>{
|
|
303
|
-
const out = prefixes.reduce((acc, prefix)=>replaceReferenceSource(acc, prefix, from, to), s);
|
|
279
|
+
config = (0,reference_rewrite/* .mapStrings */.to)(config, (s)=>{
|
|
280
|
+
const out = prefixes.reduce((acc, prefix)=>(0,reference_rewrite/* .replaceReferenceSource */.Ni)(acc, prefix, from, to), s);
|
|
304
281
|
if (out !== s) changed = true;
|
|
305
282
|
return out;
|
|
306
283
|
});
|
|
@@ -347,18 +324,13 @@ function _ts_param(paramIndex, decorator) {
|
|
|
347
324
|
|
|
348
325
|
|
|
349
326
|
|
|
350
|
-
|
|
351
327
|
class FlowReferenceProvider {
|
|
352
328
|
provider;
|
|
353
329
|
constructor(provider){
|
|
354
330
|
this.provider = provider;
|
|
355
331
|
}
|
|
356
332
|
async flows() {
|
|
357
|
-
return (await this.repo(flow_definition_entity/* .FlowDefinition */.G)).find(
|
|
358
|
-
where: {
|
|
359
|
-
deletedAt: (0,external_typeorm_.IsNull)()
|
|
360
|
-
}
|
|
361
|
-
});
|
|
333
|
+
return (await this.repo(flow_definition_entity/* .FlowDefinition */.G)).find();
|
|
362
334
|
}
|
|
363
335
|
async repo(entity, manager) {
|
|
364
336
|
return manager ? manager.getRepository(entity) : this.provider.getRepository(entity);
|
|
@@ -387,10 +359,7 @@ class FlowReferenceProvider {
|
|
|
387
359
|
async rewriteFieldReferences(entityCode, from, to, manager) {
|
|
388
360
|
let count = 0;
|
|
389
361
|
const flows = await this.repo(flow_definition_entity/* .FlowDefinition */.G, manager);
|
|
390
|
-
|
|
391
|
-
for (const flow of (await flows.find({
|
|
392
|
-
withDeleted: true
|
|
393
|
-
}))){
|
|
362
|
+
for (const flow of (await flows.find())){
|
|
394
363
|
// The published flow and its unpublished draft both keep working after the rename.
|
|
395
364
|
const live = rewriteFlowField(flow.nodes, entityCode, from, to);
|
|
396
365
|
const draft = flow.draft ? rewriteFlowField(flow.draft.nodes, entityCode, from, to) : null;
|
|
@@ -495,17 +464,15 @@ import * as __rspack_chunk_6 from '../870.js';
|
|
|
495
464
|
__webpack_require__.C(__rspack_chunk_6);
|
|
496
465
|
import * as __rspack_chunk_7 from './index.js';
|
|
497
466
|
__webpack_require__.C(__rspack_chunk_7);
|
|
498
|
-
var __webpack_exports__ = __webpack_exec__(
|
|
467
|
+
var __webpack_exports__ = __webpack_exec__(712);var __webpack_exports__ACTOR_BRANCH_METADATA_KEY = __webpack_exports__.zb;
|
|
499
468
|
var __webpack_exports__DRAFT_TEST_RETAIN = __webpack_exports__.Fz;
|
|
500
469
|
var __webpack_exports__DefinitionBundleService = __webpack_exports__.P0;
|
|
501
470
|
var __webpack_exports__DefinitionCacheService = __webpack_exports__.Vo;
|
|
502
|
-
var __webpack_exports__ENTITY_COMPARED_KEYS = __webpack_exports__.$I;
|
|
503
471
|
var __webpack_exports__ENTITY_FLOW_PATHS = __webpack_exports__.IP;
|
|
504
472
|
var __webpack_exports__EntityBuilderConfigService = __webpack_exports__.E;
|
|
505
473
|
var __webpack_exports__EntityBuilderDataSourceProvider = __webpack_exports__.DR;
|
|
506
474
|
var __webpack_exports__EntityDefinitionService = __webpack_exports__.oc;
|
|
507
475
|
var __webpack_exports__EntityPermissionService = __webpack_exports__.u4;
|
|
508
|
-
var __webpack_exports__FIELD_COMPARED_KEYS = __webpack_exports__.mT;
|
|
509
476
|
var __webpack_exports__FieldDefinitionService = __webpack_exports__.J;
|
|
510
477
|
var __webpack_exports__FlowDefinitionService = __webpack_exports__.Tk;
|
|
511
478
|
var __webpack_exports__FlowExecutionService = __webpack_exports__.AJ;
|
|
@@ -514,8 +481,7 @@ var __webpack_exports__FlowReferenceProvider = __webpack_exports__.Ly;
|
|
|
514
481
|
var __webpack_exports__FlowRuntimeService = __webpack_exports__.a$;
|
|
515
482
|
var __webpack_exports__GenericEntityService = __webpack_exports__.GK;
|
|
516
483
|
var __webpack_exports__GenericEntityServiceFactory = __webpack_exports__.GR;
|
|
517
|
-
var
|
|
518
|
-
var __webpack_exports__RESERVED_WORDS = __webpack_exports__.xJ;
|
|
484
|
+
var __webpack_exports__LIVE_ROWS_WHERE = __webpack_exports__.vx;
|
|
519
485
|
var __webpack_exports__ReferenceScannerService = __webpack_exports__.tH;
|
|
520
486
|
var __webpack_exports__SYSTEM_COLUMN_NAMES = __webpack_exports__.mq;
|
|
521
487
|
var __webpack_exports__SchemaChangeExecutor = __webpack_exports__.TQ;
|
|
@@ -550,8 +516,10 @@ var __webpack_exports__flowNotFound = __webpack_exports__.YW;
|
|
|
550
516
|
var __webpack_exports__flowPermissions = __webpack_exports__.j4;
|
|
551
517
|
var __webpack_exports__flowTimeout = __webpack_exports__.gl;
|
|
552
518
|
var __webpack_exports__indexName = __webpack_exports__.mo;
|
|
519
|
+
var __webpack_exports__indexedByDefault = __webpack_exports__.w5;
|
|
553
520
|
var __webpack_exports__isDestructiveSchemaAction = __webpack_exports__.C5;
|
|
554
521
|
var __webpack_exports__isIndexableFieldType = __webpack_exports__.d4;
|
|
522
|
+
var __webpack_exports__isLiveRowsIndex = __webpack_exports__.YS;
|
|
555
523
|
var __webpack_exports__isPublished = __webpack_exports__.HF;
|
|
556
524
|
var __webpack_exports__mapDatabaseError = __webpack_exports__.Eq;
|
|
557
525
|
var __webpack_exports__mapSchemaError = __webpack_exports__.iw;
|
|
@@ -561,17 +529,20 @@ var __webpack_exports__permissionCodes = __webpack_exports__.QJ;
|
|
|
561
529
|
var __webpack_exports__plainIndex = __webpack_exports__.v7;
|
|
562
530
|
var __webpack_exports__planTypeConversion = __webpack_exports__.IM;
|
|
563
531
|
var __webpack_exports__readBundleFile = __webpack_exports__.zi;
|
|
532
|
+
var __webpack_exports__readBundleFiles = __webpack_exports__.KA;
|
|
564
533
|
var __webpack_exports__relationTargetCodes = __webpack_exports__.e1;
|
|
565
534
|
var __webpack_exports__requestInfo = __webpack_exports__.Sd;
|
|
566
535
|
var __webpack_exports__sameColumns = __webpack_exports__.G7;
|
|
567
536
|
var __webpack_exports__snapshotOf = __webpack_exports__.eY;
|
|
568
537
|
var __webpack_exports__softDeleteColumn = __webpack_exports__.OG;
|
|
569
538
|
var __webpack_exports__sqlTypeFor = __webpack_exports__.cg;
|
|
539
|
+
var __webpack_exports__statementTimeoutSql = __webpack_exports__.xV;
|
|
570
540
|
var __webpack_exports__stripApiKeys = __webpack_exports__.dX;
|
|
571
541
|
var __webpack_exports__tableUnique = __webpack_exports__.uy;
|
|
572
542
|
var __webpack_exports__toFlowSettings = __webpack_exports__.RK;
|
|
573
543
|
var __webpack_exports__typeFamily = __webpack_exports__.jp;
|
|
574
544
|
var __webpack_exports__validateRecord = __webpack_exports__.eV;
|
|
545
|
+
var __webpack_exports__valueRulesOf = __webpack_exports__.CM;
|
|
575
546
|
var __webpack_exports__workingCopy = __webpack_exports__.lw;
|
|
576
547
|
var __webpack_exports__writtenSecrets = __webpack_exports__.l6;
|
|
577
|
-
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __webpack_exports__DefinitionBundleService as DefinitionBundleService, __webpack_exports__DefinitionCacheService as DefinitionCacheService,
|
|
548
|
+
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __webpack_exports__DefinitionBundleService as DefinitionBundleService, __webpack_exports__DefinitionCacheService as DefinitionCacheService, __webpack_exports__ENTITY_FLOW_PATHS as ENTITY_FLOW_PATHS, __webpack_exports__EntityBuilderConfigService as EntityBuilderConfigService, __webpack_exports__EntityBuilderDataSourceProvider as EntityBuilderDataSourceProvider, __webpack_exports__EntityDefinitionService as EntityDefinitionService, __webpack_exports__EntityPermissionService as EntityPermissionService, __webpack_exports__FieldDefinitionService as FieldDefinitionService, __webpack_exports__FlowDefinitionService as FlowDefinitionService, __webpack_exports__FlowExecutionService as FlowExecutionService, __webpack_exports__FlowExecutorService as FlowExecutorService, __webpack_exports__FlowReferenceProvider as FlowReferenceProvider, __webpack_exports__FlowRuntimeService as FlowRuntimeService, __webpack_exports__GenericEntityService as GenericEntityService, __webpack_exports__GenericEntityServiceFactory as GenericEntityServiceFactory, __webpack_exports__LIVE_ROWS_WHERE as LIVE_ROWS_WHERE, __webpack_exports__ReferenceScannerService as ReferenceScannerService, __webpack_exports__SYSTEM_COLUMN_NAMES as SYSTEM_COLUMN_NAMES, __webpack_exports__SchemaChangeExecutor as SchemaChangeExecutor, __webpack_exports__SchemaDialectAdapterService as SchemaDialectAdapterService, __webpack_exports__SchemaEvolutionService as SchemaEvolutionService, __webpack_exports__SchemaRegistryService as SchemaRegistryService, __webpack_exports__SchemaSyncService as SchemaSyncService, __webpack_exports__actorMetadata as actorMetadata, __webpack_exports__addUnique as addUnique, __webpack_exports__applyVariables as applyVariables, __webpack_exports__asksExecutePermission as asksExecutePermission, __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__bundleChecksum as bundleChecksum, __webpack_exports__bundleSubject as bundleSubject, __webpack_exports__byCode as byCode, __webpack_exports__calledFlowSlugs as calledFlowSlugs, __webpack_exports__canonicalJson as canonicalJson, __webpack_exports__defaultFlowPermissionCode as defaultFlowPermissionCode, __webpack_exports__describeImpact as describeImpact, __webpack_exports__diffEntities as diffEntities, __webpack_exports__entityFlowSlug as entityFlowSlug, __webpack_exports__entityPermissionCodes as entityPermissionCodes, __webpack_exports__extractVariables as extractVariables, __webpack_exports__fitIdentifier as fitIdentifier, __webpack_exports__fixedIds as fixedIds, __webpack_exports__flowNotFound as flowNotFound, __webpack_exports__flowPermissions as flowPermissions, __webpack_exports__flowTimeout as flowTimeout, __webpack_exports__indexName as indexName, __webpack_exports__indexedByDefault as indexedByDefault, __webpack_exports__isDestructiveSchemaAction as isDestructiveSchemaAction, __webpack_exports__isIndexableFieldType as isIndexableFieldType, __webpack_exports__isLiveRowsIndex as isLiveRowsIndex, __webpack_exports__isPublished as isPublished, __webpack_exports__mapDatabaseError as mapDatabaseError, __webpack_exports__mapSchemaError as mapSchemaError, __webpack_exports__matchDefinitions as matchDefinitions, __webpack_exports__orderFlows as orderFlows, __webpack_exports__permissionCodes as permissionCodes, __webpack_exports__plainIndex as plainIndex, __webpack_exports__planTypeConversion as planTypeConversion, __webpack_exports__readBundleFile as readBundleFile, __webpack_exports__readBundleFiles as readBundleFiles, __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__statementTimeoutSql as statementTimeoutSql, __webpack_exports__stripApiKeys as stripApiKeys, __webpack_exports__tableUnique as tableUnique, __webpack_exports__toFlowSettings as toFlowSettings, __webpack_exports__typeFamily as typeFamily, __webpack_exports__validateRecord as validateRecord, __webpack_exports__valueRulesOf as valueRulesOf, __webpack_exports__workingCopy as workingCopy, __webpack_exports__writtenSecrets as writtenSecrets };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type IFlowHttpResponse } from './flow-http.client.js';
|
|
2
|
+
export interface ICodeRunResult {
|
|
3
|
+
output: unknown;
|
|
4
|
+
logs: string[];
|
|
5
|
+
}
|
|
6
|
+
export interface ICodeHttpRequest {
|
|
7
|
+
url: string;
|
|
8
|
+
method: string;
|
|
9
|
+
headers: Record<string, string>;
|
|
10
|
+
body?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ICodeRunOptions {
|
|
13
|
+
modules?: Record<string, string>;
|
|
14
|
+
http?: (request: ICodeHttpRequest) => Promise<IFlowHttpResponse>;
|
|
15
|
+
}
|
|
16
|
+
export declare function runFlowCode(code: string, ctx: Record<string, unknown>, timeoutMs: number, node: string, options?: ICodeRunOptions): Promise<ICodeRunResult>;
|
|
@@ -14,6 +14,7 @@ export interface IFlowValidationContext {
|
|
|
14
14
|
knownFlows?: Map<string, ICallableFlow>;
|
|
15
15
|
messageServices?: Partial<Record<FlowMessageService, boolean>>;
|
|
16
16
|
companyMembers?: boolean;
|
|
17
|
+
codeModules?: string[];
|
|
17
18
|
}
|
|
18
19
|
export declare function usesPermissionFunction(value: unknown, depth?: number): boolean;
|
|
19
20
|
export declare function validateFlow(flow: IFlowSettings, context?: IFlowValidationContext): IFlowValidationResult;
|
|
@@ -6,3 +6,17 @@ export interface IFlowInputResult {
|
|
|
6
6
|
}
|
|
7
7
|
export declare function validateFlowInput(schema: IFlowInputField[], body: unknown, bodyType?: FlowBodyType): IFlowInputResult;
|
|
8
8
|
export declare function validateEndpointInput(endpoint: Pick<IFlowEndpoint, 'contract' | 'bodyType' | 'inputSchema'>, body: unknown): IFlowInputResult;
|
|
9
|
+
export interface IRequestQuery {
|
|
10
|
+
filter?: Record<string, unknown>;
|
|
11
|
+
sort?: Record<string, 'ASC' | 'DESC'>;
|
|
12
|
+
pagination?: {
|
|
13
|
+
currentPage: number;
|
|
14
|
+
pageSize?: number;
|
|
15
|
+
};
|
|
16
|
+
select?: string[];
|
|
17
|
+
withDeleted?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare function readRequestQuery(body: unknown): {
|
|
20
|
+
query: IRequestQuery;
|
|
21
|
+
errors: IFieldError[];
|
|
22
|
+
};
|