mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-06 21:07:44 +00:00
31 lines
775 B
TypeScript
31 lines
775 B
TypeScript
// See https://kit.svelte.dev/docs/types#app
|
|
|
|
import type { Account } from 'node-appwrite';
|
|
|
|
// for information about these interfaces
|
|
declare global {
|
|
namespace App {
|
|
// interface Error {}
|
|
// interface Locals {}
|
|
interface PageData {
|
|
changelogEntries: number;
|
|
}
|
|
// interface Platform {}
|
|
interface Locals {
|
|
initUser: {
|
|
github: {
|
|
login: string;
|
|
name: string;
|
|
email: string;
|
|
avatar_url: string | undefined;
|
|
} | null;
|
|
appwrite: AppwriteUser | null;
|
|
};
|
|
account: Models.User<Models.Preferences>;
|
|
nonce: string;
|
|
}
|
|
}
|
|
}
|
|
|
|
export {};
|