diff --git a/integration-tests/tests/src/tests/sync/mongo-db-client.ts b/integration-tests/tests/src/tests/sync/mongo-db-client.ts index 08b40a8401..f97498656f 100644 --- a/integration-tests/tests/src/tests/sync/mongo-db-client.ts +++ b/integration-tests/tests/src/tests/sync/mongo-db-client.ts @@ -17,12 +17,17 @@ //////////////////////////////////////////////////////////////////////////// import { expect } from "chai"; -import { BSON, ChangeEvent, Credentials, DeleteResult, Document, InsertEvent, MongoDBCollection, User } from "realm"; +import Realm, { BSON } from "realm"; import { authenticateUserBefore, importAppBefore } from "../../hooks"; import { sleep } from "../../utils/sleep"; import { buildAppConfig } from "../../utils/build-app-config"; +type Document = Realm.Services.MongoDB.Document; +type MongoDBCollection = Realm.Services.MongoDB.MongoDBCollection; +type ChangeEvent = Realm.Services.MongoDB.ChangeEvent; +type InsertEvent = Realm.Services.MongoDB.InsertEvent; + type TestDocument = { _id: number; text?: string;