@okf/ootils 1.29.1 → 1.29.3

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.
@@ -898,6 +898,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
898
898
  activeTab?: string;
899
899
  }) => string;
900
900
 
901
+ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
902
+ contentType: string;
903
+ SELF_MANAGED_BASE_CONFIGS?: {
904
+ enable?: boolean;
905
+ contentPageRelated?: {
906
+ linkToTCI?: string;
907
+ [key: string]: any;
908
+ };
909
+ [key: string]: any;
910
+ };
911
+ }) => string;
912
+
901
913
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
902
914
  groups: any[];
903
915
  type: string;
@@ -1339,4 +1351,4 @@ declare const UI_CONTENT: {
1339
1351
  */
1340
1352
  declare const genCleanCamelCaseId: (id: string) => string;
1341
1353
 
1342
- export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
1354
+ export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/browser.d.ts CHANGED
@@ -898,6 +898,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
898
898
  activeTab?: string;
899
899
  }) => string;
900
900
 
901
+ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
902
+ contentType: string;
903
+ SELF_MANAGED_BASE_CONFIGS?: {
904
+ enable?: boolean;
905
+ contentPageRelated?: {
906
+ linkToTCI?: string;
907
+ [key: string]: any;
908
+ };
909
+ [key: string]: any;
910
+ };
911
+ }) => string;
912
+
901
913
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
902
914
  groups: any[];
903
915
  type: string;
@@ -1339,4 +1351,4 @@ declare const UI_CONTENT: {
1339
1351
  */
1340
1352
  declare const genCleanCamelCaseId: (id: string) => string;
1341
1353
 
1342
- export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
1354
+ export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/browser.js CHANGED
@@ -45,6 +45,7 @@ __export(browser_exports, {
45
45
  getRoutePathToMyContent: () => getRoutePathToMyContent,
46
46
  getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
47
47
  getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
48
+ getRoutePathToTCI: () => getRoutePathToTCI,
48
49
  getVal: () => getVal,
49
50
  mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
50
51
  parseSpecialConfigSyntax: () => parseSpecialConfigSyntax,
@@ -1012,6 +1013,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
1012
1013
  return activeTab ? `${base}?activeTab=${activeTab}` : base;
1013
1014
  };
1014
1015
 
1016
+ // src/utils/routePathGenerators/getRoutePathToTCI.ts
1017
+ var getRoutePathToTCI = ({
1018
+ contentType,
1019
+ SELF_MANAGED_BASE_CONFIGS
1020
+ }) => {
1021
+ const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
1022
+ const standard_link = `/tci/${contentType}`;
1023
+ return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
1024
+ };
1025
+
1015
1026
  // src/UI_CONTENT.ts
1016
1027
  var UI_CONTENT = {
1017
1028
  autoGenFilterConfigs: {
@@ -2221,6 +2232,7 @@ var genCleanCamelCaseId = (id) => {
2221
2232
  getRoutePathToMyContent,
2222
2233
  getRoutePathToPublishedContent,
2223
2234
  getRoutePathToReviewDashboard,
2235
+ getRoutePathToTCI,
2224
2236
  getVal,
2225
2237
  mergeAnnoDataIntoAnnotationsTags,
2226
2238
  parseSpecialConfigSyntax,
package/dist/browser.mjs CHANGED
@@ -954,6 +954,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
954
954
  return activeTab ? `${base}?activeTab=${activeTab}` : base;
955
955
  };
956
956
 
957
+ // src/utils/routePathGenerators/getRoutePathToTCI.ts
958
+ var getRoutePathToTCI = ({
959
+ contentType,
960
+ SELF_MANAGED_BASE_CONFIGS
961
+ }) => {
962
+ const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
963
+ const standard_link = `/tci/${contentType}`;
964
+ return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
965
+ };
966
+
957
967
  // src/UI_CONTENT.ts
958
968
  var UI_CONTENT = {
959
969
  autoGenFilterConfigs: {
@@ -2162,6 +2172,7 @@ export {
2162
2172
  getRoutePathToMyContent,
2163
2173
  getRoutePathToPublishedContent,
2164
2174
  getRoutePathToReviewDashboard,
2175
+ getRoutePathToTCI,
2165
2176
  getVal,
2166
2177
  mergeAnnoDataIntoAnnotationsTags,
2167
2178
  parseSpecialConfigSyntax,
package/dist/node.d.mts CHANGED
@@ -905,6 +905,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
905
905
  activeTab?: string;
906
906
  }) => string;
907
907
 
908
+ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
909
+ contentType: string;
910
+ SELF_MANAGED_BASE_CONFIGS?: {
911
+ enable?: boolean;
912
+ contentPageRelated?: {
913
+ linkToTCI?: string;
914
+ [key: string]: any;
915
+ };
916
+ [key: string]: any;
917
+ };
918
+ }) => string;
919
+
908
920
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
909
921
  groups: any[];
910
922
  type: string;
@@ -1775,7 +1787,7 @@ declare const AIChatSchema: mongoose__default.Schema<IAIChat, mongoose__default.
1775
1787
  __v: number;
1776
1788
  }>;
1777
1789
 
1778
- declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "ai"];
1790
+ declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "ai", "onboarding"];
1779
1791
 
1780
1792
  type PlatformConfigType = typeof platformConfigTypes[number];
1781
1793
  interface IPlatformConfig extends Document {
@@ -2076,4 +2088,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
2076
2088
  };
2077
2089
  }): Object;
2078
2090
 
2079
- export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ChunksElasticSyncProducer, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
2091
+ export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ChunksElasticSyncProducer, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/node.d.ts CHANGED
@@ -905,6 +905,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
905
905
  activeTab?: string;
906
906
  }) => string;
907
907
 
908
+ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
909
+ contentType: string;
910
+ SELF_MANAGED_BASE_CONFIGS?: {
911
+ enable?: boolean;
912
+ contentPageRelated?: {
913
+ linkToTCI?: string;
914
+ [key: string]: any;
915
+ };
916
+ [key: string]: any;
917
+ };
918
+ }) => string;
919
+
908
920
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
909
921
  groups: any[];
910
922
  type: string;
@@ -1775,7 +1787,7 @@ declare const AIChatSchema: mongoose__default.Schema<IAIChat, mongoose__default.
1775
1787
  __v: number;
1776
1788
  }>;
1777
1789
 
1778
- declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "ai"];
1790
+ declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "ai", "onboarding"];
1779
1791
 
1780
1792
  type PlatformConfigType = typeof platformConfigTypes[number];
1781
1793
  interface IPlatformConfig extends Document {
@@ -2076,4 +2088,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
2076
2088
  };
2077
2089
  }): Object;
2078
2090
 
2079
- export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ChunksElasticSyncProducer, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
2091
+ export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ChunksElasticSyncProducer, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/node.js CHANGED
@@ -546,7 +546,8 @@ var init_platformConfigTypes = __esm({
546
546
  "userAgreement",
547
547
  "localeData",
548
548
  "theme",
549
- "ai"
549
+ "ai",
550
+ "onboarding"
550
551
  ];
551
552
  }
552
553
  });
@@ -1990,6 +1991,7 @@ __export(node_exports, {
1990
1991
  getRoutePathToMyContent: () => getRoutePathToMyContent,
1991
1992
  getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
1992
1993
  getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
1994
+ getRoutePathToTCI: () => getRoutePathToTCI,
1993
1995
  getTplModelByTenant: () => import_getModelByTenant2.getTplModelByTenant,
1994
1996
  getVal: () => getVal,
1995
1997
  mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
@@ -2606,6 +2608,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
2606
2608
  return activeTab ? `${base}?activeTab=${activeTab}` : base;
2607
2609
  };
2608
2610
 
2611
+ // src/utils/routePathGenerators/getRoutePathToTCI.ts
2612
+ var getRoutePathToTCI = ({
2613
+ contentType,
2614
+ SELF_MANAGED_BASE_CONFIGS
2615
+ }) => {
2616
+ const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
2617
+ const standard_link = `/tci/${contentType}`;
2618
+ return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
2619
+ };
2620
+
2609
2621
  // src/UI_CONTENT.ts
2610
2622
  var UI_CONTENT = {
2611
2623
  autoGenFilterConfigs: {
@@ -4223,6 +4235,7 @@ var import_GET_GLOBAL_BULLMQ_CONFIG = __toESM(require_GET_GLOBAL_BULLMQ_CONFIG()
4223
4235
  getRoutePathToMyContent,
4224
4236
  getRoutePathToPublishedContent,
4225
4237
  getRoutePathToReviewDashboard,
4238
+ getRoutePathToTCI,
4226
4239
  getTplModelByTenant,
4227
4240
  getVal,
4228
4241
  mergeAnnoDataIntoAnnotationsTags,
package/dist/node.mjs CHANGED
@@ -551,7 +551,8 @@ var init_platformConfigTypes = __esm({
551
551
  "userAgreement",
552
552
  "localeData",
553
553
  "theme",
554
- "ai"
554
+ "ai",
555
+ "onboarding"
555
556
  ];
556
557
  }
557
558
  });
@@ -2547,6 +2548,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
2547
2548
  return activeTab ? `${base}?activeTab=${activeTab}` : base;
2548
2549
  };
2549
2550
 
2551
+ // src/utils/routePathGenerators/getRoutePathToTCI.ts
2552
+ var getRoutePathToTCI = ({
2553
+ contentType,
2554
+ SELF_MANAGED_BASE_CONFIGS
2555
+ }) => {
2556
+ const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
2557
+ const standard_link = `/tci/${contentType}`;
2558
+ return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
2559
+ };
2560
+
2550
2561
  // src/UI_CONTENT.ts
2551
2562
  var UI_CONTENT = {
2552
2563
  autoGenFilterConfigs: {
@@ -4179,6 +4190,7 @@ export {
4179
4190
  getRoutePathToMyContent,
4180
4191
  getRoutePathToPublishedContent,
4181
4192
  getRoutePathToReviewDashboard,
4193
+ getRoutePathToTCI,
4182
4194
  export_getTplModelByTenant as getTplModelByTenant,
4183
4195
  getVal,
4184
4196
  mergeAnnoDataIntoAnnotationsTags,
@@ -898,6 +898,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
898
898
  activeTab?: string;
899
899
  }) => string;
900
900
 
901
+ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
902
+ contentType: string;
903
+ SELF_MANAGED_BASE_CONFIGS?: {
904
+ enable?: boolean;
905
+ contentPageRelated?: {
906
+ linkToTCI?: string;
907
+ [key: string]: any;
908
+ };
909
+ [key: string]: any;
910
+ };
911
+ }) => string;
912
+
901
913
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
902
914
  groups: any[];
903
915
  type: string;
@@ -1339,4 +1351,4 @@ declare const UI_CONTENT: {
1339
1351
  */
1340
1352
  declare const genCleanCamelCaseId: (id: string) => string;
1341
1353
 
1342
- export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
1354
+ export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
@@ -898,6 +898,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
898
898
  activeTab?: string;
899
899
  }) => string;
900
900
 
901
+ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
902
+ contentType: string;
903
+ SELF_MANAGED_BASE_CONFIGS?: {
904
+ enable?: boolean;
905
+ contentPageRelated?: {
906
+ linkToTCI?: string;
907
+ [key: string]: any;
908
+ };
909
+ [key: string]: any;
910
+ };
911
+ }) => string;
912
+
901
913
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
902
914
  groups: any[];
903
915
  type: string;
@@ -1339,4 +1351,4 @@ declare const UI_CONTENT: {
1339
1351
  */
1340
1352
  declare const genCleanCamelCaseId: (id: string) => string;
1341
1353
 
1342
- export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
1354
+ export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/universal.js CHANGED
@@ -45,6 +45,7 @@ __export(universal_exports, {
45
45
  getRoutePathToMyContent: () => getRoutePathToMyContent,
46
46
  getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
47
47
  getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
48
+ getRoutePathToTCI: () => getRoutePathToTCI,
48
49
  getVal: () => getVal,
49
50
  mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
50
51
  parseSpecialConfigSyntax: () => parseSpecialConfigSyntax,
@@ -1012,6 +1013,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
1012
1013
  return activeTab ? `${base}?activeTab=${activeTab}` : base;
1013
1014
  };
1014
1015
 
1016
+ // src/utils/routePathGenerators/getRoutePathToTCI.ts
1017
+ var getRoutePathToTCI = ({
1018
+ contentType,
1019
+ SELF_MANAGED_BASE_CONFIGS
1020
+ }) => {
1021
+ const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
1022
+ const standard_link = `/tci/${contentType}`;
1023
+ return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
1024
+ };
1025
+
1015
1026
  // src/UI_CONTENT.ts
1016
1027
  var UI_CONTENT = {
1017
1028
  autoGenFilterConfigs: {
@@ -2221,6 +2232,7 @@ var genCleanCamelCaseId = (id) => {
2221
2232
  getRoutePathToMyContent,
2222
2233
  getRoutePathToPublishedContent,
2223
2234
  getRoutePathToReviewDashboard,
2235
+ getRoutePathToTCI,
2224
2236
  getVal,
2225
2237
  mergeAnnoDataIntoAnnotationsTags,
2226
2238
  parseSpecialConfigSyntax,
@@ -954,6 +954,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
954
954
  return activeTab ? `${base}?activeTab=${activeTab}` : base;
955
955
  };
956
956
 
957
+ // src/utils/routePathGenerators/getRoutePathToTCI.ts
958
+ var getRoutePathToTCI = ({
959
+ contentType,
960
+ SELF_MANAGED_BASE_CONFIGS
961
+ }) => {
962
+ const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
963
+ const standard_link = `/tci/${contentType}`;
964
+ return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
965
+ };
966
+
957
967
  // src/UI_CONTENT.ts
958
968
  var UI_CONTENT = {
959
969
  autoGenFilterConfigs: {
@@ -2162,6 +2172,7 @@ export {
2162
2172
  getRoutePathToMyContent,
2163
2173
  getRoutePathToPublishedContent,
2164
2174
  getRoutePathToReviewDashboard,
2175
+ getRoutePathToTCI,
2165
2176
  getVal,
2166
2177
  mergeAnnoDataIntoAnnotationsTags,
2167
2178
  parseSpecialConfigSyntax,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.29.1",
6
+ "version": "1.29.3",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",