-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.d.ts
33 lines (33 loc) Β· 899 Bytes
/
env.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
interface ShareToKakaoArg {
templateId: number
installTalk?: boolean
templateArgs: {
SURVEY_PATH: string
}
serverCallbackArgs?: {}
}
export declare global {
namespace NodeJS {
interface ProcessEnv {
readonly NODE_ENV: 'development' | 'production'
readonly NEXT_PUBLIC_G_TAG: string
readonly CHROMATIC_PROJECT_TOKEN: string
readonly NEXT_PUBLIC_KAKAO_CLIENT_ID: string
readonly NEXT_PUBLIC_KAKAO_REDIRECT_URL: string
readonly NEXT_PUBLIC_API_URL: string
readonly HOST: string
readonly NEXT_PUBLIC_KAKAO_SHARE_TEMPLATE_ID: string
readonly NEXT_PUBLIC_KAKAO_JS_KEY: string
readonly NEXT_PUBLIC_NAVER_VERIFICATION: string
}
}
interface Window {
Kakao?: {
init: (key: string) => void
isInitialized: () => boolean
Share: {
sendCustom: (args: ShareToKakaoArg) => void
}
}
}
}