feat: Implement visualizing events with a timeline. (#25)

This commit is contained in:
Fine0830
2022-03-10 10:53:02 +08:00
committed by GitHub
parent 2a40545f93
commit 0f667d967e
14 changed files with 625 additions and 44 deletions

16
src/types/events.d.ts vendored
View File

@@ -27,3 +27,19 @@ export type Event = {
checked?: boolean;
scope?: string;
};
export interface QueryEventCondition {
uuid: string;
source: SourceInput;
name: string;
type: EventType;
time: Duration;
order: string;
paging: { pageNum: number; pageSize: number; needTotal: boolean };
}
type SourceInput = {
service: string;
serviceInstance: string;
endpoint: string;
};