12 lines
247 B
Python
12 lines
247 B
Python
"""Pydantic schemas for activity endpoints."""
|
|
from __future__ import annotations
|
|
|
|
from typing import Any, Literal
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class ActivityCommentPayload(BaseModel):
|
|
type: Literal["comment"]
|
|
payload: dict[str, Any]
|