Variable ListResourcesResultSchemaConst
ListResourcesResultSchema: ZodObject<
extendShape<
extendShape<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
{ nextCursor: ZodOptional<ZodString> },
>,
{
resources: ZodArray<
ZodObject<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<ZodString> },
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
>;
description: ZodOptional<ZodString>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
>,
{
icons: ZodOptional<
ZodArray<
ZodObject<
{ mimeType: ...; sizes: ...; src: ... },
"strip",
ZodTypeAny,
{ mimeType?: ...; sizes?: ...; src: ... },
{ mimeType?: ...; sizes?: ...; src: ... },
>,
"many",
>,
>;
},
>,
"strip",
ZodTypeAny,
{
_meta?: objectOutputType<{}, ZodTypeAny, "passthrough">;
description?: string;
icons?: { mimeType?: string; sizes?: (...)[]; src: string }[];
mimeType?: string;
name: string;
title?: string;
uri: string;
},
{
_meta?: objectInputType<{}, ZodTypeAny, "passthrough">;
description?: string;
icons?: { mimeType?: string; sizes?: (...)[]; src: string }[];
mimeType?: string;
name: string;
title?: string;
uri: string;
},
>,
"many",
>;
},
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
extendShape<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
{ nextCursor: ZodOptional<ZodString> },
>,
{
resources: ZodArray<
ZodObject<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<ZodString> },
{
_meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
description: ZodOptional<ZodString>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
>,
{
icons: ZodOptional<
ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
>;
},
>,
"strip",
ZodTypeAny,
{
_meta?: objectOutputType<{}, ZodTypeAny, "passthrough">;
description?: string;
icons?: {
mimeType?: (...) | (...);
sizes?: (...) | (...);
src: string;
}[];
mimeType?: string;
name: string;
title?: string;
uri: string;
},
{
_meta?: objectInputType<{}, ZodTypeAny, "passthrough">;
description?: string;
icons?: {
mimeType?: (...) | (...);
sizes?: (...) | (...);
src: string;
}[];
mimeType?: string;
name: string;
title?: string;
uri: string;
},
>,
"many",
>;
},
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
extendShape<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
{ nextCursor: ZodOptional<ZodString> },
>,
{
resources: ZodArray<
ZodObject<
extendShape<
extendShape<
{ name: ZodString; title: ZodOptional<ZodString> },
{
_meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
description: ZodOptional<ZodString>;
mimeType: ZodOptional<ZodString>;
uri: ZodString;
},
>,
{
icons: ZodOptional<
ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
>;
},
>,
"strip",
ZodTypeAny,
{
_meta?: objectOutputType<{}, ZodTypeAny, "passthrough">;
description?: string;
icons?: {
mimeType?: (...) | (...);
sizes?: (...) | (...);
src: string;
}[];
mimeType?: string;
name: string;
title?: string;
uri: string;
},
{
_meta?: objectInputType<{}, ZodTypeAny, "passthrough">;
description?: string;
icons?: {
mimeType?: (...) | (...);
sizes?: (...) | (...);
src: string;
}[];
mimeType?: string;
name: string;
title?: string;
uri: string;
},
>,
"many",
>;
},
>,
ZodTypeAny,
"passthrough",
>,
> = ...
The server's response to a resources/list request from the client.