mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-30 21:45:01 +02:00
Low level bulk operations (#2592)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -63,7 +63,7 @@ function prepareTools (): {
|
||||
minio: MinioService
|
||||
txes: Tx[]
|
||||
version: Data<Version>
|
||||
migrateOperations: MigrateOperation[]
|
||||
migrateOperations: [string, MigrateOperation][]
|
||||
} {
|
||||
return { ...prepareToolsRaw(builder.getTxes()), version, migrateOperations }
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ export function devTool (
|
||||
minio: MinioService
|
||||
txes: Tx[]
|
||||
version: Data<Version>
|
||||
migrateOperations: MigrateOperation[]
|
||||
migrateOperations: [string, MigrateOperation][]
|
||||
},
|
||||
productId: string
|
||||
): void {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user