app/src/app.d.ts
2024-03-12 20:14:29 +01:00

29 lines
506 B
TypeScript

// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
interface Locals {
user: SessionUserInfo,
project: SessionProjectInfo
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
interface SessionUserInfo {
id: string,
username: string,
email: string,
account_type: string
}
interface SessionProjectInfo {
id: string,
project_name: string
}
}
export {};