Type alias Node<O>

Node<O>: {
    batchStats: Required<BatchStats>;
    gitHash: string;
    name: string;
    shards: O extends "minimal" | undefined
        ? null
        : Required<NodeShardStatus>[];
    stats: O extends "minimal" | undefined
        ? undefined
        : Required<NodeStats>;
    status: "HEALTHY" | "UNHEALTHY" | "UNAVAILABLE";
    version: string;
}

Type Parameters

Type declaration

  • batchStats: Required<BatchStats>
  • gitHash: string
  • name: string
  • shards: O extends "minimal" | undefined
        ? null
        : Required<NodeShardStatus>[]
  • stats: O extends "minimal" | undefined
        ? undefined
        : Required<NodeStats>
  • status: "HEALTHY" | "UNHEALTHY" | "UNAVAILABLE"
  • version: string