File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
proto/frequenz/api/common/v1/streaming Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1313- Renamed ` components ` to ` electrical_components ` and related messages, fields, enums.
1414- Added message linking microgrid and sensor IDs.
1515- Added new message definitions for communication components.
16+ - Added new message definitions for streaming events (Deleted, Created, Updated)
1617
1718## Bug Fixes
1819
Original file line number Diff line number Diff line change 1+ // Possible streaming events
2+ //
3+ // Copyright 2025 Frequenz Energy-as-a-Service GmbH
4+ //
5+ // Licensed under the MIT License (the "License");
6+ // you may not use this file except in compliance with the License.
7+
8+ syntax = "proto3" ;
9+
10+ package frequenz.api.common.v1.streaming ;
11+
12+ // This enum message is used to inform receivers of events what kind of
13+ // event they just received
14+ enum Event {
15+ // Default, unspecified event
16+ EVENT_UNSPECIFIED = 0 ;
17+
18+ // A new dispatch has been created
19+ EVENT_CREATED = 1 ;
20+
21+ // An existing dispatch has been updated
22+ EVENT_UPDATED = 2 ;
23+
24+ // An existing dispatch has been deleted
25+ EVENT_DELETED = 3 ;
26+ }
You can’t perform that action at this time.
0 commit comments