Files
devodytyji/src/env.d.ts
T
2026-08-14 08:51:55 +03:00

25 lines
548 B
TypeScript

/// <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 {};