mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 20:01:28 +00:00
test: implement unit tests for hooks and refactor some types (#493)
This commit is contained in:
@@ -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[];
|
||||
|
Reference in New Issue
Block a user