constants.ts 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. import { LoginLogType } from '@/constants/common';
  2. export const PERIOD_TABS = [
  3. { label: '오늘', value: LoginLogType.Today },
  4. { label: '1주일', value: LoginLogType.Week },
  5. { label: '1개월', value: LoginLogType.Month },
  6. { label: '3개월', value: LoginLogType.QuarterYear },
  7. { label: '6개월', value: LoginLogType.HalfYear },
  8. ];
  9. export const WITHDRAW_STATUS_MAP: Record<string, { label: string; cls: string }> = {
  10. Pending: { label: '대기', cls: 'wallet__status--pending' },
  11. Processing: { label: '처리중', cls: 'wallet__status--processing' },
  12. Completed: { label: '완료', cls: 'wallet__status--completed' },
  13. Rejected: { label: '거절', cls: 'wallet__status--rejected' },
  14. };
  15. export const TRANSACTION_TYPE_MAP: Record<string, string> = {
  16. donation_received: '후원 수익',
  17. withdrawal: '출금',
  18. fee: '수수료',
  19. adjustment: '조정',
  20. };
  21. export const REVENUE_TYPE_MAP: Record<string, string> = {
  22. donation: '후원',
  23. crew_donation: '크루 후원',
  24. };
  25. export const WITHHOLDING_TAX_RATE = 0.033;
  26. export const MIN_WITHDRAW_AMOUNT = 40000;