Skip to content

Commit 26f9f54

Browse files
Rename TimeIntervalFilter to Interval (#369)
This commit makes the name more generic, expressing its potential use-cases beyond filters. closes #364
2 parents 89f4c33 + 3856959 commit 26f9f54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Added many new messages and enum values:
9494

9595
- `types`
9696

97-
+ `TimeIntervalFilter`: Message to standardize time interval filtering across APIs
97+
+ `Interval`: Message to standardize time interval filtering across APIs
9898

9999
This uses `start_time` (inclusive) and `end_time` (exclusive) fields, aligning with ISO 8601 and common programming conventions.
100100

proto/frequenz/api/common/v1/types/time_interval_filter.proto renamed to proto/frequenz/api/common/v1/types/interval.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto";
2222
// considered unbounded at the start.
2323
// * If `end_time` is omitted, the interval is
2424
// considered unbounded at the end.
25-
message TimeIntervalFilter {
25+
message Interval {
2626
// The beginning of the time interval (inclusive).
2727
//
2828
// Must be a UTC timestamp.

0 commit comments

Comments
 (0)