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

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

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

create draft

Parameters

unnamed 0: { workspace: string; requestBody: { path: string; typ: "flow" | "script" | "app"; value?: any; }; }

Returns

CancelablePromise<string>

string draft created