@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_.
36 lines (31 loc) • 700 B
text/typescript
type SimpleVersionInfo = {
type: 'prefect:simple',
/** "" as default */
version: string,
branch?: string | null,
url?: string | null,
}
type GithubVersionInfo = {
type: 'vcs:github',
version: string,
branch: string,
url: string,
repository: string,
}
type GitVersionInfo = {
type: 'vcs:git',
version: string,
branch: string,
url: string,
repository: string,
}
type DockerVersionInfo = {
type: 'container:docker',
version: string,
branch: string,
url: string,
imageName: string,
registry: string,
image: string,
}
export type DeploymentVersionInfo = (SimpleVersionInfo | GithubVersionInfo | GitVersionInfo | DockerVersionInfo) & Record<string, unknown>