Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/index.ts>DraftService

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 DraftService
import { DraftService } from "https://deno.land/x/windmill@v1.423.1/windmill-api/index.ts";

Static Methods

createDraft(unnamed 0: { workspace: string; requestBody: { path: string; typ: "flow" | "script" | "app"; value?: any; }; }): CancelablePromise<string>

create draft

deleteDraft(unnamed 0: { workspace: string; kind: "script" | "flow" | "app"; path: string; }): CancelablePromise<string>

delete draft