fix tsvb validation (#74344)

This commit is contained in:
Joe Reuter 2020-08-06 17:02:27 +02:00 committed by GitHub
parent 11c74bc03f
commit b3202a0e4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,10 @@ export const metricsItems = schema.object({
type: stringRequired,
value: stringOptionalNullable,
values: schema.maybe(schema.nullable(schema.arrayOf(schema.nullable(schema.string())))),
size: stringOptionalNullable,
agg_with: stringOptionalNullable,
order: stringOptionalNullable,
order_by: stringOptionalNullable,
});
const splitFiltersItems = schema.object({