Skip to content

OperationsJobCliOptions — @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.

import { OperationsJobCliOptions } from '@gj-kit/nest-operations-jobs';
interface OperationsJobCliOptions {
/**
* The application context, or a factory that creates one. When a factory is
* given the CLI owns `close()`; when an instance is given the caller does.
*/
readonly context: INestApplicationContext | (() => Promise<INestApplicationContext>);
readonly jobKey: string | undefined;
/** Defaults to `{ source: 'CLI', triggeredBy: null }`. */
readonly trigger?: JobTrigger | undefined;
readonly usage?: string | 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.

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