@open-mercato/queue 0.6.8-develop.7066.1.6bfa9ff69f → 0.6.8-develop.7067.1.82e9867ea1
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/package.json +3 -3
- package/src/types.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/queue",
|
|
3
|
-
"version": "0.6.8-develop.
|
|
3
|
+
"version": "0.6.8-develop.7067.1.82e9867ea1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Multi-strategy job queue with local and BullMQ support",
|
|
6
6
|
"type": "module",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@open-mercato/shared": "0.6.8-develop.
|
|
60
|
-
"@open-mercato/telemetry": "0.6.8-develop.
|
|
59
|
+
"@open-mercato/shared": "0.6.8-develop.7067.1.82e9867ea1",
|
|
60
|
+
"@open-mercato/telemetry": "0.6.8-develop.7067.1.82e9867ea1"
|
|
61
61
|
},
|
|
62
62
|
"repository": {
|
|
63
63
|
"type": "git",
|
package/src/types.ts
CHANGED
|
@@ -307,6 +307,18 @@ export type WorkerMeta = {
|
|
|
307
307
|
* constructs the enqueueing queue. See `AsyncQueueOptions.onJobAbandoned` for the contract.
|
|
308
308
|
*/
|
|
309
309
|
onJobAbandoned?: AsyncQueueOptions['onJobAbandoned']
|
|
310
|
+
/**
|
|
311
|
+
* Opt-in flag allowing this queue to be selected as a user-facing scheduler
|
|
312
|
+
* target. Internal and system-only workers (webhook processors, indexers,
|
|
313
|
+
* bulk operations) must leave it unset — they stay undiscoverable by the
|
|
314
|
+
* scheduler job API.
|
|
315
|
+
*/
|
|
316
|
+
schedulerSafe?: boolean
|
|
317
|
+
/**
|
|
318
|
+
* Creator features a principal must hold (on top of scheduler.jobs.manage)
|
|
319
|
+
* to schedule onto this worker's queue. Only read when schedulerSafe is set.
|
|
320
|
+
*/
|
|
321
|
+
schedulerRequiredFeatures?: string[]
|
|
310
322
|
}
|
|
311
323
|
|
|
312
324
|
/**
|