{
"event": "PreToolUse",
"tool_name": "Write",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/crawler\/src\/domain\/ports\/structured_data_repository_port.py",
"content": "from __future__ import annotations\n\nfrom abc import ABC, abstractmethod\nfrom typing import Iterable\n\nfrom src.domain.entities.structured_data_item import StructuredDataItem\n\n\nclass StructuredDataRepositoryPort(ABC):\n @abstractmethod\n def save_many(self, items: Iterable[StructuredDataItem]) -> None: ...\n\n @abstractmethod\n def list_by_page(self, page_id: int) -> list[StructuredDataItem]: ...\n"
}
}
{
"tool_response": {
"type": "create",
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/crawler\/src\/domain\/ports\/structured_data_repository_port.py",
"content": "from __future__ import annotations\n\nfrom abc import ABC, abstractmethod\nfrom typing import Iterable\n\nfrom src.domain.entities.structured_data_item import StructuredDataItem\n\n\nclass StructuredDataRepositoryPort(ABC):\n @abstractmethod\n def save_many(self, items: Iterable[StructuredDataItem]) -> None: ...\n\n @abstractmethod\n def list_by_page(self, page_id: int) -> list[StructuredDataItem]: ...\n",
"structuredPatch": [],
"originalFile": null,
"userModified": false
}
}