@okf/ootils 1.36.1 → 1.37.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.
@@ -1187,7 +1187,7 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
1187
1187
  profileTypes: any[];
1188
1188
  pinnedOptions: {
1189
1189
  display: string;
1190
- value: null;
1190
+ value: string;
1191
1191
  }[];
1192
1192
  options?: undefined;
1193
1193
  };
@@ -1477,7 +1477,7 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
1477
1477
  profileTypes: any[];
1478
1478
  pinnedOptions: {
1479
1479
  display: string;
1480
- value: null;
1480
+ value: string;
1481
1481
  }[];
1482
1482
  options?: undefined;
1483
1483
  };
package/dist/browser.d.ts CHANGED
@@ -1187,7 +1187,7 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
1187
1187
  profileTypes: any[];
1188
1188
  pinnedOptions: {
1189
1189
  display: string;
1190
- value: null;
1190
+ value: string;
1191
1191
  }[];
1192
1192
  options?: undefined;
1193
1193
  };
@@ -1477,7 +1477,7 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
1477
1477
  profileTypes: any[];
1478
1478
  pinnedOptions: {
1479
1479
  display: string;
1480
- value: null;
1480
+ value: string;
1481
1481
  }[];
1482
1482
  options?: undefined;
1483
1483
  };
package/dist/browser.js CHANGED
@@ -993,7 +993,7 @@ var BASE_BULLMQ_CONFIG = {
993
993
  id: "ai-auto-annotate-queue",
994
994
  queueConfig: {
995
995
  defaultJobOptions: {
996
- attempts: 3,
996
+ attempts: 1,
997
997
  backoff: {
998
998
  type: "exponential",
999
999
  delay: 5e3
@@ -2097,7 +2097,7 @@ var processAuthorAndCommonFilters = (allTpls, filterScopes, annoEnabledBlocks =
2097
2097
  filterType: "usersType",
2098
2098
  profileTypes: allProfileTpls.map((tpl) => tpl.kp_content_type),
2099
2099
  pinnedOptions: [
2100
- { display: "AI", value: null }
2100
+ { display: "AI", value: "-ai-as-author-" }
2101
2101
  ]
2102
2102
  },
2103
2103
  target: {
package/dist/browser.mjs CHANGED
@@ -924,7 +924,7 @@ var BASE_BULLMQ_CONFIG = {
924
924
  id: "ai-auto-annotate-queue",
925
925
  queueConfig: {
926
926
  defaultJobOptions: {
927
- attempts: 3,
927
+ attempts: 1,
928
928
  backoff: {
929
929
  type: "exponential",
930
930
  delay: 5e3
@@ -2028,7 +2028,7 @@ var processAuthorAndCommonFilters = (allTpls, filterScopes, annoEnabledBlocks =
2028
2028
  filterType: "usersType",
2029
2029
  profileTypes: allProfileTpls.map((tpl) => tpl.kp_content_type),
2030
2030
  pinnedOptions: [
2031
- { display: "AI", value: null }
2031
+ { display: "AI", value: "-ai-as-author-" }
2032
2032
  ]
2033
2033
  },
2034
2034
  target: {
package/dist/node.d.mts CHANGED
@@ -1194,7 +1194,7 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
1194
1194
  profileTypes: any[];
1195
1195
  pinnedOptions: {
1196
1196
  display: string;
1197
- value: null;
1197
+ value: string;
1198
1198
  }[];
1199
1199
  options?: undefined;
1200
1200
  };
@@ -1484,7 +1484,7 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
1484
1484
  profileTypes: any[];
1485
1485
  pinnedOptions: {
1486
1486
  display: string;
1487
- value: null;
1487
+ value: string;
1488
1488
  }[];
1489
1489
  options?: undefined;
1490
1490
  };
package/dist/node.d.ts CHANGED
@@ -1194,7 +1194,7 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
1194
1194
  profileTypes: any[];
1195
1195
  pinnedOptions: {
1196
1196
  display: string;
1197
- value: null;
1197
+ value: string;
1198
1198
  }[];
1199
1199
  options?: undefined;
1200
1200
  };
@@ -1484,7 +1484,7 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
1484
1484
  profileTypes: any[];
1485
1485
  pinnedOptions: {
1486
1486
  display: string;
1487
- value: null;
1487
+ value: string;
1488
1488
  }[];
1489
1489
  options?: undefined;
1490
1490
  };
package/dist/node.js CHANGED
@@ -250,7 +250,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
250
250
  id: "ai-auto-annotate-queue",
251
251
  queueConfig: {
252
252
  defaultJobOptions: {
253
- attempts: 3,
253
+ attempts: 1,
254
254
  backoff: {
255
255
  type: "exponential",
256
256
  delay: 5e3
@@ -3703,7 +3703,7 @@ var processAuthorAndCommonFilters = (allTpls, filterScopes, annoEnabledBlocks =
3703
3703
  filterType: "usersType",
3704
3704
  profileTypes: allProfileTpls.map((tpl) => tpl.kp_content_type),
3705
3705
  pinnedOptions: [
3706
- { display: "AI", value: null }
3706
+ { display: "AI", value: "-ai-as-author-" }
3707
3707
  ]
3708
3708
  },
3709
3709
  target: {
package/dist/node.mjs CHANGED
@@ -255,7 +255,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
255
255
  id: "ai-auto-annotate-queue",
256
256
  queueConfig: {
257
257
  defaultJobOptions: {
258
- attempts: 3,
258
+ attempts: 1,
259
259
  backoff: {
260
260
  type: "exponential",
261
261
  delay: 5e3
@@ -3633,7 +3633,7 @@ var processAuthorAndCommonFilters = (allTpls, filterScopes, annoEnabledBlocks =
3633
3633
  filterType: "usersType",
3634
3634
  profileTypes: allProfileTpls.map((tpl) => tpl.kp_content_type),
3635
3635
  pinnedOptions: [
3636
- { display: "AI", value: null }
3636
+ { display: "AI", value: "-ai-as-author-" }
3637
3637
  ]
3638
3638
  },
3639
3639
  target: {
@@ -1187,7 +1187,7 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
1187
1187
  profileTypes: any[];
1188
1188
  pinnedOptions: {
1189
1189
  display: string;
1190
- value: null;
1190
+ value: string;
1191
1191
  }[];
1192
1192
  options?: undefined;
1193
1193
  };
@@ -1477,7 +1477,7 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
1477
1477
  profileTypes: any[];
1478
1478
  pinnedOptions: {
1479
1479
  display: string;
1480
- value: null;
1480
+ value: string;
1481
1481
  }[];
1482
1482
  options?: undefined;
1483
1483
  };
@@ -1187,7 +1187,7 @@ declare const processAuthorAndCommonFilters: (allTpls: any[], filterScopes: stri
1187
1187
  profileTypes: any[];
1188
1188
  pinnedOptions: {
1189
1189
  display: string;
1190
- value: null;
1190
+ value: string;
1191
1191
  }[];
1192
1192
  options?: undefined;
1193
1193
  };
@@ -1477,7 +1477,7 @@ declare const autoGenFilterConfigsFromTpl: ({ selectedTpls, allTpls, filterScope
1477
1477
  profileTypes: any[];
1478
1478
  pinnedOptions: {
1479
1479
  display: string;
1480
- value: null;
1480
+ value: string;
1481
1481
  }[];
1482
1482
  options?: undefined;
1483
1483
  };
package/dist/universal.js CHANGED
@@ -993,7 +993,7 @@ var BASE_BULLMQ_CONFIG = {
993
993
  id: "ai-auto-annotate-queue",
994
994
  queueConfig: {
995
995
  defaultJobOptions: {
996
- attempts: 3,
996
+ attempts: 1,
997
997
  backoff: {
998
998
  type: "exponential",
999
999
  delay: 5e3
@@ -2097,7 +2097,7 @@ var processAuthorAndCommonFilters = (allTpls, filterScopes, annoEnabledBlocks =
2097
2097
  filterType: "usersType",
2098
2098
  profileTypes: allProfileTpls.map((tpl) => tpl.kp_content_type),
2099
2099
  pinnedOptions: [
2100
- { display: "AI", value: null }
2100
+ { display: "AI", value: "-ai-as-author-" }
2101
2101
  ]
2102
2102
  },
2103
2103
  target: {
@@ -924,7 +924,7 @@ var BASE_BULLMQ_CONFIG = {
924
924
  id: "ai-auto-annotate-queue",
925
925
  queueConfig: {
926
926
  defaultJobOptions: {
927
- attempts: 3,
927
+ attempts: 1,
928
928
  backoff: {
929
929
  type: "exponential",
930
930
  delay: 5e3
@@ -2028,7 +2028,7 @@ var processAuthorAndCommonFilters = (allTpls, filterScopes, annoEnabledBlocks =
2028
2028
  filterType: "usersType",
2029
2029
  profileTypes: allProfileTpls.map((tpl) => tpl.kp_content_type),
2030
2030
  pinnedOptions: [
2031
- { display: "AI", value: null }
2031
+ { display: "AI", value: "-ai-as-author-" }
2032
2032
  ]
2033
2033
  },
2034
2034
  target: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.36.1",
6
+ "version": "1.37.1",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",