🎉 first commit

This commit is contained in:
LIlGG
2025-09-24 13:06:25 +08:00
commit 1f4fb103e9
409 changed files with 61222 additions and 0 deletions

29
app/types/deployment.ts Normal file
View File

@@ -0,0 +1,29 @@
export enum DeploymentPlatformEnum {
_1PANEL = '1panel',
NETLIFY = 'netlify',
VERCEL = 'vercel',
}
export type DeploymentPlatform = (typeof DeploymentPlatformEnum)[keyof typeof DeploymentPlatformEnum];
export enum DeploymentStatusEnum {
SUCCESS = 'success',
PENDING = 'pending',
DEPLOYING = 'deploying',
DEPLOYED = 'deployed',
FAILED = 'failed',
INACTIVE = 'inactive',
}
export type DeploymentStatus = (typeof DeploymentStatusEnum)[keyof typeof DeploymentStatusEnum];
// 按平台分类的部署统计数据
export interface DeploymentStatsByPlatform {
totalSites: number;
sitesByPlatform: Record<string, number>;
totalDays?: number;
totalVisits?: number;
availableVisits?: number;
totalBytes?: number;
lastAccess?: string | null;
}