Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/services/FolderService.ts>FolderService

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Latest
class FolderService
import { FolderService } from "https://deno.land/x/windmill@v1.416.1/windmill-api/services/FolderService.ts";

Static Methods

addOwnerToFolder(unnamed 0: { workspace: string; name: string; requestBody: { owner: string; }; }): CancelablePromise<string>

add owner to folder

createFolder(unnamed 0: { workspace: string; requestBody: { name: string; summary?: string; owners?: Array<string>; extra_perms?: any; }; }): CancelablePromise<string>

create folder

deleteFolder(unnamed 0: { workspace: string; name: string; }): CancelablePromise<string>

delete folder

getFolder(unnamed 0: { workspace: string; name: string; }): CancelablePromise<Folder>

get folder

getFolderUsage(unnamed 0: { workspace: string; name: string; }): CancelablePromise<{ scripts: number; flows: number; apps: number; resources: number; variables: number; schedules: number; }>

get folder usage

listFolderNames(unnamed 0: { workspace: string; onlyMemberOf?: boolean; }): CancelablePromise<Array<string>>

list folder names

listFolders(unnamed 0: { workspace: string; page?: number; perPage?: number; }): CancelablePromise<Array<Folder>>

list folders

removeOwnerToFolder(unnamed 0: { workspace: string; name: string; requestBody: { owner: string; write?: boolean; }; }): CancelablePromise<string>

remove owner to folder

updateFolder(unnamed 0: { workspace: string; name: string; requestBody: { summary?: string; owners?: Array<string>; extra_perms?: any; }; }): CancelablePromise<string>

update folder