This commit is contained in:
Manav Rathi 2025-02-14 11:30:32 +05:30
parent 2b52616ba5
commit b931dac18b
No known key found for this signature in database
2 changed files with 11 additions and 4 deletions

View File

@ -27,6 +27,13 @@ export interface CollectionUser {
}
export interface EncryptedCollection {
/**
* The collection's globally unique ID.
*
* The collection's ID is a integer assigned by remote as the identifier for
* an {@link Collection} when it is created. It is globally unique across
* all collections on an Ente instance (i.e., it is not scoped to a user).
*/
id: number;
owner: CollectionUser;
// collection name was unencrypted in the past, so we need to keep it as optional

View File

@ -66,11 +66,11 @@ export type EncryptedMagicMetadata = MagicMetadataCore<string>;
export interface EncryptedEnteFile {
/**
* The file's ID.
* The file's globally unique ID.
*
* The file's ID is a integer assigned by remote that is unique across all
* files stored by an Ente instance. That is, the file ID is a global unique
* identifier for this {@link EnteFile}.
* The file's ID is a integer assigned by remote as the identifier for an
* {@link EnteFile} when it is created. It is globally unique across all
* files stored by an Ente instance, and is not scoped to the current user.
*/
id: number;
/**