first commit

This commit is contained in:
zmq
2026-05-26 14:16:16 +08:00
committed by Jerry Yan
commit 535d7f4ac5
40 changed files with 4571 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
from typing import Any, Literal
from pydantic import BaseModel, Field
class NotificationEvent(BaseModel):
event_type: str
title: str
content_text: str
severity: Literal["info", "warning", "error"] = "info"
metadata: dict[str, Any] = Field(default_factory=dict)