Application Load

IManufacturerSearchResponse

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

IManufacturerSearchResponse

Results are nested under page_data.manufactures: data contains records and rpag contains pagination.

interfaces/orionplace/catalog/ICatalogDirectory.ts
TypeScript
export interface IManufacturerSearchResponse {
  // Field or general errors; null on success.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message, or null.
  success_message: string | null;
  // Results are nested under `page_data.manufactures`: `data` contains records
  // and `rpag` contains pagination.
  page_data: {
    // Value of manufactures.
    manufactures: {
      // Value of data.
      data: IManufacturer[];
      // Value of rpag.
      rpag: IApiPagination | null;
    };
  } | null;
}