manage and cleanup some types
This commit is contained in:
parent
c7766aeda3
commit
1393df6fd0
9 changed files with 175 additions and 141 deletions
interfaces
12
interfaces/UserFakeDataEntry.ts
Normal file
12
interfaces/UserFakeDataEntry.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import UserAsset from "./UserAsset";
|
||||
import UserBadge from "./UserBadge";
|
||||
|
||||
export default interface UserFakeDataEntry {
|
||||
id: number;
|
||||
name: string;
|
||||
points: number;
|
||||
daily_change: number;
|
||||
daily_change_percent: number;
|
||||
assets: UserAsset[];
|
||||
badges: UserBadge[];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue