UNPKG

zeebe-node

Version:

The Node.js client library for the Zeebe Workflow Automation Engine.

8 lines (7 loc) 612 B
import { either as E } from 'fp-ts'; import * as NEA from 'fp-ts/lib/NonEmptyArray'; import * as ZB from '../interfaces-1.0'; export declare const isBuffer: (wf: ZB.DeployProcessBuffer | ZB.DeployProcessFiles) => wf is ZB.DeployProcessBuffer; export declare const bufferOrFiles: (wf: ZB.DeployProcessFiles | ZB.DeployProcessBuffer) => E.Either<ZB.DeployProcessBuffer[], string[]>; export declare const coerceFilenamesToArray: (wf: string | string[]) => string[]; export declare const mapThese: <Path, Err, Wfd>(paths: Path[], read: (path: Path) => E.Either<Err, Wfd>) => E.Either<NEA.NonEmptyArray<Err>, Wfd[]>;