Implements RoomStorage and TrackingStorage ports using JSON file persistence: - JsonFileRoomStorage: Stores room data at ~/.jigaido/data/<room_id>.json - JsonFileTrackingStorage: Stores tracking data at ~/.jigaido/tracking/<room_id>_<user_id>.json Features: - Atomic writes using tempfile + rename for data safety - Automatic directory creation - Implements all methods from ports.py protocols
6 lines
183 B
Python
6 lines
183 B
Python
"""Storage adapters for JIGAIDO."""
|
|
|
|
from adapters.storage.json_file import JsonFileRoomStorage, JsonFileTrackingStorage
|
|
|
|
__all__ = ["JsonFileRoomStorage", "JsonFileTrackingStorage"]
|