Application Load

IUserAddressSaveResponse

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

IUserAddressSaveResponse

On success, page_data is an array containing the saved address. Read page_data[0] for its ID and normalized values.

src/lib/interfaces/orionplace/address/IUserAddress.ts
TypeScript
export interface IUserAddressSaveResponse {
  // Field errors or __all__ errors; null on success.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message; null on failure.
  success_message: string | null;
  // On success, `page_data` is an array containing the saved address. Read
  // `page_data[0]` for its ID and normalized values.
  page_data: IUserAddress[] | null;
}