From ab16960ddb0fa7efaeffa2147a3224e09be0252b Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Sat, 9 Jan 2021 12:17:31 -0300 Subject: [PATCH] More Types --- framework/types.d.ts | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/framework/types.d.ts b/framework/types.d.ts index b804b68a5..2f1329071 100644 --- a/framework/types.d.ts +++ b/framework/types.d.ts @@ -23,7 +23,7 @@ interface ProductPrice { type?: 'price' | 'retail' | 'sale' | string } -interface Wishlist { +interface Cart { id: string products: Pick[] } @@ -33,11 +33,22 @@ interface Wishlist { products: Pick[] } +interface Order {} + interface Customer { id: string name: string + email: string } -interface Category {} +interface Category { + id: string + name: string +} -interface Brand {} +interface Brand { + id: string + name: string +} + +type Features = 'wishlist' | 'customer'