import { ScriptService } from "https://deno.land/x/windmill@v1.318.0/windmill-api/index.ts";
Static Methods
archive script by hash
archive script by path
create script
delete script by hash (erase content but keep hash, require admin)
delete all scripts at a given path (require admin)
exists script by path
get full hub script by path
get hub script content by path
get script by hash
get script by path
get script by path with draft
get script deployment status
get history of a script by path
get top hub scripts
list all scripts paths
list all scripts
list scripts for search
query hub scripts by similarity
raw script by hash
raw script by path
raw script by path with a token (mostly used by lsp to be used with import maps to resolve scripts)
Toggle ON and OFF the workspace error handler for a given script
update history of a script