Skip to content

Commit

Permalink
chore: modify constant values
Browse files Browse the repository at this point in the history
sync api document

#19
  • Loading branch information
timepresent95 committed Aug 12, 2024
1 parent 9eba9fe commit 23fed3e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/constants/user.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const roles = ['dad', 'mom', 'son', 'daughter'] as const;
export const roles = ['MOTHER', 'FATHER', 'SON', 'DAUGHTER'] as const;

export const birthType = ['SOLAR', 'LUNA'] as const;
2 changes: 1 addition & 1 deletion src/types/auth.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type OAuthAgent = 'apple' | 'google' | 'kakao';
export type OAuthAgent = 'NATIVE' | 'GOOGLE' | 'NAVER' | 'KAKAO' | 'APPLE';

export type SignInLog = {
recentSigninDate: Date; // 최근 접속 시간
Expand Down
4 changes: 2 additions & 2 deletions src/types/member.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {birthType, roles} from '@/constants';

export type Role = (typeof roles)[number];
export type GoupRole = (typeof roles)[number];
export type BirthType = (typeof birthType)[number];

export type Member = {
nickName: string;
groupRole: Role;
groupRole: GoupRole;
birth: string;
birthType: BirthType;
email: string;
Expand Down

0 comments on commit 23fed3e

Please sign in to comment.