Refactor and renaming
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user