mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
AIX: export server Context type
This commit is contained in:
@@ -11,6 +11,13 @@ import * as z from 'zod/v4';
|
||||
import { initTRPC } from '@trpc/server';
|
||||
import { transformer } from '~/server/trpc/trpc.transformer';
|
||||
|
||||
|
||||
/**
|
||||
* Type of the Context object passed to procedures/resolvers, to avoid circular dependencies.
|
||||
*/
|
||||
export type ChatGenerateContentContext = Awaited<ReturnType<typeof createTRPCFetchContext>>;
|
||||
|
||||
|
||||
/**
|
||||
* 1. CONTEXT
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user