π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
+
Manav Rathi1f7e74131ba9
diff --git a/web/packages/media/collection.ts b/web/packages/media/collection.tsindex 8d6d0f1bcf..63552bb6a5 100644--- a/web/packages/media/collection.ts+++ b/web/packages/media/collection.ts@@ -49,10 +49,24 @@ import { ItemVisibility } from "ente-media/file-metadata";*/export type CollectionType = "album" | "folder" | "favorites" | "uncategorized";+/**+ * The privilege level of a participant associated with a collection.+ *+ * - "VIEWER" - Has read-only access to files in the collection.+ *+ * - "COLLABORATOR" - Can additionally add files from the collection, and remove+ * files that they added from the collection.+ *+ * - "OWNER" - The owner of the collection. Can remove any file, including those+ * added by other users, from the collection.+ *+ * It is guaranteed that a there will be exactly one participant of type OWNER,+ * and their user ID will be the same as the collection `owner.id`.+ */export type CollectionUserRole =| "VIEWER"- | "OWNER"| "COLLABORATOR"+ | "OWNER"| "UNKNOWN";/**