Skip to content

Commit 8044f86

Browse files
committed
Correct schema for metrics size
1 parent cbcdf25 commit 8044f86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/vis_type_timeseries/common/vis_schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const metricsItems = schema.object({
120120
type: stringRequired,
121121
value: stringOptionalNullable,
122122
values: schema.maybe(schema.nullable(schema.arrayOf(schema.nullable(schema.string())))),
123-
size: stringOptionalNullable,
123+
size: stringOrNumberOptionalNullable,
124124
agg_with: stringOptionalNullable,
125125
order: stringOptionalNullable,
126126
order_by: stringOptionalNullable,

0 commit comments

Comments
 (0)