diff --git a/packages/client/src/webview/AppState/index.ts b/packages/client/src/webview/AppState/index.ts index 94d588affe..1c9fb69fdb 100644 --- a/packages/client/src/webview/AppState/index.ts +++ b/packages/client/src/webview/AppState/index.ts @@ -1,2 +1,2 @@ -export { calcDocSettings, getWebviewGlobalStore } from './store'; export { awaitSubscribable } from '../../Subscribables/helpers/awaitSubscribable'; +export { calcDocSettings, getWebviewGlobalStore } from './store'; diff --git a/packages/client/src/webview/AppState/store.ts b/packages/client/src/webview/AppState/store.ts index 79ce53152d..a5e48ded58 100644 --- a/packages/client/src/webview/AppState/store.ts +++ b/packages/client/src/webview/AppState/store.ts @@ -7,13 +7,13 @@ import type { WatchFieldList, WatchFields } from 'webview-api'; import { getDependencies } from '../../di'; import { calcSettings } from '../../infoViewer/infoHelper'; -import { getLogger } from '../api/api'; -import type { AppStateData } from '../apiTypes'; import { createSubscribableView, pipe, rx, throttle } from '../../Subscribables'; import { toSubscriberFn } from '../../Subscribables/helpers/toSubscriber'; import type { MakeSubscribable, StoreValue } from '../../Subscribables/StoreValue'; import { createStoreValue } from '../../Subscribables/StoreValue'; import type { SubscriberLike } from '../../Subscribables/Subscribables'; +import { getLogger } from '../api/api'; +import type { AppStateData } from '../apiTypes'; export interface Storage { seq: number; diff --git a/packages/client/src/webview/api/api.ts b/packages/client/src/webview/api/api.ts index d817d5ea26..fbbe354e7f 100644 --- a/packages/client/src/webview/api/api.ts +++ b/packages/client/src/webview/api/api.ts @@ -5,11 +5,11 @@ import { type MessageConnection } from 'vscode-jsonrpc/node'; import type { RequestResult, SetValueRequest, SetValueResult, WatchFieldList, WatchFields } from 'webview-api'; import { createServerSideSpellInfoWebviewApi } from 'webview-api'; +import type { StoreValue } from '../../Subscribables/StoreValue'; +import type { Subscribable } from '../../Subscribables/Subscribables'; import type { ServerSideApi, ServerSideApiDef } from '../apiTypes'; import { awaitSubscribable, getWebviewGlobalStore } from '../AppState'; import { calcDocSettings, type Storage, updateState, watchFieldList } from '../AppState/store'; -import type { StoreValue } from '../../Subscribables/StoreValue'; -import type { Subscribable } from '../../Subscribables/Subscribables'; import { sampleList } from './staticTestData'; export function createApi(connection: MessageConnection) {