Compare commits

...

8 Commits

Author SHA1 Message Date
Balázs Orbán
53f41d637a birthday single word 2022-12-31 08:45:25 +01:00
Balázs Orbán
e910c90525 update in core 2022-12-31 08:43:00 +01:00
박찬혁
2004a377ea Merge branch 'main' into feat-kakao-type-safety 2022-12-25 23:57:14 +09:00
박찬혁
f24c91b8ee Merge branch 'main' into feat-kakao-type-safety 2022-12-16 10:06:53 +09:00
박찬혁
ad72985460 Merge branch 'main' into feat-kakao-type-safety 2022-12-15 09:58:22 +09:00
박찬혁
f299954e9b Merge branch 'main' into feat-kakao-type-safety 2022-12-14 13:57:18 +09:00
박찬혁
f325f76c24 Merge branch 'main' into feat-kakao-type-safety 2022-12-13 18:00:42 +09:00
ChanhyukPark-Tech
05d9f1cbee feat: type safety for BirthDay 2022-12-13 17:58:33 +09:00

View File

@@ -2,6 +2,7 @@ import type { OAuthConfig, OAuthUserConfig } from "./index.js"
export type DateTime = string
export type Gender = "female" | "male"
export type Birthday = "SOLAR" | "LUNAR"
export type AgeRange =
| "1-9"
| "10-14"
@@ -55,7 +56,7 @@ export interface KakaoProfile extends Record<string, any> {
birthyear?: string
birthday_needs_agreement?: boolean
birthday?: string
birthday_type?: string
birthday_type?: Birthday
gender_needs_agreement?: boolean
gender?: Gender
phone_number_needs_agreement?: boolean