Merge remote-tracking branch 'origin' into back-office-integration
This commit is contained in:
@@ -24,7 +24,7 @@ export interface ItemTranslation {
|
||||
description?: DescriptionField[];
|
||||
}
|
||||
|
||||
export interface Callback {
|
||||
export interface Review {
|
||||
rating?: number;
|
||||
content?: string;
|
||||
userID?: string;
|
||||
@@ -32,6 +32,9 @@ export interface Callback {
|
||||
timestamp?: string;
|
||||
}
|
||||
|
||||
/** @deprecated Use {@link Review} instead */
|
||||
export type Callback = Review;
|
||||
|
||||
export interface Question {
|
||||
question: string;
|
||||
answer: string;
|
||||
@@ -50,7 +53,7 @@ export interface Item {
|
||||
discount: number;
|
||||
remainings?: string;
|
||||
rating: number;
|
||||
callbacks: Callback[] | null;
|
||||
callbacks: Review[] | null;
|
||||
questions: Question[] | null;
|
||||
partnerID?: string;
|
||||
quantity?: number;
|
||||
|
||||
Reference in New Issue
Block a user