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

EProductFeedbackStatus

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

EProductFeedbackStatus

Статус отзыва: DENIED, PENDING или APROOVED.

interfaces/orionplace/products/IProductFeedbackApi.ts
TypeScript
export const EProductFeedbackStatus = {
  DENIED: -1,
  PENDING: 0,
  APROOVED: 1,
} as const;
export type EProductFeedbackStatus =
  (typeof EProductFeedbackStatus)[keyof typeof EProductFeedbackStatus];