This commit is contained in:
yoan
2024-10-10 11:13:45 +08:00
parent 30ef5841d6
commit 9f1b00f04c
6 changed files with 301 additions and 420 deletions

View File

@@ -7,7 +7,7 @@ export type Domain = {
crontab: string;
access: string;
targetAccess?: string;
targetType: string;
targetType?: string;
expiredAt?: string;
phase?: Pahse;
phaseSuccess?: boolean;
@@ -31,10 +31,19 @@ export type Domain = {
deployConfig?: DeployConfig[];
};
type KVType = {
key: string;
value: string;
};
export type DeployConfig = {
access: string;
type: string;
config?: Record<string, string>;
config?: {
[key: string]: string;
} & {
variables?: KVType[];
};
};
export type ApplyConfig = {