* Move all syscalls to JSR-style package naming * Eliminating some prefixes in import maps
8 lines
247 B
TypeScript
8 lines
247 B
TypeScript
import { editor, sync } from "@silverbulletmd/silverbullet/syscalls";
|
|
|
|
export async function syncSpaceCommand() {
|
|
await editor.flashNotification("Syncing space...");
|
|
await sync.scheduleSpaceSync();
|
|
await editor.flashNotification("Done.");
|
|
}
|