Files
sign/packages/trpc/server/router.ts

31 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-09-29 17:26:37 +01:00
import { adminRouter } from './admin-router/router';
2023-11-24 13:59:33 +02:00
import { apiTokenRouter } from './api-token-router/router';
2023-06-09 18:21:18 +10:00
import { authRouter } from './auth-router/router';
import { documentRouter } from './document-router/router';
2023-08-17 19:56:18 +10:00
import { fieldRouter } from './field-router/router';
import { folderRouter } from './folder-router/router';
2023-06-09 18:21:18 +10:00
import { profileRouter } from './profile-router/router';
2023-12-02 09:38:24 +11:00
import { recipientRouter } from './recipient-router/router';
2023-09-21 00:51:02 +00:00
import { shareLinkRouter } from './share-link-router/router';
import { teamRouter } from './team-router/router';
2023-10-06 22:54:24 +00:00
import { templateRouter } from './template-router/router';
2023-11-22 15:46:21 +11:00
import { router } from './trpc';
2024-02-09 16:07:33 +02:00
import { webhookRouter } from './webhook-router/router';
2023-06-09 18:21:18 +10:00
export const appRouter = router({
auth: authRouter,
profile: profileRouter,
document: documentRouter,
2023-08-17 19:56:18 +10:00
field: fieldRouter,
folder: folderRouter,
2023-12-02 09:38:24 +11:00
recipient: recipientRouter,
admin: adminRouter,
2023-09-21 00:51:02 +00:00
shareLink: shareLinkRouter,
2023-11-24 13:59:33 +02:00
apiToken: apiTokenRouter,
team: teamRouter,
2023-10-06 22:54:24 +00:00
template: templateRouter,
2024-02-09 16:07:33 +02:00
webhook: webhookRouter,
2023-06-09 18:21:18 +10:00
});
export type AppRouter = typeof appRouter;