at main 433 B view raw
1import type { Agent } from '@atproto/api'; 2// See https://svelte.dev/docs/kit/types#app.d.ts 3// for information about these interfaces 4declare global { 5 namespace App { 6 // interface Error {} 7 interface Session { 8 did: string; 9 handle: string; 10 } 11 interface Locals { 12 session: Session | null; 13 atpAgent: Agent | null; 14 } 15 // interface PageData {} 16 // interface PageState {} 17 // interface Platform {} 18 } 19} 20 21export {};