fix: piefed page cursor types won't work

This commit is contained in:
Xylight committed 2025-09-21 20:51:48 -07:00
1 parent 9a27e95a5f
commit 7f9d8c6f86
11 files changed
+504 -66

No files matched your search

+4 -4
View File
@@ -56,7 +56,7 @@ export interface FeedTypes {
{
posts: PostView[]
next_page?: string
params: GetPosts
params: GetPostss & { page_cursor: string }
client: {
itemHeights?: (number | null)[]
lastSeen?: number
@@ -69,7 +69,7 @@ export interface FeedTypes {
posts: PostView[]
community: GetCommunityResponse
next_page?: string
params: GetPosts
params: GetPosts & { page_cursor: string }
client: { itemHeights?: (number | null)[]; lastSeen?: number }
},
]
@@ -110,7 +110,7 @@ export interface FeedTypes {
{
posts: PostView[]
next_page?: string
params: GetPosts
params: GetPosts & { page_cursor: string }
feed: Promise<FeedView | undefined>
client: {
itemHeights?: (number | null)[]
@@ -123,7 +123,7 @@ export interface FeedTypes {
{
posts: PostView[]
next_page?: string
params: GetPosts
params: GetPosts & { page_cursor: string }
topic: Promise<TopicView | undefined>
client: {
itemHeights?: (number | null)[]