Files
duolingo-clone/environment.d.ts
Sanidhya Kumar Verma 07b0155cf1 env types added
2024-03-22 08:16:06 +00:00

22 lines
509 B
TypeScript

// This file is needed to support autocomplete for process.env
export {};
declare global {
namespace NodeJS {
interface ProcessEnv {
// neon db uri
DATABASE_URL: string;
// stripe api key and webhook
STRIPE_API_SECRET_KEY: string;
STRIPE_WEBHOOK_SECRET: string;
// public app url
NEXT_PUBLIC_APP_URL: string;
// clerk admin user id(s) (separated by comma(,) and space( )). Ex: "user_123, user_456, user_789"
CLERK_ADMIN_IDS: string;
}
}
}