Revert "feat: add file routing option"

This reverts commit 750783e860.
This commit is contained in:
wobsoriano
2022-11-05 21:24:24 -07:00
parent c11a5cfa8a
commit 1fc4d9d0d0
22 changed files with 435 additions and 318 deletions

View File

@@ -0,0 +1,17 @@
/* 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 function createContext (
opts: H3Event
) {
// for API-response caching see https://trpc.io/docs/caching
return {}
}