diff --git a/docs/CONTRACTS.md b/docs/CONTRACTS.md index 34e4a8ec..87db5ff3 100644 --- a/docs/CONTRACTS.md +++ b/docs/CONTRACTS.md @@ -774,26 +774,6 @@ class APIKeyDTO(BaseModel): created_at: str | None = None ``` -## AllocationDTO - -```python -# shared/contracts/dto/allocation.py - -from pydantic import BaseModel, ConfigDict -from datetime import datetime - -class AllocationDTO(BaseModel): - """Port allocation on a server.""" - model_config = ConfigDict(from_attributes=True) - - id: int - server_id: int - project_id: str - service_name: str - port: int - allocated_at: datetime -``` - ## TaskExecutionDTO ```python diff --git a/shared/contracts/dto/allocation.py b/shared/contracts/dto/allocation.py deleted file mode 100644 index 673e78a8..00000000 --- a/shared/contracts/dto/allocation.py +++ /dev/null @@ -1,14 +0,0 @@ -from datetime import datetime - -from shared.contracts.dto.base import TimestampedDTO - - -class AllocationDTO(TimestampedDTO): - """Port allocation on a server.""" - - id: int - server_id: int - project_id: str - service_name: str - port: int - allocated_at: datetime