StoredJobRun — @gj-kit/nest-operations-jobs
A public interface from @gj-kit/nest-operations-jobs/testing. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { StoredJobRun } from '@gj-kit/nest-operations-jobs/testing';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface StoredJobRun { readonly runId: string; readonly jobKey: string; readonly overlapKey: string | null; readonly status: JobRunStatus; readonly trigger: JobTrigger; readonly input: unknown; readonly summary: JobSummary | undefined; readonly error: string | undefined; /** Epoch ms, exactly as the runner supplied it (S6, recording axis). */ readonly startedAt: number; /** * Epoch ms on the **store's** clock (S6, liveness axis): set when the run is * claimed, advanced by every accepted heartbeat, compared by `reapStale`. * Never null — a null watermark is unreapable and holds the overlap key forever. */ readonly heartbeatAt: number; /** Epoch ms. The runner's value for a completed run, the store's for a reaped one. */ readonly finishedAt: number | undefined; readonly durationMs: number | undefined; readonly serviceRevision: string | null;}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:
./testing - Source: GitHub