Application Load

IProductFeedbackImagesResponse

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IProductFeedbackImagesResponse

Read image records from page_data.data, with pagination in page_data.rpag. Only images from approved reviews left in this store group are returned.

interfaces/orionplace/products/IProductFeedbackApi.ts
TypeScript
export interface IProductFeedbackImagesResponse {
  // Field and general errors.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message or null.
  success_message: string | null;
  // Read image records from `page_data.data`, with pagination in
  // `page_data.rpag`. Only images from approved reviews left in this store
  // group are returned.
  page_data: {
    // Photos from approved reviews on the current page.
    data: IProductReviewImage[];
    // Pagination; newest image IDs first.
    rpag: IApiPagination;
  } | null;
}