UNPKG

xmcp

Version:

The TypeScript MCP framework

69 lines (68 loc) • 2.31 kB
import { z } from "zod/v3"; export declare const templateConfigSchema: z.ZodEffects<z.ZodObject<{ name: z.ZodOptional<z.ZodDefault<z.ZodString>>; description: z.ZodOptional<z.ZodDefault<z.ZodString>>; icons: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{ src: z.ZodString; mimeType: z.ZodOptional<z.ZodString>; sizes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; theme: z.ZodOptional<z.ZodEnum<["light", "dark"]>>; }, "strip", z.ZodTypeAny, { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; theme?: "light" | "dark" | undefined; }, { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; theme?: "light" | "dark" | undefined; }>, "many">>>; instructions: z.ZodOptional<z.ZodOptional<z.ZodString>>; homePage: z.ZodOptional<z.ZodOptional<z.ZodString>>; }, "strip", z.ZodTypeAny, { name?: string | undefined; description?: string | undefined; icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; theme?: "light" | "dark" | undefined; }[] | undefined; instructions?: string | undefined; homePage?: string | undefined; }, { name?: string | undefined; description?: string | undefined; icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; theme?: "light" | "dark" | undefined; }[] | undefined; instructions?: string | undefined; homePage?: string | undefined; }>, { name: string; description: string; icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; theme?: "light" | "dark" | undefined; }[] | undefined; instructions?: string | undefined; homePage?: string | undefined; }, { name?: string | undefined; description?: string | undefined; icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; theme?: "light" | "dark" | undefined; }[] | undefined; instructions?: string | undefined; homePage?: string | undefined; }>; export type TemplateConfig = z.infer<typeof templateConfigSchema>;