From 38810579ec5a421967e5f9da1ed3ce929ceb3db7 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sat, 22 Nov 2025 12:00:00 +0000 Subject: [PATCH] Update type imports --- frontend/obsidian-plugin/src/obsidian-file-system.ts | 3 ++- frontend/test-client/src/agent/mock-client.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/obsidian-plugin/src/obsidian-file-system.ts b/frontend/obsidian-plugin/src/obsidian-file-system.ts index 44407890..434d1456 100644 --- a/frontend/obsidian-plugin/src/obsidian-file-system.ts +++ b/frontend/obsidian-plugin/src/obsidian-file-system.ts @@ -1,12 +1,13 @@ import type { Stat, Vault, Workspace } from "obsidian"; import { MarkdownView, normalizePath } from "obsidian"; import { + CursorPosition, + TextWithCursors, utils, type FileSystemOperations, type RelativePath } from "sync-client"; import { getSelectionsFromEditor } from "./views/cursors/get-selections-from-editor"; -import type { TextWithCursors, CursorPosition } from "reconcile-text"; export class ObsidianFileSystemOperations implements FileSystemOperations { public constructor( diff --git a/frontend/test-client/src/agent/mock-client.ts b/frontend/test-client/src/agent/mock-client.ts index 2b384c24..d0b7f451 100644 --- a/frontend/test-client/src/agent/mock-client.ts +++ b/frontend/test-client/src/agent/mock-client.ts @@ -4,9 +4,9 @@ import { type RelativePath, type FileSystemOperations, type SyncSettings, - SyncClient + SyncClient, + TextWithCursors } from "sync-client"; -import type { TextWithCursors } from "reconcile-text"; export class MockClient implements FileSystemOperations { protected readonly localFiles = new Map();