tibi-docs/types/TibiCommerceRelated.d.ts

41 lines
839 B
TypeScript
Raw Normal View History

2024-03-11 18:14:31 +01:00
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"
}