@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_.
10 lines (9 loc) • 486 B
TypeScript
import { BlockSchema } from '../models/BlockSchema';
import { BlockSchemasFilter } from '../models/Filters';
import { WorkspaceApi } from '../services/WorkspaceApi';
export declare class WorkspaceBlockSchemasApi extends WorkspaceApi {
protected routePrefix: string;
getBlockSchema(blockSchemaId: string): Promise<BlockSchema>;
getBlockSchemas(filter?: BlockSchemasFilter): Promise<BlockSchema[]>;
getBlockSchemaForBlockType(blockTypeId: string): Promise<BlockSchema>;
}