@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_.
29 lines (25 loc) • 832 B
text/typescript
import { BlockSchemaResponse } from '@/models/api/BlockSchemaResponse'
import { BlockTypeResponse } from '@/models/api/BlockTypeResponse'
export type BlockDocumentResponseData = Record<string, unknown>
export type BlockDocumentReferenceResponse = {
block_document: {
block_type: BlockTypeResponse,
id: string,
is_anonymous: boolean,
name: string,
},
}
export type BlockDocumentReferencesResponse = Record<string, BlockDocumentReferenceResponse | undefined>
export type BlockDocumentResponse = {
id: string,
created: string,
updated: string,
name: string,
data: BlockDocumentResponseData,
block_schema_id: string,
block_schema: BlockSchemaResponse,
block_type_id: string,
block_type: BlockTypeResponse,
block_document_references: BlockDocumentReferencesResponse,
is_anonymous: boolean,
}