Files
explorer-api/interfaces/hyperionConnections.ts
T
Igor Lins e Silva 8876213ecc update repair tool
2023-05-08 01:41:35 -03:00

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
}
}