xmcp
Version:
The TypeScript MCP framework
55 lines (54 loc) • 1.8 kB
TypeScript
import { z } from "zod/v3";
declare const componentSelectorSchema: z.ZodObject<{
names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strict", z.ZodTypeAny, {
tags?: string[] | undefined;
names?: string[] | undefined;
}, {
tags?: string[] | undefined;
names?: string[] | undefined;
}>;
export declare const componentsConfigSchema: z.ZodObject<{
include: z.ZodOptional<z.ZodObject<{
names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strict", z.ZodTypeAny, {
tags?: string[] | undefined;
names?: string[] | undefined;
}, {
tags?: string[] | undefined;
names?: string[] | undefined;
}>>;
exclude: z.ZodOptional<z.ZodObject<{
names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strict", z.ZodTypeAny, {
tags?: string[] | undefined;
names?: string[] | undefined;
}, {
tags?: string[] | undefined;
names?: string[] | undefined;
}>>;
}, "strict", z.ZodTypeAny, {
include?: {
tags?: string[] | undefined;
names?: string[] | undefined;
} | undefined;
exclude?: {
tags?: string[] | undefined;
names?: string[] | undefined;
} | undefined;
}, {
include?: {
tags?: string[] | undefined;
names?: string[] | undefined;
} | undefined;
exclude?: {
tags?: string[] | undefined;
names?: string[] | undefined;
} | undefined;
}>;
export type ComponentSelector = z.infer<typeof componentSelectorSchema>;
export type ComponentsConfig = z.infer<typeof componentsConfigSchema>;
export {};