import { ResourceService } from "https://deno.land/x/windmill@v1.418.0/windmill-api/services/ResourceService.ts";
Static Methods
createResource(unnamed 0: { workspace: string; requestBody: CreateResource; updateIfExists?: boolean; }): CancelablePromise<string>
create resource
createResourceType(unnamed 0: { workspace: string; requestBody: ResourceType; }): CancelablePromise<string>
create resource_type
deleteResource(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>
delete resource
deleteResourceType(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>
delete resource_type
existsResource(unnamed 0: { workspace: string; path: string; }): CancelablePromise<boolean>
does resource exists
existsResourceType(unnamed 0: { workspace: string; path: string; }): CancelablePromise<boolean>
does resource_type exists
fileResourceTypeToFileExtMap(unnamed 0: { workspace: string; }): CancelablePromise<any>
get map from resource type to format extension
getResource(unnamed 0: { workspace: string; path: string; }): CancelablePromise<Resource>
get resource
getResourceType(unnamed 0: { workspace: string; path: string; }): CancelablePromise<ResourceType>
get resource_type
getResourceValue(unnamed 0: { workspace: string; path: string; }): CancelablePromise<any>
get resource value
getResourceValueInterpolated(unnamed 0: { workspace: string; path: string; jobId?: string; }): CancelablePromise<any>
get resource interpolated (variables and resources are fully unrolled)
listResource(unnamed 0: { workspace: string; page?: number; perPage?: number; resourceType?: string; resourceTypeExclude?: string; pathStart?: string; }): CancelablePromise<Array<ListableResource>>
list resources
listResourceNames(unnamed 0: { workspace: string; name: string; }): CancelablePromise<Array<{ name: string; path: string; }>>
list resource names
listResourceType(unnamed 0: { workspace: string; }): CancelablePromise<Array<ResourceType>>
list resource_types
listResourceTypeNames(unnamed 0: { workspace: string; }): CancelablePromise<Array<string>>
list resource_types names
listSearchResource(unnamed 0: { workspace: string; }): CancelablePromise<Array<{ path: string; value: any; }>>
list resources for search
queryResourceTypes(unnamed 0: { workspace: string; text: string; limit?: number; }): CancelablePromise<Array<{ name: string; score: number; schema?: any; }>>
query resource types by similarity
updateResource(unnamed 0: { workspace: string; path: string; requestBody: EditResource; }): CancelablePromise<string>
update resource
updateResourceType(unnamed 0: { workspace: string; path: string; requestBody: EditResourceType; }): CancelablePromise<string>
update resource_type
updateResourceValue(unnamed 0: { workspace: string; path: string; requestBody: { value?: any; }; }): CancelablePromise<string>
update resource value