UNPKG

overmind

Version:
26 lines (24 loc) 1.04 kB
import { IConfiguration, IContext } from "./types.js"; import { Execution } from "./internalTypes.js"; //#region src/operator.d.ts declare function createOperator<ThisConfig extends IConfiguration>(type: string, name: string, cb: (err: Error | null, context: IContext<ThisConfig> & { execution: Execution; }, value: any, next: (err: Error | null, value: any, options?: { path?: { name: string; operator: Function; }; isSkipped?: boolean; }) => void, final: (err: Error | null, value: any) => void) => any): any; declare function createMutationOperator<ThisConfig extends IConfiguration>(type: string, name: string, cb: (err: Error | null, context: IContext<ThisConfig> & { execution: Execution; }, value: any, next: (err: Error | null, value: any, options?: { path?: { name: string; operator: Function; }; isSkipped?: boolean; }) => void, final: (err: Error | null, value: any) => void) => any): any; //#endregion export { createMutationOperator, createOperator }; //# sourceMappingURL=operator.d.ts.map