forked from M3-Academy/m3-academy-template-vtexio
23 lines
461 B
TypeScript
23 lines
461 B
TypeScript
|
export interface IImages {
|
||
|
imageId: string
|
||
|
imageLabel: string
|
||
|
imageTag: string
|
||
|
imageUrl: string
|
||
|
}
|
||
|
|
||
|
export interface IProducts {
|
||
|
productId: string
|
||
|
link: string
|
||
|
productName: string
|
||
|
productTitle: string
|
||
|
items: { images: IImages[] }[]
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
export interface ICrossSellingService {
|
||
|
similars(id: string): Promise<IProducts[]>
|
||
|
suggestions(id: string): Promise<IProducts[]>
|
||
|
accessories(id: string): Promise<IProducts[]>
|
||
|
}
|