coloring
All checks were successful
deploy to production / deploy (push) Successful in 42s

This commit is contained in:
2023-12-07 20:24:09 +00:00
parent f85efb3c38
commit fd5af432db
52 changed files with 638 additions and 328 deletions

27
types/global.d.ts vendored
View File

@@ -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