1
0
mirror of https://github.com/vercel/commerce.git synced 2025-06-07 08:46:58 +00:00

More Types

This commit is contained in:
Belen Curcio 2021-01-09 12:05:40 -03:00
parent 4259136983
commit 4f0898281d

14
framework/types.d.ts vendored

@ -22,3 +22,17 @@ interface ProductPrice {
currencyCode: 'USD' | 'ARS'
type?: 'price' | 'retail' | 'sale' | string
}
interface Wishlist {
id: string
products: Pick<Product, ['id', 'name']>[]
}
interface Customer {
id: string
name: string
}
interface Category {}
interface Brand {}