algora-io / xtrpc Goto Github PK
View Code? Open in Web Editor NEWExport your tRPC router to massively improve language server performance and/or let your users consume your API from a typed SDK
License: MIT License
Export your tRPC router to massively improve language server performance and/or let your users consume your API from a typed SDK
License: MIT License
The following endpoint fields can be stripped without affecting type inference:
transformer
_input_out
(result of transforming the raw input via the zod schema .transform()
method)_output_in
(what is returned by the procedure before being transformed by the zod output schema)middleware
_ctx_out
_meta
_config
(not sure if it affects type inferency in any way)Some fields are leaking implementation data if present in the declaration file on top of not being required for inference
Tried using this project in our tRPC project and I'm unsure what's going on here.
InvalidOperationError: A descendant of kind ObjectLiteralExpression was expected to be found.
/Users/dimiguel/dev/company/company/packages/server/src/index.ts:95:13
> 95 | await setupAPI(server, router)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.