Merge pull request #21880 from overleaf/jpa-history-store

[history-v1] make HistoryStore generic and add backupHistoryStore

GitOrigin-RevId: 65d275de182dbcf5d4b6bf3c610b71b58db68e70
This commit is contained in:
Jakob Ackermann
2024-11-18 09:05:48 +00:00
committed by Copybot
parent 397a75abb9
commit f2e72b3b7b
6 changed files with 143 additions and 160 deletions
@@ -109,7 +109,7 @@ class History {
* @param {BlobStore} blobStore
* @param {number} [concurrency] applies separately to files, changes and
* operations
* @return {Promise.<Object>}
* @return {Promise<import('overleaf-editor-core/lib/types').RawHistory>}
*/
async store(blobStore, concurrency) {
assert.maybe.number(concurrency, 'bad concurrency')