Application Load

ISellerDirectoryResponse

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

ISellerDirectoryResponse

Seller directory response.

app/interfaces/orionplace/sellers/ISellerDirectory.ts
TypeScript
export interface ISellerDirectoryResponse {
  // Field or general errors.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message, or null.
  success_message: string | null;
  // Seller directory and optional category IDs.
  page_data: {
    // Value of sellers.
    sellers: {
      // Value of data.
      data: ISellerDirectoryEntry[];
      // Value of rpag.
      rpag: IApiPagination | null;
    };
    // Optional value of selects; it may be omitted.
    selects?: {
      // Value of cats.
      cats: number[];
    };
  } | null;
}