|
1 | 1 | // eslint-disable-next-line import/no-unresolved |
2 | | -import { components } from '@octokit/openapi-types' |
| 2 | +import { components } from "@octokit/openapi-types"; |
3 | 3 |
|
4 | | -export type WorkflowJobType = components['schemas']['job'] |
| 4 | +export type WorkflowJobType = components["schemas"]["job"]; |
5 | 5 |
|
6 | 6 | export interface CPUStats { |
7 | | - readonly time: number |
8 | | - readonly totalLoad: number |
9 | | - readonly userLoad: number |
10 | | - readonly systemLoad: number |
| 7 | + readonly time: number; |
| 8 | + readonly totalLoad: number; |
| 9 | + readonly userLoad: number; |
| 10 | + readonly systemLoad: number; |
11 | 11 | } |
12 | 12 |
|
13 | 13 | export interface MemoryStats { |
14 | | - readonly time: number |
15 | | - readonly totalMemoryMb: number |
16 | | - readonly activeMemoryMb: number |
17 | | - readonly availableMemoryMb: number |
| 14 | + readonly time: number; |
| 15 | + readonly totalMemoryMb: number; |
| 16 | + readonly activeMemoryMb: number; |
| 17 | + readonly availableMemoryMb: number; |
18 | 18 | } |
19 | 19 |
|
20 | 20 | export interface NetworkStats { |
21 | | - readonly time: number |
22 | | - readonly rxMb: number |
23 | | - readonly txMb: number |
| 21 | + readonly time: number; |
| 22 | + readonly rxMb: number; |
| 23 | + readonly txMb: number; |
24 | 24 | } |
25 | 25 |
|
26 | 26 | export interface DiskStats { |
27 | | - readonly time: number |
28 | | - readonly rxMb: number |
29 | | - readonly wxMb: number |
| 27 | + readonly time: number; |
| 28 | + readonly rxMb: number; |
| 29 | + readonly wxMb: number; |
30 | 30 | } |
31 | 31 |
|
32 | 32 | export interface DiskSizeStats { |
33 | | - readonly time: number |
34 | | - readonly availableSizeMb: number |
35 | | - readonly usedSizeMb: number |
| 33 | + readonly time: number; |
| 34 | + readonly availableSizeMb: number; |
| 35 | + readonly usedSizeMb: number; |
36 | 36 | } |
37 | 37 |
|
38 | 38 | export interface ProcessedStats { |
39 | | - readonly x: number |
40 | | - readonly y: number |
| 39 | + readonly x: number; |
| 40 | + readonly y: number; |
41 | 41 | } |
42 | 42 |
|
43 | 43 | export interface ProcessedCPUStats { |
44 | | - readonly userLoadX: ProcessedStats[] |
45 | | - readonly systemLoadX: ProcessedStats[] |
| 44 | + readonly userLoadX: ProcessedStats[]; |
| 45 | + readonly systemLoadX: ProcessedStats[]; |
46 | 46 | } |
47 | 47 |
|
48 | 48 | export interface ProcessedMemoryStats { |
49 | | - readonly activeMemoryX: ProcessedStats[] |
50 | | - readonly availableMemoryX: ProcessedStats[] |
| 49 | + readonly activeMemoryX: ProcessedStats[]; |
| 50 | + readonly availableMemoryX: ProcessedStats[]; |
51 | 51 | } |
52 | 52 |
|
53 | 53 | export interface ProcessedNetworkStats { |
54 | | - readonly networkReadX: ProcessedStats[] |
55 | | - readonly networkWriteX: ProcessedStats[] |
| 54 | + readonly networkReadX: ProcessedStats[]; |
| 55 | + readonly networkWriteX: ProcessedStats[]; |
56 | 56 | } |
57 | 57 |
|
58 | 58 | export interface ProcessedDiskStats { |
59 | | - readonly diskReadX: ProcessedStats[] |
60 | | - readonly diskWriteX: ProcessedStats[] |
| 59 | + readonly diskReadX: ProcessedStats[]; |
| 60 | + readonly diskWriteX: ProcessedStats[]; |
61 | 61 | } |
62 | 62 |
|
63 | 63 | export interface ProcessedDiskSizeStats { |
64 | | - readonly diskAvailableX: ProcessedStats[] |
65 | | - readonly diskUsedX: ProcessedStats[] |
| 64 | + readonly diskAvailableX: ProcessedStats[]; |
| 65 | + readonly diskUsedX: ProcessedStats[]; |
66 | 66 | } |
67 | 67 |
|
68 | 68 | export interface LineGraphOptions { |
69 | | - readonly label: string |
70 | | - readonly axisColor: string |
| 69 | + readonly label: string; |
| 70 | + readonly axisColor: string; |
71 | 71 | readonly line: { |
72 | | - readonly label: string |
73 | | - readonly color: string |
74 | | - readonly points: ProcessedStats[] |
75 | | - } |
| 72 | + readonly label: string; |
| 73 | + readonly color: string; |
| 74 | + readonly points: ProcessedStats[]; |
| 75 | + }; |
76 | 76 | } |
77 | 77 |
|
78 | 78 | export interface StackedArea { |
79 | | - readonly label: string |
80 | | - readonly color: string |
81 | | - readonly points: ProcessedStats[] |
| 79 | + readonly label: string; |
| 80 | + readonly color: string; |
| 81 | + readonly points: ProcessedStats[]; |
82 | 82 | } |
83 | 83 |
|
84 | 84 | export interface StackedAreaGraphOptions { |
85 | | - readonly label: string |
86 | | - readonly axisColor: string |
87 | | - readonly areas: StackedArea[] |
| 85 | + readonly label: string; |
| 86 | + readonly axisColor: string; |
| 87 | + readonly areas: StackedArea[]; |
88 | 88 | } |
89 | 89 |
|
90 | 90 | export interface GraphResponse { |
91 | | - readonly id: string |
92 | | - readonly url: string |
| 91 | + readonly id: string; |
| 92 | + readonly url: string; |
93 | 93 | } |
94 | 94 |
|
95 | 95 | export interface CompletedCommand { |
96 | | - readonly ts: string |
97 | | - readonly event: string |
98 | | - readonly name: string |
99 | | - readonly uid: number |
100 | | - readonly pid: number |
101 | | - readonly ppid: string |
102 | | - readonly startTime: number |
103 | | - readonly fileName: string |
104 | | - readonly args: string[] |
105 | | - readonly duration: number |
106 | | - readonly exitCode: number |
107 | | - readonly order: number |
| 96 | + readonly ts: string; |
| 97 | + readonly event: string; |
| 98 | + readonly name: string; |
| 99 | + readonly uid: number; |
| 100 | + readonly pid: number; |
| 101 | + readonly ppid: string; |
| 102 | + readonly startTime: number; |
| 103 | + readonly fileName: string; |
| 104 | + readonly args: string[]; |
| 105 | + readonly duration: number; |
| 106 | + readonly exitCode: number; |
| 107 | + readonly order: number; |
108 | 108 | } |
109 | 109 |
|
110 | 110 | export interface ProcEventParseOptions { |
111 | | - readonly minDuration: number |
112 | | - readonly traceSystemProcesses: boolean |
| 111 | + readonly minDuration: number; |
| 112 | + readonly traceSystemProcesses: boolean; |
113 | 113 | } |
0 commit comments