1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

With local caching and gradual prepending

For #490
This commit is contained in:
xmflsct
2023-01-07 00:43:00 +01:00
parent 70d57ed830
commit ea02561cdb
3 changed files with 92 additions and 85 deletions

View File

@ -67,7 +67,7 @@ const handleError =
type LinkFormat = { id: string; isOffset: boolean }
export type PagedResponse<T = unknown> = {
body: T
links: { prev?: LinkFormat; next?: LinkFormat }
links?: { prev?: LinkFormat; next?: LinkFormat }
}
export { ctx, handleError, userAgent }