test
All checks were successful
deploy to production / deploy (push) Successful in 1m24s

This commit is contained in:
2023-12-06 17:57:25 +00:00
parent 4ec39882a8
commit d6acf825c8
11 changed files with 299 additions and 172 deletions

21
types/global.d.ts vendored
View File

@@ -2,6 +2,27 @@ interface Sites {
[key: string]: Site
}
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 Site {
path: string
showTeaser: boolean