Ionosphere.tv
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: include projects and photos in API client type definition

The fetchApi generic type was missing projects and photos arrays,
causing Next.js SSR to drop those fields from the response.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+6 -2
+3 -1
apps/ionosphere/src/app/discussion/page.tsx
··· 6 6 posts: [], 7 7 blogs: [], 8 8 videos: [], 9 + photos: [], 10 + projects: [], 9 11 vodSites: [], 10 - stats: { totalPosts: 0, blogCount: 0, vodSiteCount: 0, uniqueAuthors: 0 }, 12 + stats: { totalPosts: 0, blogCount: 0, videoCount: 0, photoCount: 0, vodSiteCount: 0, uniqueAuthors: 0 }, 11 13 })); 12 14 return <DiscussionContent data={data} />; 13 15 }
+3 -1
apps/ionosphere/src/lib/api.ts
··· 47 47 posts: any[]; 48 48 blogs: any[]; 49 49 videos: any[]; 50 + photos: any[]; 51 + projects: any[]; 50 52 vodSites: string[]; 51 - stats: { totalPosts: number; blogCount: number; vodSiteCount: number; uniqueAuthors: number }; 53 + stats: { totalPosts: number; blogCount: number; videoCount: number; photoCount: number; vodSiteCount: number; uniqueAuthors: number }; 52 54 }>("/xrpc/tv.ionosphere.getDiscussion"); 53 55 } 54 56