Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/windmill-api/types/ObservableAPI.ts>ObservableVariableApi

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
class ObservableVariableApi
import { ObservableVariableApi } from "https://deno.land/x/windmill@v1.33.0/windmill-api/types/ObservableAPI.ts";

Constructors

new
ObservableVariableApi(
configuration: Configuration,
requestFactory?: VariableApiRequestFactory,
responseProcessor?: VariableApiResponseProcessor,
)

Properties

private
configuration: Configuration
private
requestFactory: VariableApiRequestFactory
private
responseProcessor: VariableApiResponseProcessor

Methods

createVariable(
workspace: string,
createVariable: CreateVariable,
_options?: Configuration,
): Observable<string>

create variable

deleteVariable(
workspace: string,
path: string,
_options?: Configuration,
): Observable<string>

delete variable

existsVariable(
workspace: string,
path: string,
_options?: Configuration,
): Observable<boolean>

does variable exists at path

getVariable(
workspace: string,
path: string,
decryptSecret?: boolean,
_options?: Configuration,
): Observable<ListableVariable>

get variable

listContextualVariables(workspace: string, _options?: Configuration): Observable<Array<ContextualVariable>>

list contextual variables

listVariable(workspace: string, _options?: Configuration): Observable<Array<ListableVariable>>

list variables

updateVariable(
workspace: string,
path: string,
editVariable: EditVariable,
_options?: Configuration,
): Observable<string>

update variable