Refactor all the things

This commit is contained in:
Zef Hemel
2023-08-28 17:12:15 +02:00
parent 54d2deea15
commit 5ff1a8bae3
87 changed files with 930 additions and 896 deletions
+2 -8
View File
@@ -4,13 +4,7 @@ import type {
QueryProviderEvent,
} from "$sb/app_event.ts";
import {
editor,
index,
markdown,
space,
sync,
} from "$sb/silverbullet-syscall/mod.ts";
import { editor, index, markdown, space, sync } from "$sb/syscalls.ts";
import {
addParentPointers,
@@ -26,7 +20,7 @@ import { applyQuery, removeQueries } from "$sb/lib/query.ts";
import { niceDate } from "$sb/lib/dates.ts";
import { extractAttributes } from "$sb/lib/attribute.ts";
import { rewritePageRefs } from "$sb/lib/resolve.ts";
import { indexAttributes } from "../core/attributes.ts";
import { indexAttributes } from "../index/attributes.ts";
export type Task = {
name: string;
+1 -1
View File
@@ -20,7 +20,7 @@ syntax:
backgroundColor: "rgba(22,22,22,0.07)"
functions:
turnIntoTask:
redirect: core.applyLineReplace
redirect: template.applyLineReplace
slashCommand:
name: task
description: Turn into task