fix code style, use names from api instead of hardcoding for flatmates users
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
interface Flatastic {
|
||||
users: Array<FlatasticUser>;
|
||||
chores: Array<FlatasticChore>;
|
||||
}
|
||||
|
||||
interface FlatasticUser {
|
||||
id: number;
|
||||
firstName: string;
|
||||
}
|
||||
|
||||
interface FlatasticChore {
|
||||
id: number;
|
||||
title: string;
|
||||
@@ -10,4 +20,4 @@ interface FlatasticChore {
|
||||
timeLeftNext: number;
|
||||
}
|
||||
|
||||
export type { FlatasticChore };
|
||||
export type { Flatastic, FlatasticChore, FlatasticUser };
|
||||
|
||||
Reference in New Issue
Block a user