From 75f760b6e3b5b9bc942e23769c4d047fe70c7d0d Mon Sep 17 00:00:00 2001 From: "Esdras R. Carmo" Date: Mon, 6 Mar 2023 22:30:50 -0300 Subject: [PATCH] Fix CalendarInterval year alias --- output/schema/schema.json | 2 +- output/typescript/types.ts | 2 +- specification/_types/aggregations/bucket.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/output/schema/schema.json b/output/schema/schema.json index 623ae38b17..1b3e9888ea 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -42551,7 +42551,7 @@ }, { "aliases": [ - "1Y" + "1y" ], "name": "year" } diff --git a/output/typescript/types.ts b/output/typescript/types.ts index dd3cc26dff..e31e307835 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -2822,7 +2822,7 @@ export type AggregationsBuckets = Record | T export type AggregationsBucketsPath = string | string[] | Record -export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1Y' +export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1y' export interface AggregationsCardinalityAggregate extends AggregationsAggregateBase { value: long diff --git a/specification/_types/aggregations/bucket.ts b/specification/_types/aggregations/bucket.ts index 8346a88557..c1f41fb7de 100644 --- a/specification/_types/aggregations/bucket.ts +++ b/specification/_types/aggregations/bucket.ts @@ -124,7 +124,7 @@ export enum CalendarInterval { month, /** @aliases 1q */ quarter, - /** @aliases 1Y */ + /** @aliases 1y */ year }