migrate from hono

This commit is contained in:
JCEEE
2026-08-17 07:41:26 +01:00
parent e2b99c45b6
commit 5204e7bdbc
56 changed files with 1815 additions and 3357 deletions
+2 -3
View File
@@ -36,9 +36,8 @@ export async function createSuperClient() {
return pb;
}
// Superuser CRUD facade, built on the memoized SDK superuser client. Replaces
// the old raw-fetch `pb-admin.ts`/`ensureToken` path so all server PB access
// (authenticated user + superuser) lives in this one module.
// Superuser CRUD facade, built on the memoized SDK superuser client. All
// server PB access (authenticated user + superuser) lives in this one module.
export const pbAdmin = {
async getList(collection: string, filter = '') {
const pb = await createSuperClient();