QueryTimeInterval type
The timespan for the query. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.
type QueryTimeInterval =
| { endTime: Date; startTime: Date }
| { duration: string; startTime: Date }
| { duration: string; endTime: Date }
| { duration: string }