fix
This commit is contained in:
@@ -3,10 +3,11 @@
|
||||
import type { Collection, TypedPocketbase } from "./schemas";
|
||||
import type { LoaderContext } from "astro/loaders";
|
||||
import Pocketbase from "pocketbase";
|
||||
import type AdminAuthResponse from "pocketbase";
|
||||
import Client from "pocketbase";
|
||||
import type { RecordAuthResponse, } from "pocketbase";
|
||||
|
||||
let pocketbase: TypedPocketbase;
|
||||
let auth: Promise<AdminAuthResponse>;
|
||||
let auth: Promise<RecordAuthResponse<Client>>;
|
||||
let isAuthenticating = false;
|
||||
|
||||
export function pocketbaseLoader({ collection }: PocketbaseLoaderOptions) {
|
||||
|
||||
Reference in New Issue
Block a user