2f8bd3c07a
* revert me later
* let's see if this builds
* fix dupe proc
* fix: v10 works
* fix type error
* fix type error
* fix type errors
* fix more
* add example procedure
* spreading not needed
* Update yarn.lock
* Revert "revert me later"
This reverts commit 0c8c15d057
.
Co-authored-by: Chris Bautista <chrisbautista@netflix.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
6 lines
150 B
TypeScript
6 lines
150 B
TypeScript
import { t, publicProcedure } from "../trpc";
|
|
|
|
export const publicRouter = t.router({
|
|
session: publicProcedure.query(({ ctx }) => ctx.session),
|
|
});
|