another one
This commit is contained in:
@@ -1,19 +1,27 @@
|
||||
export interface Review {
|
||||
id: number;
|
||||
userId: number;
|
||||
rating: number;
|
||||
comment: string;
|
||||
createdAt: string;
|
||||
id: number
|
||||
userId: number
|
||||
rating: number
|
||||
comment: string
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
export interface Seller {
|
||||
id: number
|
||||
name: string
|
||||
shopName: string
|
||||
}
|
||||
|
||||
export interface Product {
|
||||
id: number;
|
||||
title: string;
|
||||
price: number;
|
||||
image: string;
|
||||
category: string;
|
||||
licenseType?: string;
|
||||
description?: string;
|
||||
reviews: Review[];
|
||||
id: number
|
||||
title: string
|
||||
price: number
|
||||
description: string
|
||||
image_url: string
|
||||
category?: string
|
||||
brand?: string
|
||||
licenseType?: string
|
||||
reviews?: Review[]
|
||||
seller?: Seller
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user