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 from enum import Enum
type ActionType = ControlAction type ActionType = ControlAction | TelemetryAction
class Category(str, Enum): class Category(str, Enum):
CONTROL = "control" CONTROL = "control"
TELEMETRY = "telemetry"
class ControlAction(str, Enum): class ControlAction(str, Enum):
HELLO = "hello" HELLO = "hello"
ACK = "ack" ACK = "ack"
CLOSE = "close" CLOSE = "close"
class TelemetryAction(str, Enum):
INITIAL = "initial"
UPDATE = "update"
ON_DEMAND = "on_demand"