import { ResourceReference } from "../common/ResourceReference"; import { ProjectInterface } from "../project/ProjectTypes"; import { ProvisioningStatusDto, ProvisioningStatusInterface } from "../provisioning_status/ProvisioningStatusTypes"; export declare enum GitHosts { BitbucketServer = "bitbucket_server", Github = "github" } export interface GitProjectInterface { id?: string; gitProjectKey?: string; hostUrl?: string; hostType?: GitHosts; owningProject?: ProjectInterface; cicdCredential?: ResourceReference; status?: ProvisioningStatusInterface; } export interface FullGitProjectDto extends GitProjectInterface { id: string; gitProjectKey: string; hostUrl: string; hostType: GitHosts; owningProject: ResourceReference; cicdCredential?: ResourceReference; status: ProvisioningStatusDto; } export interface MinimalGitProjectDto extends GitProjectInterface { id: string; gitProjectKey: string; hostUrl: string; hostType: GitHosts; status: ProvisioningStatusDto; }