Application Load

ICartStore

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

ICartStore

Store details with cart-specific delivery choices.

interfaces/orionplace/cart/ICartData.ts
TypeScript
export interface ICartStore extends Omit<IPhysicalStore, 'virtual_goods'> {
  // Whether this is a virtual-goods store.
  virtual_goods: boolean;
  // Stored delivery-type count for this group.
  c_delivery_types: number;
  // Currently available delivery types keyed by ID.
  deliveries: Record<string, IDeliveryType>;
}