@okf/ootils 1.29.2 → 1.29.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.
@@ -910,6 +910,22 @@ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
910
910
  };
911
911
  }) => string;
912
912
 
913
+ declare const getRoutePathToContentTypeLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
914
+ contentType: string;
915
+ SELF_MANAGED_BASE_CONFIGS?: {
916
+ enable?: boolean;
917
+ [key: string]: any;
918
+ };
919
+ }) => string;
920
+
921
+ declare const getRoutePathToTagCategoryLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
922
+ contentType: string;
923
+ SELF_MANAGED_BASE_CONFIGS?: {
924
+ enable?: boolean;
925
+ [key: string]: any;
926
+ };
927
+ }) => string;
928
+
913
929
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
914
930
  groups: any[];
915
931
  type: string;
@@ -1351,4 +1367,4 @@ declare const UI_CONTENT: {
1351
1367
  */
1352
1368
  declare const genCleanCamelCaseId: (id: string) => string;
1353
1369
 
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 };
1370
+ 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, getRoutePathToContentTypeLanding, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getRoutePathToTagCategoryLanding, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/browser.d.ts CHANGED
@@ -910,6 +910,22 @@ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
910
910
  };
911
911
  }) => string;
912
912
 
913
+ declare const getRoutePathToContentTypeLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
914
+ contentType: string;
915
+ SELF_MANAGED_BASE_CONFIGS?: {
916
+ enable?: boolean;
917
+ [key: string]: any;
918
+ };
919
+ }) => string;
920
+
921
+ declare const getRoutePathToTagCategoryLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
922
+ contentType: string;
923
+ SELF_MANAGED_BASE_CONFIGS?: {
924
+ enable?: boolean;
925
+ [key: string]: any;
926
+ };
927
+ }) => string;
928
+
913
929
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
914
930
  groups: any[];
915
931
  type: string;
@@ -1351,4 +1367,4 @@ declare const UI_CONTENT: {
1351
1367
  */
1352
1368
  declare const genCleanCamelCaseId: (id: string) => string;
1353
1369
 
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 };
1370
+ 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, getRoutePathToContentTypeLanding, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getRoutePathToTagCategoryLanding, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/browser.js CHANGED
@@ -40,12 +40,14 @@ __export(browser_exports, {
40
40
  getFilterKeyForBlock: () => getFilterKeyForBlock,
41
41
  getPlatformContextContent: () => getPlatformContextContent,
42
42
  getRollupPossibilities: () => getRollupPossibilities,
43
+ getRoutePathToContentTypeLanding: () => getRoutePathToContentTypeLanding,
43
44
  getRoutePathToEditContent: () => getRoutePathToEditContent,
44
45
  getRoutePathToModerateContent: () => getRoutePathToModerateContent,
45
46
  getRoutePathToMyContent: () => getRoutePathToMyContent,
46
47
  getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
47
48
  getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
48
49
  getRoutePathToTCI: () => getRoutePathToTCI,
50
+ getRoutePathToTagCategoryLanding: () => getRoutePathToTagCategoryLanding,
49
51
  getVal: () => getVal,
50
52
  mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
51
53
  parseSpecialConfigSyntax: () => parseSpecialConfigSyntax,
@@ -1023,6 +1025,22 @@ var getRoutePathToTCI = ({
1023
1025
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
1024
1026
  };
1025
1027
 
1028
+ // src/utils/routePathGenerators/getRoutePathToContentTypeLanding.ts
1029
+ var getRoutePathToContentTypeLanding = ({
1030
+ contentType,
1031
+ SELF_MANAGED_BASE_CONFIGS
1032
+ }) => {
1033
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/datasetTemplates/${contentType}` : `/platformBuilder/contentTypesManager/${contentType}`;
1034
+ };
1035
+
1036
+ // src/utils/routePathGenerators/getRoutePathToTagCategoryLanding.ts
1037
+ var getRoutePathToTagCategoryLanding = ({
1038
+ contentType,
1039
+ SELF_MANAGED_BASE_CONFIGS
1040
+ }) => {
1041
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/dataConnectors/${contentType}` : `/platformBuilder/tagsManager/${contentType}`;
1042
+ };
1043
+
1026
1044
  // src/UI_CONTENT.ts
1027
1045
  var UI_CONTENT = {
1028
1046
  autoGenFilterConfigs: {
@@ -2227,12 +2245,14 @@ var genCleanCamelCaseId = (id) => {
2227
2245
  getFilterKeyForBlock,
2228
2246
  getPlatformContextContent,
2229
2247
  getRollupPossibilities,
2248
+ getRoutePathToContentTypeLanding,
2230
2249
  getRoutePathToEditContent,
2231
2250
  getRoutePathToModerateContent,
2232
2251
  getRoutePathToMyContent,
2233
2252
  getRoutePathToPublishedContent,
2234
2253
  getRoutePathToReviewDashboard,
2235
2254
  getRoutePathToTCI,
2255
+ getRoutePathToTagCategoryLanding,
2236
2256
  getVal,
2237
2257
  mergeAnnoDataIntoAnnotationsTags,
2238
2258
  parseSpecialConfigSyntax,
package/dist/browser.mjs CHANGED
@@ -964,6 +964,22 @@ var getRoutePathToTCI = ({
964
964
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
965
965
  };
966
966
 
967
+ // src/utils/routePathGenerators/getRoutePathToContentTypeLanding.ts
968
+ var getRoutePathToContentTypeLanding = ({
969
+ contentType,
970
+ SELF_MANAGED_BASE_CONFIGS
971
+ }) => {
972
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/datasetTemplates/${contentType}` : `/platformBuilder/contentTypesManager/${contentType}`;
973
+ };
974
+
975
+ // src/utils/routePathGenerators/getRoutePathToTagCategoryLanding.ts
976
+ var getRoutePathToTagCategoryLanding = ({
977
+ contentType,
978
+ SELF_MANAGED_BASE_CONFIGS
979
+ }) => {
980
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/dataConnectors/${contentType}` : `/platformBuilder/tagsManager/${contentType}`;
981
+ };
982
+
967
983
  // src/UI_CONTENT.ts
968
984
  var UI_CONTENT = {
969
985
  autoGenFilterConfigs: {
@@ -2167,12 +2183,14 @@ export {
2167
2183
  getFilterKeyForBlock,
2168
2184
  getPlatformContextContent,
2169
2185
  getRollupPossibilities,
2186
+ getRoutePathToContentTypeLanding,
2170
2187
  getRoutePathToEditContent,
2171
2188
  getRoutePathToModerateContent,
2172
2189
  getRoutePathToMyContent,
2173
2190
  getRoutePathToPublishedContent,
2174
2191
  getRoutePathToReviewDashboard,
2175
2192
  getRoutePathToTCI,
2193
+ getRoutePathToTagCategoryLanding,
2176
2194
  getVal,
2177
2195
  mergeAnnoDataIntoAnnotationsTags,
2178
2196
  parseSpecialConfigSyntax,
package/dist/node.d.mts CHANGED
@@ -917,6 +917,22 @@ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
917
917
  };
918
918
  }) => string;
919
919
 
920
+ declare const getRoutePathToContentTypeLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
921
+ contentType: string;
922
+ SELF_MANAGED_BASE_CONFIGS?: {
923
+ enable?: boolean;
924
+ [key: string]: any;
925
+ };
926
+ }) => string;
927
+
928
+ declare const getRoutePathToTagCategoryLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
929
+ contentType: string;
930
+ SELF_MANAGED_BASE_CONFIGS?: {
931
+ enable?: boolean;
932
+ [key: string]: any;
933
+ };
934
+ }) => string;
935
+
920
936
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
921
937
  groups: any[];
922
938
  type: string;
@@ -1787,7 +1803,7 @@ declare const AIChatSchema: mongoose__default.Schema<IAIChat, mongoose__default.
1787
1803
  __v: number;
1788
1804
  }>;
1789
1805
 
1790
- declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "ai"];
1806
+ declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "ai", "onboarding"];
1791
1807
 
1792
1808
  type PlatformConfigType = typeof platformConfigTypes[number];
1793
1809
  interface IPlatformConfig extends Document {
@@ -2088,4 +2104,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
2088
2104
  };
2089
2105
  }): Object;
2090
2106
 
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 };
2107
+ 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, getRoutePathToContentTypeLanding, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getRoutePathToTagCategoryLanding, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/node.d.ts CHANGED
@@ -917,6 +917,22 @@ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
917
917
  };
918
918
  }) => string;
919
919
 
920
+ declare const getRoutePathToContentTypeLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
921
+ contentType: string;
922
+ SELF_MANAGED_BASE_CONFIGS?: {
923
+ enable?: boolean;
924
+ [key: string]: any;
925
+ };
926
+ }) => string;
927
+
928
+ declare const getRoutePathToTagCategoryLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
929
+ contentType: string;
930
+ SELF_MANAGED_BASE_CONFIGS?: {
931
+ enable?: boolean;
932
+ [key: string]: any;
933
+ };
934
+ }) => string;
935
+
920
936
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
921
937
  groups: any[];
922
938
  type: string;
@@ -1787,7 +1803,7 @@ declare const AIChatSchema: mongoose__default.Schema<IAIChat, mongoose__default.
1787
1803
  __v: number;
1788
1804
  }>;
1789
1805
 
1790
- declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "ai"];
1806
+ declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "ai", "onboarding"];
1791
1807
 
1792
1808
  type PlatformConfigType = typeof platformConfigTypes[number];
1793
1809
  interface IPlatformConfig extends Document {
@@ -2088,4 +2104,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
2088
2104
  };
2089
2105
  }): Object;
2090
2106
 
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 };
2107
+ 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, getRoutePathToContentTypeLanding, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getRoutePathToTagCategoryLanding, 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
  });
@@ -1985,12 +1986,14 @@ __export(node_exports, {
1985
1986
  getPlatformConfigsModelByTenant: () => import_getModelByTenant2.getPlatformConfigsModelByTenant,
1986
1987
  getPlatformContextContent: () => getPlatformContextContent,
1987
1988
  getRollupPossibilities: () => getRollupPossibilities,
1989
+ getRoutePathToContentTypeLanding: () => getRoutePathToContentTypeLanding,
1988
1990
  getRoutePathToEditContent: () => getRoutePathToEditContent,
1989
1991
  getRoutePathToModerateContent: () => getRoutePathToModerateContent,
1990
1992
  getRoutePathToMyContent: () => getRoutePathToMyContent,
1991
1993
  getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
1992
1994
  getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
1993
1995
  getRoutePathToTCI: () => getRoutePathToTCI,
1996
+ getRoutePathToTagCategoryLanding: () => getRoutePathToTagCategoryLanding,
1994
1997
  getTplModelByTenant: () => import_getModelByTenant2.getTplModelByTenant,
1995
1998
  getVal: () => getVal,
1996
1999
  mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
@@ -2617,6 +2620,22 @@ var getRoutePathToTCI = ({
2617
2620
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
2618
2621
  };
2619
2622
 
2623
+ // src/utils/routePathGenerators/getRoutePathToContentTypeLanding.ts
2624
+ var getRoutePathToContentTypeLanding = ({
2625
+ contentType,
2626
+ SELF_MANAGED_BASE_CONFIGS
2627
+ }) => {
2628
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/datasetTemplates/${contentType}` : `/platformBuilder/contentTypesManager/${contentType}`;
2629
+ };
2630
+
2631
+ // src/utils/routePathGenerators/getRoutePathToTagCategoryLanding.ts
2632
+ var getRoutePathToTagCategoryLanding = ({
2633
+ contentType,
2634
+ SELF_MANAGED_BASE_CONFIGS
2635
+ }) => {
2636
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/dataConnectors/${contentType}` : `/platformBuilder/tagsManager/${contentType}`;
2637
+ };
2638
+
2620
2639
  // src/UI_CONTENT.ts
2621
2640
  var UI_CONTENT = {
2622
2641
  autoGenFilterConfigs: {
@@ -4229,12 +4248,14 @@ var import_GET_GLOBAL_BULLMQ_CONFIG = __toESM(require_GET_GLOBAL_BULLMQ_CONFIG()
4229
4248
  getPlatformConfigsModelByTenant,
4230
4249
  getPlatformContextContent,
4231
4250
  getRollupPossibilities,
4251
+ getRoutePathToContentTypeLanding,
4232
4252
  getRoutePathToEditContent,
4233
4253
  getRoutePathToModerateContent,
4234
4254
  getRoutePathToMyContent,
4235
4255
  getRoutePathToPublishedContent,
4236
4256
  getRoutePathToReviewDashboard,
4237
4257
  getRoutePathToTCI,
4258
+ getRoutePathToTagCategoryLanding,
4238
4259
  getTplModelByTenant,
4239
4260
  getVal,
4240
4261
  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
  });
@@ -2557,6 +2558,22 @@ var getRoutePathToTCI = ({
2557
2558
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
2558
2559
  };
2559
2560
 
2561
+ // src/utils/routePathGenerators/getRoutePathToContentTypeLanding.ts
2562
+ var getRoutePathToContentTypeLanding = ({
2563
+ contentType,
2564
+ SELF_MANAGED_BASE_CONFIGS
2565
+ }) => {
2566
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/datasetTemplates/${contentType}` : `/platformBuilder/contentTypesManager/${contentType}`;
2567
+ };
2568
+
2569
+ // src/utils/routePathGenerators/getRoutePathToTagCategoryLanding.ts
2570
+ var getRoutePathToTagCategoryLanding = ({
2571
+ contentType,
2572
+ SELF_MANAGED_BASE_CONFIGS
2573
+ }) => {
2574
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/dataConnectors/${contentType}` : `/platformBuilder/tagsManager/${contentType}`;
2575
+ };
2576
+
2560
2577
  // src/UI_CONTENT.ts
2561
2578
  var UI_CONTENT = {
2562
2579
  autoGenFilterConfigs: {
@@ -4184,12 +4201,14 @@ export {
4184
4201
  export_getPlatformConfigsModelByTenant as getPlatformConfigsModelByTenant,
4185
4202
  getPlatformContextContent,
4186
4203
  getRollupPossibilities,
4204
+ getRoutePathToContentTypeLanding,
4187
4205
  getRoutePathToEditContent,
4188
4206
  getRoutePathToModerateContent,
4189
4207
  getRoutePathToMyContent,
4190
4208
  getRoutePathToPublishedContent,
4191
4209
  getRoutePathToReviewDashboard,
4192
4210
  getRoutePathToTCI,
4211
+ getRoutePathToTagCategoryLanding,
4193
4212
  export_getTplModelByTenant as getTplModelByTenant,
4194
4213
  getVal,
4195
4214
  mergeAnnoDataIntoAnnotationsTags,
@@ -910,6 +910,22 @@ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
910
910
  };
911
911
  }) => string;
912
912
 
913
+ declare const getRoutePathToContentTypeLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
914
+ contentType: string;
915
+ SELF_MANAGED_BASE_CONFIGS?: {
916
+ enable?: boolean;
917
+ [key: string]: any;
918
+ };
919
+ }) => string;
920
+
921
+ declare const getRoutePathToTagCategoryLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
922
+ contentType: string;
923
+ SELF_MANAGED_BASE_CONFIGS?: {
924
+ enable?: boolean;
925
+ [key: string]: any;
926
+ };
927
+ }) => string;
928
+
913
929
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
914
930
  groups: any[];
915
931
  type: string;
@@ -1351,4 +1367,4 @@ declare const UI_CONTENT: {
1351
1367
  */
1352
1368
  declare const genCleanCamelCaseId: (id: string) => string;
1353
1369
 
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 };
1370
+ 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, getRoutePathToContentTypeLanding, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getRoutePathToTagCategoryLanding, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
@@ -910,6 +910,22 @@ declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
910
910
  };
911
911
  }) => string;
912
912
 
913
+ declare const getRoutePathToContentTypeLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
914
+ contentType: string;
915
+ SELF_MANAGED_BASE_CONFIGS?: {
916
+ enable?: boolean;
917
+ [key: string]: any;
918
+ };
919
+ }) => string;
920
+
921
+ declare const getRoutePathToTagCategoryLanding: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
922
+ contentType: string;
923
+ SELF_MANAGED_BASE_CONFIGS?: {
924
+ enable?: boolean;
925
+ [key: string]: any;
926
+ };
927
+ }) => string;
928
+
913
929
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
914
930
  groups: any[];
915
931
  type: string;
@@ -1351,4 +1367,4 @@ declare const UI_CONTENT: {
1351
1367
  */
1352
1368
  declare const genCleanCamelCaseId: (id: string) => string;
1353
1369
 
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 };
1370
+ 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, getRoutePathToContentTypeLanding, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getRoutePathToTagCategoryLanding, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/universal.js CHANGED
@@ -40,12 +40,14 @@ __export(universal_exports, {
40
40
  getFilterKeyForBlock: () => getFilterKeyForBlock,
41
41
  getPlatformContextContent: () => getPlatformContextContent,
42
42
  getRollupPossibilities: () => getRollupPossibilities,
43
+ getRoutePathToContentTypeLanding: () => getRoutePathToContentTypeLanding,
43
44
  getRoutePathToEditContent: () => getRoutePathToEditContent,
44
45
  getRoutePathToModerateContent: () => getRoutePathToModerateContent,
45
46
  getRoutePathToMyContent: () => getRoutePathToMyContent,
46
47
  getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
47
48
  getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
48
49
  getRoutePathToTCI: () => getRoutePathToTCI,
50
+ getRoutePathToTagCategoryLanding: () => getRoutePathToTagCategoryLanding,
49
51
  getVal: () => getVal,
50
52
  mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
51
53
  parseSpecialConfigSyntax: () => parseSpecialConfigSyntax,
@@ -1023,6 +1025,22 @@ var getRoutePathToTCI = ({
1023
1025
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
1024
1026
  };
1025
1027
 
1028
+ // src/utils/routePathGenerators/getRoutePathToContentTypeLanding.ts
1029
+ var getRoutePathToContentTypeLanding = ({
1030
+ contentType,
1031
+ SELF_MANAGED_BASE_CONFIGS
1032
+ }) => {
1033
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/datasetTemplates/${contentType}` : `/platformBuilder/contentTypesManager/${contentType}`;
1034
+ };
1035
+
1036
+ // src/utils/routePathGenerators/getRoutePathToTagCategoryLanding.ts
1037
+ var getRoutePathToTagCategoryLanding = ({
1038
+ contentType,
1039
+ SELF_MANAGED_BASE_CONFIGS
1040
+ }) => {
1041
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/dataConnectors/${contentType}` : `/platformBuilder/tagsManager/${contentType}`;
1042
+ };
1043
+
1026
1044
  // src/UI_CONTENT.ts
1027
1045
  var UI_CONTENT = {
1028
1046
  autoGenFilterConfigs: {
@@ -2227,12 +2245,14 @@ var genCleanCamelCaseId = (id) => {
2227
2245
  getFilterKeyForBlock,
2228
2246
  getPlatformContextContent,
2229
2247
  getRollupPossibilities,
2248
+ getRoutePathToContentTypeLanding,
2230
2249
  getRoutePathToEditContent,
2231
2250
  getRoutePathToModerateContent,
2232
2251
  getRoutePathToMyContent,
2233
2252
  getRoutePathToPublishedContent,
2234
2253
  getRoutePathToReviewDashboard,
2235
2254
  getRoutePathToTCI,
2255
+ getRoutePathToTagCategoryLanding,
2236
2256
  getVal,
2237
2257
  mergeAnnoDataIntoAnnotationsTags,
2238
2258
  parseSpecialConfigSyntax,
@@ -964,6 +964,22 @@ var getRoutePathToTCI = ({
964
964
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
965
965
  };
966
966
 
967
+ // src/utils/routePathGenerators/getRoutePathToContentTypeLanding.ts
968
+ var getRoutePathToContentTypeLanding = ({
969
+ contentType,
970
+ SELF_MANAGED_BASE_CONFIGS
971
+ }) => {
972
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/datasetTemplates/${contentType}` : `/platformBuilder/contentTypesManager/${contentType}`;
973
+ };
974
+
975
+ // src/utils/routePathGenerators/getRoutePathToTagCategoryLanding.ts
976
+ var getRoutePathToTagCategoryLanding = ({
977
+ contentType,
978
+ SELF_MANAGED_BASE_CONFIGS
979
+ }) => {
980
+ return SELF_MANAGED_BASE_CONFIGS?.enable ? `/platform-settings/dataConnectors/${contentType}` : `/platformBuilder/tagsManager/${contentType}`;
981
+ };
982
+
967
983
  // src/UI_CONTENT.ts
968
984
  var UI_CONTENT = {
969
985
  autoGenFilterConfigs: {
@@ -2167,12 +2183,14 @@ export {
2167
2183
  getFilterKeyForBlock,
2168
2184
  getPlatformContextContent,
2169
2185
  getRollupPossibilities,
2186
+ getRoutePathToContentTypeLanding,
2170
2187
  getRoutePathToEditContent,
2171
2188
  getRoutePathToModerateContent,
2172
2189
  getRoutePathToMyContent,
2173
2190
  getRoutePathToPublishedContent,
2174
2191
  getRoutePathToReviewDashboard,
2175
2192
  getRoutePathToTCI,
2193
+ getRoutePathToTagCategoryLanding,
2176
2194
  getVal,
2177
2195
  mergeAnnoDataIntoAnnotationsTags,
2178
2196
  parseSpecialConfigSyntax,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.29.2",
6
+ "version": "1.29.4",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",