Skip to content

BaseJobTypeDefinition

BaseJobTypeDefinition = object

Defined in: packages/core/src/entities/job-type.ts:17

Base shape for a single job type definition.

  • entry — Whether this type can start a chain.
  • input — The input payload type.
  • output — The output type when completing the chain (omit for continuation-only types).
  • continueWith — Reference to the next job type in the chain.
  • blockers — References to chain types that must complete before this job can run.

optional blockers?: readonly JobTypeReference[]

Defined in: packages/core/src/entities/job-type.ts:22


optional continueWith?: JobTypeReference

Defined in: packages/core/src/entities/job-type.ts:21


optional entry?: boolean

Defined in: packages/core/src/entities/job-type.ts:18


input: unknown

Defined in: packages/core/src/entities/job-type.ts:19


optional output?: unknown

Defined in: packages/core/src/entities/job-type.ts:20