mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Add web interface with admin functionality (#167)
This commit is contained in:
32
web/src/app.d.ts
vendored
Normal file
32
web/src/app.d.ts
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
/// <reference types="@sveltejs/kit" />
|
||||
|
||||
// See https://kit.svelte.dev/docs/types#app
|
||||
// for information about these interfaces
|
||||
declare namespace App {
|
||||
interface Locals {
|
||||
user?: {
|
||||
id: string,
|
||||
email: string,
|
||||
accessToken: string,
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
isAdmin: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
// interface Platform {}
|
||||
|
||||
interface Session {
|
||||
user?: {
|
||||
id: string,
|
||||
email: string,
|
||||
accessToken: string,
|
||||
firstName: string,
|
||||
lastName: string
|
||||
isAdmin: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
// interface Stuff {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user