move to pnpm workspace

This commit is contained in:
Robert Soriano
2022-10-29 22:45:57 -07:00
parent 09500bc868
commit 3522cc9327
28 changed files with 177 additions and 181 deletions

View File

@@ -1,17 +0,0 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import type { inferAsyncReturnType } from '@trpc/server'
import type { H3Event } from 'h3'
export type Context = inferAsyncReturnType<typeof createContext>
/**
* Creates context for an incoming request
* @link https://trpc.io/docs/context
*/
export async function createContext(
opts: H3Event,
) {
// for API-response caching see https://trpc.io/docs/caching
return {}
}