feat: v2 rewrite — hexagonal arch, ActivityPub federation, NATS, deployment-ready #1

Merged
GKaszewski merged 334 commits from v2 into master 2026-05-16 09:42:43 +00:00
Showing only changes of commit 2c3e7934b8 - Show all commits

View File

@@ -232,7 +232,7 @@ export const getTopFriends = (username: string, token: string | null) =>
apiFetch( apiFetch(
`/users/${username}/top-friends`, `/users/${username}/top-friends`,
{ next: { tags: [`profile:${username}`] } }, { next: { tags: [`profile:${username}`] } },
z.object({ topFriends: z.array(z.string()) }), z.object({ topFriends: z.array(UserSchema) }),
token token
); );