This commit is contained in:
yoan
2024-08-21 12:19:12 +08:00
commit 50fa238d88
89 changed files with 11835 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
import { Domain } from "./domain";
export type Deployment = {
id: string;
domain: string;
log: {
apply?: Log[];
check?: Log[];
deploy?: Log[];
};
phase: Pahse;
phaseSuccess: boolean;
deployedAt: string;
created: string;
updated: string;
expand: {
domain?: Domain;
};
};
export type Pahse = "apply" | "check" | "deploy";
export type Log = {
time: string;
message: string;
error: string;
};
export type DeploymentListReq = {
domain?: string;
page?: number;
perPage?: number;
};