begin converting WakatimeCore
This commit is contained in:
28
src/types/heartbeats.ts
Normal file
28
src/types/heartbeats.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
// Generated by https://quicktype.io
|
||||
|
||||
export interface HeartBeatsPayload {
|
||||
data: Datum[];
|
||||
end: string;
|
||||
start: string;
|
||||
timezone: string;
|
||||
}
|
||||
|
||||
export interface Datum {
|
||||
branch: string;
|
||||
category: string;
|
||||
created_at: string;
|
||||
cursorpos: null;
|
||||
dependencies: string;
|
||||
entity: string;
|
||||
id: string;
|
||||
is_write: boolean;
|
||||
language: string;
|
||||
lineno: null;
|
||||
lines: number;
|
||||
machine_name_id: string;
|
||||
project: string;
|
||||
time: number;
|
||||
type: string;
|
||||
user_agent_id: string;
|
||||
user_id: string;
|
||||
}
|
||||
Reference in New Issue
Block a user