2023-11-15 08:00:12 +01:00
|
|
|
interface Ssr {
|
|
|
|
id?: string
|
|
|
|
path: string
|
|
|
|
content: string
|
2024-04-10 10:26:40 +02:00
|
|
|
// validUntil: any // go Time
|
2023-11-15 08:00:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
interface ApiOptions {
|
|
|
|
method?: string
|
|
|
|
filter?: any
|
|
|
|
sort?: string
|
|
|
|
lookup?: string
|
|
|
|
limit?: number
|
|
|
|
offset?: number
|
|
|
|
projection?: string
|
|
|
|
headers?: {
|
|
|
|
[key: string]: string
|
|
|
|
}
|
|
|
|
params?: {
|
|
|
|
[key: string]: string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
interface ApiResult<T> {
|
|
|
|
data: T
|
|
|
|
count: number
|
|
|
|
}
|
2024-01-27 19:58:35 +01:00
|
|
|
|
|
|
|
interface MediaLibrary {
|
|
|
|
file: FileField
|
|
|
|
alt: string
|
|
|
|
title: string
|
|
|
|
id: string
|
|
|
|
}
|