From 8c5618c497045a87cd2d9c663e695aeab95d24d7 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 16 Mar 2021 14:57:49 +0100 Subject: poopy rating on profile --- api/api.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'api') diff --git a/api/api.ts b/api/api.ts index 2acc4ea..320df92 100644 --- a/api/api.ts +++ b/api/api.ts @@ -1,21 +1,21 @@ export interface userInfo { - avatar?: string|null, - status?: string|null, - coutry?: string|null, - id?: string, - registered?: number, - type?: string, - username?: string, + avatar: string|null, + status: string|null, + coutry: string|null, + id: string, + registered: number, + username: string, friends: number, relation?: "none"|"friends"|"incoming"|"outgoing"|"blocked", + rating: number, }; export type ruleset = { timelimit: { enabled: boolean; - minutes?: number; - seconds?: number; - addmove?: number; + minutes: number; + seconds: number; + addmove: number; shared: boolean; }, ranked: boolean; -- cgit v1.2.3