nessa routes

This commit is contained in:
2026-07-13 14:11:46 -04:00
parent 52174c94dc
commit 0c29135bad
2 changed files with 1262 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ import { infillRouter } from "./routers/infill";
import { accountRouter } from "./routers/account"; import { accountRouter } from "./routers/account";
import { downloadsRouter } from "./routers/downloads"; import { downloadsRouter } from "./routers/downloads";
import { nessaDbRouter } from "./routers/nessa"; import { nessaDbRouter } from "./routers/nessa";
import { nessaCommunityRouter } from "./routers/nessa-community";
import { appleNotificationsRouter } from "./routers/apple-notifications"; import { appleNotificationsRouter } from "./routers/apple-notifications";
import { createTRPCRouter, createTRPCContext, t } from "./utils"; import { createTRPCRouter, createTRPCContext, t } from "./utils";
import type { H3Event } from "h3"; import type { H3Event } from "h3";
@@ -32,6 +33,9 @@ export const appRouter = createTRPCRouter({
account: accountRouter, account: accountRouter,
downloads: downloadsRouter, downloads: downloadsRouter,
nessaDb: nessaDbRouter, nessaDb: nessaDbRouter,
// Community features (clubs, challenges, social feed) — ported from the
// standalone nessa-api Express prototype. Exposes nessa.community.*.
nessa: createTRPCRouter({ community: nessaCommunityRouter }),
appleNotifications: appleNotificationsRouter appleNotifications: appleNotificationsRouter
}); });

File diff suppressed because it is too large Load Diff