Skip to main content
Module

x/windmill/mod.ts>ScriptService.createScript

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 ScriptService.createScript
import { ScriptService } from "https://deno.land/x/windmill@v1.73.0/mod.ts";

create script

Parameters

unnamed 0: { workspace: string; requestBody: { path: string; parent_hash?: string; summary: string; description: string; content: string; schema?: any; is_template?: boolean; lock?: Array<string>; language:
| "python3"
| "deno"
| "go"
| "bash"
; kind?:
| "script"
| "failure"
| "trigger"
| "command"
| "approval"
; }; }

Returns

CancelablePromise<string>

string script created