go-tell/ui/app/src/models/auth.ts

16 lines
290 B
TypeScript
Raw Normal View History

2026-09-19 17:48:04 +02:00
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 }