kibana/x-pack/plugins/apm/server/routes/default_api_types.ts
2020-05-22 09:08:58 +02:00

16 lines
496 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import * as t from 'io-ts';
import { dateAsStringRt } from '../../common/runtime_types/date_as_string_rt';
export const rangeRt = t.type({
start: dateAsStringRt,
end: dateAsStringRt,
});
export const uiFiltersRt = t.type({ uiFilters: t.string });