Merge remote-tracking branch 'origin/master' into feature/deck

This commit is contained in:
Chris Coutinho
2025-09-11 00:37:58 +02:00
8 changed files with 269 additions and 3 deletions
+20
View File
@@ -86,3 +86,23 @@ class DeleteResourceResponse(StatusResponse):
items_deleted: Optional[int] = Field(
None, description="Number of items deleted (for directories)"
)
class MoveResourceResponse(StatusResponse):
"""Response model for resource move/rename operations."""
source_path: str = Field(description="Original path of the resource")
destination_path: str = Field(description="New path of the resource")
overwrite: bool = Field(
description="Whether the destination was overwritten if it existed"
)
class CopyResourceResponse(StatusResponse):
"""Response model for resource copy operations."""
source_path: str = Field(description="Original path of the resource")
destination_path: str = Field(description="Destination path for the copy")
overwrite: bool = Field(
description="Whether the destination was overwritten if it existed"
)