Files
website/src/app.d.ts

25 lines
674 B
TypeScript
Executable File

/// <reference types="unplugin-icons/types/svelte" />
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
interface Error {
message: string;
/** Short id of an unexpected (5xx) error, also in the server log line. */
id?: string;
}
interface Locals {
user: typeof import('#lib/server/auth.js').auth.$Infer.Session.user | null;
session: typeof import('#lib/server/auth.js').auth.$Infer.Session.session | null;
}
// interface PageData {}
interface PageState {
animal?: import('#lib/animaldex/AnimalDetails.svelte').AnimalDetail;
}
// interface Platform {}
}
}
export {};