separated type definitions and util functions

This commit is contained in:
2022-02-15 15:06:34 -06:00
parent 513a9d1582
commit 5348ab487b
21 changed files with 559 additions and 428 deletions

13
src/types/api.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
export interface uniteApiData {
name: string,
id: string,
avatar: string,
level: string,
rank: string,
class: string|null,
elo: string|null,
battles: string,
wins: string,
winrate: string
}