-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.d.ts
68 lines (55 loc) · 1.3 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
declare global {
namespace NodeJS {
interface ProcessEnv extends NextAuthEnv, APIEnv, MailServiceEnv, TokenSecretsEnv, PaymentsEnv {
MONGODB_URI: string;
NODE_ENV: 'development' | 'production';
BASE_URL: string;
}
}
interface NextAuthEnv extends GoogleCredsEnv, LinkedInCredsEnv, GitHubCredsEnv, Auth0Creds {
NEXTAUTH_SECRET: string;
NEXTAUTH_URL: string;
}
interface APIEnv extends IpRegistryEnv, MailChimpEnv {
BASE_API_URL: string;
}
}
interface GoogleCredsEnv {
GOOGLE_ID: string;
GOOGLE_SECRET: string;
}
interface LinkedInCredsEnv {
LINKEDIN_ID: string;
LINKEDIN_SECRET: string;
}
interface GitHubCredsEnv {
GITHUB_ID: string;
GITHUB_SECRET: string;
}
interface Auth0Creds {
AUTH0_ISSUER: string;
AUTH0_CLIENT_SECRET: string;
AUTH0_CLIENT_ID: string;
}
interface TokenSecretsEnv {
JWT_TOKEN_SECRET: string;
RESET_TOKEN_SECRET: string;
}
interface PaymentsEnv {
PAYPAL_CLIENT_ID: string;
PAYPAL_CLIENT_SECRET: string;
STRIPE_PUBLIC_KEY: string;
STRIPE_SECRET_KEY: string;
}
interface MailServiceEnv {
MAILING_SERVICE_REFRESH_TOKEN: string;
SENDER_EMAIL_ADDRESS: string;
}
interface IpRegistryEnv {
IP_REGISTRY_API_KEY: string;
}
interface MailChimpEnv {
MAILCHIMP_AUDIENCE_ID: string;
MAILCHIMP_API_KEY: string;
}
export {};