@okf/ootils 1.35.0 → 1.36.1
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 +55 -5
- package/dist/browser.d.ts +55 -5
- package/dist/browser.js +62 -22
- package/dist/browser.mjs +62 -22
- package/dist/node.d.mts +55 -5
- package/dist/node.d.ts +55 -5
- package/dist/node.js +62 -22
- package/dist/node.mjs +62 -22
- package/dist/universal.d.mts +55 -5
- package/dist/universal.d.ts +55 -5
- package/dist/universal.js +62 -22
- package/dist/universal.mjs +62 -22
- package/package.json +1 -1
package/dist/node.d.ts
CHANGED
|
@@ -924,13 +924,11 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
924
924
|
}
|
|
925
925
|
export { workerConfig_15 as workerConfig };
|
|
926
926
|
}
|
|
927
|
-
namespace
|
|
927
|
+
namespace SCHEDULED_EXTERNAL_SYNC_QUEUE {
|
|
928
928
|
let id_16: string;
|
|
929
929
|
export { id_16 as id };
|
|
930
930
|
export namespace queueConfig_16 {
|
|
931
931
|
export namespace defaultJobOptions_16 {
|
|
932
|
-
let attempts_16: number;
|
|
933
|
-
export { attempts_16 as attempts };
|
|
934
932
|
export namespace backoff_16 {
|
|
935
933
|
let type_16: string;
|
|
936
934
|
export { type_16 as type };
|
|
@@ -938,8 +936,8 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
938
936
|
export { delay_16 as delay };
|
|
939
937
|
}
|
|
940
938
|
export { backoff_16 as backoff };
|
|
941
|
-
let
|
|
942
|
-
export {
|
|
939
|
+
let attempts_16: number;
|
|
940
|
+
export { attempts_16 as attempts };
|
|
943
941
|
let removeOnComplete_16: number;
|
|
944
942
|
export { removeOnComplete_16 as removeOnComplete };
|
|
945
943
|
let removeOnFail_16: number;
|
|
@@ -966,6 +964,48 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
966
964
|
}
|
|
967
965
|
export { workerConfig_16 as workerConfig };
|
|
968
966
|
}
|
|
967
|
+
namespace REINDEX_QUEUE {
|
|
968
|
+
let id_17: string;
|
|
969
|
+
export { id_17 as id };
|
|
970
|
+
export namespace queueConfig_17 {
|
|
971
|
+
export namespace defaultJobOptions_17 {
|
|
972
|
+
let attempts_17: number;
|
|
973
|
+
export { attempts_17 as attempts };
|
|
974
|
+
export namespace backoff_17 {
|
|
975
|
+
let type_17: string;
|
|
976
|
+
export { type_17 as type };
|
|
977
|
+
let delay_17: number;
|
|
978
|
+
export { delay_17 as delay };
|
|
979
|
+
}
|
|
980
|
+
export { backoff_17 as backoff };
|
|
981
|
+
let delay_18: number;
|
|
982
|
+
export { delay_18 as delay };
|
|
983
|
+
let removeOnComplete_17: number;
|
|
984
|
+
export { removeOnComplete_17 as removeOnComplete };
|
|
985
|
+
let removeOnFail_17: number;
|
|
986
|
+
export { removeOnFail_17 as removeOnFail };
|
|
987
|
+
}
|
|
988
|
+
export { defaultJobOptions_17 as defaultJobOptions };
|
|
989
|
+
export namespace streams_17 {
|
|
990
|
+
export namespace events_17 {
|
|
991
|
+
let maxLen_17: number;
|
|
992
|
+
export { maxLen_17 as maxLen };
|
|
993
|
+
}
|
|
994
|
+
export { events_17 as events };
|
|
995
|
+
}
|
|
996
|
+
export { streams_17 as streams };
|
|
997
|
+
}
|
|
998
|
+
export { queueConfig_17 as queueConfig };
|
|
999
|
+
export namespace workerConfig_17 {
|
|
1000
|
+
let concurrency_17: number;
|
|
1001
|
+
export { concurrency_17 as concurrency };
|
|
1002
|
+
let lockDuration_17: number;
|
|
1003
|
+
export { lockDuration_17 as lockDuration };
|
|
1004
|
+
let maxStalledCount_17: number;
|
|
1005
|
+
export { maxStalledCount_17 as maxStalledCount };
|
|
1006
|
+
}
|
|
1007
|
+
export { workerConfig_17 as workerConfig };
|
|
1008
|
+
}
|
|
969
1009
|
}
|
|
970
1010
|
|
|
971
1011
|
interface PlatformContextContentItem {
|
|
@@ -1152,6 +1192,10 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
|
|
|
1152
1192
|
source: {
|
|
1153
1193
|
filterType: string;
|
|
1154
1194
|
profileTypes: any[];
|
|
1195
|
+
pinnedOptions: {
|
|
1196
|
+
display: string;
|
|
1197
|
+
value: null;
|
|
1198
|
+
}[];
|
|
1155
1199
|
options?: undefined;
|
|
1156
1200
|
};
|
|
1157
1201
|
target: {
|
|
@@ -1171,6 +1215,7 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
|
|
|
1171
1215
|
value: any;
|
|
1172
1216
|
}[];
|
|
1173
1217
|
profileTypes?: undefined;
|
|
1218
|
+
pinnedOptions?: undefined;
|
|
1174
1219
|
};
|
|
1175
1220
|
target: {
|
|
1176
1221
|
filterType: string;
|
|
@@ -1437,6 +1482,10 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
|
|
|
1437
1482
|
source: {
|
|
1438
1483
|
filterType: string;
|
|
1439
1484
|
profileTypes: any[];
|
|
1485
|
+
pinnedOptions: {
|
|
1486
|
+
display: string;
|
|
1487
|
+
value: null;
|
|
1488
|
+
}[];
|
|
1440
1489
|
options?: undefined;
|
|
1441
1490
|
};
|
|
1442
1491
|
target: {
|
|
@@ -1456,6 +1505,7 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
|
|
|
1456
1505
|
value: any;
|
|
1457
1506
|
}[];
|
|
1458
1507
|
profileTypes?: undefined;
|
|
1508
|
+
pinnedOptions?: undefined;
|
|
1459
1509
|
};
|
|
1460
1510
|
target: {
|
|
1461
1511
|
filterType: string;
|
package/dist/node.js
CHANGED
|
@@ -481,6 +481,34 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
481
481
|
maxStalledCount: 3
|
|
482
482
|
}
|
|
483
483
|
},
|
|
484
|
+
// One job per due ExternalConnection at each cron tick (hourly/daily/weekly).
|
|
485
|
+
// The worker handler doesn't do the import itself — it calls okf-be's
|
|
486
|
+
// /api/externalConnections/internal/runSync which fans out into the existing
|
|
487
|
+
// DIRECT_DATA_IMPORT_QUEUE for the batched fetch+import work. Keeping this
|
|
488
|
+
// queue separate from DDI gives clean dashboard separation, independent
|
|
489
|
+
// concurrency (background-friendly), and independent pause/drain.
|
|
490
|
+
SCHEDULED_EXTERNAL_SYNC_QUEUE: {
|
|
491
|
+
id: "scheduled-external-sync-queue",
|
|
492
|
+
queueConfig: {
|
|
493
|
+
defaultJobOptions: {
|
|
494
|
+
backoff: { type: "exponential", delay: 5e3 },
|
|
495
|
+
attempts: 3,
|
|
496
|
+
removeOnComplete: 30,
|
|
497
|
+
removeOnFail: 100
|
|
498
|
+
},
|
|
499
|
+
streams: {
|
|
500
|
+
events: {
|
|
501
|
+
maxLen: 10
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
workerConfig: {
|
|
506
|
+
concurrency: 1,
|
|
507
|
+
lockDuration: 6e5,
|
|
508
|
+
// 10 min — runSync HTTP call can be long
|
|
509
|
+
maxStalledCount: 3
|
|
510
|
+
}
|
|
511
|
+
},
|
|
484
512
|
REINDEX_QUEUE: {
|
|
485
513
|
id: "reindex-queue",
|
|
486
514
|
queueConfig: {
|
|
@@ -3673,7 +3701,10 @@ var processAuthorAndCommonFilters = (allTpls, filterScopes, annoEnabledBlocks =
|
|
|
3673
3701
|
}),
|
|
3674
3702
|
source: {
|
|
3675
3703
|
filterType: "usersType",
|
|
3676
|
-
profileTypes: allProfileTpls.map((tpl) => tpl.kp_content_type)
|
|
3704
|
+
profileTypes: allProfileTpls.map((tpl) => tpl.kp_content_type),
|
|
3705
|
+
pinnedOptions: [
|
|
3706
|
+
{ display: "AI", value: null }
|
|
3707
|
+
]
|
|
3677
3708
|
},
|
|
3678
3709
|
target: {
|
|
3679
3710
|
filterType: "valuePathType",
|
|
@@ -3937,6 +3968,9 @@ var sortFiltersHierarchically = (filters) => {
|
|
|
3937
3968
|
};
|
|
3938
3969
|
|
|
3939
3970
|
// src/utils/autoGenFilterConfigsFromTpl/utils/_self_managed_buildDocHierarchyConfig.ts
|
|
3971
|
+
var injectFilterOptionsBy = (filters) => filters.map(
|
|
3972
|
+
(f) => f.parentFilterId ? { ...f, source: { ...f.source, filterOptionsBy: { filterId: f.parentFilterId } } } : f
|
|
3973
|
+
);
|
|
3940
3974
|
var _self_managed_buildDocHierarchyConfig = ({
|
|
3941
3975
|
combinedDocumentBlocks,
|
|
3942
3976
|
docRollupBlocks,
|
|
@@ -3949,27 +3983,11 @@ var _self_managed_buildDocHierarchyConfig = ({
|
|
|
3949
3983
|
const commonGroup = allGroups.find(
|
|
3950
3984
|
(g) => g.contentTypes.length === selectedTpls.length
|
|
3951
3985
|
);
|
|
3952
|
-
const commonFilterConfigs = commonGroup ?
|
|
3953
|
-
|
|
3954
|
-
buildFilterConfigurations({
|
|
3955
|
-
groups: [commonGroup],
|
|
3956
|
-
type: "tags",
|
|
3957
|
-
selectedTpls,
|
|
3958
|
-
allTpls,
|
|
3959
|
-
isRollup: false,
|
|
3960
|
-
isAnno: false
|
|
3961
|
-
}).flatMap((s) => s.configs),
|
|
3962
|
-
allTpls
|
|
3963
|
-
)
|
|
3964
|
-
) : [];
|
|
3965
|
-
const multiDatasetGroups = selectedTpls.length >= 2 ? allGroups.filter(
|
|
3966
|
-
(g) => g.contentTypes.length > 1 && g.contentTypes.length < selectedTpls.length
|
|
3967
|
-
) : [];
|
|
3968
|
-
const sharedAcrossMultiple = multiDatasetGroups.map((group) => {
|
|
3969
|
-
const groupFilterConfigs = sortFiltersHierarchically(
|
|
3986
|
+
const commonFilterConfigs = commonGroup ? injectFilterOptionsBy(
|
|
3987
|
+
sortFiltersHierarchically(
|
|
3970
3988
|
attachParentFields(
|
|
3971
3989
|
buildFilterConfigurations({
|
|
3972
|
-
groups: [
|
|
3990
|
+
groups: [commonGroup],
|
|
3973
3991
|
type: "tags",
|
|
3974
3992
|
selectedTpls,
|
|
3975
3993
|
allTpls,
|
|
@@ -3978,6 +3996,26 @@ var _self_managed_buildDocHierarchyConfig = ({
|
|
|
3978
3996
|
}).flatMap((s) => s.configs),
|
|
3979
3997
|
allTpls
|
|
3980
3998
|
)
|
|
3999
|
+
)
|
|
4000
|
+
) : [];
|
|
4001
|
+
const multiDatasetGroups = selectedTpls.length >= 2 ? allGroups.filter(
|
|
4002
|
+
(g) => g.contentTypes.length > 1 && g.contentTypes.length < selectedTpls.length
|
|
4003
|
+
) : [];
|
|
4004
|
+
const sharedAcrossMultiple = multiDatasetGroups.map((group) => {
|
|
4005
|
+
const groupFilterConfigs = injectFilterOptionsBy(
|
|
4006
|
+
sortFiltersHierarchically(
|
|
4007
|
+
attachParentFields(
|
|
4008
|
+
buildFilterConfigurations({
|
|
4009
|
+
groups: [group],
|
|
4010
|
+
type: "tags",
|
|
4011
|
+
selectedTpls,
|
|
4012
|
+
allTpls,
|
|
4013
|
+
isRollup: false,
|
|
4014
|
+
isAnno: false
|
|
4015
|
+
}).flatMap((s) => s.configs),
|
|
4016
|
+
allTpls
|
|
4017
|
+
)
|
|
4018
|
+
)
|
|
3981
4019
|
);
|
|
3982
4020
|
const display = group.contentTypes.map((ct) => {
|
|
3983
4021
|
const tplData = allTpls.find(
|
|
@@ -4036,8 +4074,10 @@ var _self_managed_buildDocHierarchyConfig = ({
|
|
|
4036
4074
|
(f) => !rollupSourceKeys.has(JSON.stringify(f.source))
|
|
4037
4075
|
);
|
|
4038
4076
|
const combined = [...dedupedFilters, ...rollupConfigs];
|
|
4039
|
-
const combinedWithParents =
|
|
4040
|
-
|
|
4077
|
+
const combinedWithParents = injectFilterOptionsBy(
|
|
4078
|
+
sortFiltersHierarchically(
|
|
4079
|
+
attachParentFields(combined, allTpls)
|
|
4080
|
+
)
|
|
4041
4081
|
);
|
|
4042
4082
|
const rollupFilterIds = new Set(rollupConfigs.map((r) => r.filterId));
|
|
4043
4083
|
const filtersWithParents = combinedWithParents.filter(
|
package/dist/node.mjs
CHANGED
|
@@ -486,6 +486,34 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
486
486
|
maxStalledCount: 3
|
|
487
487
|
}
|
|
488
488
|
},
|
|
489
|
+
// One job per due ExternalConnection at each cron tick (hourly/daily/weekly).
|
|
490
|
+
// The worker handler doesn't do the import itself — it calls okf-be's
|
|
491
|
+
// /api/externalConnections/internal/runSync which fans out into the existing
|
|
492
|
+
// DIRECT_DATA_IMPORT_QUEUE for the batched fetch+import work. Keeping this
|
|
493
|
+
// queue separate from DDI gives clean dashboard separation, independent
|
|
494
|
+
// concurrency (background-friendly), and independent pause/drain.
|
|
495
|
+
SCHEDULED_EXTERNAL_SYNC_QUEUE: {
|
|
496
|
+
id: "scheduled-external-sync-queue",
|
|
497
|
+
queueConfig: {
|
|
498
|
+
defaultJobOptions: {
|
|
499
|
+
backoff: { type: "exponential", delay: 5e3 },
|
|
500
|
+
attempts: 3,
|
|
501
|
+
removeOnComplete: 30,
|
|
502
|
+
removeOnFail: 100
|
|
503
|
+
},
|
|
504
|
+
streams: {
|
|
505
|
+
events: {
|
|
506
|
+
maxLen: 10
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
workerConfig: {
|
|
511
|
+
concurrency: 1,
|
|
512
|
+
lockDuration: 6e5,
|
|
513
|
+
// 10 min — runSync HTTP call can be long
|
|
514
|
+
maxStalledCount: 3
|
|
515
|
+
}
|
|
516
|
+
},
|
|
489
517
|
REINDEX_QUEUE: {
|
|
490
518
|
id: "reindex-queue",
|
|
491
519
|
queueConfig: {
|
|
@@ -3603,7 +3631,10 @@ var processAuthorAndCommonFilters = (allTpls, filterScopes, annoEnabledBlocks =
|
|
|
3603
3631
|
}),
|
|
3604
3632
|
source: {
|
|
3605
3633
|
filterType: "usersType",
|
|
3606
|
-
profileTypes: allProfileTpls.map((tpl) => tpl.kp_content_type)
|
|
3634
|
+
profileTypes: allProfileTpls.map((tpl) => tpl.kp_content_type),
|
|
3635
|
+
pinnedOptions: [
|
|
3636
|
+
{ display: "AI", value: null }
|
|
3637
|
+
]
|
|
3607
3638
|
},
|
|
3608
3639
|
target: {
|
|
3609
3640
|
filterType: "valuePathType",
|
|
@@ -3867,6 +3898,9 @@ var sortFiltersHierarchically = (filters) => {
|
|
|
3867
3898
|
};
|
|
3868
3899
|
|
|
3869
3900
|
// src/utils/autoGenFilterConfigsFromTpl/utils/_self_managed_buildDocHierarchyConfig.ts
|
|
3901
|
+
var injectFilterOptionsBy = (filters) => filters.map(
|
|
3902
|
+
(f) => f.parentFilterId ? { ...f, source: { ...f.source, filterOptionsBy: { filterId: f.parentFilterId } } } : f
|
|
3903
|
+
);
|
|
3870
3904
|
var _self_managed_buildDocHierarchyConfig = ({
|
|
3871
3905
|
combinedDocumentBlocks,
|
|
3872
3906
|
docRollupBlocks,
|
|
@@ -3879,27 +3913,11 @@ var _self_managed_buildDocHierarchyConfig = ({
|
|
|
3879
3913
|
const commonGroup = allGroups.find(
|
|
3880
3914
|
(g) => g.contentTypes.length === selectedTpls.length
|
|
3881
3915
|
);
|
|
3882
|
-
const commonFilterConfigs = commonGroup ?
|
|
3883
|
-
|
|
3884
|
-
buildFilterConfigurations({
|
|
3885
|
-
groups: [commonGroup],
|
|
3886
|
-
type: "tags",
|
|
3887
|
-
selectedTpls,
|
|
3888
|
-
allTpls,
|
|
3889
|
-
isRollup: false,
|
|
3890
|
-
isAnno: false
|
|
3891
|
-
}).flatMap((s) => s.configs),
|
|
3892
|
-
allTpls
|
|
3893
|
-
)
|
|
3894
|
-
) : [];
|
|
3895
|
-
const multiDatasetGroups = selectedTpls.length >= 2 ? allGroups.filter(
|
|
3896
|
-
(g) => g.contentTypes.length > 1 && g.contentTypes.length < selectedTpls.length
|
|
3897
|
-
) : [];
|
|
3898
|
-
const sharedAcrossMultiple = multiDatasetGroups.map((group) => {
|
|
3899
|
-
const groupFilterConfigs = sortFiltersHierarchically(
|
|
3916
|
+
const commonFilterConfigs = commonGroup ? injectFilterOptionsBy(
|
|
3917
|
+
sortFiltersHierarchically(
|
|
3900
3918
|
attachParentFields(
|
|
3901
3919
|
buildFilterConfigurations({
|
|
3902
|
-
groups: [
|
|
3920
|
+
groups: [commonGroup],
|
|
3903
3921
|
type: "tags",
|
|
3904
3922
|
selectedTpls,
|
|
3905
3923
|
allTpls,
|
|
@@ -3908,6 +3926,26 @@ var _self_managed_buildDocHierarchyConfig = ({
|
|
|
3908
3926
|
}).flatMap((s) => s.configs),
|
|
3909
3927
|
allTpls
|
|
3910
3928
|
)
|
|
3929
|
+
)
|
|
3930
|
+
) : [];
|
|
3931
|
+
const multiDatasetGroups = selectedTpls.length >= 2 ? allGroups.filter(
|
|
3932
|
+
(g) => g.contentTypes.length > 1 && g.contentTypes.length < selectedTpls.length
|
|
3933
|
+
) : [];
|
|
3934
|
+
const sharedAcrossMultiple = multiDatasetGroups.map((group) => {
|
|
3935
|
+
const groupFilterConfigs = injectFilterOptionsBy(
|
|
3936
|
+
sortFiltersHierarchically(
|
|
3937
|
+
attachParentFields(
|
|
3938
|
+
buildFilterConfigurations({
|
|
3939
|
+
groups: [group],
|
|
3940
|
+
type: "tags",
|
|
3941
|
+
selectedTpls,
|
|
3942
|
+
allTpls,
|
|
3943
|
+
isRollup: false,
|
|
3944
|
+
isAnno: false
|
|
3945
|
+
}).flatMap((s) => s.configs),
|
|
3946
|
+
allTpls
|
|
3947
|
+
)
|
|
3948
|
+
)
|
|
3911
3949
|
);
|
|
3912
3950
|
const display = group.contentTypes.map((ct) => {
|
|
3913
3951
|
const tplData = allTpls.find(
|
|
@@ -3966,8 +4004,10 @@ var _self_managed_buildDocHierarchyConfig = ({
|
|
|
3966
4004
|
(f) => !rollupSourceKeys.has(JSON.stringify(f.source))
|
|
3967
4005
|
);
|
|
3968
4006
|
const combined = [...dedupedFilters, ...rollupConfigs];
|
|
3969
|
-
const combinedWithParents =
|
|
3970
|
-
|
|
4007
|
+
const combinedWithParents = injectFilterOptionsBy(
|
|
4008
|
+
sortFiltersHierarchically(
|
|
4009
|
+
attachParentFields(combined, allTpls)
|
|
4010
|
+
)
|
|
3971
4011
|
);
|
|
3972
4012
|
const rollupFilterIds = new Set(rollupConfigs.map((r) => r.filterId));
|
|
3973
4013
|
const filtersWithParents = combinedWithParents.filter(
|
package/dist/universal.d.mts
CHANGED
|
@@ -917,13 +917,11 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
917
917
|
}
|
|
918
918
|
export { workerConfig_15 as workerConfig };
|
|
919
919
|
}
|
|
920
|
-
namespace
|
|
920
|
+
namespace SCHEDULED_EXTERNAL_SYNC_QUEUE {
|
|
921
921
|
let id_16: string;
|
|
922
922
|
export { id_16 as id };
|
|
923
923
|
export namespace queueConfig_16 {
|
|
924
924
|
export namespace defaultJobOptions_16 {
|
|
925
|
-
let attempts_16: number;
|
|
926
|
-
export { attempts_16 as attempts };
|
|
927
925
|
export namespace backoff_16 {
|
|
928
926
|
let type_16: string;
|
|
929
927
|
export { type_16 as type };
|
|
@@ -931,8 +929,8 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
931
929
|
export { delay_16 as delay };
|
|
932
930
|
}
|
|
933
931
|
export { backoff_16 as backoff };
|
|
934
|
-
let
|
|
935
|
-
export {
|
|
932
|
+
let attempts_16: number;
|
|
933
|
+
export { attempts_16 as attempts };
|
|
936
934
|
let removeOnComplete_16: number;
|
|
937
935
|
export { removeOnComplete_16 as removeOnComplete };
|
|
938
936
|
let removeOnFail_16: number;
|
|
@@ -959,6 +957,48 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
959
957
|
}
|
|
960
958
|
export { workerConfig_16 as workerConfig };
|
|
961
959
|
}
|
|
960
|
+
namespace REINDEX_QUEUE {
|
|
961
|
+
let id_17: string;
|
|
962
|
+
export { id_17 as id };
|
|
963
|
+
export namespace queueConfig_17 {
|
|
964
|
+
export namespace defaultJobOptions_17 {
|
|
965
|
+
let attempts_17: number;
|
|
966
|
+
export { attempts_17 as attempts };
|
|
967
|
+
export namespace backoff_17 {
|
|
968
|
+
let type_17: string;
|
|
969
|
+
export { type_17 as type };
|
|
970
|
+
let delay_17: number;
|
|
971
|
+
export { delay_17 as delay };
|
|
972
|
+
}
|
|
973
|
+
export { backoff_17 as backoff };
|
|
974
|
+
let delay_18: number;
|
|
975
|
+
export { delay_18 as delay };
|
|
976
|
+
let removeOnComplete_17: number;
|
|
977
|
+
export { removeOnComplete_17 as removeOnComplete };
|
|
978
|
+
let removeOnFail_17: number;
|
|
979
|
+
export { removeOnFail_17 as removeOnFail };
|
|
980
|
+
}
|
|
981
|
+
export { defaultJobOptions_17 as defaultJobOptions };
|
|
982
|
+
export namespace streams_17 {
|
|
983
|
+
export namespace events_17 {
|
|
984
|
+
let maxLen_17: number;
|
|
985
|
+
export { maxLen_17 as maxLen };
|
|
986
|
+
}
|
|
987
|
+
export { events_17 as events };
|
|
988
|
+
}
|
|
989
|
+
export { streams_17 as streams };
|
|
990
|
+
}
|
|
991
|
+
export { queueConfig_17 as queueConfig };
|
|
992
|
+
export namespace workerConfig_17 {
|
|
993
|
+
let concurrency_17: number;
|
|
994
|
+
export { concurrency_17 as concurrency };
|
|
995
|
+
let lockDuration_17: number;
|
|
996
|
+
export { lockDuration_17 as lockDuration };
|
|
997
|
+
let maxStalledCount_17: number;
|
|
998
|
+
export { maxStalledCount_17 as maxStalledCount };
|
|
999
|
+
}
|
|
1000
|
+
export { workerConfig_17 as workerConfig };
|
|
1001
|
+
}
|
|
962
1002
|
}
|
|
963
1003
|
|
|
964
1004
|
interface PlatformContextContentItem {
|
|
@@ -1145,6 +1185,10 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
|
|
|
1145
1185
|
source: {
|
|
1146
1186
|
filterType: string;
|
|
1147
1187
|
profileTypes: any[];
|
|
1188
|
+
pinnedOptions: {
|
|
1189
|
+
display: string;
|
|
1190
|
+
value: null;
|
|
1191
|
+
}[];
|
|
1148
1192
|
options?: undefined;
|
|
1149
1193
|
};
|
|
1150
1194
|
target: {
|
|
@@ -1164,6 +1208,7 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
|
|
|
1164
1208
|
value: any;
|
|
1165
1209
|
}[];
|
|
1166
1210
|
profileTypes?: undefined;
|
|
1211
|
+
pinnedOptions?: undefined;
|
|
1167
1212
|
};
|
|
1168
1213
|
target: {
|
|
1169
1214
|
filterType: string;
|
|
@@ -1430,6 +1475,10 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
|
|
|
1430
1475
|
source: {
|
|
1431
1476
|
filterType: string;
|
|
1432
1477
|
profileTypes: any[];
|
|
1478
|
+
pinnedOptions: {
|
|
1479
|
+
display: string;
|
|
1480
|
+
value: null;
|
|
1481
|
+
}[];
|
|
1433
1482
|
options?: undefined;
|
|
1434
1483
|
};
|
|
1435
1484
|
target: {
|
|
@@ -1449,6 +1498,7 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
|
|
|
1449
1498
|
value: any;
|
|
1450
1499
|
}[];
|
|
1451
1500
|
profileTypes?: undefined;
|
|
1501
|
+
pinnedOptions?: undefined;
|
|
1452
1502
|
};
|
|
1453
1503
|
target: {
|
|
1454
1504
|
filterType: string;
|
package/dist/universal.d.ts
CHANGED
|
@@ -917,13 +917,11 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
917
917
|
}
|
|
918
918
|
export { workerConfig_15 as workerConfig };
|
|
919
919
|
}
|
|
920
|
-
namespace
|
|
920
|
+
namespace SCHEDULED_EXTERNAL_SYNC_QUEUE {
|
|
921
921
|
let id_16: string;
|
|
922
922
|
export { id_16 as id };
|
|
923
923
|
export namespace queueConfig_16 {
|
|
924
924
|
export namespace defaultJobOptions_16 {
|
|
925
|
-
let attempts_16: number;
|
|
926
|
-
export { attempts_16 as attempts };
|
|
927
925
|
export namespace backoff_16 {
|
|
928
926
|
let type_16: string;
|
|
929
927
|
export { type_16 as type };
|
|
@@ -931,8 +929,8 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
931
929
|
export { delay_16 as delay };
|
|
932
930
|
}
|
|
933
931
|
export { backoff_16 as backoff };
|
|
934
|
-
let
|
|
935
|
-
export {
|
|
932
|
+
let attempts_16: number;
|
|
933
|
+
export { attempts_16 as attempts };
|
|
936
934
|
let removeOnComplete_16: number;
|
|
937
935
|
export { removeOnComplete_16 as removeOnComplete };
|
|
938
936
|
let removeOnFail_16: number;
|
|
@@ -959,6 +957,48 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
959
957
|
}
|
|
960
958
|
export { workerConfig_16 as workerConfig };
|
|
961
959
|
}
|
|
960
|
+
namespace REINDEX_QUEUE {
|
|
961
|
+
let id_17: string;
|
|
962
|
+
export { id_17 as id };
|
|
963
|
+
export namespace queueConfig_17 {
|
|
964
|
+
export namespace defaultJobOptions_17 {
|
|
965
|
+
let attempts_17: number;
|
|
966
|
+
export { attempts_17 as attempts };
|
|
967
|
+
export namespace backoff_17 {
|
|
968
|
+
let type_17: string;
|
|
969
|
+
export { type_17 as type };
|
|
970
|
+
let delay_17: number;
|
|
971
|
+
export { delay_17 as delay };
|
|
972
|
+
}
|
|
973
|
+
export { backoff_17 as backoff };
|
|
974
|
+
let delay_18: number;
|
|
975
|
+
export { delay_18 as delay };
|
|
976
|
+
let removeOnComplete_17: number;
|
|
977
|
+
export { removeOnComplete_17 as removeOnComplete };
|
|
978
|
+
let removeOnFail_17: number;
|
|
979
|
+
export { removeOnFail_17 as removeOnFail };
|
|
980
|
+
}
|
|
981
|
+
export { defaultJobOptions_17 as defaultJobOptions };
|
|
982
|
+
export namespace streams_17 {
|
|
983
|
+
export namespace events_17 {
|
|
984
|
+
let maxLen_17: number;
|
|
985
|
+
export { maxLen_17 as maxLen };
|
|
986
|
+
}
|
|
987
|
+
export { events_17 as events };
|
|
988
|
+
}
|
|
989
|
+
export { streams_17 as streams };
|
|
990
|
+
}
|
|
991
|
+
export { queueConfig_17 as queueConfig };
|
|
992
|
+
export namespace workerConfig_17 {
|
|
993
|
+
let concurrency_17: number;
|
|
994
|
+
export { concurrency_17 as concurrency };
|
|
995
|
+
let lockDuration_17: number;
|
|
996
|
+
export { lockDuration_17 as lockDuration };
|
|
997
|
+
let maxStalledCount_17: number;
|
|
998
|
+
export { maxStalledCount_17 as maxStalledCount };
|
|
999
|
+
}
|
|
1000
|
+
export { workerConfig_17 as workerConfig };
|
|
1001
|
+
}
|
|
962
1002
|
}
|
|
963
1003
|
|
|
964
1004
|
interface PlatformContextContentItem {
|
|
@@ -1145,6 +1185,10 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
|
|
|
1145
1185
|
source: {
|
|
1146
1186
|
filterType: string;
|
|
1147
1187
|
profileTypes: any[];
|
|
1188
|
+
pinnedOptions: {
|
|
1189
|
+
display: string;
|
|
1190
|
+
value: null;
|
|
1191
|
+
}[];
|
|
1148
1192
|
options?: undefined;
|
|
1149
1193
|
};
|
|
1150
1194
|
target: {
|
|
@@ -1164,6 +1208,7 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
|
|
|
1164
1208
|
value: any;
|
|
1165
1209
|
}[];
|
|
1166
1210
|
profileTypes?: undefined;
|
|
1211
|
+
pinnedOptions?: undefined;
|
|
1167
1212
|
};
|
|
1168
1213
|
target: {
|
|
1169
1214
|
filterType: string;
|
|
@@ -1430,6 +1475,10 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
|
|
|
1430
1475
|
source: {
|
|
1431
1476
|
filterType: string;
|
|
1432
1477
|
profileTypes: any[];
|
|
1478
|
+
pinnedOptions: {
|
|
1479
|
+
display: string;
|
|
1480
|
+
value: null;
|
|
1481
|
+
}[];
|
|
1433
1482
|
options?: undefined;
|
|
1434
1483
|
};
|
|
1435
1484
|
target: {
|
|
@@ -1449,6 +1498,7 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
|
|
|
1449
1498
|
value: any;
|
|
1450
1499
|
}[];
|
|
1451
1500
|
profileTypes?: undefined;
|
|
1501
|
+
pinnedOptions?: undefined;
|
|
1452
1502
|
};
|
|
1453
1503
|
target: {
|
|
1454
1504
|
filterType: string;
|