28 lines
764 B
TypeScript
28 lines
764 B
TypeScript
declare class EnvironmentVariables {
|
|
PORT?: string;
|
|
NODE_ENV?: string;
|
|
DB_URL: string;
|
|
DB_SSL?: string;
|
|
REDIS_URL?: string;
|
|
JWT_SECRET: string;
|
|
JWT_ACCESS_TTL?: string;
|
|
JWT_REFRESH_TTL?: string;
|
|
SMS_API_KEY: string;
|
|
SMS_WSDL_URL?: string;
|
|
SMS_USERNAME?: string;
|
|
SMS_PASSWORD?: string;
|
|
SMS_NUMBER?: string;
|
|
OTP_TTL_SECONDS?: string;
|
|
MINIO_ENDPOINT?: string;
|
|
MINIO_PORT?: string;
|
|
MINIO_USE_SSL?: string;
|
|
MINIO_ACCESS_KEY?: string;
|
|
MINIO_SECRET_KEY?: string;
|
|
MINIO_BUCKET?: string;
|
|
MINIO_PUBLIC_BUCKET?: string;
|
|
MINIO_PRIVATE_BUCKET?: string;
|
|
MINIO_PUBLIC_URL?: string;
|
|
}
|
|
export declare function validateEnv(config: Record<string, unknown>): EnvironmentVariables;
|
|
export {};
|