-
Notifications
You must be signed in to change notification settings - Fork 3
/
environment.d.ts
34 lines (31 loc) · 921 Bytes
/
environment.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
import { RateLimiterMongo } from 'rate-limiter-flexible';
import Collector from './src/utils/Collector';
declare global {
namespace NodeJS {
interface ProcessEnv {
TELEGRAM_BOT_TOKEN: string;
DB_USER: string;
DB_PWD: string;
DB_HOST: string;
DB_PORT: string;
DB_NAME: string;
DB_URL_QUERY: string;
USERS_COLLECTION: string;
ALIASES_COLLECTION: string;
JWT_KEY: string;
SUPPORT_EMAIL: string;
CHATBOX_DOCS_LINK: string;
LOG_DB_HOST: string;
LOG_DB_PORT: string;
LOG_DB_USER: string;
LOG_DB_PWD: string;
LOG_DB_NAME: string;
LOG_TABLE_NAME: string;
}
interface Global {
collector: Collector;
rateLimiter: RateLimiterMongo;
}
}
}
export {};