feat(api): add tRPC routers (auth + content) calling core controllers

This commit is contained in:
2026-04-06 14:48:42 +02:00
parent 1b93fecb7f
commit a870b9e0e5
8 changed files with 119 additions and 3 deletions

23
pnpm-lock.yaml generated
View File

@@ -107,6 +107,16 @@ importers:
version: link:../../packages/typescript-config
packages/api:
dependencies:
'@repo/core':
specifier: workspace:*
version: link:../core
'@trpc/server':
specifier: ^11.1.0
version: 11.16.0(typescript@5.9.3)
zod:
specifier: ^3.24.0
version: 3.25.76
devDependencies:
'@repo/eslint-config':
specifier: workspace:*
@@ -114,6 +124,9 @@ importers:
'@repo/typescript-config':
specifier: workspace:*
version: link:../typescript-config
'@types/node':
specifier: ^22.0.0
version: 22.19.17
packages/api-client:
devDependencies:
@@ -1546,6 +1559,12 @@ packages:
'@tokenizer/token@0.3.0':
resolution: {integrity: sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==}
'@trpc/server@11.16.0':
resolution: {integrity: sha512-XgGuUMddrUTd04+za/WE5GFuZ1/YU9XQG0t3VL5WOIu2JspkOlq6k4RYEiqS6HSJt+S0RXaPdIoE2anIP/BBRQ==}
hasBin: true
peerDependencies:
typescript: '>=5.7.2'
'@turbo/darwin-64@2.9.4':
resolution: {integrity: sha512-ZSlPqJ5Vqg/wgVw8P3AOVCIosnbBilOxLq7TMz3MN/9U46DUYfdG2jtfevNDufyxyrg98pcPs/GBgDRaaids6g==}
cpu: [x64]
@@ -4682,6 +4701,10 @@ snapshots:
'@tokenizer/token@0.3.0': {}
'@trpc/server@11.16.0(typescript@5.9.3)':
dependencies:
typescript: 5.9.3
'@turbo/darwin-64@2.9.4':
optional: true