auth-astro-cloudflare-d1
Version:
The easiest way to add authentication to your Astro project!
16 lines (12 loc) • 459 B
TypeScript
declare module 'auth:config' {
const config: import('./src/config').FullAuthConfig
export default config
}
declare module 'auth-astro-cloudflare-d1' {
const index: import('./index').Integration
type FullAuthConfig = import('./src/config').FullAuthConfig
type AuthHook = import('./src/config').AuthHook
const defineConfig: (config: FullAuthConfig) => FullAuthConfig
export default index
export { defineConfig, type FullAuthConfig, type AuthHook }
}