π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[server] Add request object for copying files
Neeraj Guptae9bc465353c1
diff --git a/server/ente/collection.go b/server/ente/collection.goindex 763d07b9b6..61c46860a4 100644--- a/server/ente/collection.go+++ b/server/ente/collection.go@@ -103,6 +103,13 @@ type AddFilesRequest struct {Files []CollectionFileItem `json:"files" binding:"required"`}+// CopyFileSyncRequest is request object for creating copy of Files, and those copy to the destination collection+type CopyFileSyncRequest struct {+ SrcCollectionID int64 `json:"srcCollectionID" binding:"required"`+ DstCollection int64 `json:"dstCollectionID" binding:"required"`+ Files []CollectionFileItem `json:"files" binding:"required"`+}+// RemoveFilesRequest represents a request to remove files from a collectiontype RemoveFilesRequest struct {CollectionID int64 `json:"collectionID" binding:"required"`