Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

+

Manav Rathiaadab316f620
diff --git a/web/packages/media/collection.ts b/web/packages/media/collection.ts
index 745cb63ce7..b2021fa92c 100644
--- a/web/packages/media/collection.ts
+++ b/web/packages/media/collection.ts
@@ -79,8 +79,18 @@ export type CollectionUserRole =
* or as someone with whom the collection has been shared with.
*/
export interface CollectionUser {
+ /**
+ * The ID of the underlying {@link User} that this {@link CollectionUser}
+ * stands for.
+ */
id: number;
+ /**
+ * The email of the user.
+ */
email: string;
+ /**
+ * The association / privilege level of the user with the collection.
+ */
role: CollectionUserRole;
}