forked from sqlchat/sqlchat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocess.d.ts
44 lines (44 loc) · 2.11 KB
/
process.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
declare namespace NodeJS {
export interface ProcessEnv {
// Required. Node environment.
NODE_ENV: string;
// Optional. Set to "true" to disable the database. Need to use string as env is always string.
// We can't prefix DATABASE_URL with NEXT_PUBLIC_ because it contains sensitive information that
// should not be exposed to the client.
NEXT_PUBLIC_DATABASE_LESS: string;
// Required if NEXT_PUBLIC_DATABASE_LESS is false. Postgres database connection string to store
// the data. e.g. postgresql://postgres:YOUR_PASSWORD@localhost:5432/sqlchat?schema=sqlchat
DATABASE_URL: string;
// Required. Do not share your OpenAI API key with anyone! It should remain a secret.
OPENAI_API_KEY: string;
// Optional. OpenAI API endpoint. Defaults to https://api.openai.com.
OPENAI_API_ENDPOINT: string;
// Optional. NextAuth.js URL. Defaults to the current domain.
NEXTAUTH_URL: string;
// Optional. NextAuth.js secret. Defaults to a randomly generated string.
NEXTAUTH_SECRET: string;
// Optional. NextAuth.js GitHub OAuth client ID.
GITHUB_ID: string;
// Optional. NextAuth.js GitHub OAuth client secret.
GITHUB_SECRET: string;
// Optional. NextAuth.js Google OAuth client ID.
GOOGLE_CLIENT_ID: string;
// Optional. NextAuth.js Google OAuth client secret.
GOOGLE_CLIENT_SECRET: string;
// Optional. NextAuth.js email server.
// This can't be tested locally. Must be deployed to the web to send mail.
EMAIL_SERVER: string;
// Optional. Stripe publishable key.
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: string;
// Optional. Stripe API key.
STRIPE_API_KEY: string;
// Optional. Stripe webhook secret.
STRIPE_WEBHOOK_SECRET: string;
// Optional. Stripe price id for Pro plan 1 month subscription.
NEXT_PUBLIC_STRIPE_PRICE_ID_PRO_1_MONTH_SUBSCRIPTION: string;
// Optional. Stripe price id for Pro plan 3 month subscription.
NEXT_PUBLIC_STRIPE_PRICE_ID_PRO_3_MONTH_SUBSCRIPTION: string;
// Optional. Stripe price id for Pro plan 1 year subscription.
NEXT_PUBLIC_STRIPE_PRICE_ID_PRO_1_YEAR_SUBSCRIPTION: string;
}
}