Skip to content

armgit / ente

Public Imported from GitHub
0

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

type

Manav Rathi191db47d796f
diff --git a/web/packages/media/collection.ts b/web/packages/media/collection.ts
index 03469265e1..8d6d0f1bcf 100644
--- a/web/packages/media/collection.ts
+++ b/web/packages/media/collection.ts
@@ -49,7 +49,11 @@ import { ItemVisibility } from "ente-media/file-metadata";
*/
export type CollectionType = "album" | "folder" | "favorites" | "uncategorized";
-export type CollectionRole = "VIEWER" | "OWNER" | "COLLABORATOR" | "UNKNOWN";
+export type CollectionUserRole =
+ | "VIEWER"
+ | "OWNER"
+ | "COLLABORATOR"
+ | "UNKNOWN";
/**
* Information about the user associated with a collection, either as an owner,
@@ -58,7 +62,7 @@ export type CollectionRole = "VIEWER" | "OWNER" | "COLLABORATOR" | "UNKNOWN";
export interface CollectionUser {
id: number;
email: string;
- role: CollectionRole;
+ role: CollectionUserRole;
}
export interface EncryptedCollection {