import { GitProjectInterface, MinimalGitProjectDto } from "../git_project/GitProjectTypes"; import { MetadataInterface } from "../metadata/MetadataTypes"; import { ProjectInterface } from "../project/ProjectTypes"; import { ProvisioningStatusDto, ProvisioningStatusInterface } from "../provisioning_status/ProvisioningStatusTypes"; export declare enum ApplicationTypes { Deployable = "deployable", Library = "library" } export declare enum ApplicationLanguagePacks { Java11 = "java11", Java8 = "java8", Java11Gradle = "java11gradle", Java8Gradle = "java8gradle", Nodejs12 = "nodejs12", Nodejs10 = "nodejs10", Nodejs12Nginx117 = "nodejs12nginx117", Nodejs10Nginx117 = "nodejs10nginx117", DotNetCore21 = "dotnetcore21", DotNetCore31 = "dotnetcore31", Php7 = "php7", Python38 = "python38", Docker = "docker" } export interface GitRepositoryInterface { id?: string; repositoryKey?: string; gitProject?: GitProjectInterface; owningApplication?: ApplicationInterface; } export interface ApplicationInterface { id?: string; name?: string; description?: string; defaultBranch?: string; applicationType?: ApplicationTypes; hasIngress?: boolean; owningProject?: ProjectInterface; gitRepository?: GitRepositoryInterface; languagePack?: ApplicationLanguagePacks; metadata?: MetadataInterface; status?: ProvisioningStatusInterface; } export interface GitRepositoryDto extends GitRepositoryInterface { repositoryKey: string; gitProject: MinimalGitProjectDto; } export interface StandardApplicationDto extends ApplicationInterface { id: string; name: string; description: string; defaultBranch: string; applicationType: ApplicationTypes; hasIngress: boolean; gitRepository: GitRepositoryDto; languagePack: ApplicationLanguagePacks; status: ProvisioningStatusDto; } export interface MinimalApplicationDto extends ApplicationInterface { id: string; name: string; description: string; applicationType: ApplicationTypes; hasIngress: boolean; languagePack: ApplicationLanguagePacks; status: ProvisioningStatusDto; }