diff options
Diffstat (limited to 'packages/trpc/index.ts')
| -rw-r--r-- | packages/trpc/index.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/trpc/index.ts b/packages/trpc/index.ts index 4055fa5d..5f351a8e 100644 --- a/packages/trpc/index.ts +++ b/packages/trpc/index.ts @@ -17,6 +17,11 @@ export interface Context { db: typeof db; } +export interface AuthedContext { + user: User; + db: typeof db; +} + // Avoid exporting the entire t-object // since it's not very descriptive. // For instance, the use of a t variable |
