Lint & format
This commit is contained in:
parent
27423bf3cd
commit
ca225a71be
17 changed files with 94 additions and 83 deletions
|
|
@ -8,7 +8,7 @@ import { Settings } from "./persistence/settings";
|
|||
import type { CheckConnectionResult } from "./services/sync-service";
|
||||
import { SyncService } from "./services/sync-service";
|
||||
import { Syncer } from "./sync-operations/syncer";
|
||||
import { FileSystemOperations } from "./file-operations/filesystem-operations";
|
||||
import type { FileSystemOperations } from "./file-operations/filesystem-operations";
|
||||
import { FileOperations } from "./file-operations/file-operations";
|
||||
|
||||
export class SyncClient {
|
||||
|
|
@ -39,6 +39,10 @@ export class SyncClient {
|
|||
return this._logger;
|
||||
}
|
||||
|
||||
public get documentCount(): number {
|
||||
return this._database.getDocuments().size;
|
||||
}
|
||||
|
||||
public static async create(
|
||||
fs: FileSystemOperations,
|
||||
persistence: PersistenceProvider
|
||||
|
|
@ -124,10 +128,6 @@ export class SyncClient {
|
|||
return client;
|
||||
}
|
||||
|
||||
public get documentCount(): number {
|
||||
return this._database.getDocuments().size;
|
||||
}
|
||||
|
||||
public async checkConnection(): Promise<CheckConnectionResult> {
|
||||
return this._syncService.checkConnection();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue