Application Load

IProfileResponse

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

IProfileResponse

page_data.profile_info is an array, normally containing one customer profile. It can be empty when filters do not match.

app/interfaces/orionplace/accounts/IProfileData.ts
TypeScript
export interface IProfileResponse {
  // Field or general errors; null on success.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message, or null.
  success_message: string | null;
  // `page_data.profile_info` is an array, normally containing one customer
  // profile. It can be empty when filters do not match.
  page_data: {
    // Value of profile_info.
    profile_info: IProfileData[];
  } | null;
}