feat(frontend): request logs; refactor frontend components

This commit is contained in:
2025-12-01 18:48:22 +08:00
parent d783cf2591
commit a9cb9510c5
28 changed files with 649 additions and 160 deletions

View File

@@ -34,3 +34,23 @@ export interface UpdateCommandRequest {
status: string;
notes?: string;
}
export interface Request {
headers: Record<string, {value: string, modified: boolean}>;
body: {value: any, modified: boolean};
}
export interface Response {
headers: Record<string, {value: string, modified: boolean}>;
body: {value: any, modified: boolean};
}
export interface RequestLog {
id: number;
method: string;
request_body: object;
response_body: object;
request_interception_action: string,
response_interception_action: string,
created_at: string;
}