add optinal apps
This commit is contained in:
@@ -13,14 +13,15 @@ export interface Application {
|
||||
id: string;
|
||||
name: string;
|
||||
description?: string;
|
||||
runtime: 'nodejs' | 'laravel' | 'wordpress';
|
||||
databaseType: 'mysql' | 'postgresql' | 'none';
|
||||
runtime: 'nodejs' | 'laravel' | 'wordpress' | 'go' | 'php' | 'python' | 'django' | 'dotnet';
|
||||
databaseType: 'mysql' | 'postgresql' | 'mongodb' | 'mariadb' | 'none';
|
||||
runtimeVersion?: string;
|
||||
phpVersion?: string;
|
||||
dbVersion?: string;
|
||||
dbUsername?: string;
|
||||
dbPassword?: string;
|
||||
dbStorageSize?: string;
|
||||
appStorageSize?: string;
|
||||
gitUrl?: string;
|
||||
gitToken?: string;
|
||||
gitBranch?: string;
|
||||
@@ -39,6 +40,11 @@ export interface Application {
|
||||
latestImageTag?: string;
|
||||
subdomain?: string;
|
||||
deployments?: Deployment[];
|
||||
// Optional services
|
||||
enableRedis?: boolean;
|
||||
enableRabbitmq?: boolean;
|
||||
enableElasticsearch?: boolean;
|
||||
logPaths?: string[];
|
||||
// Billing & Lifecycle
|
||||
planId?: string;
|
||||
billingCycle?: BillingCycle;
|
||||
@@ -100,14 +106,15 @@ export interface AuthResponse {
|
||||
export interface CreateApplicationDto {
|
||||
name: string;
|
||||
description?: string;
|
||||
runtime: 'nodejs' | 'laravel' | 'wordpress';
|
||||
databaseType: 'mysql' | 'postgresql' | 'none';
|
||||
runtime: 'nodejs' | 'laravel' | 'wordpress' | 'go' | 'php' | 'python' | 'django' | 'dotnet';
|
||||
databaseType: 'mysql' | 'postgresql' | 'mongodb' | 'mariadb' | 'none';
|
||||
runtimeVersion?: string;
|
||||
phpVersion?: string;
|
||||
dbVersion?: string;
|
||||
dbUsername?: string;
|
||||
dbPassword?: string;
|
||||
dbStorageSize?: string;
|
||||
appStorageSize?: string;
|
||||
gitUrl?: string;
|
||||
gitToken?: string;
|
||||
gitBranch?: string;
|
||||
@@ -120,6 +127,11 @@ export interface CreateApplicationDto {
|
||||
port?: number;
|
||||
clusterId?: string;
|
||||
poolId?: string;
|
||||
// Optional services
|
||||
enableRedis?: boolean;
|
||||
enableRabbitmq?: boolean;
|
||||
enableElasticsearch?: boolean;
|
||||
logPaths?: string[];
|
||||
}
|
||||
|
||||
export interface ClusterPublic {
|
||||
|
||||
Reference in New Issue
Block a user