common.ts 630 B

1234567891011121314151617181920212223242526272829
  1. // 인증 구분 값
  2. export const enum VerificationType
  3. {
  4. Registration = 0, // 회원가입
  5. ForgotPassword = 1 // 비밀번호 재설정
  6. }
  7. // JWT 클레임 키 (표준 JWT)
  8. export const CLAIM_NAME_IDENTIFIER = "sub";
  9. export const CLAIM_EMAIL = "email";
  10. export const CLAIM_NAME = "name";
  11. // 로그인 기록 구분 값
  12. export const enum LoginLogType {
  13. Today = "today",
  14. Week = "week",
  15. Month = "month",
  16. QuarterYear = "quarter",
  17. HalfYear = "half"
  18. }
  19. // 충전 내역 카테고리 필터
  20. export const enum WalletLogCategory {
  21. All = "all",
  22. Charge = "charge",
  23. Earn = "earn",
  24. Spend = "spend",
  25. Refund = "refund"
  26. }