interface Ssr { id?: string path: string content: string // validUntil: any // go Time } interface ApiOptions { method?: "GET" | "POST" | "PUT" | "DELETE" filter?: any sort?: string lookup?: string limit?: number offset?: number projection?: string headers?: { [key: string]: string } params?: { [key: string]: string } } interface LocationStore { path: string search: string hash: string push: boolean pop: boolean previousLocation?: LocationStore } interface ApiResult { data: T count: number } interface FileField { path: string src: string type: string size: number }