Skip to content

JobExecutionResult — @gj-kit/nest-operations-jobs

A public type from @gj-kit/nest-operations-jobs. The signature below is taken directly from the 0.1.1 release declaration.

import { JobExecutionResult } from '@gj-kit/nest-operations-jobs';
type JobExecutionResult = (JobExecutionBase & {
readonly status: 'SUCCEEDED';
readonly summary?: JobSummary | undefined;
}) | (JobExecutionBase & {
readonly status: 'FAILED';
readonly summary?: JobSummary | undefined;
readonly error: OperationsJobsError;
}) | (JobExecutionBase & {
readonly status: 'TIMED_OUT';
readonly error: OperationsJobsError;
}) | (JobExecutionBase & {
readonly status: 'SKIPPED';
readonly reason: JobSkipReason;
});

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.

  • Package: @gj-kit/nest-operations-jobs
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub