fmt: use biome

This commit is contained in:
2025-12-06 22:26:28 +08:00
parent 8be7af6815
commit 9a82ecedac
22 changed files with 400 additions and 429 deletions

View File

@@ -1,7 +1,7 @@
export interface InterceptionRule {
id: number;
method_name: string;
action: 'passthrough' | 'modify' | 'replace';
action: "passthrough" | "modify" | "replace";
custom_response: any | null;
is_enabled: boolean;
created_at: string;
@@ -11,7 +11,7 @@ export interface InterceptionRule {
export interface Command {
id: number;
command: any;
status: 'unverified' | 'verified' | 'rejected';
status: "unverified" | "verified" | "rejected";
received_at: string;
processed_at?: string;
notes?: string;
@@ -36,21 +36,21 @@ export interface UpdateCommandRequest {
}
export interface Request {
headers: Record<string, {value: string, modified: boolean}>;
body: {value: any, modified: boolean};
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};
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;
id: number;
method: string;
request_body: object;
response_body: object;
request_interception_action: string;
response_interception_action: string;
created_at: string;
}