Application Load

IProfileSearchHistoryResponse

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

IProfileSearchHistoryResponse

page_data.data contains search records and page_data.rpag describes pagination. Empty results contain an empty data array.

interfaces/orionplace/accounts/IProfileData.ts
TypeScript
export interface IProfileSearchHistoryResponse {
  // Field or general errors; null on success.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message, or null.
  success_message: string | null;
  // `page_data.data` contains search records and `page_data.rpag` describes
  // pagination. Empty results contain an empty `data` array.
  page_data: {
    // Value of data.
    data: {
      // Value of id.
      id: number;
      // Value of q.
      q: string;
    }[];
    // Pagination state: current page, next/previous availability and record
    // indexes. Every page carries `selected_count` and `pages`; `total_count`
    // normally comes with page 1.
    rpag: IApiPagination | null;
  } | null;
}