@okf/ootils 1.29.3 → 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.
- package/dist/browser.d.mts +17 -1
- package/dist/browser.d.ts +17 -1
- package/dist/browser.js +20 -0
- package/dist/browser.mjs +18 -0
- package/dist/node.d.mts +17 -1
- package/dist/node.d.ts +17 -1
- package/dist/node.js +20 -0
- package/dist/node.mjs +18 -0
- package/dist/universal.d.mts +17 -1
- package/dist/universal.d.ts +17 -1
- package/dist/universal.js +20 -0
- package/dist/universal.mjs +18 -0
- package/package.json +1 -1
package/dist/browser.d.mts
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.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;
|
|
@@ -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;
|
|
@@ -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
|
@@ -1986,12 +1986,14 @@ __export(node_exports, {
|
|
|
1986
1986
|
getPlatformConfigsModelByTenant: () => import_getModelByTenant2.getPlatformConfigsModelByTenant,
|
|
1987
1987
|
getPlatformContextContent: () => getPlatformContextContent,
|
|
1988
1988
|
getRollupPossibilities: () => getRollupPossibilities,
|
|
1989
|
+
getRoutePathToContentTypeLanding: () => getRoutePathToContentTypeLanding,
|
|
1989
1990
|
getRoutePathToEditContent: () => getRoutePathToEditContent,
|
|
1990
1991
|
getRoutePathToModerateContent: () => getRoutePathToModerateContent,
|
|
1991
1992
|
getRoutePathToMyContent: () => getRoutePathToMyContent,
|
|
1992
1993
|
getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
|
|
1993
1994
|
getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
|
|
1994
1995
|
getRoutePathToTCI: () => getRoutePathToTCI,
|
|
1996
|
+
getRoutePathToTagCategoryLanding: () => getRoutePathToTagCategoryLanding,
|
|
1995
1997
|
getTplModelByTenant: () => import_getModelByTenant2.getTplModelByTenant,
|
|
1996
1998
|
getVal: () => getVal,
|
|
1997
1999
|
mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
|
|
@@ -2618,6 +2620,22 @@ var getRoutePathToTCI = ({
|
|
|
2618
2620
|
return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
|
|
2619
2621
|
};
|
|
2620
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
|
+
|
|
2621
2639
|
// src/UI_CONTENT.ts
|
|
2622
2640
|
var UI_CONTENT = {
|
|
2623
2641
|
autoGenFilterConfigs: {
|
|
@@ -4230,12 +4248,14 @@ var import_GET_GLOBAL_BULLMQ_CONFIG = __toESM(require_GET_GLOBAL_BULLMQ_CONFIG()
|
|
|
4230
4248
|
getPlatformConfigsModelByTenant,
|
|
4231
4249
|
getPlatformContextContent,
|
|
4232
4250
|
getRollupPossibilities,
|
|
4251
|
+
getRoutePathToContentTypeLanding,
|
|
4233
4252
|
getRoutePathToEditContent,
|
|
4234
4253
|
getRoutePathToModerateContent,
|
|
4235
4254
|
getRoutePathToMyContent,
|
|
4236
4255
|
getRoutePathToPublishedContent,
|
|
4237
4256
|
getRoutePathToReviewDashboard,
|
|
4238
4257
|
getRoutePathToTCI,
|
|
4258
|
+
getRoutePathToTagCategoryLanding,
|
|
4239
4259
|
getTplModelByTenant,
|
|
4240
4260
|
getVal,
|
|
4241
4261
|
mergeAnnoDataIntoAnnotationsTags,
|
package/dist/node.mjs
CHANGED
|
@@ -2558,6 +2558,22 @@ var getRoutePathToTCI = ({
|
|
|
2558
2558
|
return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
|
|
2559
2559
|
};
|
|
2560
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
|
+
|
|
2561
2577
|
// src/UI_CONTENT.ts
|
|
2562
2578
|
var UI_CONTENT = {
|
|
2563
2579
|
autoGenFilterConfigs: {
|
|
@@ -4185,12 +4201,14 @@ export {
|
|
|
4185
4201
|
export_getPlatformConfigsModelByTenant as getPlatformConfigsModelByTenant,
|
|
4186
4202
|
getPlatformContextContent,
|
|
4187
4203
|
getRollupPossibilities,
|
|
4204
|
+
getRoutePathToContentTypeLanding,
|
|
4188
4205
|
getRoutePathToEditContent,
|
|
4189
4206
|
getRoutePathToModerateContent,
|
|
4190
4207
|
getRoutePathToMyContent,
|
|
4191
4208
|
getRoutePathToPublishedContent,
|
|
4192
4209
|
getRoutePathToReviewDashboard,
|
|
4193
4210
|
getRoutePathToTCI,
|
|
4211
|
+
getRoutePathToTagCategoryLanding,
|
|
4194
4212
|
export_getTplModelByTenant as getTplModelByTenant,
|
|
4195
4213
|
getVal,
|
|
4196
4214
|
mergeAnnoDataIntoAnnotationsTags,
|
package/dist/universal.d.mts
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/universal.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/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,
|
package/dist/universal.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,
|