UNPKG

@prefecthq/prefect-ui-library

Version:

This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.

13 lines (12 loc) 694 B
import { Automation } from '../automations/types/automation'; import { AutomationsFilter } from '../automations/types/filter'; import { WorkspaceApi } from '../services/WorkspaceApi'; export declare class WorkspaceAutomationsApi extends WorkspaceApi { protected routePrefix: string; getAutomation(automationId: string): Promise<Automation>; getAutomations(filter?: AutomationsFilter): Promise<Automation[]>; deleteAutomation(automationId: string): Promise<void>; enableAutomation(automationId: string, enabled?: boolean): Promise<void>; validateTemplate(template: string): Promise<string | true>; getResourceAutomations(resourceId: string): Promise<Automation[]>; }