Variable JSONRPCResponseSchemaConst
JSONRPCResponseSchema: ZodObject<
{
id: ZodUnion<[ZodString, ZodNumber]>;
jsonrpc: ZodLiteral<"2.0">;
result: ZodObject<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
ZodTypeAny,
"passthrough",
>,
>;
},
"strict",
ZodTypeAny,
{
id: string
| number;
jsonrpc: "2.0";
result: { _meta?: objectOutputType<{}, ZodTypeAny, "passthrough"> } & {
[k: string]: unknown;
};
},
{
id: string
| number;
jsonrpc: "2.0";
result: { _meta?: objectInputType<{}, ZodTypeAny, "passthrough"> } & {
[k: string]: unknown;
};
},
> = ...
A successful (non-error) response to a request.