You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
484 B

import type { SupabaseClient, Session, User } from '@supabase/supabase-js';
import type { Database } from '$lib/supabase/types';
declare global {
namespace App {
interface Locals {
supabase: SupabaseClient<Database>;
safeGetSession: () => Promise<{ session: Session | null; user: User | null }>;
}
interface PageData {
session: Session | null;
user: User | null;
}
// interface Error {}
// interface PageState {}
// interface Platform {}
}
}
export { };