test: implement unit tests for hooks and refactor some types (#493)

This commit is contained in:
Fine0830
2025-08-21 12:09:32 +07:00
committed by GitHub
parent a8c5ec8dd2
commit 1b6f011f0e
25 changed files with 3140 additions and 285 deletions

View File

@@ -21,8 +21,26 @@ export interface Call {
id: string;
detectPoints: string[];
type?: string;
sourceObj?: any;
targetObj?: any;
sourceObj?: {
serviceName?: string;
name?: string;
normal?: boolean;
isReal?: boolean;
id?: string;
layers?: string[];
x?: number;
y?: number;
};
targetObj?: {
serviceName?: string;
name?: string;
normal?: boolean;
isReal?: boolean;
id?: string;
layers?: string[];
x?: number;
y?: number;
};
value?: number;
lowerArc?: boolean;
sourceComponents: string[];