Application Load

ICarrierBox

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

ICarrierBox

Delivery box dimensions and limits.

app/interfaces/orionplace/cart/ICartData.ts
TypeScript
export interface ICarrierBox {
  // Box ID.
  id: number;
  // Box name.
  box_name: string;
  // Length values keyed by length-unit ID.
  length: IUnitValues;
  // Width values keyed by length-unit ID.
  width: IUnitValues;
  // Height values keyed by length-unit ID.
  height: IUnitValues;
  // Backend volume and maximum-weight conversions. Volume uses the backend
  // length conversion; do not infer cubic-unit conversion.
  measures: {
    // Value of volume.
    volume: IUnitValues;
    // Value of weight.
    weight: IUnitValues;
  };
}