UNPKG

@access-mcp/shared

Version:

Shared utilities for ACCESS-CI MCP servers

59 lines (58 loc) 1.83 kB
import { z } from "zod"; export declare const AffinityGroupSchema: z.ZodObject<{ group_id: z.ZodString; name: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { group_id: string; name?: string | undefined; description?: string | undefined; }, { group_id: string; name?: string | undefined; description?: string | undefined; }>; export declare const EventSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodOptional<z.ZodString>; start_date: z.ZodOptional<z.ZodString>; end_date: z.ZodOptional<z.ZodString>; location: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { title: string; id: string; description?: string | undefined; start_date?: string | undefined; end_date?: string | undefined; location?: string | undefined; }, { title: string; id: string; description?: string | undefined; start_date?: string | undefined; end_date?: string | undefined; location?: string | undefined; }>; export declare const KnowledgeBaseResourceSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; content: z.ZodOptional<z.ZodString>; category: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; content?: string | undefined; category?: string | undefined; tags?: string[] | undefined; }, { title: string; id: string; content?: string | undefined; category?: string | undefined; tags?: string[] | undefined; }>; export type AffinityGroup = z.infer<typeof AffinityGroupSchema>; export type Event = z.infer<typeof EventSchema>; export type KnowledgeBaseResource = z.infer<typeof KnowledgeBaseResourceSchema>;