Загрузка приложения

ECartPromoNoticeReason

Физическое объявление TypeScript из стартового проекта Nuxt со связанными типами и комментариями к полям.

ECartPromoNoticeReason

Причины сообщения о промокоде корзины.

interfaces/orionplace/cart/ICartData.ts
TypeScript
export const ECartPromoNoticeReason = {
  NO_LINES: 'no_lines',
  NOT_MATCHED: 'not_matched',
  PRODUCT_DISCOUNTED: 'product_discounted',
  BELOW_MINIMUM: 'below_minimum',
  SUBSCRIPTIONS_ONLY: 'subscriptions_only',
  TOO_SMALL: 'too_small',
  NOTHING_TO_SHIP: 'nothing_to_ship',
  EXPIRED: 'expired',
  NOT_ACTIVE: 'not_active',
  NOT_STARTED: 'not_started',
  USAGE_LIMIT: 'usage_limit',
  PROMOTION_LIMIT: 'promotion_limit',
  NOT_YOURS: 'not_yours',
  PERSONAL_LIMIT: 'personal_limit',
  FIRST_ORDER_ONLY: 'first_order_only',
  WRONG_DOMAIN: 'wrong_domain',
} as const;
export type ECartPromoNoticeReason =
  (typeof ECartPromoNoticeReason)[keyof typeof ECartPromoNoticeReason];