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_.

40 lines (32 loc) 870 B
type SimpleVersionInfo = { type: 'prefect:simple', /** "" as default */ version: string, branch?: string | null, url?: string | null, } type GitVersionInfoBase = { type: string, version: string, commitSha: string, message: string, branch: string, url: string, repository: string, } type GitVersionInfo = GitVersionInfoBase & { type: 'vcs:git', } type GithubVersionInfo = GitVersionInfoBase & { type: 'vcs:github', } type GitlabVersionInfo = GitVersionInfoBase & { type: 'vcs:gitlab', } type BitbucketVersionInfo = GitVersionInfoBase & { type: 'vcs:bitbucket', } type AzureDevopsVersionInfo = GitVersionInfoBase & { type: 'vcs:azuredevops', } export type DeploymentVersionInfo = (SimpleVersionInfo | GitVersionInfo | GithubVersionInfo | GitlabVersionInfo | BitbucketVersionInfo | AzureDevopsVersionInfo) & Record<string, unknown>