begin converting WakatimeCore

This commit is contained in:
Vu Nguyen
2021-01-16 20:04:53 -06:00
parent d194bcfe60
commit 0c39fbbc79
25 changed files with 1205 additions and 55 deletions

44
src/types/user.ts Normal file
View File

@@ -0,0 +1,44 @@
// Generated by https://quicktype.io
export interface UserPayload {
data: User;
}
export interface User {
bio: null;
color_scheme: string;
created_at: string;
date_format: string;
default_dashboard_range: string;
display_name: string;
email: string;
full_name: string;
has_premium_features: boolean;
human_readable_website: string;
id: string;
is_email_confirmed: boolean;
is_email_public: boolean;
is_hireable: boolean;
is_onboarding_finished: boolean;
languages_used_public: boolean;
last_heartbeat_at: string;
last_plugin: string;
last_plugin_name: string;
last_project: string;
location: string;
logged_time_public: boolean;
modified_at: string;
needs_payment_method: boolean;
photo: string;
photo_public: boolean;
plan: string;
public_email: string;
show_machine_name_ip: boolean;
time_format_24hr: boolean;
timeout: number;
timezone: string;
username: string;
website: string;
weekday_start: number;
writes_only: boolean;
}