-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtype.ts
35 lines (32 loc) · 922 Bytes
/
type.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
const azureEnvVars = [
"AZURE_OPENAI_API_KEY",
"AZURE_OPENAI_API_INSTANCE_NAME",
"AZURE_OPENAI_API_DEPLOYMENT_NAME",
"AZURE_OPENAI_API_VERSION",
"AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME",
"AZURE_COSMOSDB_URI",
"AZURE_COSMOSDB_KEY",
"AZURE_COSMOSDB_DB_NAME",
"AZURE_COSMOSDB_CONTAINER_NAME",
"AZURE_SEARCH_API_KEY",
"AZURE_SEARCH_NAME",
"AZURE_SEARCH_INDEX_NAME",
"AZURE_SEARCH_API_VERSION",
"AUTH_GITHUB_ID",
"AUTH_GITHUB_SECRET",
"AZURE_AD_CLIENT_ID",
"AZURE_AD_CLIENT_SECRET",
"AZURE_AD_TENANT_ID",
"NEXTAUTH_SECRET",
"NEXTAUTH_URL",
"AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT",
"AZURE_DOCUMENT_INTELLIGENCE_KEY",
"ADMIN_EMAIL_ADDRESS"
] as const;
type RequiredServerEnvKeys = (typeof azureEnvVars)[number];
declare global {
namespace NodeJS {
interface ProcessEnv extends Record<RequiredServerEnvKeys, string> {}
}
}
export {};