UNPKG

histoire

Version:

A fast story book powered by Vite

46 lines • 1.52 kB
import { z } from 'zod/v4'; /** Bounded text returned by both content tools and resources. */ export declare const mcpTextSchema: z.ZodString; /** Documentation page measured in Unicode code points. */ export declare const mcpDocsResultSchema: z.ZodObject<{ projectId: z.ZodString; revision: z.ZodString; storyId: z.ZodString; text: z.ZodString; offset: z.ZodNumber; nextOffset: z.ZodOptional<z.ZodNumber>; totalCharacters: z.ZodNumber; sha256: z.ZodString; kind: z.ZodEnum<{ markdown: "markdown"; text: "text"; }>; filePath: z.ZodOptional<z.ZodString>; origin: z.ZodEnum<{ collected: "collected"; sibling: "sibling"; standalone: "standalone"; }>; }, z.core.$strict>; /** Raw physical or virtual source page preserving line endings. */ export declare const mcpSourceResultSchema: z.ZodObject<{ projectId: z.ZodString; revision: z.ZodString; storyId: z.ZodString; kind: z.ZodEnum<{ file: "file"; virtual: "virtual"; }>; filePath: z.ZodString; text: z.ZodString; startLine: z.ZodNumber; endLine: z.ZodNumber; totalLines: z.ZodNumber; nextLine: z.ZodOptional<z.ZodNumber>; sha256: z.ZodString; }, z.core.$strict>; /** Documentation tool/resource DTO. */ export type McpDocsResult = z.infer<typeof mcpDocsResultSchema>; /** Source tool/resource DTO. */ export type McpSourceResult = z.infer<typeof mcpSourceResultSchema>; //# sourceMappingURL=content-schema.d.ts.map