chat-ui / src /app.d.ts
victor's picture
victor HF Staff
Org billing (#1995)
9b4ba04 unverified
/// <reference types="@sveltejs/kit" />
/// <reference types="unplugin-icons/types/svelte" />
import type { User } from "$lib/types/User";
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
interface Locals {
sessionId: string;
user?: User;
isAdmin: boolean;
token?: string;
/** Organization to bill inference requests to (from settings) */
billingOrganization?: string;
}
interface Error {
message: string;
errorId?: ReturnType<typeof crypto.randomUUID>;
}
// interface PageData {}
// interface Platform {}
}
}
export {};