π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add SmartAlbum entity type
Neeraj Guptaf76fa34e5baa
diff --git a/server/ente/userentity/entity.go b/server/ente/userentity/entity.goindex 09f0ddfd46..ede9b8a0dd 100644--- a/server/ente/userentity/entity.go+++ b/server/ente/userentity/entity.go@@ -11,14 +11,18 @@ type EntityType stringconst (Location EntityType = "location"- Person EntityType = "person"+ // Person entity is deprecated and will be removed in the future.+ //Deprecated ..+ Person EntityType = "person"// CGroup is a new version of Person entity, where the data is gzipped before encryptionCGroup EntityType = "cgroup"+ // SmartAlbum is a new entity type for storing smart album config data+ SmartAlbum EntityType = "smart_album")func (et EntityType) IsValid() error {switch et {- case Location, Person, CGroup:+ case Location, Person, CGroup, SmartAlbum:return nil}return ente.NewBadRequestWithMessage(fmt.Sprintf("Invalid EntityType: %s", et))