import { AppService } from "https://deno.land/x/windmill@v1.318.0/windmill-api/services/AppService.ts";
Static Methods
createApp(unnamed 0: { workspace: string; requestBody: { path: string; value: any; summary: string; policy: Policy; draft_only?: boolean; deployment_message?: string; }; }): CancelablePromise<string>
create app
deleteApp(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>
delete app
executeComponent(unnamed 0: { workspace: string; path: string; requestBody: { component: string; path?: string; args: any; raw_code?: { content: string; language: string; path?: string; cache_ttl?: number; }; force_viewer_static_fields?: any; force_viewer_one_of_fields?: any; }; }): CancelablePromise<string>
executeComponent
existsApp(unnamed 0: { workspace: string; path: string; }): CancelablePromise<boolean>
does an app exisst at path
getAppByPath(unnamed 0: { workspace: string; path: string; }): CancelablePromise<AppWithLastVersion>
get app by path
getAppByPathWithDraft(unnamed 0: { workspace: string; path: string; }): CancelablePromise<AppWithLastVersionWDraft>
get app by path with draft
getAppByVersion(unnamed 0: { workspace: string; id: number; }): CancelablePromise<AppWithLastVersion>
get app by version
getAppHistoryByPath(unnamed 0: { workspace: string; path: string; }): CancelablePromise<Array<AppHistory>>
get app history by path
getHubAppById(unnamed 0: { id: number; }): CancelablePromise<{ app: { summary: string; value: any; }; }>
get hub app by id
getPublicAppBySecret(unnamed 0: { workspace: string; path: string; }): CancelablePromise<AppWithLastVersion>
get public app by secret
getPublicResource(unnamed 0: { workspace: string; path: string; }): CancelablePromise<any>
get public resource
getPublicSecretOfApp(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>
get public secret of app
listApps(unnamed 0: { workspace: string; page?: number; perPage?: number; orderDesc?: boolean; createdBy?: string; pathStart?: string; pathExact?: string; starredOnly?: boolean; }): CancelablePromise<Array<ListableApp>>
list all apps
listHubApps(): CancelablePromise<{ apps?: Array<{ id: number; app_id: number; summary: string; apps: Array<string>; approved: boolean; votes: number; }>; }>
list all hub apps
listSearchApp(unnamed 0: { workspace: string; }): CancelablePromise<Array<{ path: string; value: any; }>>
list apps for search
updateApp(unnamed 0: { workspace: string; path: string; requestBody: { path?: string; summary?: string; value?: any; policy?: Policy; deployment_message?: string; }; }): CancelablePromise<string>
update app
updateAppHistory(unnamed 0: { workspace: string; id: number; version: number; requestBody: { deployment_msg?: string; }; }): CancelablePromise<string>
update app history