feat: server group

This commit is contained in:
hamster1963
2024-11-24 01:45:33 +08:00
parent 0fb3f4a6cf
commit fb38b0eb8a
10 changed files with 167 additions and 109 deletions

View File

@@ -43,3 +43,18 @@ export interface NezhaAPIStatus {
temperatures: number;
gpu: number;
}
export interface ServerGroupResponse {
success: boolean;
data: ServerGroup[];
}
export interface ServerGroup {
group: {
id: number;
created_at: string;
updated_at: string;
name: string;
};
servers: number[];
}