"""User config response schemas."""

from pydantic import BaseModel, ConfigDict


class UserConfigResponse(BaseModel):
    model_config = ConfigDict(from_attributes=True)

    default_editor: str | None = None
    theme: str = "system"
    git_user_name: str | None = None
    git_user_email: str | None = None
    last_session_id: str | None = None
    notification_mute_categories: list[str] | None = None
    notification_toast_level: str | None = None


class UserConfigUpdate(BaseModel):
    default_editor: str | None = None
    theme: str | None = None
    git_user_name: str | None = None
    git_user_email: str | None = None
    last_session_id: str | None = None
    notification_mute_categories: list[str] | None = None
    notification_toast_level: str | None = None
