use user from session
This commit is contained in:
parent
5f47162a50
commit
700eaf3eb2
16 changed files with 148 additions and 107 deletions
12
src/types.d.ts
vendored
12
src/types.d.ts
vendored
|
@ -1,3 +1,5 @@
|
|||
import { User } from './app/user/user.ts'
|
||||
|
||||
export interface ProblemDetails {
|
||||
detail: string
|
||||
title: string
|
||||
|
@ -5,3 +7,13 @@ export interface ProblemDetails {
|
|||
type: string
|
||||
traceId: string
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
$femto: FemtoApp
|
||||
}
|
||||
}
|
||||
|
||||
export interface FemtoApp {
|
||||
user: User | null
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue