nessa routes
This commit is contained in:
@@ -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
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
1258
src/server/api/routers/nessa-community.ts
Normal file
1258
src/server/api/routers/nessa-community.ts
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user