feat(nui): Fetch chart data from resources

This commit is contained in:
Luke committed 2022-01-27 12:47:13 +01:00
1 parent b9442715e4
commit 31fb361c4c
5 files changed
+48 -13

No files matched your search

+11 -4
View File
@@ -1,5 +1,12 @@
interface ChartData {
x: number;
y: number;
z: string;
}
export type InitData = {
resources: string[];
totalQueries: number;
totalTime: number;
}
resources: string[];
totalQueries: number;
totalTime: number;
chartData: ChartData[];
};