From 58f01c567cb9f7a766302e378715e373621ca2e2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 3 Oct 2024 21:57:07 -0600 Subject: [PATCH] Add day alignment --- src/index.tsx | 1 + src/schema.gql | 1 + 2 files changed, 2 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 0aa5698..c2efcae 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -73,6 +73,7 @@ export type AggregationInput = | { bucketSet?: never; datetimeRange?: never; enum: EnumAggregation }; export enum AlignedIntervalEnum { + Day = "DAY", Month = "MONTH", Week = "WEEK", Year = "YEAR", diff --git a/src/schema.gql b/src/schema.gql index 76ca0bf..dce295b 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -125,6 +125,7 @@ enum AlignedIntervalEnum { MONTH YEAR WEEK + DAY } input FilterInput @oneOf {