@flusys/nestjs-entity-builder 9.1.0-rc.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 +4 -2
- package/config/message-keys.d.ts +9 -1
- package/controllers/flow-runtime.controller.d.ts +16 -8
- package/dtos/flow.dto.d.ts +1 -0
- package/fesm/21.js +9 -1
- package/fesm/362.js +6 -6
- package/fesm/606.js +58 -7
- package/fesm/719.js +158 -152
- package/fesm/996.js +175 -52
- package/fesm/guards/index.js +6 -1
- package/fesm/index.js +16 -5
- package/fesm/modules/index.js +3 -2
- package/fesm/services/index.js +5 -3
- package/flow-engine/flow-graph.validator.d.ts +2 -3
- package/flow-engine/flow-run.types.d.ts +2 -1
- package/flow-engine/flow.types.d.ts +16 -0
- package/package.json +3 -3
- package/services/entity-flow-scaffold.d.ts +3 -2
- package/services/flow-definition.service.d.ts +1 -0
- package/services/flow-executor.service.d.ts +1 -0
- package/services/flow-runtime.service.d.ts +2 -1
- package/services/schema-sync.service.d.ts +1 -1
package/fesm/index.js
CHANGED
|
@@ -117,6 +117,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
117
117
|
vs: () => (/* reexport */ config/* .ENTITY_CODE_PATTERN */.vs),
|
|
118
118
|
pL: () => (/* reexport */ config/* .ENTITY_DEFINITION_MESSAGES */.pL),
|
|
119
119
|
WT: () => (/* reexport */ config/* .ENTITY_FLOW_ENDPOINTS */.WT),
|
|
120
|
+
IP: () => (/* reexport */ services/* .ENTITY_FLOW_PATHS */.IP),
|
|
120
121
|
yd: () => (/* reexport */ config/* .ENTITY_TABLE_PREFIX */.yd),
|
|
121
122
|
E: () => (/* reexport */ services/* .EntityBuilderConfigService */.E),
|
|
122
123
|
DR: () => (/* reexport */ services/* .EntityBuilderDataSourceProvider */.DR),
|
|
@@ -139,6 +140,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
139
140
|
fO: () => (/* reexport */ flow_types/* .FLOW_AUTH_MODES */.fO),
|
|
140
141
|
Y3: () => (/* reexport */ flow_types/* .FLOW_BODY_TYPES */.Y3),
|
|
141
142
|
GY: () => (/* reexport */ config/* .FLOW_DEFINITION_MESSAGES */.GY),
|
|
143
|
+
YO: () => (/* reexport */ flow_types/* .FLOW_ENDPOINT_PATH_PATTERN */.YO),
|
|
142
144
|
zr: () => (/* reexport */ config/* .FLOW_ERROR_MESSAGES */.zr),
|
|
143
145
|
fZ: () => (/* reexport */ flow_types/* .FLOW_INPUT_NAME_PATTERN */.fZ),
|
|
144
146
|
Q7: () => (/* reexport */ flow_types/* .FLOW_INPUT_TYPES */.Q7),
|
|
@@ -148,7 +150,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
148
150
|
q2: () => (/* reexport */ flow_types/* .FLOW_NODE_TYPES */.q2),
|
|
149
151
|
$j: () => (/* reexport */ interfaces/* .FLOW_REFERENCE_PROVIDER */.$j),
|
|
150
152
|
gl: () => (/* reexport */ flow_types/* .FLOW_RUN_AS */.gl),
|
|
151
|
-
|
|
153
|
+
ps: () => (/* reexport */ config/* .FLOW_SHAPE_MESSAGES */.IP),
|
|
152
154
|
CB: () => (/* reexport */ config/* .FLOW_SKIP_MESSAGES */.CB),
|
|
153
155
|
YD: () => (/* reexport */ flow_types/* .FLOW_SLUG_PATTERN */.YD),
|
|
154
156
|
bc: () => (/* reexport */ config/* .FLOW_SUBJECT_MESSAGES */.bc),
|
|
@@ -227,7 +229,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
227
229
|
an: () => (/* reexport */ services/* .describeImpact */.an),
|
|
228
230
|
x2: () => (/* reexport */ services/* .entityFlowSlug */.x2),
|
|
229
231
|
O$: () => (/* reexport */ flow_errors/* .errorRef */.O$),
|
|
232
|
+
vS: () => (/* reexport */ flow_types/* .findEndpoint */.vS),
|
|
230
233
|
HQ: () => (/* reexport */ services/* .fitIdentifier */.HQ),
|
|
234
|
+
Xr: () => (/* reexport */ flow_types/* .flowEndpoints */.Xr),
|
|
231
235
|
YW: () => (/* reexport */ services/* .flowNotFound */.YW),
|
|
232
236
|
PZ: () => (/* reexport */ services/* .flowTimeout */.gl),
|
|
233
237
|
ac: () => (/* reexport */ entities/* .getEntityBuilderEntities */.ac),
|
|
@@ -250,6 +254,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
250
254
|
cg: () => (/* reexport */ services/* .sqlTypeFor */.cg),
|
|
251
255
|
uy: () => (/* reexport */ services/* .tableUnique */.uy),
|
|
252
256
|
RK: () => (/* reexport */ services/* .toFlowSettings */.RK),
|
|
257
|
+
um: () => (/* reexport */ flow_types/* .triggerPath */.um),
|
|
253
258
|
jp: () => (/* reexport */ services/* .typeFamily */.jp),
|
|
254
259
|
u9: () => (/* reexport */ flow_graph_validator/* .usesPermissionFunction */.u),
|
|
255
260
|
nC: () => (/* reexport */ flow_graph_validator/* .validateFlow */.n),
|
|
@@ -540,6 +545,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
540
545
|
Ty: () => (/* reexport */ (/* inlined export .BULK_MAX_ITEMS */200)),
|
|
541
546
|
Fz: () => (/* reexport */ (/* inlined export .DRAFT_TEST_RETAIN */200)),
|
|
542
547
|
Vo: () => (/* reexport */ definition_cache_service/* .DefinitionCacheService */.V),
|
|
548
|
+
IP: () => (/* reexport */ entity_flow_scaffold/* .ENTITY_FLOW_PATHS */.IP),
|
|
543
549
|
E: () => (/* reexport */ entity_builder_config_service/* .EntityBuilderConfigService */.E),
|
|
544
550
|
DR: () => (/* reexport */ entity_builder_datasource_provider/* .EntityBuilderDataSourceProvider */.D),
|
|
545
551
|
oc: () => (/* reexport */ entity_definition_service/* .EntityDefinitionService */.o),
|
|
@@ -567,12 +573,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
567
573
|
fY: () => (/* reexport */ identifier_rules/* .assertIndexableField */.fY),
|
|
568
574
|
kV: () => (/* reexport */ identifier_rules/* .assertValidIdentifier */.kV),
|
|
569
575
|
HK: () => (/* reexport */ schema_columns/* .auditColumns */.HK),
|
|
570
|
-
CO: () => (/* reexport */ entity_flow_scaffold/* .buildEntityFlow */.
|
|
576
|
+
CO: () => (/* reexport */ entity_flow_scaffold/* .buildEntityFlow */.CO),
|
|
571
577
|
fu: () => (/* reexport */ schema_columns/* .buildFieldColumn */.fu),
|
|
572
578
|
Rm: () => (/* reexport */ schema_columns/* .buildSystemColumns */.Rm),
|
|
573
579
|
Er: () => (/* reexport */ flow_definition_service/* .defaultFlowPermissionCode */.Er),
|
|
574
580
|
an: () => (/* reexport */ schema_change_types/* .describeImpact */.a),
|
|
575
|
-
x2: () => (/* reexport */ entity_flow_scaffold/* .entityFlowSlug */.
|
|
581
|
+
x2: () => (/* reexport */ entity_flow_scaffold/* .entityFlowSlug */.x2),
|
|
576
582
|
HQ: () => (/* reexport */ schema_dialect_adapter_service/* .fitIdentifier */.H),
|
|
577
583
|
YW: () => (/* reexport */ flow_definition_service/* .flowNotFound */.YW),
|
|
578
584
|
gl: () => (/* reexport */ flow_executor_service/* .flowTimeout */.g),
|
|
@@ -985,6 +991,7 @@ var __webpack_exports__ENTITY_CODE_MAX_LENGTH = __webpack_exports__.KA;
|
|
|
985
991
|
var __webpack_exports__ENTITY_CODE_PATTERN = __webpack_exports__.vs;
|
|
986
992
|
var __webpack_exports__ENTITY_DEFINITION_MESSAGES = __webpack_exports__.pL;
|
|
987
993
|
var __webpack_exports__ENTITY_FLOW_ENDPOINTS = __webpack_exports__.WT;
|
|
994
|
+
var __webpack_exports__ENTITY_FLOW_PATHS = __webpack_exports__.IP;
|
|
988
995
|
var __webpack_exports__ENTITY_TABLE_PREFIX = __webpack_exports__.yd;
|
|
989
996
|
var __webpack_exports__EntityBuilderConfigService = __webpack_exports__.E;
|
|
990
997
|
var __webpack_exports__EntityBuilderDataSourceProvider = __webpack_exports__.DR;
|
|
@@ -1007,6 +1014,7 @@ var __webpack_exports__FIELD_VALIDATION_MESSAGES = __webpack_exports__.KE;
|
|
|
1007
1014
|
var __webpack_exports__FLOW_AUTH_MODES = __webpack_exports__.fO;
|
|
1008
1015
|
var __webpack_exports__FLOW_BODY_TYPES = __webpack_exports__.Y3;
|
|
1009
1016
|
var __webpack_exports__FLOW_DEFINITION_MESSAGES = __webpack_exports__.GY;
|
|
1017
|
+
var __webpack_exports__FLOW_ENDPOINT_PATH_PATTERN = __webpack_exports__.YO;
|
|
1010
1018
|
var __webpack_exports__FLOW_ERROR_MESSAGES = __webpack_exports__.zr;
|
|
1011
1019
|
var __webpack_exports__FLOW_INPUT_NAME_PATTERN = __webpack_exports__.fZ;
|
|
1012
1020
|
var __webpack_exports__FLOW_INPUT_TYPES = __webpack_exports__.Q7;
|
|
@@ -1016,7 +1024,7 @@ var __webpack_exports__FLOW_NODE_ID_PATTERN = __webpack_exports__.z6;
|
|
|
1016
1024
|
var __webpack_exports__FLOW_NODE_TYPES = __webpack_exports__.q2;
|
|
1017
1025
|
var __webpack_exports__FLOW_REFERENCE_PROVIDER = __webpack_exports__.$j;
|
|
1018
1026
|
var __webpack_exports__FLOW_RUN_AS = __webpack_exports__.gl;
|
|
1019
|
-
var __webpack_exports__FLOW_SHAPE_MESSAGES = __webpack_exports__.
|
|
1027
|
+
var __webpack_exports__FLOW_SHAPE_MESSAGES = __webpack_exports__.ps;
|
|
1020
1028
|
var __webpack_exports__FLOW_SKIP_MESSAGES = __webpack_exports__.CB;
|
|
1021
1029
|
var __webpack_exports__FLOW_SLUG_PATTERN = __webpack_exports__.YD;
|
|
1022
1030
|
var __webpack_exports__FLOW_SUBJECT_MESSAGES = __webpack_exports__.bc;
|
|
@@ -1095,7 +1103,9 @@ var __webpack_exports__defaultFlowPermissionCode = __webpack_exports__.Er;
|
|
|
1095
1103
|
var __webpack_exports__describeImpact = __webpack_exports__.an;
|
|
1096
1104
|
var __webpack_exports__entityFlowSlug = __webpack_exports__.x2;
|
|
1097
1105
|
var __webpack_exports__errorRef = __webpack_exports__.O$;
|
|
1106
|
+
var __webpack_exports__findEndpoint = __webpack_exports__.vS;
|
|
1098
1107
|
var __webpack_exports__fitIdentifier = __webpack_exports__.HQ;
|
|
1108
|
+
var __webpack_exports__flowEndpoints = __webpack_exports__.Xr;
|
|
1099
1109
|
var __webpack_exports__flowNotFound = __webpack_exports__.YW;
|
|
1100
1110
|
var __webpack_exports__flowTimeout = __webpack_exports__.PZ;
|
|
1101
1111
|
var __webpack_exports__getEntityBuilderEntities = __webpack_exports__.ac;
|
|
@@ -1118,8 +1128,9 @@ var __webpack_exports__softDeleteColumn = __webpack_exports__.OG;
|
|
|
1118
1128
|
var __webpack_exports__sqlTypeFor = __webpack_exports__.cg;
|
|
1119
1129
|
var __webpack_exports__tableUnique = __webpack_exports__.uy;
|
|
1120
1130
|
var __webpack_exports__toFlowSettings = __webpack_exports__.RK;
|
|
1131
|
+
var __webpack_exports__triggerPath = __webpack_exports__.um;
|
|
1121
1132
|
var __webpack_exports__typeFamily = __webpack_exports__.jp;
|
|
1122
1133
|
var __webpack_exports__usesPermissionFunction = __webpack_exports__.u9;
|
|
1123
1134
|
var __webpack_exports__validateFlow = __webpack_exports__.nC;
|
|
1124
1135
|
var __webpack_exports__validateRecord = __webpack_exports__.eV;
|
|
1125
|
-
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_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_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__fitIdentifier as fitIdentifier, __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__typeFamily as typeFamily, __webpack_exports__usesPermissionFunction as usesPermissionFunction, __webpack_exports__validateFlow as validateFlow, __webpack_exports__validateRecord as validateRecord };
|
|
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 };
|
package/fesm/modules/index.js
CHANGED
|
@@ -209,6 +209,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
209
209
|
Ty: () => (/* reexport */ (/* inlined export .BULK_MAX_ITEMS */200)),
|
|
210
210
|
Fz: () => (/* reexport */ (/* inlined export .DRAFT_TEST_RETAIN */200)),
|
|
211
211
|
Vo: () => (/* reexport */ definition_cache_service/* .DefinitionCacheService */.V),
|
|
212
|
+
IP: () => (/* reexport */ entity_flow_scaffold/* .ENTITY_FLOW_PATHS */.IP),
|
|
212
213
|
E: () => (/* reexport */ entity_builder_config_service/* .EntityBuilderConfigService */.E),
|
|
213
214
|
DR: () => (/* reexport */ entity_builder_datasource_provider/* .EntityBuilderDataSourceProvider */.D),
|
|
214
215
|
oc: () => (/* reexport */ entity_definition_service/* .EntityDefinitionService */.o),
|
|
@@ -236,12 +237,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
236
237
|
fY: () => (/* reexport */ identifier_rules/* .assertIndexableField */.fY),
|
|
237
238
|
kV: () => (/* reexport */ identifier_rules/* .assertValidIdentifier */.kV),
|
|
238
239
|
HK: () => (/* reexport */ schema_columns/* .auditColumns */.HK),
|
|
239
|
-
CO: () => (/* reexport */ entity_flow_scaffold/* .buildEntityFlow */.
|
|
240
|
+
CO: () => (/* reexport */ entity_flow_scaffold/* .buildEntityFlow */.CO),
|
|
240
241
|
fu: () => (/* reexport */ schema_columns/* .buildFieldColumn */.fu),
|
|
241
242
|
Rm: () => (/* reexport */ schema_columns/* .buildSystemColumns */.Rm),
|
|
242
243
|
Er: () => (/* reexport */ flow_definition_service/* .defaultFlowPermissionCode */.Er),
|
|
243
244
|
an: () => (/* reexport */ schema_change_types/* .describeImpact */.a),
|
|
244
|
-
x2: () => (/* reexport */ entity_flow_scaffold/* .entityFlowSlug */.
|
|
245
|
+
x2: () => (/* reexport */ entity_flow_scaffold/* .entityFlowSlug */.x2),
|
|
245
246
|
HQ: () => (/* reexport */ schema_dialect_adapter_service/* .fitIdentifier */.H),
|
|
246
247
|
YW: () => (/* reexport */ flow_definition_service/* .flowNotFound */.YW),
|
|
247
248
|
gl: () => (/* reexport */ flow_executor_service/* .flowTimeout */.g),
|
package/fesm/services/index.js
CHANGED
|
@@ -9,6 +9,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
9
9
|
Ty: () => (/* reexport */ (/* inlined export .BULK_MAX_ITEMS */200)),
|
|
10
10
|
Fz: () => (/* reexport */ (/* inlined export .DRAFT_TEST_RETAIN */200)),
|
|
11
11
|
Vo: () => (/* reexport */ definition_cache_service/* .DefinitionCacheService */.V),
|
|
12
|
+
IP: () => (/* reexport */ entity_flow_scaffold/* .ENTITY_FLOW_PATHS */.IP),
|
|
12
13
|
E: () => (/* reexport */ entity_builder_config_service/* .EntityBuilderConfigService */.E),
|
|
13
14
|
DR: () => (/* reexport */ entity_builder_datasource_provider/* .EntityBuilderDataSourceProvider */.D),
|
|
14
15
|
oc: () => (/* reexport */ entity_definition_service/* .EntityDefinitionService */.o),
|
|
@@ -36,12 +37,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
36
37
|
fY: () => (/* reexport */ identifier_rules/* .assertIndexableField */.fY),
|
|
37
38
|
kV: () => (/* reexport */ identifier_rules/* .assertValidIdentifier */.kV),
|
|
38
39
|
HK: () => (/* reexport */ schema_columns/* .auditColumns */.HK),
|
|
39
|
-
CO: () => (/* reexport */ entity_flow_scaffold/* .buildEntityFlow */.
|
|
40
|
+
CO: () => (/* reexport */ entity_flow_scaffold/* .buildEntityFlow */.CO),
|
|
40
41
|
fu: () => (/* reexport */ schema_columns/* .buildFieldColumn */.fu),
|
|
41
42
|
Rm: () => (/* reexport */ schema_columns/* .buildSystemColumns */.Rm),
|
|
42
43
|
Er: () => (/* reexport */ flow_definition_service/* .defaultFlowPermissionCode */.Er),
|
|
43
44
|
an: () => (/* reexport */ schema_change_types/* .describeImpact */.a),
|
|
44
|
-
x2: () => (/* reexport */ entity_flow_scaffold/* .entityFlowSlug */.
|
|
45
|
+
x2: () => (/* reexport */ entity_flow_scaffold/* .entityFlowSlug */.x2),
|
|
45
46
|
HQ: () => (/* reexport */ schema_dialect_adapter_service/* .fitIdentifier */.H),
|
|
46
47
|
YW: () => (/* reexport */ flow_definition_service/* .flowNotFound */.YW),
|
|
47
48
|
gl: () => (/* reexport */ flow_executor_service/* .flowTimeout */.g),
|
|
@@ -440,6 +441,7 @@ var __webpack_exports__ = __webpack_exec__(8752);var __webpack_exports__ACTOR_BR
|
|
|
440
441
|
var __webpack_exports__BULK_MAX_ITEMS = __webpack_exports__.Ty;
|
|
441
442
|
var __webpack_exports__DRAFT_TEST_RETAIN = __webpack_exports__.Fz;
|
|
442
443
|
var __webpack_exports__DefinitionCacheService = __webpack_exports__.Vo;
|
|
444
|
+
var __webpack_exports__ENTITY_FLOW_PATHS = __webpack_exports__.IP;
|
|
443
445
|
var __webpack_exports__EntityBuilderConfigService = __webpack_exports__.E;
|
|
444
446
|
var __webpack_exports__EntityBuilderDataSourceProvider = __webpack_exports__.DR;
|
|
445
447
|
var __webpack_exports__EntityDefinitionService = __webpack_exports__.oc;
|
|
@@ -492,4 +494,4 @@ var __webpack_exports__tableUnique = __webpack_exports__.uy;
|
|
|
492
494
|
var __webpack_exports__toFlowSettings = __webpack_exports__.RK;
|
|
493
495
|
var __webpack_exports__typeFamily = __webpack_exports__.jp;
|
|
494
496
|
var __webpack_exports__validateRecord = __webpack_exports__.eV;
|
|
495
|
-
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__BULK_MAX_ITEMS as BULK_MAX_ITEMS, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __webpack_exports__DefinitionCacheService as DefinitionCacheService, __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__FlowApiKeyService as FlowApiKeyService, __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__NON_INDEXABLE_FIELD_TYPES as NON_INDEXABLE_FIELD_TYPES, __webpack_exports__RESERVED_WORDS as RESERVED_WORDS, __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__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__fitIdentifier as fitIdentifier, __webpack_exports__flowNotFound as flowNotFound, __webpack_exports__flowTimeout as flowTimeout, __webpack_exports__indexName as indexName, __webpack_exports__isDestructiveSchemaAction as isDestructiveSchemaAction, __webpack_exports__isIndexableFieldType as isIndexableFieldType, __webpack_exports__mapDatabaseError as mapDatabaseError, __webpack_exports__mapSchemaError as mapSchemaError, __webpack_exports__plainIndex as plainIndex, __webpack_exports__planTypeConversion as planTypeConversion, __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__typeFamily as typeFamily, __webpack_exports__validateRecord as validateRecord };
|
|
497
|
+
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__BULK_MAX_ITEMS as BULK_MAX_ITEMS, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __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__FlowApiKeyService as FlowApiKeyService, __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__NON_INDEXABLE_FIELD_TYPES as NON_INDEXABLE_FIELD_TYPES, __webpack_exports__RESERVED_WORDS as RESERVED_WORDS, __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__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__fitIdentifier as fitIdentifier, __webpack_exports__flowNotFound as flowNotFound, __webpack_exports__flowTimeout as flowTimeout, __webpack_exports__indexName as indexName, __webpack_exports__isDestructiveSchemaAction as isDestructiveSchemaAction, __webpack_exports__isIndexableFieldType as isIndexableFieldType, __webpack_exports__mapDatabaseError as mapDatabaseError, __webpack_exports__mapSchemaError as mapSchemaError, __webpack_exports__plainIndex as plainIndex, __webpack_exports__planTypeConversion as planTypeConversion, __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__typeFamily as typeFamily, __webpack_exports__validateRecord as validateRecord };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IMessageRef } from '@flusys/nestjs-shared/interfaces';
|
|
2
|
-
import { type FlowAuthMode, type
|
|
2
|
+
import { type FlowAuthMode, type IFlowEndpoint, type IFlowSettings } from './flow.types.js';
|
|
3
3
|
export interface IFlowValidationResult {
|
|
4
4
|
errors: IMessageRef[];
|
|
5
5
|
warnings: IMessageRef[];
|
|
@@ -7,8 +7,7 @@ export interface IFlowValidationResult {
|
|
|
7
7
|
export interface ICallableFlow {
|
|
8
8
|
isActive: boolean;
|
|
9
9
|
authMode: FlowAuthMode;
|
|
10
|
-
|
|
11
|
-
inputSchema: IFlowInputField[];
|
|
10
|
+
endpoints: Array<Omit<IFlowEndpoint, 'nodeId'>>;
|
|
12
11
|
calls: string[];
|
|
13
12
|
}
|
|
14
13
|
export interface IFlowValidationContext {
|
|
@@ -36,6 +36,7 @@ export interface IFlowSavePoint {
|
|
|
36
36
|
at: string;
|
|
37
37
|
}
|
|
38
38
|
export interface IFlowRunState {
|
|
39
|
+
startAt?: string;
|
|
39
40
|
input: FlowInput;
|
|
40
41
|
vars: Record<string, unknown>;
|
|
41
42
|
context: Record<string, unknown>;
|
|
@@ -64,7 +65,7 @@ export interface IFlowRunState {
|
|
|
64
65
|
export interface IFlowEnv {
|
|
65
66
|
ruleEngine: RuleEngineService;
|
|
66
67
|
entityService(entityCode: string, queryRunner?: QueryRunner): Promise<IFlowEntityAccess>;
|
|
67
|
-
callFlow(slug: string, input: unknown, state: IFlowRunState): Promise<unknown>;
|
|
68
|
+
callFlow(slug: string, input: unknown, state: IFlowRunState, endpoint?: string): Promise<unknown>;
|
|
68
69
|
http(request: IFlowHttpRequest): Promise<IFlowHttpResponse>;
|
|
69
70
|
publish(eventName: string, payload: Record<string, unknown>, user: ILoggedUserInfo | null): Promise<void>;
|
|
70
71
|
atomic<T>(state: IFlowRunState, work: () => Promise<T>): Promise<T>;
|
|
@@ -154,8 +154,14 @@ export interface IEntityQueryConfig {
|
|
|
154
154
|
};
|
|
155
155
|
limit?: number;
|
|
156
156
|
}
|
|
157
|
+
export interface ITriggerConfig {
|
|
158
|
+
path?: string;
|
|
159
|
+
bodyType?: FlowBodyType;
|
|
160
|
+
inputSchema?: IFlowInputField[];
|
|
161
|
+
}
|
|
157
162
|
export interface ICallFlowConfig {
|
|
158
163
|
flowSlug: string;
|
|
164
|
+
endpoint?: string;
|
|
159
165
|
input?: ExpressionMap;
|
|
160
166
|
inputList?: RuleExpression;
|
|
161
167
|
}
|
|
@@ -214,4 +220,14 @@ export declare const FLOW_LIMITS: {
|
|
|
214
220
|
export declare const FLOW_NODE_ID_PATTERN: RegExp;
|
|
215
221
|
export declare const FLOW_SLUG_PATTERN: RegExp;
|
|
216
222
|
export declare const FLOW_INPUT_NAME_PATTERN: RegExp;
|
|
223
|
+
export declare const FLOW_ENDPOINT_PATH_PATTERN: RegExp;
|
|
224
|
+
export interface IFlowEndpoint {
|
|
225
|
+
nodeId: string;
|
|
226
|
+
path: string | null;
|
|
227
|
+
bodyType: FlowBodyType;
|
|
228
|
+
inputSchema: IFlowInputField[];
|
|
229
|
+
}
|
|
230
|
+
export declare function triggerPath(node: Pick<IFlowNode, 'config'>): string | null;
|
|
231
|
+
export declare function flowEndpoints(flow: Pick<IFlowSettings, 'nodes' | 'bodyType' | 'inputSchema'>): IFlowEndpoint[];
|
|
232
|
+
export declare function findEndpoint(flow: Pick<IFlowSettings, 'nodes' | 'bodyType' | 'inputSchema'>, path?: string | null): IFlowEndpoint | undefined;
|
|
217
233
|
export declare function portsOf(node: Pick<IFlowNode, 'type' | 'config'>): string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/nestjs-entity-builder",
|
|
3
|
-
"version": "9.1.0
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "Dynamic entity builder module - runtime entity/field metadata, driven DDL, and generic CRUD",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./fesm/index.js",
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"rxjs": "^7.8.0"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@flusys/nestjs-core": "9.1.0
|
|
89
|
-
"@flusys/nestjs-shared": "9.1.0
|
|
88
|
+
"@flusys/nestjs-core": "9.1.0",
|
|
89
|
+
"@flusys/nestjs-shared": "9.1.0",
|
|
90
90
|
"re2js": "^2.8.6",
|
|
91
91
|
"quickjs-emscripten": "^0.32.0"
|
|
92
92
|
}
|
|
@@ -20,7 +20,8 @@ export interface IEntityFlowTexts {
|
|
|
20
20
|
inputLabels?: Partial<Record<FlowInputLabel, string>>;
|
|
21
21
|
noMatchMessage?: string;
|
|
22
22
|
}
|
|
23
|
+
export declare const ENTITY_FLOW_PATHS: Record<EntityFlowEndpoint, string>;
|
|
23
24
|
export declare const BULK_MAX_ITEMS = 200;
|
|
24
|
-
export declare
|
|
25
|
-
export declare function buildEntityFlow(entity: IEntityFlowSource,
|
|
25
|
+
export declare const entityFlowSlug: (entityCode: string) => string;
|
|
26
|
+
export declare function buildEntityFlow(entity: IEntityFlowSource, endpoints: readonly EntityFlowEndpoint[], texts?: IEntityFlowTexts): CreateFlowDefinitionDto;
|
|
26
27
|
export {};
|
|
@@ -29,6 +29,7 @@ export declare class FlowDefinitionService extends ApiService<CreateFlowDefiniti
|
|
|
29
29
|
validate(settings: IFlowSettings): Promise<IFlowValidationResult>;
|
|
30
30
|
private callersOf;
|
|
31
31
|
private assertNotCalled;
|
|
32
|
+
private assertEndpointsNotCalled;
|
|
32
33
|
private assertSaveable;
|
|
33
34
|
assertMayAuthor(settings: IFlowSettings, user: ILoggedUserInfo | null): Promise<void>;
|
|
34
35
|
assertMayCreate(user: ILoggedUserInfo | null): Promise<void>;
|
|
@@ -2,6 +2,7 @@ import { type ILoggedUserInfo, type IMessageRef } from '@flusys/nestjs-shared/in
|
|
|
2
2
|
import { type TestFlowDto } from '../dtos/flow.dto.js';
|
|
3
3
|
import { FlowDefinition } from '../entities/flow-definition.entity.js';
|
|
4
4
|
import { type IFlowRunResult } from '../flow-engine/flow-run.types.js';
|
|
5
|
+
import { type IFlowEndpoint } from '../flow-engine/flow.types.js';
|
|
5
6
|
import { EntityBuilderDataSourceProvider } from './entity-builder-datasource.provider.js';
|
|
6
7
|
import { FlowDefinitionService } from './flow-definition.service.js';
|
|
7
8
|
import { FlowExecutionService } from './flow-execution.service.js';
|
|
@@ -20,7 +21,7 @@ export declare class FlowRuntimeService {
|
|
|
20
21
|
private readonly definitions;
|
|
21
22
|
constructor(provider: EntityBuilderDataSourceProvider, executor: FlowExecutorService, executions: FlowExecutionService, definitions: FlowDefinitionService);
|
|
22
23
|
findActive(slug: string): Promise<FlowDefinition | null>;
|
|
23
|
-
handle(flow: FlowDefinition, body: unknown, caller: IFlowCaller, user: ILoggedUserInfo | null): Promise<IFlowRunResult>;
|
|
24
|
+
handle(flow: FlowDefinition, endpoint: IFlowEndpoint, body: unknown, caller: IFlowCaller, user: ILoggedUserInfo | null): Promise<IFlowRunResult>;
|
|
24
25
|
testRun(dto: TestFlowDto, user: ILoggedUserInfo | null, caller: IFlowCaller): Promise<{
|
|
25
26
|
result: IFlowRunResult;
|
|
26
27
|
warnings: IMessageRef[];
|
|
@@ -22,7 +22,7 @@ export declare class SchemaSyncService {
|
|
|
22
22
|
private validateCreateRequest;
|
|
23
23
|
private createTarget;
|
|
24
24
|
private createRun;
|
|
25
|
-
private
|
|
25
|
+
private createEndpointFlow;
|
|
26
26
|
planCreateEntity(dto: CreateDynamicEntityDto, user: ILoggedUserInfo | null): Promise<ISchemaChangePlan>;
|
|
27
27
|
createEntity(dto: CreateDynamicEntityDto, user: ILoggedUserInfo | null): Promise<ICreatedEntity>;
|
|
28
28
|
}
|