mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-11 15:09:51 +00:00
35 lines
549 B
TypeScript
35 lines
549 B
TypeScript
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;
|
|
info?: string[];
|
|
};
|
|
|
|
export type DeploymentListReq = {
|
|
domain?: string;
|
|
page?: number;
|
|
perPage?: number;
|
|
};
|