import { ResourceApi } from "https://deno.land/x/windmill@v1.28.1/windmill-api/index.ts";
Methods
createResource(): Promise<string>
workspace: string,
createResource: CreateResource,
_options?: Configuration,
create resource
createResourceType(): Promise<string>
workspace: string,
resourceType: ResourceType,
_options?: Configuration,
create resource_type
deleteResource(): Promise<string>
workspace: string,
path: string,
_options?: Configuration,
delete resource
deleteResourceType(): Promise<string>
workspace: string,
path: string,
_options?: Configuration,
delete resource_type
existsResource(): Promise<boolean>
workspace: string,
path: string,
_options?: Configuration,
does resource exists
existsResourceType(): Promise<boolean>
workspace: string,
path: string,
_options?: Configuration,
does resource_type exists
getResource(): Promise<Resource>
workspace: string,
path: string,
_options?: Configuration,
get resource
getResourceType(): Promise<ResourceType>
workspace: string,
path: string,
_options?: Configuration,
get resource_type
listResource(): Promise<Array<Resource>>
workspace: string,
page?: number,
perPage?: number,
resourceType?: string,
_options?: Configuration,
list resources
listResourceType(workspace: string, _options?: Configuration): Promise<Array<ResourceType>>
list resource_types
listResourceTypeNames(workspace: string, _options?: Configuration): Promise<Array<string>>
list resource_types names
updateResource(): Promise<string>
workspace: string,
path: string,
editResource: EditResource,
_options?: Configuration,
update resource
updateResourceType(): Promise<string>
workspace: string,
path: string,
editResourceType: EditResourceType,
_options?: Configuration,
update resource_type