Refactor and renaming

This commit is contained in:
Zef Hemel
2022-04-25 10:33:38 +02:00
parent 6a10cbd9b7
commit 44cf4c6a72
114 changed files with 20723 additions and 183 deletions
@@ -1,5 +1,5 @@
import { syscall } from "./syscall";
import { FilterOption } from "../silverbullet-common/types";
import { FilterOption } from "../common/types";
export function getCurrentPage(): Promise<string> {
return syscall("editor.getCurrentPage");
@@ -1,6 +1,6 @@
import { syscall } from "./syscall";
import type { ParseTree } from "../silverbullet-common/tree";
import type { ParseTree } from "../common/tree";
export async function parseMarkdown(text: string): Promise<ParseTree> {
return syscall("markdown.parseMarkdown", text);
@@ -1,4 +1,4 @@
{
"name": "@silverbulletmd/plugos-silverbullet-syscall",
"name": "@plugos/plugos-silverbullet-syscall",
"version": "1.0.0"
}
@@ -1,5 +1,5 @@
import { syscall } from "./syscall";
import { PageMeta } from "../silverbullet-common/types";
import { PageMeta } from "../common/types";
export async function listPages(): Promise<PageMeta[]> {
return syscall("space.listPages");