Application Load

IAddressCountry

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

IAddressCountry

Country in a saved address or the shipping-country list.

app/interfaces/orionplace/address/IUserAddress.ts
TypeScript
export interface IAddressCountry {
  // Country ID.
  id: number;
  // Two-letter ISO country code.
  iso_3166_1_a2: string;
  // Three-letter ISO country code.
  iso_3166_1_a3: string;
  // Numeric ISO code represented as text.
  iso_3166_1_numeric: string;
  // Country names by locale; each value contains printable_name.
  locale: Record<string, {
    // Optional value of printable_name; it may be omitted.
    printable_name?: string;
  }>;
  // Whether shipping to the country is enabled.
  is_shipping_country: boolean;
}