More Types

This commit is contained in:
Belen Curcio 2021-01-09 12:17:31 -03:00
parent c3c1ac7cf5
commit ab16960ddb

17
framework/types.d.ts vendored
View File

@ -23,7 +23,7 @@ interface ProductPrice {
type?: 'price' | 'retail' | 'sale' | string
}
interface Wishlist {
interface Cart {
id: string
products: Pick<Product, 'id' | 'name' | 'prices'>[]
}
@ -33,11 +33,22 @@ interface Wishlist {
products: Pick<Product, 'id' | 'name' | 'prices'>[]
}
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'