Skip to content

Commit 37d8be5

Browse files
committed
Add new message definitions for streaming events
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 6a8452e commit 37d8be5

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
enum StreamingEvent {
13+
// Default, unspecified event
14+
STREAMING_EVENT_UNSPECIFIED = 0;
15+
16+
// A new dispatch has been created
17+
STREAMING_EVENT_CREATED = 1;
18+
19+
// An existing dispatch has been updated
20+
STREAMING_EVENT_UPDATED = 2;
21+
22+
// An existing dispatch has been deleted
23+
STREAMING_EVENT_DELETED = 3;
24+
}

0 commit comments

Comments
 (0)