QueryTimeInterval type
查詢的時間跨度。 這是ISO8601時間週期值。 除了查詢表達式中指定的任何時間範圍之外,也會套用這個時間範圍。
type QueryTimeInterval =
| { endTime: Date; startTime: Date }
| { duration: string; startTime: Date }
| { duration: string; endTime: Date }
| { duration: string }