growi-mcp-server
Version:
MCP Server for GROWI - a modern Wiki system
17 lines (16 loc) • 439 B
TypeScript
import { z } from 'zod';
import { GrowiClient } from '../growi-client.js';
export declare const getPageSchema: z.ZodObject<{
path: z.ZodString;
}, "strip", z.ZodTypeAny, {
path: string;
}, {
path: string;
}>;
export type GetPageParams = z.infer<typeof getPageSchema>;
export declare function getPage(client: GrowiClient, params: GetPageParams): Promise<{
content: {
type: string;
text: string;
}[];
}>;