blob: 4f96a65511a52aad00aa7ddf1eb63cf47b1ffebe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// See https://svelte.dev/docs/kit/types#app.d.ts
import type { authHandler } from './hooks.server';
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
interface Locals {
/**
* Undefined: not authorized
* Null: failed to validate/renew token
*/
auth: () => Promise<Session | undefined | null>;
/**
* Removes Authentication Cookies
*/
logout: () => void;
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};
|