Types · @purista/cli
AddPuristaQueueWorkerInput
Input for generating an additional worker for an existing queue.
Signature
type AddPuristaQueueWorkerInput = voidProperties
12 entries
codeWriterOptions
Property
codeWriterOptions: Partial<Options>Optional formatting options passed to `code-block-writer`.
intervalMs
Property
intervalMs: numberInterval in milliseconds when `mode` is `interval`.
maxParallelHandlers
Property
maxParallelHandlers: numberMaximum number of jobs handled concurrently.
mode
Property
mode: "continuous" | "interval" | "sequential"Queue worker scheduling mode.
projectRootPath
Property
projectRootPath: stringProject root path; defaults to `process.cwd()`.
puristaConfig
Property
puristaConfig: PuristaConfigPURISTA project configuration controlling generated paths and casing.
puristaProject
Property
puristaProject: PuristaProjectInfoDiscovered project metadata used to update the service composition.
queueName
Property
queueName: stringExisting queue name the worker handles.
serviceName
Property
serviceName: stringService name that owns the target queue.
serviceVersion
Property
serviceVersion: stringService version that owns the target queue.
workerDescription
Property
workerDescription: stringHuman-readable worker description written into generated docs and tests.
workerName
Property
workerName: stringLogical worker name.