@okf/ootils 1.31.3 → 1.31.4

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/dist/browser.mjs CHANGED
@@ -309,6 +309,210 @@ var _extractBlocksFromSomeBuilders = ({
309
309
  }
310
310
  };
311
311
 
312
+ // src/blockRegistry/schemaPresets.ts
313
+ var MONGO_SCHEMA_PRESETS = {
314
+ object: { type: Object },
315
+ string: { type: String }
316
+ };
317
+ var ELASTIC_MAPPING_PRESETS = {
318
+ largeText: {
319
+ properties: {
320
+ allText: {
321
+ type: "text",
322
+ analyzer: "LargeTextAnalyzer"
323
+ }
324
+ }
325
+ }
326
+ };
327
+ var CHUNKING_PRESETS = {
328
+ // Lexical-shaped text — uses semantic chunking on allText
329
+ lexicalSemantic: {
330
+ strategy: "semanticChunking",
331
+ windowSize: 3,
332
+ minSimilarityScore: 0.7
333
+ },
334
+ // Plain text input — single chunk per field
335
+ simpleText: {
336
+ strategy: "simpleChunking"
337
+ }
338
+ };
339
+
340
+ // src/blockRegistry/blocks/LexicalTextEditor.ts
341
+ var LexicalTextEditor = {
342
+ compName: "LexicalTextEditor",
343
+ // Identity
344
+ category: "text",
345
+ qualQuant: "qual",
346
+ // Schema
347
+ mongoSchemaType: MONGO_SCHEMA_PRESETS.object,
348
+ esMapping: ELASTIC_MAPPING_PRESETS.largeText,
349
+ // Capabilities
350
+ capabilities: {
351
+ hasPlainText: true,
352
+ annotation: true,
353
+ aiAnnotation: true,
354
+ aiEnrichment: true,
355
+ searchable: true,
356
+ directDataImport: true,
357
+ csvExport: true,
358
+ translatable: true,
359
+ documentSummarizer: true,
360
+ stripFromMainOnAnnoChunkSync: true,
361
+ excludeFromListingProjection: true
362
+ },
363
+ // Field paths
364
+ fieldPaths: {
365
+ plainTextString: "allText",
366
+ searchField: "allText",
367
+ displayValue: "allText"
368
+ },
369
+ // Validation
370
+ validation: {
371
+ populatedCheckFn: "lexicalTextEditorHasValue",
372
+ formValidationFn: "lexicalTextEditorHasValue"
373
+ },
374
+ // Translation
375
+ translation: {
376
+ handlerType: "LexicalBlockHandler"
377
+ },
378
+ // Table rendering
379
+ tableCell: {
380
+ cellComp: "RichTextAsPlainTextLex",
381
+ sortPathSuffix: "editorState.root.children.0.children.0.text"
382
+ },
383
+ // CSV export
384
+ csvExport: {
385
+ transformFn: "KPRichLexicalEditor"
386
+ },
387
+ // Slack
388
+ slackFormat: {
389
+ handlerFn: "lexicalRichText"
390
+ },
391
+ // Batch import
392
+ batchImport: {
393
+ valueInjectorFn: "toLexicalValue"
394
+ },
395
+ // Content block option — TCI template builder & direct import UI
396
+ contentBlockOption: {
397
+ display: "Rich Text Field",
398
+ icon: "TextAa",
399
+ directImportGroupsIdx: [2, 2]
400
+ },
401
+ // Chunking config — used by okf-sub CreateChunksHandler
402
+ chunkingConfig: CHUNKING_PRESETS.lexicalSemantic
403
+ };
404
+
405
+ // src/blockRegistry/registry.ts
406
+ var BlockRegistry = class {
407
+ constructor() {
408
+ this.blocks = /* @__PURE__ */ new Map();
409
+ this.register(LexicalTextEditor);
410
+ }
411
+ /** Register a block descriptor. */
412
+ register(descriptor) {
413
+ this.blocks.set(descriptor.compName, descriptor);
414
+ }
415
+ /** Get the full descriptor for a block type. Returns undefined if not registered. */
416
+ getBlock(compType) {
417
+ return this.blocks.get(compType);
418
+ }
419
+ /** Check if a block type is registered in the registry. */
420
+ isRegistered(compType) {
421
+ return this.blocks.has(compType);
422
+ }
423
+ /**
424
+ * Get all registered block descriptors that have a given capability set to a truthy value.
425
+ * Optionally pass a specific value to match (e.g. for enum-style capabilities).
426
+ */
427
+ getBlocksByCapability(capability, value = true) {
428
+ return Array.from(this.blocks.values()).filter((b) => {
429
+ const cap = b.capabilities[capability];
430
+ if (value === true) return !!cap;
431
+ return cap === value;
432
+ });
433
+ }
434
+ /**
435
+ * Get compType strings for all registered blocks with a given capability.
436
+ * Replaces scattered hardcoded arrays like:
437
+ * const TEXT_FIELD_COMPONENTS = ["TextInput", "LexicalTextEditor", ...]
438
+ * becomes:
439
+ * const TEXT_FIELD_COMPONENTS = blockRegistry.getComps('aiTextExtraction')
440
+ */
441
+ getComps(capability, value = true) {
442
+ return this.getBlocksByCapability(capability, value).map((b) => b.compName);
443
+ }
444
+ /** Get all registered blocks in a given category. */
445
+ getBlocksByCategory(category) {
446
+ return Array.from(this.blocks.values()).filter((b) => b.category === category);
447
+ }
448
+ /** Get compType strings for all qual blocks. */
449
+ getQualBlocks() {
450
+ return Array.from(this.blocks.values()).filter((b) => b.qualQuant === "qual").map((b) => b.compName);
451
+ }
452
+ /** Get compType strings for all quant blocks. */
453
+ getQuantBlocks() {
454
+ return Array.from(this.blocks.values()).filter((b) => b.qualQuant === "quant").map((b) => b.compName);
455
+ }
456
+ /** Check if a specific block has a specific capability. */
457
+ hasCapability(compType, capability) {
458
+ const block = this.blocks.get(compType);
459
+ if (!block) return false;
460
+ return !!block.capabilities[capability];
461
+ }
462
+ /** Get all registered block descriptors. */
463
+ getAll() {
464
+ return Array.from(this.blocks.values());
465
+ }
466
+ /**
467
+ * Get compName strings for all registered blocks that have a chunking config.
468
+ * Used by chunking pipelines and prompt-string injection (e.g. searchChunks tool
469
+ * description) to know which fields actually have chunks to search.
470
+ */
471
+ getCompsWithChunking() {
472
+ return Array.from(this.blocks.values()).filter((b) => !!b.chunkingConfig).map((b) => b.compName);
473
+ }
474
+ /**
475
+ * Filter a list of block instances down to those where annotation is enabled.
476
+ * A block is annotation-enabled if its registry capability `annotation` is true.
477
+ * For backwards compat with un-migrated blocks (e.g. deprecated KPRichInput/RichTextEditor),
478
+ * falls back to the legacy per-instance `props.annotation.enable` toggle.
479
+ *
480
+ * Today: every registered annotation-capable block (e.g. LexicalTextEditor) is auto-enabled.
481
+ */
482
+ getAnnotationEnabledBlocks(allBlocks) {
483
+ return allBlocks.filter((block) => {
484
+ const blockDef = this.blocks.get(block.comp);
485
+ if (blockDef) return !!blockDef.capabilities.annotation;
486
+ return block.props?.annotation?.enable === true;
487
+ });
488
+ }
489
+ /**
490
+ * Resolve the tagTypesConfig for a block instance.
491
+ *
492
+ * Resolution order:
493
+ * 1. `hardCodedTagTypesConfigForSM` — the intended self-managed default, which takes
494
+ * priority over per-instance values (justifies not persisting per-block on self-managed).
495
+ * Sourced from `GET_SELF_MANAGED_BASE_CONFIGS().annotation_tagTypesConfig` on BE,
496
+ * or `platformConfigs.SELF_MANAGED_BASE_CONFIGS.annotation_tagTypesConfig` on FE.
497
+ * Pass null/undefined for non-SM tenants.
498
+ * 2. `block.props.annotation.tagTypesConfig` — legacy per-instance persisted value.
499
+ * 3. Empty array.
500
+ */
501
+ getTagTypesConfig(block, hardCodedTagTypesConfigForSM) {
502
+ return hardCodedTagTypesConfigForSM || block.props?.annotation?.tagTypesConfig || [];
503
+ }
504
+ };
505
+ var blockRegistry = new BlockRegistry();
506
+
507
+ // src/utils/isTplAnnotationEnabled.ts
508
+ var isTplAnnotationEnabled = (tpl) => {
509
+ if (tpl?.general?.segment !== "publishing") return false;
510
+ const allBlocks = extractAllBlocksFromTpl({ tpl }).filter(
511
+ (b) => typeof b.comp === "string"
512
+ );
513
+ return blockRegistry.getAnnotationEnabledBlocks(allBlocks).length > 0;
514
+ };
515
+
312
516
  // src/utils/getRollupPossibilities.ts
313
517
  var MAX_DEPTH_ROLLUP_POSSIBILITIES = 10;
314
518
  function getRollupPossibilities({
@@ -1388,201 +1592,6 @@ var compareAndGroupBlocks = (blocksPerTpl) => {
1388
1592
  return Array.from(templateGroupToFilters.values());
1389
1593
  };
1390
1594
 
1391
- // src/blockRegistry/schemaPresets.ts
1392
- var MONGO_SCHEMA_PRESETS = {
1393
- object: { type: Object },
1394
- string: { type: String }
1395
- };
1396
- var ELASTIC_MAPPING_PRESETS = {
1397
- largeText: {
1398
- properties: {
1399
- allText: {
1400
- type: "text",
1401
- analyzer: "LargeTextAnalyzer"
1402
- }
1403
- }
1404
- }
1405
- };
1406
- var CHUNKING_PRESETS = {
1407
- // Lexical-shaped text — uses semantic chunking on allText
1408
- lexicalSemantic: {
1409
- strategy: "semanticChunking",
1410
- windowSize: 3,
1411
- minSimilarityScore: 0.7
1412
- },
1413
- // Plain text input — single chunk per field
1414
- simpleText: {
1415
- strategy: "simpleChunking"
1416
- }
1417
- };
1418
-
1419
- // src/blockRegistry/blocks/LexicalTextEditor.ts
1420
- var LexicalTextEditor = {
1421
- compName: "LexicalTextEditor",
1422
- // Identity
1423
- category: "text",
1424
- qualQuant: "qual",
1425
- // Schema
1426
- mongoSchemaType: MONGO_SCHEMA_PRESETS.object,
1427
- esMapping: ELASTIC_MAPPING_PRESETS.largeText,
1428
- // Capabilities
1429
- capabilities: {
1430
- hasPlainText: true,
1431
- annotation: true,
1432
- aiAnnotation: true,
1433
- aiEnrichment: true,
1434
- searchable: true,
1435
- directDataImport: true,
1436
- csvExport: true,
1437
- translatable: true,
1438
- documentSummarizer: true,
1439
- stripFromMainOnAnnoChunkSync: true,
1440
- excludeFromListingProjection: true
1441
- },
1442
- // Field paths
1443
- fieldPaths: {
1444
- plainTextString: "allText",
1445
- searchField: "allText",
1446
- displayValue: "allText"
1447
- },
1448
- // Validation
1449
- validation: {
1450
- populatedCheckFn: "lexicalTextEditorHasValue",
1451
- formValidationFn: "lexicalTextEditorHasValue"
1452
- },
1453
- // Translation
1454
- translation: {
1455
- handlerType: "LexicalBlockHandler"
1456
- },
1457
- // Table rendering
1458
- tableCell: {
1459
- cellComp: "RichTextAsPlainTextLex",
1460
- sortPathSuffix: "editorState.root.children.0.children.0.text"
1461
- },
1462
- // CSV export
1463
- csvExport: {
1464
- transformFn: "KPRichLexicalEditor"
1465
- },
1466
- // Slack
1467
- slackFormat: {
1468
- handlerFn: "lexicalRichText"
1469
- },
1470
- // Batch import
1471
- batchImport: {
1472
- valueInjectorFn: "toLexicalValue"
1473
- },
1474
- // Content block option — TCI template builder & direct import UI
1475
- contentBlockOption: {
1476
- display: "Rich Text Field",
1477
- icon: "TextAa",
1478
- directImportGroupsIdx: [2, 2]
1479
- },
1480
- // Chunking config — used by okf-sub CreateChunksHandler
1481
- chunkingConfig: CHUNKING_PRESETS.lexicalSemantic
1482
- };
1483
-
1484
- // src/blockRegistry/registry.ts
1485
- var BlockRegistry = class {
1486
- constructor() {
1487
- this.blocks = /* @__PURE__ */ new Map();
1488
- this.register(LexicalTextEditor);
1489
- }
1490
- /** Register a block descriptor. */
1491
- register(descriptor) {
1492
- this.blocks.set(descriptor.compName, descriptor);
1493
- }
1494
- /** Get the full descriptor for a block type. Returns undefined if not registered. */
1495
- getBlock(compType) {
1496
- return this.blocks.get(compType);
1497
- }
1498
- /** Check if a block type is registered in the registry. */
1499
- isRegistered(compType) {
1500
- return this.blocks.has(compType);
1501
- }
1502
- /**
1503
- * Get all registered block descriptors that have a given capability set to a truthy value.
1504
- * Optionally pass a specific value to match (e.g. for enum-style capabilities).
1505
- */
1506
- getBlocksByCapability(capability, value = true) {
1507
- return Array.from(this.blocks.values()).filter((b) => {
1508
- const cap = b.capabilities[capability];
1509
- if (value === true) return !!cap;
1510
- return cap === value;
1511
- });
1512
- }
1513
- /**
1514
- * Get compType strings for all registered blocks with a given capability.
1515
- * Replaces scattered hardcoded arrays like:
1516
- * const TEXT_FIELD_COMPONENTS = ["TextInput", "LexicalTextEditor", ...]
1517
- * becomes:
1518
- * const TEXT_FIELD_COMPONENTS = blockRegistry.getComps('aiTextExtraction')
1519
- */
1520
- getComps(capability, value = true) {
1521
- return this.getBlocksByCapability(capability, value).map((b) => b.compName);
1522
- }
1523
- /** Get all registered blocks in a given category. */
1524
- getBlocksByCategory(category) {
1525
- return Array.from(this.blocks.values()).filter((b) => b.category === category);
1526
- }
1527
- /** Get compType strings for all qual blocks. */
1528
- getQualBlocks() {
1529
- return Array.from(this.blocks.values()).filter((b) => b.qualQuant === "qual").map((b) => b.compName);
1530
- }
1531
- /** Get compType strings for all quant blocks. */
1532
- getQuantBlocks() {
1533
- return Array.from(this.blocks.values()).filter((b) => b.qualQuant === "quant").map((b) => b.compName);
1534
- }
1535
- /** Check if a specific block has a specific capability. */
1536
- hasCapability(compType, capability) {
1537
- const block = this.blocks.get(compType);
1538
- if (!block) return false;
1539
- return !!block.capabilities[capability];
1540
- }
1541
- /** Get all registered block descriptors. */
1542
- getAll() {
1543
- return Array.from(this.blocks.values());
1544
- }
1545
- /**
1546
- * Get compName strings for all registered blocks that have a chunking config.
1547
- * Used by chunking pipelines and prompt-string injection (e.g. searchChunks tool
1548
- * description) to know which fields actually have chunks to search.
1549
- */
1550
- getCompsWithChunking() {
1551
- return Array.from(this.blocks.values()).filter((b) => !!b.chunkingConfig).map((b) => b.compName);
1552
- }
1553
- /**
1554
- * Filter a list of block instances down to those where annotation is enabled.
1555
- * A block is annotation-enabled if its registry capability `annotation` is true.
1556
- * For backwards compat with un-migrated blocks (e.g. deprecated KPRichInput/RichTextEditor),
1557
- * falls back to the legacy per-instance `props.annotation.enable` toggle.
1558
- *
1559
- * Today: every registered annotation-capable block (e.g. LexicalTextEditor) is auto-enabled.
1560
- */
1561
- getAnnotationEnabledBlocks(allBlocks) {
1562
- return allBlocks.filter((block) => {
1563
- const blockDef = this.blocks.get(block.comp);
1564
- if (blockDef) return !!blockDef.capabilities.annotation;
1565
- return block.props?.annotation?.enable === true;
1566
- });
1567
- }
1568
- /**
1569
- * Resolve the tagTypesConfig for a block instance.
1570
- *
1571
- * Resolution order:
1572
- * 1. `hardCodedTagTypesConfigForSM` — the intended self-managed default, which takes
1573
- * priority over per-instance values (justifies not persisting per-block on self-managed).
1574
- * Sourced from `GET_SELF_MANAGED_BASE_CONFIGS().annotation_tagTypesConfig` on BE,
1575
- * or `platformConfigs.SELF_MANAGED_BASE_CONFIGS.annotation_tagTypesConfig` on FE.
1576
- * Pass null/undefined for non-SM tenants.
1577
- * 2. `block.props.annotation.tagTypesConfig` — legacy per-instance persisted value.
1578
- * 3. Empty array.
1579
- */
1580
- getTagTypesConfig(block, hardCodedTagTypesConfigForSM) {
1581
- return hardCodedTagTypesConfigForSM || block.props?.annotation?.tagTypesConfig || [];
1582
- }
1583
- };
1584
- var blockRegistry = new BlockRegistry();
1585
-
1586
1595
  // src/utils/autoGenFilterConfigsFromTpl/utils/extractAndOrganizeBlocks.ts
1587
1596
  var extractAndOrganizeBlocks = (selectedTpls, allTpls, { smTagTypesConfig } = {}) => {
1588
1597
  const extractedBlocks = {};
@@ -2421,6 +2430,7 @@ export {
2421
2430
  getRoutePathToTCI,
2422
2431
  getRoutePathToTagCategoryLanding,
2423
2432
  getVal,
2433
+ isTplAnnotationEnabled,
2424
2434
  mergeAnnoDataIntoAnnotationsTags,
2425
2435
  parseSpecialConfigSyntax,
2426
2436
  processAuthorAndCommonFilters,
package/dist/node.d.mts CHANGED
@@ -221,6 +221,14 @@ declare const _recursExtractBlocks: ({ data, cb, sectionStack, blockPathPrefix }
221
221
  blockPathPrefix?: string;
222
222
  }) => void;
223
223
 
224
+ /**
225
+ * Returns true if annotation is enabled on this tpl. Two conditions must be met:
226
+ * 1. The tpl is in the publishing segment (annotation only makes sense for publishing).
227
+ * 2. At least one block on the tpl has the annotation capability in the registry
228
+ * (or legacy props.annotation.enable for unregistered blocks).
229
+ */
230
+ declare const isTplAnnotationEnabled: (tpl: any) => boolean;
231
+
224
232
  /**
225
233
  * Calculates all possible rollup relationships for a tag type
226
234
  *
@@ -2390,4 +2398,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
2390
2398
  };
2391
2399
  }): Object;
2392
2400
 
2393
- export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, type BlockCapabilities, type BlockDef, BlockRegistry, CHUNKING_PRESETS, ChunksElasticSyncProducer, ELASTIC_MAPPING_PRESETS, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MONGO_SCHEMA_PRESETS, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, blockRegistry, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToContentTypeLanding, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getRoutePathToTagCategoryLanding, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
2401
+ export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, type BlockCapabilities, type BlockDef, BlockRegistry, CHUNKING_PRESETS, ChunksElasticSyncProducer, ELASTIC_MAPPING_PRESETS, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MONGO_SCHEMA_PRESETS, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, blockRegistry, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToContentTypeLanding, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getRoutePathToTagCategoryLanding, getTplModelByTenant, getVal, isTplAnnotationEnabled, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/node.d.ts CHANGED
@@ -221,6 +221,14 @@ declare const _recursExtractBlocks: ({ data, cb, sectionStack, blockPathPrefix }
221
221
  blockPathPrefix?: string;
222
222
  }) => void;
223
223
 
224
+ /**
225
+ * Returns true if annotation is enabled on this tpl. Two conditions must be met:
226
+ * 1. The tpl is in the publishing segment (annotation only makes sense for publishing).
227
+ * 2. At least one block on the tpl has the annotation capability in the registry
228
+ * (or legacy props.annotation.enable for unregistered blocks).
229
+ */
230
+ declare const isTplAnnotationEnabled: (tpl: any) => boolean;
231
+
224
232
  /**
225
233
  * Calculates all possible rollup relationships for a tag type
226
234
  *
@@ -2390,4 +2398,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
2390
2398
  };
2391
2399
  }): Object;
2392
2400
 
2393
- export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, type BlockCapabilities, type BlockDef, BlockRegistry, CHUNKING_PRESETS, ChunksElasticSyncProducer, ELASTIC_MAPPING_PRESETS, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MONGO_SCHEMA_PRESETS, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, blockRegistry, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToContentTypeLanding, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getRoutePathToTagCategoryLanding, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
2401
+ export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, type BlockCapabilities, type BlockDef, BlockRegistry, CHUNKING_PRESETS, ChunksElasticSyncProducer, ELASTIC_MAPPING_PRESETS, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MONGO_SCHEMA_PRESETS, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, blockRegistry, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToContentTypeLanding, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getRoutePathToTagCategoryLanding, getTplModelByTenant, getVal, isTplAnnotationEnabled, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };