Variable JSONRPCRequestSchemaConst
JSONRPCRequestSchema: ZodObject<
extendShape<
{ id: ZodUnion<[ZodString, ZodNumber]>; jsonrpc: ZodLiteral<"2.0"> },
{
method: ZodString;
params: ZodOptional<
ZodObject<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ progressToken: ZodOptional<(...)> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ progressToken: ZodOptional<(...)> },
ZodTypeAny,
"passthrough",
>,
>,
>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
>,
>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
>,
>;
},
ZodTypeAny,
"passthrough",
>,
>,
>;
},
>,
"strict",
ZodTypeAny,
{
id: string
| number;
jsonrpc: "2.0";
method: string;
params?: objectOutputType<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<ZodUnion<[(...), (...)]>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
ZodTypeAny,
"passthrough",
>,
>,
>;
},
ZodTypeAny,
"passthrough",
>;
},
{
id: string
| number;
jsonrpc: "2.0";
method: string;
params?: objectInputType<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<ZodUnion<[(...), (...)]>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
ZodTypeAny,
"passthrough",
>,
>,
>;
},
ZodTypeAny,
"passthrough",
>;
},
> = ...
A request that expects a response.