Skip to content

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

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

import { createOperationsJobsController } from '@gj-kit/nest-operations-jobs';
/**
* Build the trigger controller. The host owns the route namespace, so the path
* is an argument rather than a decorator constant baked into the library.
*
* `POST {path}/:jobKey/run` -> 200 with the execution result. Failure, timeout
* and every construction error go through {@link toHttpException}, whose body
* carries a stable code and never the job's own error text.
*/
declare function createOperationsJobsController(options: OperationsJobsControllerOptions): Type<unknown>;

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