24 lines
415 B
TypeScript
24 lines
415 B
TypeScript
import { User } from './app/user/user.ts'
|
|
|
|
export interface ProblemDetails {
|
|
detail: string
|
|
title: string
|
|
status: number
|
|
type: string
|
|
traceId: string
|
|
}
|
|
|
|
declare global {
|
|
interface Window {
|
|
$femto: FemtoApp
|
|
}
|
|
|
|
type Timeout = ReturnType<typeof setTimeout>
|
|
}
|
|
|
|
export interface FemtoApp {
|
|
version: string
|
|
user: User | null
|
|
authService: AuthService | null
|
|
postsService: PostsService | null
|
|
}
|