File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
proto/frequenz/api/dispatch/v1 Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -336,6 +336,13 @@ message TargetComponents {
336336 repeated uint64 ids = 1 ;
337337 }
338338
339+
340+ // Deprecated: Use `CategoryTypeSet` instead
341+ message CategorySet {
342+ // Set of component categories
343+ repeated frequenz.api.common.v1.microgrid.components.ComponentCategory categories = 1 ;
344+ }
345+
339346 // Wrapper for controlling dispatches with a set of component categories and optional types
340347 // Required as we can't use `repeated` directly in a `oneof`
341348 message CategoryTypeSet {
@@ -370,8 +377,13 @@ message TargetComponents {
370377 // Set of component IDs
371378 IdSet component_ids = 1 ;
372379
373- // Component categories
374- CategoryTypeSet component_categories = 2 ;
380+ // Deprecated: Component categories
381+ // Use `CategoryTypeSet` instead
382+ // In future versions, this field will be removed.
383+ Categoryset component_categories = 2 ;
384+
385+ // Component categories with optional types
386+ CategoryTypeSet component_categories_types = 3 ;
375387 }
376388}
377389
You can’t perform that action at this time.
0 commit comments