go-tell/ui/app/src/models/auth.ts
2026-09-19 17:48:04 +02:00

15 lines
290 B
TypeScript

export type User = {
id?: string
name?: string
email?: string
picture?: string
capabilities?: Record<string, boolean>
}
export type SessionResponse = {
authenticated?: boolean
canEdit?: boolean
username?: string
}
export type DemoUser = { username: string; name: string }