generated from cms/tibi-docs
This commit is contained in:
27
types/global.d.ts
vendored
27
types/global.d.ts
vendored
@@ -3,10 +3,35 @@ interface FileField {
|
||||
src: string
|
||||
type: string
|
||||
}
|
||||
|
||||
interface Ssr {
|
||||
id?: string
|
||||
path: string
|
||||
content: string
|
||||
validUntil: any // go Time
|
||||
}
|
||||
interface Pages {
|
||||
[key: string]: Page
|
||||
}
|
||||
interface ApiResult<T> {
|
||||
data: T
|
||||
count: number
|
||||
}
|
||||
|
||||
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 Page {
|
||||
path: string
|
||||
|
||||
Reference in New Issue
Block a user