Make startDatetime and endDatetime optional

This commit is contained in:
Ivan Malison 2024-09-20 22:29:18 -06:00
parent ab61894373
commit 90685cfdbf
2 changed files with 4 additions and 4 deletions

View File

@ -144,10 +144,10 @@ export type DateRangeFilter = {
}; };
export type DatetimeRangeAggregationInput = { export type DatetimeRangeAggregationInput = {
endDatetime: Scalars["DateTime"]["input"]; endDatetime?: InputMaybe<Scalars["DateTime"]["input"]>;
feature?: Scalars["String"]["input"]; feature?: Scalars["String"]["input"];
interval: TimeInterval; interval: TimeInterval;
startDatetime: Scalars["DateTime"]["input"]; startDatetime?: InputMaybe<Scalars["DateTime"]["input"]>;
}; };
export type DeployedConfigGql = { export type DeployedConfigGql = {

View File

@ -96,8 +96,8 @@ input EnumAggregation {
} }
input DatetimeRangeAggregationInput { input DatetimeRangeAggregationInput {
startDatetime: DateTime! startDatetime: DateTime = null
endDatetime: DateTime! endDatetime: DateTime = null
interval: TimeInterval! interval: TimeInterval!
feature: String! = "created_at" feature: String! = "created_at"
} }