41 lines
839 B
TypeScript
41 lines
839 B
TypeScript
interface LocalProduct {
|
|
id: string
|
|
bigCommerceSKU: string
|
|
previewImage: FileField
|
|
isBestseller: boolean
|
|
isFeatured: boolean
|
|
isOnSale: boolean
|
|
isNew: boolean
|
|
}
|
|
|
|
interface CompleteYourLook {
|
|
id: string
|
|
products: {
|
|
productImage: string
|
|
productReference: string
|
|
imageWidth: number
|
|
imageHeight: number
|
|
imageTop: number
|
|
imageLeft: number
|
|
}
|
|
}
|
|
|
|
interface ProductRating {
|
|
id: string
|
|
bigCommerceOrderId: string
|
|
bigCommerceProductRatingId: string
|
|
productId: string
|
|
author: string
|
|
rating: {
|
|
length: number
|
|
fit: number
|
|
quality: number
|
|
priceQualityRatio: number
|
|
comfort: number
|
|
overall: number
|
|
}
|
|
comment: string
|
|
review_date: Date
|
|
status: "pending" | "approved" | "rejected"
|
|
}
|