Editor refact: rename Editor to Client

This commit is contained in:
Zef Hemel
2023-07-14 16:56:20 +02:00
parent f3936f9b2f
commit 16842a1c4b
20 changed files with 47 additions and 49 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import assetSyscalls from "../plugos/syscalls/asset.ts";
import { eventSyscalls } from "../plugos/syscalls/event.ts";
import { storeSyscalls } from "../plugos/syscalls/store.dexie_browser.ts";
import { SysCallMapping, System } from "../plugos/system.ts";
import type { Editor } from "./editor.ts";
import type { Client } from "./client.ts";
import { CodeWidgetHook } from "./hooks/code_widget.ts";
import { CommandHook } from "./hooks/command.ts";
import { SlashCommandHook } from "./hooks/slash_command.ts";
@@ -42,7 +42,7 @@ export class ClientSystem {
mdExtensions: MDExt[] = [];
constructor(
private editor: Editor,
private editor: Client,
private kvStore: DexieKVStore,
private dbPrefix: string,
private eventHook: EventHook,