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';
|
2023-06-21 23:49:23 +10:00
|
|
|
import { documentRouter } from './document-router/router';
|
2023-08-17 19:56:18 +10:00
|
|
|
import { fieldRouter } from './field-router/router';
|
2025-03-18 17:51:38 +02:00
|
|
|
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';
|
2024-02-06 16:16:10 +11:00
|
|
|
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,
|
2023-06-21 23:49:23 +10:00
|
|
|
document: documentRouter,
|
2023-08-17 19:56:18 +10:00
|
|
|
field: fieldRouter,
|
2025-03-18 17:51:38 +02:00
|
|
|
folder: folderRouter,
|
2023-12-02 09:38:24 +11:00
|
|
|
recipient: recipientRouter,
|
2023-11-06 14:47:46 +11:00
|
|
|
admin: adminRouter,
|
2023-09-21 00:51:02 +00:00
|
|
|
shareLink: shareLinkRouter,
|
2023-11-24 13:59:33 +02:00
|
|
|
apiToken: apiTokenRouter,
|
2024-02-06 16:16:10 +11:00
|
|
|
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;
|