feat(types.py): add TELEMETRY category

This commit is contained in:
2026-03-05 21:24:45 +01:00
parent a805ccf38e
commit 29bf802356

View File

@@ -5,14 +5,21 @@ from __future__ import annotations
from enum import Enum
type ActionType = ControlAction
type ActionType = ControlAction | TelemetryAction
class Category(str, Enum):
CONTROL = "control"
TELEMETRY = "telemetry"
class ControlAction(str, Enum):
HELLO = "hello"
ACK = "ack"
CLOSE = "close"
class TelemetryAction(str, Enum):
INITIAL = "initial"
UPDATE = "update"
ON_DEMAND = "on_demand"