Application Load

EPromoProductDiscount

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

EPromoProductDiscount

Compatibility with product discounts.

app/interfaces/orionplace/cart/ICartData.ts
TypeScript
export const EPromoProductDiscount = {
  UNKNOWN: '',
  NOT_ALLOW_WITH_PRODUCT_DISCOUNT: 0,
  ALLOW_WITH_PRODUCT_DISCOUNT: 1,
} as const;
export type EPromoProductDiscount =
  (typeof EPromoProductDiscount)[keyof typeof EPromoProductDiscount];