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" }