All files / lib/constants festival.ts

0% Statements 0/2
100% Branches 0/0
100% Functions 0/0
0% Lines 0/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18                                   
import { CreateOrUpdateFestivalDtoStatusEnum } from '@uniquegood/realworld-adventure-interface';
 
export const festivalStatusToLabel: Record<CreateOrUpdateFestivalDtoStatusEnum, string> = {
  [CreateOrUpdateFestivalDtoStatusEnum.BeforePreRegistration]: '사전예약전',
  [CreateOrUpdateFestivalDtoStatusEnum.DuringPreRegistration]: '사전예약중',
  [CreateOrUpdateFestivalDtoStatusEnum.PreRegistrationEnded]: '축제예정',
  [CreateOrUpdateFestivalDtoStatusEnum.Ended]: '축제종료',
  [CreateOrUpdateFestivalDtoStatusEnum.InProgress]: '진행중'
};
 
export const festivalStatusToColor: Record<CreateOrUpdateFestivalDtoStatusEnum, string> = {
  [CreateOrUpdateFestivalDtoStatusEnum.BeforePreRegistration]: 'default',
  [CreateOrUpdateFestivalDtoStatusEnum.DuringPreRegistration]: '#2db7f5',
  [CreateOrUpdateFestivalDtoStatusEnum.PreRegistrationEnded]: '#bcbcbc',
  [CreateOrUpdateFestivalDtoStatusEnum.Ended]: '#777',
  [CreateOrUpdateFestivalDtoStatusEnum.InProgress]: '#c869ff'
};