- Removed PersonalStorage (redundant - RoomStorage handles both via room_id) - Added ensure_room() and ensure_tracking() methods for explicit creation - Added @runtime_checkable to Protocols for isinstance checks - Added tests/test_ports.py with 11 unit tests for storage protocols
22 lines
323 B
Python
22 lines
323 B
Python
"""Core domain models for JIGAIDO."""
|
|
|
|
from core.models import (
|
|
Bounty,
|
|
TrackedBounty,
|
|
RoomData,
|
|
TrackingData,
|
|
)
|
|
from core.ports import (
|
|
RoomStorage,
|
|
TrackingStorage,
|
|
)
|
|
|
|
__all__ = [
|
|
"Bounty",
|
|
"TrackedBounty",
|
|
"RoomData",
|
|
"TrackingData",
|
|
"RoomStorage",
|
|
"TrackingStorage",
|
|
]
|