1 Star 0 Fork 7

交个朋友/sqlchat

forked from Gitee 极速下载/sqlchat 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
process.d.ts 2.56 KB
一键复制 编辑 原始数据 按行查看 历史
Joe Biden 提交于 2024-02-07 11:16 . configurable outgoing mailbox (#149)
declare namespace NodeJS {
export interface ProcessEnv {
// Required. Node environment.
NODE_ENV: string;
// Optional. Set to "true" to use 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_USE_DATABASE: string;
// Required if NEXT_PUBLIC_USE_DATABASE is true. Postgres database connection string to store
// the data. e.g. postgresql://postgres:YOUR_PASSWORD@localhost:5432/sqlchat?schema=sqlchat
DATABASE_URL: string;
// Optional. Set to "true" to allow users to bring their own OpenAI API key.
NEXT_PUBLIC_ALLOW_SELF_OPENAI_KEY: string;
// Required. Do not share your OpenAI API key with anyone! It should remain a secret.
OPENAI_API_KEY: string;
// Optional.For users who belong to multiple organizations,
// you can pass a header to specify which organization is used for an API request.
// Usage from these API requests will count as usage for the specified organization.
OPENAI_ORGANIZATION: 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.
// https://next-auth.js.org/providers/email
EMAIL_SERVER: string;
EMAIL_FROM: 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;
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/xtqve-friend/sqlchat.git
[email protected]:xtqve-friend/sqlchat.git
xtqve-friend
sqlchat
sqlchat
main

搜索帮助