UNPKG

growi-mcp-server

Version:

MCP Server for GROWI - a modern Wiki system

20 lines (19 loc) 522 B
import { z } from 'zod'; import { GrowiClient } from '../growi-client.js'; export declare const updatePageSchema: z.ZodObject<{ path: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; content: string; }, { path: string; content: string; }>; export type UpdatePageParams = z.infer<typeof updatePageSchema>; export declare function updatePage(client: GrowiClient, params: UpdatePageParams): Promise<{ content: { type: string; text: string; }[]; }>;