Coverage for src/beautyspot/content_types.py: 100%

1# src/beautyspot/content_types.py

2

3 from enum import StrEnum

4

5

6 class ContentType(StrEnum):

7 """

8 Supported semantic content types for beautyspot tasks.

9 Used by the dashboard to determine the appropriate rendering widget.

10 """

11

12 TEXT = "text/plain"

13 JSON = "application/json"

14 MARKDOWN = "text/markdown"

15 PNG = "image/png"

16 JPEG = "image/jpeg"

17 MERMAID = "text/vnd.mermaid"

18 GRAPHVIZ = "text/vnd.graphviz"

19 HTML = "text/html"

20

21 # 将来的な拡張 (例: Audio, Video, CSV...)