Replace entire repo content with shahikitchen-v1-prodcution.zip (v1.1 production)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
export interface WishlistItem {
|
||||
id: string;
|
||||
name: string;
|
||||
price: number;
|
||||
image?: string;
|
||||
}
|
||||
|
||||
export type NewWishlistItem = WishlistItem;
|
||||
|
||||
export interface WishlistState {
|
||||
items: WishlistItem[];
|
||||
isOpen: boolean;
|
||||
}
|
||||
|
||||
export type WishlistAction =
|
||||
| { type: 'TOGGLE_ITEM'; payload: NewWishlistItem }
|
||||
| { type: 'REMOVE_ITEM'; payload: string }
|
||||
| { type: 'CLEAR_WISHLIST' }
|
||||
| { type: 'TOGGLE_DRAWER' }
|
||||
| { type: 'OPEN_DRAWER' }
|
||||
| { type: 'CLOSE_DRAWER' }
|
||||
| { type: 'RESTORE_ITEMS'; payload: WishlistItem[] };
|
||||
Reference in New Issue
Block a user