diff --git a/src/io.ts b/src/io.ts index c01be761..568ce397 100644 --- a/src/io.ts +++ b/src/io.ts @@ -165,6 +165,19 @@ export type AoEpochData = { distributions: AoEpochDistributionData; }; +export type AoGatewayService = { + fqdn: string; + path: string; + protocol: 'https'; + port: number; +}; + +export type AoGatewayServices = + | { + bundlers: AoGatewayService[]; + } + | undefined; // not required, for now + export type AoGateway = { settings: AoGatewaySettings; stats: AoGatewayStats; @@ -177,6 +190,7 @@ export type AoGateway = { operatorStake: number; status: 'joined' | 'leaving'; weights: AoGatewayWeights; + services: AoGatewayServices; }; export type AoGatewayStats = {