mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
feat: add announcement channels, publishing and following (#3090)
This commit is contained in:
1 parent
376afd2ad6
commit
7e4d5137f8
381 files changed
+45650
-14076
No files matched your search
@@ -405,7 +405,7 @@ function validateApiWorkerConfig(config: MasterConfig): void {
|
||||
assertOneOf(worker.mode, ['all_lanes', 'single_lane', 'single_task'], 'FLUXER_API_WORKER_MODE');
|
||||
}
|
||||
if (worker.lane !== undefined) {
|
||||
assertOneOf(worker.lane, ['realtime', 'unfurl', 'lifecycle', 'batch'], 'FLUXER_API_WORKER_LANE');
|
||||
assertOneOf(worker.lane, ['realtime', 'unfurl', 'lifecycle', 'batch', 'crosspost'], 'FLUXER_API_WORKER_LANE');
|
||||
}
|
||||
if (worker.mode === 'single_task') {
|
||||
requireString(worker.task, 'FLUXER_API_WORKER_TASK');
|
||||
|
||||
Reference in new issue
Block a user