tibi-starter/types/global.d.ts

35 lines
524 B
TypeScript
Raw Normal View History

2023-12-26 20:24:42 +01:00
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
}
2024-01-27 19:58:35 +01:00
interface MediaLibrary {
file: FileField
alt: string
title: string
id: string
}