Types · @purista/cli

AddPuristaQueueWorkerInput

Input for generating an additional worker for an existing queue.

Signature

AddPuristaQueueWorkerInput.ts typescript
type AddPuristaQueueWorkerInput = void

Properties

12 entries

codeWriterOptions

Property

Source
codeWriterOptions.ts typescript
codeWriterOptions: Partial<Options>

Optional formatting options passed to `code-block-writer`.

intervalMs

Property

Source
intervalMs.ts typescript
intervalMs: number

Interval in milliseconds when `mode` is `interval`.

maxParallelHandlers

Property

Source
maxParallelHandlers.ts typescript
maxParallelHandlers: number

Maximum number of jobs handled concurrently.

mode

Property

Source
mode.ts typescript
mode: "continuous" | "interval" | "sequential"

Queue worker scheduling mode.

projectRootPath

Property

Source
projectRootPath.ts typescript
projectRootPath: string

Project root path; defaults to `process.cwd()`.

puristaConfig

Property

Source
puristaConfig.ts typescript
puristaConfig: PuristaConfig

PURISTA project configuration controlling generated paths and casing.

puristaProject

Property

Source
puristaProject.ts typescript
puristaProject: PuristaProjectInfo

Discovered project metadata used to update the service composition.

queueName

Property

Source
queueName.ts typescript
queueName: string

Existing queue name the worker handles.

serviceName

Property

Source
serviceName.ts typescript
serviceName: string

Service name that owns the target queue.

serviceVersion

Property

Source
serviceVersion.ts typescript
serviceVersion: string

Service version that owns the target queue.

workerDescription

Property

Source
workerDescription.ts typescript
workerDescription: string

Human-readable worker description written into generated docs and tests.

workerName

Property

Source
workerName.ts typescript
workerName: string

Logical worker name.