Initial commit
This commit is contained in:
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
/// <reference types="astro/client" />
|
||||
/// <reference path="../.astro/types.d.ts" />
|
||||
/// <reference types="@astrojs/netlify/functions" />
|
||||
|
||||
import type { SupabaseClient } from '@supabase/supabase-js';
|
||||
import type { Locale } from './lib/i18n';
|
||||
|
||||
declare global {
|
||||
namespace App {
|
||||
interface Locals {
|
||||
locale: Locale;
|
||||
supabase: SupabaseClient;
|
||||
user: {
|
||||
id: string;
|
||||
email?: string;
|
||||
fullName?: string | null;
|
||||
avatarUrl?: string | null;
|
||||
isAdmin: boolean;
|
||||
} | null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
Reference in New Issue
Block a user