import * as t from 'io-ts' ; export enum LatencyAggregationType { avg = 'avg' , p99 = 'p99' , p95 = 'p95' } export const latencyAggregationTypeRt = t . union ( [ t . literal ( LatencyAggregationType . avg ) , t . literal ( LatencyAggregationType . p95 ) , t . literal ( LatencyAggregationType . p99 ) , ] ) ;