42 lines
719 B
TypeScript
42 lines
719 B
TypeScript
interface AmqpConfig {
|
|
host: string;
|
|
api: string;
|
|
protocol: string;
|
|
user: string;
|
|
pass: string;
|
|
vhost: string;
|
|
frameMax: string;
|
|
}
|
|
|
|
interface ESConfig {
|
|
protocol: string;
|
|
host: string;
|
|
ingest_nodes: string[];
|
|
user: string;
|
|
pass: string;
|
|
}
|
|
|
|
interface HyperionChainData {
|
|
name: string;
|
|
chain_id: string;
|
|
http: string;
|
|
ship: string;
|
|
WS_ROUTER_PORT: number;
|
|
WS_ROUTER_HOST: string;
|
|
control_port: number;
|
|
}
|
|
|
|
interface RedisConfig {
|
|
host: string;
|
|
port: number;
|
|
}
|
|
|
|
export interface HyperionConnections {
|
|
amqp: AmqpConfig;
|
|
elasticsearch: ESConfig;
|
|
redis: RedisConfig;
|
|
chains: {
|
|
[key: string]: HyperionChainData
|
|
}
|
|
}
|