import { ObservableScriptApi } from "https://deno.land/x/windmill@v1.38.0/windmill-api/types/ObservableAPI.ts";
Constructors
new
ObservableScriptApi(configuration: Configuration,
requestFactory?: ScriptApiRequestFactory,
responseProcessor?: ScriptApiResponseProcessor,
Properties
private
configuration: Configurationprivate
requestFactory: ScriptApiRequestFactoryprivate
responseProcessor: ScriptApiResponseProcessorMethods
archive script by hash
archiveScriptByPath(): Observable<string>
archive script by path
createScript(): Observable<string>
create script
delete script by hash (erase content but keep hash)
denoToJsonschema(body: string, _options?: Configuration): Observable<MainArgSignature>
inspect deno code to infer jsonschema of arguments
existsScriptByPath(): Observable<boolean>
exists script by path
getHubScriptContentByPath(path: string, _options?: Configuration): Observable<string>
get hub script content by path
get script by hash
get script by path
get script deployment status
goToJsonschema(body: string, _options?: Configuration): Observable<MainArgSignature>
inspect go code to infer jsonschema of arguments
listHubScripts(_options?: Configuration): Observable<InlineResponse2002>
list all available hub scripts
listScripts(): Observable<Array<Script>>
workspace: string,
page?: number,
perPage?: number,
orderDesc?: boolean,
createdBy?: string,
pathStart?: string,
pathExact?: string,
firstParentHash?: string,
lastParentHash?: string,
parentHash?: string,
showArchived?: boolean,
isTemplate?: boolean,
kind?: string,
_options?: Configuration,
list all available scripts
pythonToJsonschema(body: string, _options?: Configuration): Observable<MainArgSignature>
inspect python code to infer jsonschema of arguments
rawScriptByHash(): Observable<string>
raw script by hash
rawScriptByPath(): Observable<string>
raw script by path