mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 19:35:06 +03:00
This PR runs `prettier` on the `examples` folder. Depends on https://github.com/supabase/supabase/pull/43849.
22 lines
560 B
TypeScript
22 lines
560 B
TypeScript
import type { Session, SupabaseClient, User } from '@supabase/supabase-js'
|
|
import type { Database } from './database.types.ts' // import generated types
|
|
|
|
declare global {
|
|
namespace App {
|
|
// interface Error {}
|
|
interface Locals {
|
|
supabase: SupabaseClient<Database>
|
|
safeGetSession: () => Promise<{ session: Session | null; user: User | null }>
|
|
session: Session | null
|
|
user: User | null
|
|
}
|
|
interface PageData {
|
|
session: Session | null
|
|
}
|
|
// interface PageState {}
|
|
// interface Platform {}
|
|
}
|
|
}
|
|
|
|
export {}
|