feat: harden plugin api for separate repos, signed updates and generic external login

This commit is contained in:
LukeGus committed 2026-09-29 18:11:59 -05:00
1 parent fb9c168b6b
commit 80944301dd
310 files changed
+6577 -4927

No files matched your search

+2
View File
@@ -57,6 +57,7 @@ export async function startServer(
permissions?: string[];
linkedUsers?: Record<string, number>;
before?: (sqlite: TestDb["sqlite"]) => void;
settings?: Record<string, unknown>;
} = {},
): Promise<TestServer> {
const db = await createTestDb(pluginDir, { before: options.before });
@@ -74,6 +75,7 @@ export async function startServer(
permissions: options.permissions,
linkedUsers: options.linkedUsers,
baseUrl: "https://termix.test",
settings: options.settings,
});
const { activate } = await import("../../src/backend/index.js");