@flusys/nestjs-entity-builder 9.1.1 → 9.1.2

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/fesm/index.js CHANGED
@@ -122,6 +122,7 @@ __webpack_require__.d(__webpack_exports__, {
122
122
  Vo2: () => (/* reexport */ services/* .DefinitionCacheService */.Vo),
123
123
  Xgv: () => (/* reexport */ guards/* .DesignerWritableInterceptor */.Xg),
124
124
  WqV: () => (/* reexport */ guards/* .DesignerWrites */.Wq),
125
+ Ohl: () => (/* reexport */ interfaces/* .EMPTY_FILTER_OPS */.Oh),
125
126
  P1Q: () => (/* reexport */ config/* .ENTITY_BUILDER_EVENT_ENTITIES */.P1),
126
127
  SDV: () => (/* reexport */ config/* .ENTITY_BUILDER_EVENT_MODULE */.SD),
127
128
  CPn: () => (/* reexport */ config/* .ENTITY_BUILDER_MODULE_OPTIONS */.CP),
@@ -154,6 +155,7 @@ __webpack_require__.d(__webpack_exports__, {
154
155
  mT8: () => (/* reexport */ services/* .FIELD_COMPARED_KEYS */.mT),
155
156
  oc_: () => (/* reexport */ config/* .FIELD_DEFINITION_MESSAGES */.oc),
156
157
  KE: () => (/* reexport */ config/* .FIELD_VALIDATION_MESSAGES */.KE),
158
+ w9L: () => (/* reexport */ interfaces/* .FILTER_OP_VALUE_KIND */.w9),
157
159
  iM_: () => (/* reexport */ flow_types/* .FLOW_ACCESS_SUBJECTS */.iM),
158
160
  fO4: () => (/* reexport */ flow_types/* .FLOW_AUTH_MODES */.fO),
159
161
  Y38: () => (/* reexport */ flow_types/* .FLOW_BODY_TYPES */.Y3),
@@ -209,6 +211,7 @@ __webpack_require__.d(__webpack_exports__, {
209
211
  GR_: () => (/* reexport */ services/* .GenericEntityServiceFactory */.GR),
210
212
  vSK: () => (/* reexport */ dtos/* .ImportBundleOptionsDto */.vS),
211
213
  d7n: () => (/* reexport */ flow_types/* .KEYLESS_AUTH_MODES */.d7),
214
+ yVv: () => (/* reexport */ interfaces/* .LIST_FIELD_FILTER_OPS */.yV),
212
215
  At$: () => (/* reexport */ flow_types/* .NON_CONTINUABLE_NODE_TYPES */.At),
213
216
  gWB: () => (/* reexport */ services/* .NON_INDEXABLE_FIELD_TYPES */.gW),
214
217
  M51: () => (/* reexport */ interfaces/* .RECORD_FILTER_LIMITS */.M5),
@@ -241,6 +244,7 @@ __webpack_require__.d(__webpack_exports__, {
241
244
  _XM: () => (/* reexport */ services/* .SchemaEvolutionService */._X),
242
245
  CyA: () => (/* reexport */ services/* .SchemaRegistryService */.Cy),
243
246
  WQX: () => (/* reexport */ services/* .SchemaSyncService */.WQ),
247
+ wkp: () => (/* reexport */ interfaces/* .TEXT_FILTER_OPS */.wk),
244
248
  hL_: () => (/* reexport */ dtos/* .UpdateEntityDefinitionDto */.hL),
245
249
  C3I: () => (/* reexport */ dtos/* .UpdateFieldDefinitionDto */.C3),
246
250
  DGs: () => (/* reexport */ services/* .actorMetadata */.DG),
@@ -273,6 +277,7 @@ __webpack_require__.d(__webpack_exports__, {
273
277
  acI: () => (/* reexport */ entities/* .getEntityBuilderEntities */.ac),
274
278
  mo7: () => (/* reexport */ services/* .indexName */.mo),
275
279
  C5: () => (/* reexport */ services/* .isDestructiveSchemaAction */.C5),
280
+ iAn: () => (/* reexport */ interfaces/* .isFilterRange */.iA),
276
281
  fPx: () => (/* reexport */ flow_types/* .isFunctionFlow */.fP),
277
282
  d4l: () => (/* reexport */ services/* .isIndexableFieldType */.d4),
278
283
  SEA: () => (/* reexport */ flow_types/* .isMessageNode */.SE),
@@ -336,8 +341,8 @@ var guards = __webpack_require__(5460);
336
341
  var interfaces = __webpack_require__(9546);
337
342
  // EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/modules/index.ts + 1 modules
338
343
  var modules = __webpack_require__(4249);
339
- // EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/rule-engine/index.ts + 1 modules
340
- var rule_engine = __webpack_require__(8429);
344
+ // EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/rule-engine/index.ts + 2 modules
345
+ var rule_engine = __webpack_require__(8552);
341
346
  // EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/index.ts + 3 modules
342
347
  var services = __webpack_require__(8752);
343
348
  ;// CONCATENATED MODULE: ./projects/nestjs-entity-builder/src/index.ts
@@ -381,9 +386,14 @@ __webpack_require__.d(__webpack_exports__, {
381
386
  $j: () => (/* reexport safe */ _reference_provider_interface_js__rspack_import_1.$),
382
387
  DB: () => (/* reexport safe */ _definition_bundle_interface_js__rspack_import_2.D),
383
388
  M5: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.M5),
389
+ Oh: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.Oh),
384
390
  _$: () => (/* reexport safe */ (/* inlined export _definition_bundle_interface_js__rspack_import_2 */1)),
391
+ iA: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.iA),
385
392
  ox: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.ox),
386
- t1: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.t1)
393
+ t1: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.t1),
394
+ w9: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.w9),
395
+ wk: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.wk),
396
+ yV: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.yV)
387
397
  });
388
398
 
389
399
 
@@ -396,7 +406,7 @@ import * as __rspack_chunk_1 from './21.js';
396
406
  __webpack_require__.C(__rspack_chunk_1);
397
407
  import * as __rspack_chunk_2 from './897.js';
398
408
  __webpack_require__.C(__rspack_chunk_2);
399
- import * as __rspack_chunk_3 from './582.js';
409
+ import * as __rspack_chunk_3 from './857.js';
400
410
  __webpack_require__.C(__rspack_chunk_3);
401
411
  import * as __rspack_chunk_4 from './794.js';
402
412
  __webpack_require__.C(__rspack_chunk_4);
@@ -430,6 +440,7 @@ var __webpack_exports__DefinitionBundleService = __webpack_exports__.P0o;
430
440
  var __webpack_exports__DefinitionCacheService = __webpack_exports__.Vo2;
431
441
  var __webpack_exports__DesignerWritableInterceptor = __webpack_exports__.Xgv;
432
442
  var __webpack_exports__DesignerWrites = __webpack_exports__.WqV;
443
+ var __webpack_exports__EMPTY_FILTER_OPS = __webpack_exports__.Ohl;
433
444
  var __webpack_exports__ENTITY_BUILDER_EVENT_ENTITIES = __webpack_exports__.P1Q;
434
445
  var __webpack_exports__ENTITY_BUILDER_EVENT_MODULE = __webpack_exports__.SDV;
435
446
  var __webpack_exports__ENTITY_BUILDER_MODULE_OPTIONS = __webpack_exports__.CPn;
@@ -462,6 +473,7 @@ var __webpack_exports__FIELD_CHANGE_KEYS = __webpack_exports__.bDG;
462
473
  var __webpack_exports__FIELD_COMPARED_KEYS = __webpack_exports__.mT8;
463
474
  var __webpack_exports__FIELD_DEFINITION_MESSAGES = __webpack_exports__.oc_;
464
475
  var __webpack_exports__FIELD_VALIDATION_MESSAGES = __webpack_exports__.KE;
476
+ var __webpack_exports__FILTER_OP_VALUE_KIND = __webpack_exports__.w9L;
465
477
  var __webpack_exports__FLOW_ACCESS_SUBJECTS = __webpack_exports__.iM_;
466
478
  var __webpack_exports__FLOW_AUTH_MODES = __webpack_exports__.fO4;
467
479
  var __webpack_exports__FLOW_BODY_TYPES = __webpack_exports__.Y38;
@@ -517,6 +529,7 @@ var __webpack_exports__GenericEntityService = __webpack_exports__.GKu;
517
529
  var __webpack_exports__GenericEntityServiceFactory = __webpack_exports__.GR_;
518
530
  var __webpack_exports__ImportBundleOptionsDto = __webpack_exports__.vSK;
519
531
  var __webpack_exports__KEYLESS_AUTH_MODES = __webpack_exports__.d7n;
532
+ var __webpack_exports__LIST_FIELD_FILTER_OPS = __webpack_exports__.yVv;
520
533
  var __webpack_exports__NON_CONTINUABLE_NODE_TYPES = __webpack_exports__.At$;
521
534
  var __webpack_exports__NON_INDEXABLE_FIELD_TYPES = __webpack_exports__.gWB;
522
535
  var __webpack_exports__RECORD_FILTER_LIMITS = __webpack_exports__.M51;
@@ -549,6 +562,7 @@ var __webpack_exports__SchemaDialectAdapterService = __webpack_exports__.Iov;
549
562
  var __webpack_exports__SchemaEvolutionService = __webpack_exports__._XM;
550
563
  var __webpack_exports__SchemaRegistryService = __webpack_exports__.CyA;
551
564
  var __webpack_exports__SchemaSyncService = __webpack_exports__.WQX;
565
+ var __webpack_exports__TEXT_FILTER_OPS = __webpack_exports__.wkp;
552
566
  var __webpack_exports__UpdateEntityDefinitionDto = __webpack_exports__.hL_;
553
567
  var __webpack_exports__UpdateFieldDefinitionDto = __webpack_exports__.C3I;
554
568
  var __webpack_exports__actorMetadata = __webpack_exports__.DGs;
@@ -581,6 +595,7 @@ var __webpack_exports__flowTimeout = __webpack_exports__.gld;
581
595
  var __webpack_exports__getEntityBuilderEntities = __webpack_exports__.acI;
582
596
  var __webpack_exports__indexName = __webpack_exports__.mo7;
583
597
  var __webpack_exports__isDestructiveSchemaAction = __webpack_exports__.C5;
598
+ var __webpack_exports__isFilterRange = __webpack_exports__.iAn;
584
599
  var __webpack_exports__isFunctionFlow = __webpack_exports__.fPx;
585
600
  var __webpack_exports__isIndexableFieldType = __webpack_exports__.d4l;
586
601
  var __webpack_exports__isMessageNode = __webpack_exports__.SEA;
@@ -614,4 +629,4 @@ var __webpack_exports__usesPermissionFunction = __webpack_exports__.u99;
614
629
  var __webpack_exports__validateFlow = __webpack_exports__.nCR;
615
630
  var __webpack_exports__validateRecord = __webpack_exports__.eVP;
616
631
  var __webpack_exports__workingCopy = __webpack_exports__.lwz;
617
- 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__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__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_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__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__applyVariables as applyVariables, __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__defaultFlowPermissionCode as defaultFlowPermissionCode, __webpack_exports__describeImpact as describeImpact, __webpack_exports__diffEntities as diffEntities, __webpack_exports__entityFlowSlug as entityFlowSlug, __webpack_exports__errorRef as errorRef, __webpack_exports__extractVariables as extractVariables, __webpack_exports__findEndpoint as findEndpoint, __webpack_exports__fitIdentifier as fitIdentifier, __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__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__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__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 };
632
+ 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_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__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__defaultFlowPermissionCode as defaultFlowPermissionCode, __webpack_exports__describeImpact as describeImpact, __webpack_exports__diffEntities as diffEntities, __webpack_exports__entityFlowSlug as entityFlowSlug, __webpack_exports__errorRef as errorRef, __webpack_exports__extractVariables as extractVariables, __webpack_exports__findEndpoint as findEndpoint, __webpack_exports__fitIdentifier as fitIdentifier, __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__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__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 };
@@ -16,14 +16,70 @@ __webpack_require__.d(__webpack_exports__, {
16
16
  const RECORD_FILTER_OPS = [
17
17
  'eq',
18
18
  'ne',
19
+ 'ieq',
19
20
  'gt',
20
21
  'gte',
21
22
  'lt',
22
23
  'lte',
24
+ 'between',
25
+ 'not_between',
23
26
  'in',
27
+ 'not_in',
28
+ 'contains',
29
+ 'not_contains',
30
+ 'starts_with',
31
+ 'ends_with',
32
+ 'has_any',
33
+ 'has_all',
34
+ 'has_none',
35
+ 'is_empty',
36
+ 'not_empty',
24
37
  'is_null',
25
38
  'not_null'
26
39
  ];
40
+ const FILTER_OP_VALUE_KIND = {
41
+ eq: 'single',
42
+ ne: 'single',
43
+ ieq: 'single',
44
+ gt: 'single',
45
+ gte: 'single',
46
+ lt: 'single',
47
+ lte: 'single',
48
+ between: 'range',
49
+ not_between: 'range',
50
+ in: 'list',
51
+ not_in: 'list',
52
+ contains: 'single',
53
+ not_contains: 'single',
54
+ starts_with: 'single',
55
+ ends_with: 'single',
56
+ has_any: 'list',
57
+ has_all: 'list',
58
+ has_none: 'list',
59
+ is_empty: 'none',
60
+ not_empty: 'none',
61
+ is_null: 'none',
62
+ not_null: 'none'
63
+ };
64
+ /** Case-insensitive text operators: text, long text, email and single-select fields only. */ const TEXT_FILTER_OPS = [
65
+ 'ieq',
66
+ 'contains',
67
+ 'not_contains',
68
+ 'starts_with',
69
+ 'ends_with'
70
+ ];
71
+ /** Multi-select operators: whether the stored list holds any / all / none of the given values. */ const LIST_FIELD_FILTER_OPS = [
72
+ 'has_any',
73
+ 'has_all',
74
+ 'has_none'
75
+ ];
76
+ /** Blank checks: no value, an empty text or an empty multi-select. */ const EMPTY_FILTER_OPS = [
77
+ 'is_empty',
78
+ 'not_empty'
79
+ ];
80
+ function isFilterRange(value) {
81
+ return !!value && typeof value === 'object' && !Array.isArray(value) && 'from' in value && 'to' in value && Object.keys(value).length === 2;
82
+ }
27
83
  const RECORD_FILTER_LIMITS = {
28
84
  MAX_IN_VALUES: 100
29
85
  };
@@ -42,10 +98,15 @@ const FILTER_CONDITION_KEYS = new Set([
42
98
  }
43
99
 
44
100
  __webpack_require__.d(__webpack_exports__, {
101
+ iA: () => (isFilterRange),
45
102
  t1: () => (isRecordFilterCondition)
46
103
  }, {
47
104
  M5: RECORD_FILTER_LIMITS,
48
- ox: RECORD_FILTER_OPS
105
+ Oh: EMPTY_FILTER_OPS,
106
+ ox: RECORD_FILTER_OPS,
107
+ w9: FILTER_OP_VALUE_KIND,
108
+ wk: TEXT_FILTER_OPS,
109
+ yV: LIST_FIELD_FILTER_OPS
49
110
  });
50
111
 
51
112
 
@@ -65,9 +126,14 @@ __webpack_require__.d(__webpack_exports__, {
65
126
  $j: () => (/* reexport safe */ _reference_provider_interface_js__rspack_import_1.$),
66
127
  DB: () => (/* reexport safe */ _definition_bundle_interface_js__rspack_import_2.D),
67
128
  M5: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.M5),
129
+ Oh: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.Oh),
68
130
  _$: () => (/* reexport safe */ (/* inlined export _definition_bundle_interface_js__rspack_import_2 */1)),
131
+ iA: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.iA),
69
132
  ox: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.ox),
70
- t1: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.t1)
133
+ t1: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.t1),
134
+ w9: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.w9),
135
+ wk: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.wk),
136
+ yV: () => (/* reexport safe */ _generic_record_interface_js__rspack_import_0.yV)
71
137
  });
72
138
 
73
139
 
@@ -90,8 +156,13 @@ import * as __rspack_chunk_1 from './index.js';
90
156
  __webpack_require__.C(__rspack_chunk_1);
91
157
  var __webpack_exports__ = __webpack_exec__(9546);var __webpack_exports__DEFINITION_BUNDLE_FORMAT = __webpack_exports__.DB;
92
158
  var __webpack_exports__DEFINITION_BUNDLE_VERSION = __webpack_exports__._$;
159
+ var __webpack_exports__EMPTY_FILTER_OPS = __webpack_exports__.Oh;
160
+ var __webpack_exports__FILTER_OP_VALUE_KIND = __webpack_exports__.w9;
93
161
  var __webpack_exports__FLOW_REFERENCE_PROVIDER = __webpack_exports__.$j;
162
+ var __webpack_exports__LIST_FIELD_FILTER_OPS = __webpack_exports__.yV;
94
163
  var __webpack_exports__RECORD_FILTER_LIMITS = __webpack_exports__.M5;
95
164
  var __webpack_exports__RECORD_FILTER_OPS = __webpack_exports__.ox;
165
+ var __webpack_exports__TEXT_FILTER_OPS = __webpack_exports__.wk;
166
+ var __webpack_exports__isFilterRange = __webpack_exports__.iA;
96
167
  var __webpack_exports__isRecordFilterCondition = __webpack_exports__.t1;
97
- export { __webpack_exports__DEFINITION_BUNDLE_FORMAT as DEFINITION_BUNDLE_FORMAT, __webpack_exports__DEFINITION_BUNDLE_VERSION as DEFINITION_BUNDLE_VERSION, __webpack_exports__FLOW_REFERENCE_PROVIDER as FLOW_REFERENCE_PROVIDER, __webpack_exports__RECORD_FILTER_LIMITS as RECORD_FILTER_LIMITS, __webpack_exports__RECORD_FILTER_OPS as RECORD_FILTER_OPS, __webpack_exports__isRecordFilterCondition as isRecordFilterCondition };
168
+ export { __webpack_exports__DEFINITION_BUNDLE_FORMAT as DEFINITION_BUNDLE_FORMAT, __webpack_exports__DEFINITION_BUNDLE_VERSION as DEFINITION_BUNDLE_VERSION, __webpack_exports__EMPTY_FILTER_OPS as EMPTY_FILTER_OPS, __webpack_exports__FILTER_OP_VALUE_KIND as FILTER_OP_VALUE_KIND, __webpack_exports__FLOW_REFERENCE_PROVIDER as FLOW_REFERENCE_PROVIDER, __webpack_exports__LIST_FIELD_FILTER_OPS as LIST_FIELD_FILTER_OPS, __webpack_exports__RECORD_FILTER_LIMITS as RECORD_FILTER_LIMITS, __webpack_exports__RECORD_FILTER_OPS as RECORD_FILTER_OPS, __webpack_exports__TEXT_FILTER_OPS as TEXT_FILTER_OPS, __webpack_exports__isFilterRange as isFilterRange, __webpack_exports__isRecordFilterCondition as isRecordFilterCondition };
@@ -7,7 +7,7 @@ import * as __rspack_chunk_1 from '../21.js';
7
7
  __webpack_require__.C(__rspack_chunk_1);
8
8
  import * as __rspack_chunk_2 from '../897.js';
9
9
  __webpack_require__.C(__rspack_chunk_2);
10
- import * as __rspack_chunk_3 from '../582.js';
10
+ import * as __rspack_chunk_3 from '../857.js';
11
11
  __webpack_require__.C(__rspack_chunk_3);
12
12
  import * as __rspack_chunk_4 from '../794.js';
13
13
  __webpack_require__.C(__rspack_chunk_4);
@@ -14,11 +14,11 @@ import { __webpack_require__ } from '../runtime.js';
14
14
  var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
15
15
  import * as __rspack_chunk_1 from '../21.js';
16
16
  __webpack_require__.C(__rspack_chunk_1);
17
- import * as __rspack_chunk_2 from '../582.js';
17
+ import * as __rspack_chunk_2 from '../857.js';
18
18
  __webpack_require__.C(__rspack_chunk_2);
19
19
  import * as __rspack_chunk_3 from './index.js';
20
20
  __webpack_require__.C(__rspack_chunk_3);
21
- var __webpack_exports__ = __webpack_exec__(8429);var __webpack_exports__RULE_COMPARISON_OPERATORS = __webpack_exports__.dJ;
21
+ var __webpack_exports__ = __webpack_exec__(8552);var __webpack_exports__RULE_COMPARISON_OPERATORS = __webpack_exports__.dJ;
22
22
  var __webpack_exports__RULE_DURATION_UNITS = __webpack_exports__.qO;
23
23
  var __webpack_exports__RULE_ENGINE_LIMITS = __webpack_exports__.bw;
24
24
  var __webpack_exports__RULE_PERMISSION_FUNCTIONS = __webpack_exports__.l2;
@@ -480,7 +480,7 @@ import * as __rspack_chunk_1 from '../21.js';
480
480
  __webpack_require__.C(__rspack_chunk_1);
481
481
  import * as __rspack_chunk_2 from '../897.js';
482
482
  __webpack_require__.C(__rspack_chunk_2);
483
- import * as __rspack_chunk_3 from '../582.js';
483
+ import * as __rspack_chunk_3 from '../857.js';
484
484
  __webpack_require__.C(__rspack_chunk_3);
485
485
  import * as __rspack_chunk_4 from '../794.js';
486
486
  __webpack_require__.C(__rspack_chunk_4);
@@ -1,5 +1,5 @@
1
1
  import { type ILogicNode } from '@flusys/nestjs-shared/interfaces';
2
- import { type RecordFilterOp } from '../interfaces/generic-record.interface.js';
2
+ import { type IFilterRange, type RecordFilterOp } from '../interfaces/generic-record.interface.js';
3
3
  import { type RuleExpression, type RuleGroup } from '../rule-engine/index.js';
4
4
  export declare const FLOW_NODE_TYPES: readonly ["trigger", "validate", "permission_check", "company_branch_check", "set", "condition", "switch", "foreach", "entity_insert", "entity_update", "entity_delete", "entity_get", "entity_query", "commit", "call_flow", "http_request", "publish_event", "send_notification", "send_email", "respond", "code"];
5
5
  export type FlowNodeType = (typeof FLOW_NODE_TYPES)[number];
@@ -68,14 +68,18 @@ export interface IValidateConfig {
68
68
  statusCode?: number;
69
69
  }
70
70
  export type PermissionDeniedMode = 'reject' | 'branch';
71
+ export declare const FLOW_ACCESS_SUBJECTS: readonly ["caller", "user"];
72
+ export type FlowAccessSubject = (typeof FLOW_ACCESS_SUBJECTS)[number];
71
73
  export interface IPermissionCheckConfig {
72
74
  permissions: ILogicNode;
75
+ subject?: FlowAccessSubject;
76
+ userId?: RuleExpression;
77
+ companyId?: RuleExpression;
78
+ branchId?: RuleExpression;
73
79
  onDenied?: PermissionDeniedMode;
74
80
  statusCode?: number;
75
81
  message?: string;
76
82
  }
77
- export declare const FLOW_ACCESS_SUBJECTS: readonly ["caller", "user"];
78
- export type FlowAccessSubject = (typeof FLOW_ACCESS_SUBJECTS)[number];
79
83
  export declare const FLOW_BRANCH_MATCHES: readonly ["direct", "within"];
80
84
  export type FlowBranchMatch = (typeof FLOW_BRANCH_MATCHES)[number];
81
85
  export declare const FLOW_BRANCH_COMPANIES: readonly ["any", "current"];
@@ -152,7 +156,7 @@ export interface IEntityGetConfig {
152
156
  }
153
157
  export interface IFlowFilterCondition {
154
158
  op: RecordFilterOp;
155
- value?: RuleExpression;
159
+ value?: RuleExpression | IFilterRange<RuleExpression>;
156
160
  }
157
161
  export type FlowFilterMap = Record<string, RuleExpression | IFlowFilterCondition>;
158
162
  export interface IEntityQueryConfig {
@@ -3,12 +3,22 @@ export interface IGenericRecord extends ObjectLiteral {
3
3
  id: string;
4
4
  [key: string]: unknown;
5
5
  }
6
- export declare const RECORD_FILTER_OPS: readonly ["eq", "ne", "gt", "gte", "lt", "lte", "in", "is_null", "not_null"];
6
+ export declare const RECORD_FILTER_OPS: readonly ["eq", "ne", "ieq", "gt", "gte", "lt", "lte", "between", "not_between", "in", "not_in", "contains", "not_contains", "starts_with", "ends_with", "has_any", "has_all", "has_none", "is_empty", "not_empty", "is_null", "not_null"];
7
7
  export type RecordFilterOp = (typeof RECORD_FILTER_OPS)[number];
8
+ export type FilterValueKind = 'none' | 'single' | 'list' | 'range';
9
+ export declare const FILTER_OP_VALUE_KIND: Record<RecordFilterOp, FilterValueKind>;
10
+ export declare const TEXT_FILTER_OPS: readonly RecordFilterOp[];
11
+ export declare const LIST_FIELD_FILTER_OPS: readonly RecordFilterOp[];
12
+ export declare const EMPTY_FILTER_OPS: readonly RecordFilterOp[];
8
13
  export interface IRecordFilterCondition {
9
14
  op: RecordFilterOp;
10
15
  value?: unknown;
11
16
  }
17
+ export interface IFilterRange<T> {
18
+ from: T;
19
+ to: T;
20
+ }
21
+ export declare function isFilterRange(value: unknown): value is IFilterRange<unknown>;
12
22
  export declare const RECORD_FILTER_LIMITS: {
13
23
  readonly MAX_IN_VALUES: 100;
14
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flusys/nestjs-entity-builder",
3
- "version": "9.1.1",
3
+ "version": "9.1.2",
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,9 +85,8 @@
85
85
  "rxjs": "^7.8.0"
86
86
  },
87
87
  "dependencies": {
88
- "@flusys/nestjs-core": "9.1.1",
89
- "@flusys/nestjs-shared": "9.1.1",
90
- "re2js": "^2.8.6",
88
+ "@flusys/nestjs-core": "9.1.2",
89
+ "@flusys/nestjs-shared": "9.1.2",
91
90
  "quickjs-emscripten": "^0.32.0"
92
91
  }
93
92
  }
@@ -1,4 +1,4 @@
1
- import { type IPermissionResolver } from '@flusys/nestjs-shared/interfaces';
1
+ import { type IPermissionResolver, type IPermissionScope } from '@flusys/nestjs-shared/interfaces';
2
2
  import { SharedPermissionCacheService } from '@flusys/nestjs-shared/modules';
3
3
  import { type IRulePermissionResolver, type RuleEvaluationContext } from './rule-evaluation-context.interface.js';
4
4
  import { type RuleCondition, type RuleExpression, type RuleGroup } from './rule.interface.js';
@@ -11,6 +11,7 @@ export declare class RuleEngineService {
11
11
  private readonly permissionCache?;
12
12
  constructor(permissionResolver?: IPermissionResolver | undefined, permissionCache?: SharedPermissionCacheService | undefined);
13
13
  createPermissionResolver(user: RuleEvaluationContext['user']): IRulePermissionResolver;
14
+ permissionCodes(scope: IPermissionScope): Promise<string[]>;
14
15
  evaluateGroup(group: RuleGroup, ctx: RuleEvaluationContext, depth?: number, budget?: IEvaluationBudget): Promise<boolean>;
15
16
  private every;
16
17
  evaluateCondition(condition: RuleCondition, ctx: RuleEvaluationContext, budget?: IEvaluationBudget): Promise<boolean>;
@@ -1,4 +1,2 @@
1
- export type RulePatternProblem = 'too_long' | 'invalid' | 'too_complex';
2
- export declare function rulePatternProblem(pattern: string): RulePatternProblem | null;
3
1
  export declare function matchesPattern(input: unknown, pattern: unknown): boolean;
4
2
  export declare function extractPattern(input: unknown, pattern: unknown, group?: unknown): string | null;
@@ -1,5 +1,8 @@
1
+ import { type IRecordFilterCondition } from '../interfaces/generic-record.interface.js';
2
+ import { type RuleExpression } from './rule.interface.js';
1
3
  export declare const ISO_DATE_PREFIX: RegExp;
2
4
  export declare function parseDateText(text: string): number;
3
5
  export declare function valuesEqual(a: unknown, b: unknown): boolean;
4
6
  export declare const includesValue: (list: readonly unknown[], value: unknown) => boolean;
5
- export declare const equalsOperand: (value: unknown) => unknown;
7
+ export declare function resolveFilterEntry(item: unknown, resolve: (expression: RuleExpression) => Promise<unknown>): Promise<IRecordFilterCondition>;
8
+ export declare const isFilterValueMissing: (entry: IRecordFilterCondition) => boolean;
@@ -1,4 +1,4 @@
1
- import { type RecordFilterOp } from '../interfaces/generic-record.interface.js';
1
+ import { type IFilterRange, type RecordFilterOp } from '../interfaces/generic-record.interface.js';
2
2
  export type RuleLogicOperator = 'AND' | 'OR' | 'NOT';
3
3
  export declare const RULE_COMPARISON_OPERATORS: readonly ["equals", "not_equals", "greater_than", "less_than", "greater_or_equal", "less_or_equal", "contains", "not_contains", "starts_with", "ends_with", "is_empty", "is_not_empty", "in", "not_in", "is_any_of", "is_none_of", "is_true", "is_false", "matches", "not_matches"];
4
4
  export type RuleComparisonOperator = (typeof RULE_COMPARISON_OPERATORS)[number];
@@ -30,7 +30,7 @@ export type RuleDurationUnit = (typeof RULE_DURATION_UNITS)[number];
30
30
  export type RuleLookupMode = 'exists' | 'count' | 'first';
31
31
  export interface RuleLookupFilterCondition {
32
32
  op: RecordFilterOp;
33
- value?: RuleExpression;
33
+ value?: RuleExpression | IFilterRange<RuleExpression>;
34
34
  }
35
35
  export interface RuleLookupExpression {
36
36
  type: 'lookup';
@@ -72,7 +72,6 @@ export declare const RULE_ENGINE_LIMITS: {
72
72
  readonly MAX_REGEX_PATTERN_LENGTH: 500;
73
73
  readonly MAX_REGEX_INPUT_LENGTH: 10000;
74
74
  readonly MAX_REGEX_REPEAT: 100;
75
- readonly MAX_REGEX_REPEAT_EXPANSION: 300;
76
75
  readonly MAX_UTC_OFFSET_MINUTES: 840;
77
76
  readonly MAX_PERMISSION_CODES: 50;
78
77
  readonly MAX_IP_RANGES: 100;
@@ -58,6 +58,10 @@ export declare class GenericEntityService {
58
58
  total: number;
59
59
  }>;
60
60
  private applyFilter;
61
+ private conditionSql;
62
+ private listOperand;
63
+ private fieldTypeOf;
64
+ private assertOperatorFits;
61
65
  private unknownOperator;
62
66
  private invalidFilterValue;
63
67
  private applySort;