Code restructuring: eliminated the top-level lib/ directory

This commit is contained in:
Zef Hemel
2025-09-23 17:00:34 +02:00
parent 4fbdb4c9dd
commit f4336bf09f
175 changed files with 353 additions and 327 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { base64DecodeDataUrl } from "../../lib/crypto.ts";
import { base64DecodeDataUrl } from "../lib/crypto.ts";
import { syscall } from "../syscall.ts";
import type { FileMeta } from "../../plug-api/types/index.ts";
+1 -1
View File
@@ -1,4 +1,4 @@
import type { LuaCollectionQuery } from "../../lib/space_lua/query_collection.ts";
import type { LuaCollectionQuery } from "../../client/space_lua/query_collection.ts";
import { syscall } from "../syscall.ts";
import type { KV, KvKey, KvQuery } from "../../plug-api/types/datastore.ts";
+1 -1
View File
@@ -1,4 +1,4 @@
import type { LuaCollectionQuery } from "../../lib/space_lua/query_collection.ts";
import type { LuaCollectionQuery } from "../../client/space_lua/query_collection.ts";
import { syscall } from "@silverbulletmd/silverbullet/syscall";
import type { ObjectValue } from "../../plug-api/types/index.ts";
+1 -1
View File
@@ -1,5 +1,5 @@
import { syscall } from "../syscall.ts";
import type { LuaBlock, LuaExpression } from "../../lib/space_lua/ast.ts";
import type { LuaBlock, LuaExpression } from "../../client/space_lua/ast.ts";
export function parse(
code: string,
+2 -2
View File
@@ -1,6 +1,6 @@
import { syscall } from "../syscall.ts";
import type { CommandDef } from "../../lib/manifest.ts";
import type { SyscallMeta } from "../../plug-api/types/index.ts";
import type { CommandDef } from "../types/manifest.ts";
import type { SyscallMeta } from "@silverbulletmd/silverbullet/type/index";
/**
* System level syscalls