Sebastian Frank
1ebd1424e5
Some checks failed
deploy to production / deploy (push) Failing after 52s
35 lines
527 B
TypeScript
35 lines
527 B
TypeScript
interface Ssr {
|
|
id?: string
|
|
path: string
|
|
content: string
|
|
// validUntil: any // go Time
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
interface MediaLibrary {
|
|
file: FileField
|
|
alt: string
|
|
title: string
|
|
id: string
|
|
}
|