{
"event": "PreToolUse",
"tool_name": "Write",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/CollectionRepositoryInterface.php",
"content": "<?php\n\nnamespace Domain\\Repository;\n\n\/**\n * Interface for Collection Repository operations.\n *\/\ninterface CollectionRepositoryInterface\n{\n \/**\n * @return array<string, mixed>|null\n *\/\n public function find(string $collectionId): ?array;\n\n \/**\n * @param array<string> $collectionIds\n * @return array<int, array<string, mixed>>\n *\/\n public function findByIds(array $collectionIds): array;\n\n \/**\n * @return array<int, array<string, mixed>>\n *\/\n public function getSearchable(): array;\n\n \/**\n * @return array<int, array<string, mixed>>\n *\/\n public function getActive(): array;\n\n \/**\n * @return array<int, array<string, mixed>>\n *\/\n public function getAll(): array;\n\n public function exists(string $collectionId): bool;\n\n \/**\n * @param array<string, mixed> $data\n *\/\n public function updateMetadata(string $collectionId, array $data): void;\n\n \/**\n * @param array<string, mixed> $data\n *\/\n public function create(array $data): int;\n\n public function deactivate(string $collectionId): void;\n\n \/**\n * @return array{chat_sessions: int, content_orders: int}\n *\/\n public function checkReferences(string $collectionId): array;\n}\n"
}
}
{
"tool_response": {
"type": "create",
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/CollectionRepositoryInterface.php",
"content": "<?php\n\nnamespace Domain\\Repository;\n\n\/**\n * Interface for Collection Repository operations.\n *\/\ninterface CollectionRepositoryInterface\n{\n \/**\n * @return array<string, mixed>|null\n *\/\n public function find(string $collectionId): ?array;\n\n \/**\n * @param array<string> $collectionIds\n * @return array<int, array<string, mixed>>\n *\/\n public function findByIds(array $collectionIds): array;\n\n \/**\n * @return array<int, array<string, mixed>>\n *\/\n public function getSearchable(): array;\n\n \/**\n * @return array<int, array<string, mixed>>\n *\/\n public function getActive(): array;\n\n \/**\n * @return array<int, array<string, mixed>>\n *\/\n public function getAll(): array;\n\n public function exists(string $collectionId): bool;\n\n \/**\n * @param array<string, mixed> $data\n *\/\n public function updateMetadata(string $collectionId, array $data): void;\n\n \/**\n * @param array<string, mixed> $data\n *\/\n public function create(array $data): int;\n\n public function deactivate(string $collectionId): void;\n\n \/**\n * @return array{chat_sessions: int, content_orders: int}\n *\/\n public function checkReferences(string $collectionId): array;\n}\n",
"structuredPatch": [],
"originalFile": null
}
}