tibi-docs/types/global.d.ts

28 lines
427 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
}