feat(frontend): request logs; refactor frontend components
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user