Application Load

ICartOptionType

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

ICartOptionType

Option type metadata.

app/interfaces/orionplace/cart/ICartData.ts
TypeScript
export interface ICartOptionType {
  // Option-type ID.
  id: number;
  // Configured type identifier.
  option_type: string;
  // Whether multiple choices are supported.
  multiple_choices: boolean;
  // Translated type label.
  locale: Record<string, {
    // Optional value of option_type_human_alias; it may be omitted.
    option_type_human_alias?: string;
  }>;
}