@okf/ootils 1.28.3 → 1.28.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.
@@ -882,6 +882,22 @@ declare const getRoutePathToModerateContent: ({ contentType, contentId, SELF_MAN
882
882
  };
883
883
  }) => string;
884
884
 
885
+ declare const getRoutePathToMyContent: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
886
+ SELF_MANAGED_BASE_CONFIGS?: {
887
+ enable?: boolean;
888
+ [key: string]: any;
889
+ };
890
+ activeTab?: string;
891
+ }) => string;
892
+
893
+ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
894
+ SELF_MANAGED_BASE_CONFIGS?: {
895
+ enable?: boolean;
896
+ [key: string]: any;
897
+ };
898
+ activeTab?: string;
899
+ }) => string;
900
+
885
901
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
886
902
  groups: any[];
887
903
  type: string;
@@ -1323,4 +1339,4 @@ declare const UI_CONTENT: {
1323
1339
  */
1324
1340
  declare const genCleanCamelCaseId: (id: string) => string;
1325
1341
 
1326
- 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, getRoutePathToPublishedContent, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
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 };
package/dist/browser.d.ts CHANGED
@@ -882,6 +882,22 @@ declare const getRoutePathToModerateContent: ({ contentType, contentId, SELF_MAN
882
882
  };
883
883
  }) => string;
884
884
 
885
+ declare const getRoutePathToMyContent: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
886
+ SELF_MANAGED_BASE_CONFIGS?: {
887
+ enable?: boolean;
888
+ [key: string]: any;
889
+ };
890
+ activeTab?: string;
891
+ }) => string;
892
+
893
+ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
894
+ SELF_MANAGED_BASE_CONFIGS?: {
895
+ enable?: boolean;
896
+ [key: string]: any;
897
+ };
898
+ activeTab?: string;
899
+ }) => string;
900
+
885
901
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
886
902
  groups: any[];
887
903
  type: string;
@@ -1323,4 +1339,4 @@ declare const UI_CONTENT: {
1323
1339
  */
1324
1340
  declare const genCleanCamelCaseId: (id: string) => string;
1325
1341
 
1326
- 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, getRoutePathToPublishedContent, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
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 };
package/dist/browser.js CHANGED
@@ -42,7 +42,9 @@ __export(browser_exports, {
42
42
  getRollupPossibilities: () => getRollupPossibilities,
43
43
  getRoutePathToEditContent: () => getRoutePathToEditContent,
44
44
  getRoutePathToModerateContent: () => getRoutePathToModerateContent,
45
+ getRoutePathToMyContent: () => getRoutePathToMyContent,
45
46
  getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
47
+ getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
46
48
  getVal: () => getVal,
47
49
  mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
48
50
  parseSpecialConfigSyntax: () => parseSpecialConfigSyntax,
@@ -996,6 +998,20 @@ var getRoutePathToModerateContent = ({
996
998
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType, contentId } }) : standard_link;
997
999
  };
998
1000
 
1001
+ // src/utils/routePathGenerators/getRoutePathToMyContent.ts
1002
+ var getRoutePathToMyContent = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
1003
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
1004
+ const base = sm ? "/my-content" : "/my-dashboard/MyContent";
1005
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
1006
+ };
1007
+
1008
+ // src/utils/routePathGenerators/getRoutePathToReviewDashboard.ts
1009
+ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
1010
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
1011
+ const base = sm ? "/review-dashboard" : "/my-dashboard/ModQueue";
1012
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
1013
+ };
1014
+
999
1015
  // src/UI_CONTENT.ts
1000
1016
  var UI_CONTENT = {
1001
1017
  autoGenFilterConfigs: {
@@ -2197,7 +2213,9 @@ var genCleanCamelCaseId = (id) => {
2197
2213
  getRollupPossibilities,
2198
2214
  getRoutePathToEditContent,
2199
2215
  getRoutePathToModerateContent,
2216
+ getRoutePathToMyContent,
2200
2217
  getRoutePathToPublishedContent,
2218
+ getRoutePathToReviewDashboard,
2201
2219
  getVal,
2202
2220
  mergeAnnoDataIntoAnnotationsTags,
2203
2221
  parseSpecialConfigSyntax,
package/dist/browser.mjs CHANGED
@@ -940,6 +940,20 @@ var getRoutePathToModerateContent = ({
940
940
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType, contentId } }) : standard_link;
941
941
  };
942
942
 
943
+ // src/utils/routePathGenerators/getRoutePathToMyContent.ts
944
+ var getRoutePathToMyContent = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
945
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
946
+ const base = sm ? "/my-content" : "/my-dashboard/MyContent";
947
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
948
+ };
949
+
950
+ // src/utils/routePathGenerators/getRoutePathToReviewDashboard.ts
951
+ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
952
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
953
+ const base = sm ? "/review-dashboard" : "/my-dashboard/ModQueue";
954
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
955
+ };
956
+
943
957
  // src/UI_CONTENT.ts
944
958
  var UI_CONTENT = {
945
959
  autoGenFilterConfigs: {
@@ -2140,7 +2154,9 @@ export {
2140
2154
  getRollupPossibilities,
2141
2155
  getRoutePathToEditContent,
2142
2156
  getRoutePathToModerateContent,
2157
+ getRoutePathToMyContent,
2143
2158
  getRoutePathToPublishedContent,
2159
+ getRoutePathToReviewDashboard,
2144
2160
  getVal,
2145
2161
  mergeAnnoDataIntoAnnotationsTags,
2146
2162
  parseSpecialConfigSyntax,
package/dist/node.d.mts CHANGED
@@ -889,6 +889,22 @@ declare const getRoutePathToModerateContent: ({ contentType, contentId, SELF_MAN
889
889
  };
890
890
  }) => string;
891
891
 
892
+ declare const getRoutePathToMyContent: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
893
+ SELF_MANAGED_BASE_CONFIGS?: {
894
+ enable?: boolean;
895
+ [key: string]: any;
896
+ };
897
+ activeTab?: string;
898
+ }) => string;
899
+
900
+ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
901
+ SELF_MANAGED_BASE_CONFIGS?: {
902
+ enable?: boolean;
903
+ [key: string]: any;
904
+ };
905
+ activeTab?: string;
906
+ }) => string;
907
+
892
908
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
893
909
  groups: any[];
894
910
  type: string;
@@ -2060,4 +2076,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
2060
2076
  };
2061
2077
  }): Object;
2062
2078
 
2063
- 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, getRoutePathToPublishedContent, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
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 };
package/dist/node.d.ts CHANGED
@@ -889,6 +889,22 @@ declare const getRoutePathToModerateContent: ({ contentType, contentId, SELF_MAN
889
889
  };
890
890
  }) => string;
891
891
 
892
+ declare const getRoutePathToMyContent: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
893
+ SELF_MANAGED_BASE_CONFIGS?: {
894
+ enable?: boolean;
895
+ [key: string]: any;
896
+ };
897
+ activeTab?: string;
898
+ }) => string;
899
+
900
+ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
901
+ SELF_MANAGED_BASE_CONFIGS?: {
902
+ enable?: boolean;
903
+ [key: string]: any;
904
+ };
905
+ activeTab?: string;
906
+ }) => string;
907
+
892
908
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
893
909
  groups: any[];
894
910
  type: string;
@@ -2060,4 +2076,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
2060
2076
  };
2061
2077
  }): Object;
2062
2078
 
2063
- 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, getRoutePathToPublishedContent, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
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 };
package/dist/node.js CHANGED
@@ -1987,7 +1987,9 @@ __export(node_exports, {
1987
1987
  getRollupPossibilities: () => getRollupPossibilities,
1988
1988
  getRoutePathToEditContent: () => getRoutePathToEditContent,
1989
1989
  getRoutePathToModerateContent: () => getRoutePathToModerateContent,
1990
+ getRoutePathToMyContent: () => getRoutePathToMyContent,
1990
1991
  getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
1992
+ getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
1991
1993
  getTplModelByTenant: () => import_getModelByTenant2.getTplModelByTenant,
1992
1994
  getVal: () => getVal,
1993
1995
  mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
@@ -2590,6 +2592,20 @@ var getRoutePathToModerateContent = ({
2590
2592
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType, contentId } }) : standard_link;
2591
2593
  };
2592
2594
 
2595
+ // src/utils/routePathGenerators/getRoutePathToMyContent.ts
2596
+ var getRoutePathToMyContent = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
2597
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
2598
+ const base = sm ? "/my-content" : "/my-dashboard/MyContent";
2599
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
2600
+ };
2601
+
2602
+ // src/utils/routePathGenerators/getRoutePathToReviewDashboard.ts
2603
+ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
2604
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
2605
+ const base = sm ? "/review-dashboard" : "/my-dashboard/ModQueue";
2606
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
2607
+ };
2608
+
2593
2609
  // src/UI_CONTENT.ts
2594
2610
  var UI_CONTENT = {
2595
2611
  autoGenFilterConfigs: {
@@ -4199,7 +4215,9 @@ var import_GET_GLOBAL_BULLMQ_CONFIG = __toESM(require_GET_GLOBAL_BULLMQ_CONFIG()
4199
4215
  getRollupPossibilities,
4200
4216
  getRoutePathToEditContent,
4201
4217
  getRoutePathToModerateContent,
4218
+ getRoutePathToMyContent,
4202
4219
  getRoutePathToPublishedContent,
4220
+ getRoutePathToReviewDashboard,
4203
4221
  getTplModelByTenant,
4204
4222
  getVal,
4205
4223
  mergeAnnoDataIntoAnnotationsTags,
package/dist/node.mjs CHANGED
@@ -2533,6 +2533,20 @@ var getRoutePathToModerateContent = ({
2533
2533
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType, contentId } }) : standard_link;
2534
2534
  };
2535
2535
 
2536
+ // src/utils/routePathGenerators/getRoutePathToMyContent.ts
2537
+ var getRoutePathToMyContent = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
2538
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
2539
+ const base = sm ? "/my-content" : "/my-dashboard/MyContent";
2540
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
2541
+ };
2542
+
2543
+ // src/utils/routePathGenerators/getRoutePathToReviewDashboard.ts
2544
+ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
2545
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
2546
+ const base = sm ? "/review-dashboard" : "/my-dashboard/ModQueue";
2547
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
2548
+ };
2549
+
2536
2550
  // src/UI_CONTENT.ts
2537
2551
  var UI_CONTENT = {
2538
2552
  autoGenFilterConfigs: {
@@ -4157,7 +4171,9 @@ export {
4157
4171
  getRollupPossibilities,
4158
4172
  getRoutePathToEditContent,
4159
4173
  getRoutePathToModerateContent,
4174
+ getRoutePathToMyContent,
4160
4175
  getRoutePathToPublishedContent,
4176
+ getRoutePathToReviewDashboard,
4161
4177
  export_getTplModelByTenant as getTplModelByTenant,
4162
4178
  getVal,
4163
4179
  mergeAnnoDataIntoAnnotationsTags,
@@ -882,6 +882,22 @@ declare const getRoutePathToModerateContent: ({ contentType, contentId, SELF_MAN
882
882
  };
883
883
  }) => string;
884
884
 
885
+ declare const getRoutePathToMyContent: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
886
+ SELF_MANAGED_BASE_CONFIGS?: {
887
+ enable?: boolean;
888
+ [key: string]: any;
889
+ };
890
+ activeTab?: string;
891
+ }) => string;
892
+
893
+ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
894
+ SELF_MANAGED_BASE_CONFIGS?: {
895
+ enable?: boolean;
896
+ [key: string]: any;
897
+ };
898
+ activeTab?: string;
899
+ }) => string;
900
+
885
901
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
886
902
  groups: any[];
887
903
  type: string;
@@ -1323,4 +1339,4 @@ declare const UI_CONTENT: {
1323
1339
  */
1324
1340
  declare const genCleanCamelCaseId: (id: string) => string;
1325
1341
 
1326
- 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, getRoutePathToPublishedContent, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
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 };
@@ -882,6 +882,22 @@ declare const getRoutePathToModerateContent: ({ contentType, contentId, SELF_MAN
882
882
  };
883
883
  }) => string;
884
884
 
885
+ declare const getRoutePathToMyContent: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
886
+ SELF_MANAGED_BASE_CONFIGS?: {
887
+ enable?: boolean;
888
+ [key: string]: any;
889
+ };
890
+ activeTab?: string;
891
+ }) => string;
892
+
893
+ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activeTab }?: {
894
+ SELF_MANAGED_BASE_CONFIGS?: {
895
+ enable?: boolean;
896
+ [key: string]: any;
897
+ };
898
+ activeTab?: string;
899
+ }) => string;
900
+
885
901
  declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
886
902
  groups: any[];
887
903
  type: string;
@@ -1323,4 +1339,4 @@ declare const UI_CONTENT: {
1323
1339
  */
1324
1340
  declare const genCleanCamelCaseId: (id: string) => string;
1325
1341
 
1326
- 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, getRoutePathToPublishedContent, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
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 };
package/dist/universal.js CHANGED
@@ -42,7 +42,9 @@ __export(universal_exports, {
42
42
  getRollupPossibilities: () => getRollupPossibilities,
43
43
  getRoutePathToEditContent: () => getRoutePathToEditContent,
44
44
  getRoutePathToModerateContent: () => getRoutePathToModerateContent,
45
+ getRoutePathToMyContent: () => getRoutePathToMyContent,
45
46
  getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
47
+ getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
46
48
  getVal: () => getVal,
47
49
  mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
48
50
  parseSpecialConfigSyntax: () => parseSpecialConfigSyntax,
@@ -996,6 +998,20 @@ var getRoutePathToModerateContent = ({
996
998
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType, contentId } }) : standard_link;
997
999
  };
998
1000
 
1001
+ // src/utils/routePathGenerators/getRoutePathToMyContent.ts
1002
+ var getRoutePathToMyContent = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
1003
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
1004
+ const base = sm ? "/my-content" : "/my-dashboard/MyContent";
1005
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
1006
+ };
1007
+
1008
+ // src/utils/routePathGenerators/getRoutePathToReviewDashboard.ts
1009
+ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
1010
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
1011
+ const base = sm ? "/review-dashboard" : "/my-dashboard/ModQueue";
1012
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
1013
+ };
1014
+
999
1015
  // src/UI_CONTENT.ts
1000
1016
  var UI_CONTENT = {
1001
1017
  autoGenFilterConfigs: {
@@ -2197,7 +2213,9 @@ var genCleanCamelCaseId = (id) => {
2197
2213
  getRollupPossibilities,
2198
2214
  getRoutePathToEditContent,
2199
2215
  getRoutePathToModerateContent,
2216
+ getRoutePathToMyContent,
2200
2217
  getRoutePathToPublishedContent,
2218
+ getRoutePathToReviewDashboard,
2201
2219
  getVal,
2202
2220
  mergeAnnoDataIntoAnnotationsTags,
2203
2221
  parseSpecialConfigSyntax,
@@ -940,6 +940,20 @@ var getRoutePathToModerateContent = ({
940
940
  return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType, contentId } }) : standard_link;
941
941
  };
942
942
 
943
+ // src/utils/routePathGenerators/getRoutePathToMyContent.ts
944
+ var getRoutePathToMyContent = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
945
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
946
+ const base = sm ? "/my-content" : "/my-dashboard/MyContent";
947
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
948
+ };
949
+
950
+ // src/utils/routePathGenerators/getRoutePathToReviewDashboard.ts
951
+ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } = {}) => {
952
+ const sm = SELF_MANAGED_BASE_CONFIGS?.enable;
953
+ const base = sm ? "/review-dashboard" : "/my-dashboard/ModQueue";
954
+ return activeTab ? `${base}?activeTab=${activeTab}` : base;
955
+ };
956
+
943
957
  // src/UI_CONTENT.ts
944
958
  var UI_CONTENT = {
945
959
  autoGenFilterConfigs: {
@@ -2140,7 +2154,9 @@ export {
2140
2154
  getRollupPossibilities,
2141
2155
  getRoutePathToEditContent,
2142
2156
  getRoutePathToModerateContent,
2157
+ getRoutePathToMyContent,
2143
2158
  getRoutePathToPublishedContent,
2159
+ getRoutePathToReviewDashboard,
2144
2160
  getVal,
2145
2161
  mergeAnnoDataIntoAnnotationsTags,
2146
2162
  parseSpecialConfigSyntax,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.28.3",
6
+ "version": "1.28.4",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",