git actions
This commit is contained in:
parent
6af2853faa
commit
ddd839360a
11 changed files with 310 additions and 164 deletions
15
ui/app/src/models/auth.ts
Normal file
15
ui/app/src/models/auth.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
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 }
|
||||
Loading…
Add table
Add a link
Reference in a new issue