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

10 statements  

« prev     ^ index     » next       coverage.py v7.13.2, created at 2026-03-09 14:39 +0900

1# src/beautyspot/content_types.py 

2 

3from enum import StrEnum 

4 

5 

6class 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...)