yarn package upgrades, ssr update

This commit is contained in:
2023-11-15 07:00:12 +00:00
parent f1d30945c1
commit 942f92c477
18 changed files with 1800 additions and 1392 deletions

27
types/global.d.ts vendored Normal file
View File

@@ -0,0 +1,27 @@
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
}