fmt: use biome
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user