feat(core-shared): add tRPC context factory
This commit is contained in:
5
packages/core-shared/src/trpc/context.ts
Normal file
5
packages/core-shared/src/trpc/context.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
export async function createTrpcContext() {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
|
export type TrpcContext = Awaited<ReturnType<typeof createTrpcContext>>;
|
||||||
Reference in New Issue
Block a user