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