@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_.
14 lines (13 loc) • 625 B
TypeScript
import { Flow } from '../models';
import { FlowsFilter, FlowsPaginationFilter } from '../models/Filters';
import { Paginated } from '../models/pagination';
import { WorkspaceApi } from '../services/WorkspaceApi';
export declare class WorkspaceFlowsApi extends WorkspaceApi {
protected routePrefix: string;
private readonly batcher;
getFlow(flowId: string): Promise<Flow>;
getFlows(filter?: FlowsFilter): Promise<Flow[]>;
getFlowsPaginated(filter?: FlowsPaginationFilter): Promise<Paginated<Flow>>;
getFlowsCount(filter?: FlowsFilter): Promise<number>;
deleteFlow(flowId: string): Promise<void>;
}