feat(rpc): scaffold the package and shared contract types
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @wrnexus/rpc — typed request/response between workspace apps.
|
||||
*
|
||||
* A contract lives in the workspace's shared package and is imported by both
|
||||
* sides: the callee `implement`s it, the caller gets a typed proxy. Types flow
|
||||
* through a normal import, so there is no code generator and no generated file
|
||||
* to go stale.
|
||||
*/
|
||||
|
||||
export type {
|
||||
AnyProcedures,
|
||||
InferInput,
|
||||
InputSchema,
|
||||
InferProcedureInput,
|
||||
InferProcedureOutput,
|
||||
ProcedureDef,
|
||||
ServiceContract,
|
||||
ServiceResult,
|
||||
} from "./types.ts";
|
||||
Reference in New Issue
Block a user