From 90685cfdbf8b373fe618c1a472c7216fb546361f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 20 Sep 2024 22:29:18 -0600 Subject: [PATCH] Make startDatetime and endDatetime optional --- src/index.tsx | 4 ++-- src/schema.gql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 4c55804..2d6c090 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -144,10 +144,10 @@ export type DateRangeFilter = { }; export type DatetimeRangeAggregationInput = { - endDatetime: Scalars["DateTime"]["input"]; + endDatetime?: InputMaybe; feature?: Scalars["String"]["input"]; interval: TimeInterval; - startDatetime: Scalars["DateTime"]["input"]; + startDatetime?: InputMaybe; }; export type DeployedConfigGql = { diff --git a/src/schema.gql b/src/schema.gql index ee70b9b..08638e2 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -96,8 +96,8 @@ input EnumAggregation { } input DatetimeRangeAggregationInput { - startDatetime: DateTime! - endDatetime: DateTime! + startDatetime: DateTime = null + endDatetime: DateTime = null interval: TimeInterval! feature: String! = "created_at" }