Skip to main content
Module

x/windmill/mod.ts>FlowService

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class FlowService
import { FlowService } from "https://deno.land/x/windmill@v1.46.0/mod.ts";

Static Methods

archiveFlowByPath(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>

archive flow by path

createFlow(unnamed 0: { workspace: string; requestBody: OpenFlowWPath; }): CancelablePromise<string>

create flow

existsFlowByPath(unnamed 0: { workspace: string; path: string; }): CancelablePromise<boolean>

exists flow by path

getFlowByPath(unnamed 0: { workspace: string; path: string; }): CancelablePromise<Flow>

get flow by path

getHubFlowById(unnamed 0: { id: number; }): CancelablePromise<{ flow?: OpenFlow; }>

get hub flow by id

listFlows(unnamed 0: { workspace: string; page?: number; perPage?: number; orderDesc?: boolean; createdBy?: string; pathStart?: string; pathExact?: string; showArchived?: boolean; }): CancelablePromise<Array<Flow>>

list all available flows

listHubFlows(): CancelablePromise<{ flows?: Array<{ id: number; flow_id: number; summary: string; apps: Array<string>; approved: boolean; votes: number; }>; }>

list all available hub flows

updateFlow(unnamed 0: { workspace: string; path: string; requestBody: OpenFlowWPath; }): CancelablePromise<string>

update flow