# AddPuristaQueueWorkerInput API

Input for generating an additional worker for an existing queue.

---
Canonical: /handbook/api/types/_purista_cli.AddPuristaQueueWorkerInput/
Source: packages/cli/src/api/addPuristaQueueWorker.ts
Format: Markdown for agents
---

Input for generating an additional worker for an existing queue.

Package: `@purista/cli`

## Signature

```typescript
type AddPuristaQueueWorkerInput = void
```

## Members

### Properties

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