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

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

create draft

Parameters

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

Returns

string draft created