app/src/app.d.ts

29 lines
506 B
TypeScript
Raw Normal View History

2024-03-11 05:37:35 +00:00
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
2024-03-12 19:14:29 +00:00
interface Locals {
user: SessionUserInfo,
project: SessionProjectInfo
}
2024-03-11 05:37:35 +00:00
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
2024-03-12 19:14:29 +00:00
interface SessionUserInfo {
id: string,
username: string,
email: string,
account_type: string
}
interface SessionProjectInfo {
id: string,
project_name: string
}
2024-03-11 05:37:35 +00:00
}
export {};