prepare shopping cart feature
This commit is contained in:
@@ -8,6 +8,16 @@ interface FlatasticUser {
|
||||
firstName: string;
|
||||
}
|
||||
|
||||
interface FlatasticShoppingItem {
|
||||
itemName: string;
|
||||
bought: boolean;
|
||||
id: string;
|
||||
}
|
||||
|
||||
interface FlatasticShoppingList {
|
||||
items: Array<FlatasticShoppingItem>;
|
||||
}
|
||||
|
||||
interface FlatasticChore {
|
||||
id: number;
|
||||
title: string;
|
||||
@@ -20,4 +30,10 @@ interface FlatasticChore {
|
||||
timeLeftNext: number;
|
||||
}
|
||||
|
||||
export type { Flatastic, FlatasticChore, FlatasticUser };
|
||||
export type {
|
||||
Flatastic,
|
||||
FlatasticChore,
|
||||
FlatasticShoppingItem,
|
||||
FlatasticShoppingList,
|
||||
FlatasticUser,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user