Low level bulk operations (#2592)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-02-07 11:46:28 +07:00
committed by GitHub
parent 59c53a09f2
commit 9fef46b059
21 changed files with 684 additions and 405 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ function prepareTools (): {
minio: MinioService
txes: Tx[]
version: Data<Version>
migrateOperations: MigrateOperation[]
migrateOperations: [string, MigrateOperation][]
} {
return { ...prepareToolsRaw(builder.getTxes()), version, migrateOperations }
}
+1 -1
View File
@@ -61,7 +61,7 @@ export function devTool (
minio: MinioService
txes: Tx[]
version: Data<Version>
migrateOperations: MigrateOperation[]
migrateOperations: [string, MigrateOperation][]
},
productId: string
): void {
+1 -1
View File
@@ -105,7 +105,7 @@ export async function restoreWorkspace (
elasticUrl: string,
transactorUrl: string,
rawTxes: Tx[],
migrateOperations: MigrateOperation[]
migrateOperations: [string, MigrateOperation][]
): Promise<void> {
console.log('Restoring workspace', mongoUrl, workspaceId, fileName)
const client = new MongoClient(mongoUrl)