Add API for propagating cursor locations #61
4 changed files with 14 additions and 5 deletions
Fix TS compile
commit
e37399dc29
|
|
@ -18,8 +18,8 @@ export class HistoryView extends ItemView {
|
||||||
>();
|
>();
|
||||||
|
|
||||||
public constructor(
|
public constructor(
|
||||||
leaf: WorkspaceLeaf,
|
private readonly client: SyncClient,
|
||||||
private readonly client: SyncClient
|
leaf: WorkspaceLeaf
|
||||||
) {
|
) {
|
||||||
super(leaf);
|
super(leaf);
|
||||||
this.icon = HistoryView.ICON;
|
this.icon = HistoryView.ICON;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,16 @@ module.exports = (env, argv) => ({
|
||||||
ignored: "**/node_modules"
|
ignored: "**/node_modules"
|
||||||
},
|
},
|
||||||
externals: {
|
externals: {
|
||||||
obsidian: "commonjs obsidian"
|
obsidian: "commonjs obsidian",
|
||||||
|
electron: "commonjs electron",
|
||||||
|
"@codemirror/autocomplete": "commonjs @codemirror/autocomplete",
|
||||||
|
"@codemirror/collab": "commonjs @codemirror/collab",
|
||||||
|
"@codemirror/commands": "commonjs @codemirror/commands",
|
||||||
|
"@codemirror/language": "commonjs @codemirror/language",
|
||||||
|
"@codemirror/lint": "commonjs @codemirror/lint",
|
||||||
|
"@codemirror/search": "commonjs @codemirror/search",
|
||||||
|
"@codemirror/state": "commonjs @codemirror/state",
|
||||||
|
"@codemirror/view": "commonjs @codemirror/view"
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
minimizer: [
|
minimizer: [
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import type { Logger } from "../tracing/logger";
|
||||||
import PQueue from "p-queue";
|
import PQueue from "p-queue";
|
||||||
import { hash } from "../utils/hash";
|
import { hash } from "../utils/hash";
|
||||||
import { v4 as uuidv4 } from "uuid";
|
import { v4 as uuidv4 } from "uuid";
|
||||||
import type { components } from "../services/types";
|
import type { components } from "../services/types/http-api";
|
||||||
import type { Settings, SyncSettings } from "../persistence/settings";
|
import type { Settings, SyncSettings } from "../persistence/settings";
|
||||||
import type { FileOperations } from "../file-operations/file-operations";
|
import type { FileOperations } from "../file-operations/file-operations";
|
||||||
import { findMatchingFile } from "../utils/find-matching-file";
|
import { findMatchingFile } from "../utils/find-matching-file";
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import type {
|
||||||
} from "../tracing/sync-history";
|
} from "../tracing/sync-history";
|
||||||
import { SyncStatus, SyncType } from "../tracing/sync-history";
|
import { SyncStatus, SyncType } from "../tracing/sync-history";
|
||||||
import { EMPTY_HASH, hash } from "../utils/hash";
|
import { EMPTY_HASH, hash } from "../utils/hash";
|
||||||
import type { components } from "../services/types";
|
import type { components } from "../services/types/http-api";
|
||||||
import { deserialize } from "../utils/deserialize";
|
import { deserialize } from "../utils/deserialize";
|
||||||
import type { Settings } from "../persistence/settings";
|
import type { Settings } from "../persistence/settings";
|
||||||
import type { FileOperations } from "../file-operations/file-operations";
|
import type { FileOperations } from "../file-operations/file-operations";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue