refactor: service api

This commit is contained in:
naiba committed 2024-12-05 21:37:18 +08:00
1 parent 3f53b9db80
commit fbf02a1c47
2 files changed
+2 -18

No files matched your search

+1 -17
View File
@@ -109,24 +109,8 @@ export interface ServiceResponse {
};
}
export interface Service {
// created_at: string;
// updated_at: string;
name: string;
// type: number;
// target: string;
// duration: number;
// notification_group_id: number;
// cover: number;
// fail_trigger_tasks: null | any[];
// recover_trigger_tasks: null | any[];
// min_latency: number;
// max_latency: number;
// skip_servers: null | any[];
}
export interface ServiceData {
service: Service;
service_name: string;
current_up: number;
current_down: number;
total_up: number;