Application Load

IMyProductFeedbacksResponse

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

IMyProductFeedbacksResponse

Paginated reviews in page_data.feedbacks.

app/interfaces/orionplace/products/IProductFeedbackApi.ts
TypeScript
export interface IMyProductFeedbacksResponse {
  // Field and general errors.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message or null.
  success_message: string | null;
  // Paginated reviews in `page_data.feedbacks`.
  page_data: {
    // Value of feedbacks.
    feedbacks: {
      // Value of data.
      data: IProductReview[];
      // Value of rpag.
      rpag: IApiPagination;
    };
    // On page 1, referenced root/direct parent reviews for the filtered owned
    // collection.
    parents?: IProductReview[];
  } | null;
}