feat(backup): add BACKUP and RESTORE_REQUESTS collection constants to FirestoreCollections
This commit is contained in:
parent
7f8dac0b14
commit
14ba8f2b53
|
|
@ -41,6 +41,18 @@ object FirestoreCollections {
|
||||||
const val WHEEL = "wheel"
|
const val WHEEL = "wheel"
|
||||||
const val DESIRE_SYNC = "desire_sync"
|
const val DESIRE_SYNC = "desire_sync"
|
||||||
const val HOW_WELL = "how_well"
|
const val HOW_WELL = "how_well"
|
||||||
|
|
||||||
|
// E2EE conversation backup (couple-key encrypted) + full partner-assisted restore.
|
||||||
|
const val BACKUP = "backup"
|
||||||
|
const val RESTORE_REQUESTS = "restore_requests"
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Docs/subcollections under couples/{coupleId}/backup ───────────────────
|
||||||
|
object Backup {
|
||||||
|
/** Fixed manifest doc: pointers + generation for optimistic concurrency. */
|
||||||
|
const val MANIFEST_ID = "manifest"
|
||||||
|
/** Incremental encrypted chunk docs appended since the last cursor. */
|
||||||
|
const val CHUNKS = "chunks"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Standalone subcollection name that appears under both couples/{id} and users/{uid}
|
// Standalone subcollection name that appears under both couples/{id} and users/{uid}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue