Add DatetimeRangeAggregation
All checks were successful
Tests / Tests (pull_request) Successful in 9s
All checks were successful
Tests / Tests (pull_request) Successful in 9s
This commit is contained in:
@@ -63,6 +63,7 @@ input AggregateInputGQL {
|
||||
input AggregationInput @oneOf {
|
||||
bucketSet: BucketSetInputGQL
|
||||
enum: EnumAggregation
|
||||
datetimeRange: DatetimeRangeAggregationInput
|
||||
}
|
||||
|
||||
input BucketSetInputGQL {
|
||||
@@ -79,6 +80,38 @@ input EnumAggregation {
|
||||
feature: String!
|
||||
}
|
||||
|
||||
input DatetimeRangeAggregationInput {
|
||||
startDatetime: DateTime!
|
||||
endDatetime: DateTime!
|
||||
interval: TimeInterval!
|
||||
}
|
||||
|
||||
"""
|
||||
Date with time (isoformat)
|
||||
"""
|
||||
scalar DateTime
|
||||
|
||||
input TimeInterval {
|
||||
"""
|
||||
A second is the base unit and cannot be subdivided
|
||||
"""
|
||||
seconds: Int = 0
|
||||
minutes: Int = 0
|
||||
hours: Int = 0
|
||||
days: Int = 0
|
||||
weeks: Int = 0
|
||||
|
||||
"""
|
||||
Assumes a month is 30 days long
|
||||
"""
|
||||
months: Int = 0
|
||||
|
||||
"""
|
||||
Assumes a year is 365 days long
|
||||
"""
|
||||
years: Int = 0
|
||||
}
|
||||
|
||||
input FilterInput @oneOf {
|
||||
andFilters: [FilterInput!]
|
||||
orFilters: [FilterInput!]
|
||||
@@ -198,11 +231,6 @@ type ShotGQL {
|
||||
video: VideoGQL
|
||||
}
|
||||
|
||||
"""
|
||||
Date with time (isoformat)
|
||||
"""
|
||||
scalar DateTime
|
||||
|
||||
type CueObjectFeaturesGQL {
|
||||
cueObjectDistance: Float
|
||||
cueObjectAngle: Float
|
||||
|
Reference in New Issue
Block a user