-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.type.ts
55 lines (54 loc) · 1.1 KB
/
config.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { WhiteboardEventLoggingModeType } from './whiteboard.event.logging.mode';
export interface ConfigType {
rabbitmq: {
connection: {
host: string;
port: number;
user: string;
password: string;
heartbeat: number;
};
};
elasticsearch: {
host: string;
api_key: string;
retries: number;
timeout: number;
tls: {
ca_cert_path: string | 'none';
rejectUnauthorized: boolean;
};
indices: {
whiteboard_events: string;
};
};
monitoring: {
logging: {
enabled: boolean;
level: string;
json: boolean;
events: {
whiteboard_event_index: string;
interval: number;
mode: WhiteboardEventLoggingModeType;
};
};
};
settings: {
application: {
queue: string;
queue_response_timeout: number;
};
collaboration: {
enabled: boolean;
port: number;
contribution_window: number;
save_interval: number;
collaborator_inactivity: number;
reset_collaborator_mode_debounce: number;
};
rest: {
port: number;
};
};
}