Variable ProgressNotificationSchemaConst
ProgressNotificationSchema: ZodObject<
extendShape<
{
method: ZodString;
params: ZodOptional<
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",
>,
>,
>;
},
{
method: ZodLiteral<"notifications/progress">;
params: ZodObject<
extendShape<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
message: ZodOptional<ZodString>;
progress: ZodNumber;
total: ZodOptional<ZodNumber>;
},
>,
{ progressToken: ZodUnion<[ZodString, ZodNumber]> },
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
},
{
message: ZodOptional<ZodString>;
progress: ZodNumber;
total: ZodOptional<ZodNumber>;
},
>,
{ progressToken: ZodUnion<[ZodString, ZodNumber]> },
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
},
{
message: ZodOptional<ZodString>;
progress: ZodNumber;
total: ZodOptional<ZodNumber>;
},
>,
{ progressToken: ZodUnion<[ZodString, ZodNumber]> },
>,
ZodTypeAny,
"passthrough",
>,
>;
},
>,
"strip",
ZodTypeAny,
{
method: "notifications/progress";
params: {
_meta?: objectOutputType<{}, ZodTypeAny, "passthrough">;
message?: string;
progress: number;
progressToken: string | number;
total?: number;
} & { [k: string]: unknown };
},
{
method: "notifications/progress";
params: {
_meta?: objectInputType<{}, ZodTypeAny, "passthrough">;
message?: string;
progress: number;
progressToken: string | number;
total?: number;
} & { [k: string]: unknown };
},
> = ...
An out-of-band notification used to inform the receiver of a progress update for a long-running request.