JobRunClaimRequest — @gj-kit/nest-operations-jobs
A public interface from @gj-kit/nest-operations-jobs. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { JobRunClaimRequest } from '@gj-kit/nest-operations-jobs';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface JobRunClaimRequest { readonly jobKey: string; /** * Opaque overlap token. The store must treat it as a bare string: uniqueness * among RUNNING rows is the entire contract, and the runner owns how it is * derived from the job's overlap policy. */ readonly overlapKey: string; readonly trigger: JobTrigger; /** Already validated by the runner. Persist as JSON, or `null` when absent. */ readonly input: unknown; /** * Epoch milliseconds from the runner's injected clock, recorded verbatim (S6). * The store additionally initialises the run's liveness watermark from its own * clock, which is the value `reapStale` compares against — see S6. */ readonly startedAt: number; readonly serviceRevision?: string | null | undefined;}This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/nest-operations-jobs - Version:
0.1.1 - Public entry:
. - Source: GitHub