schema.ts•632 B
import { z } from 'zod';
import { defaultProject, defaultOrg } from '../../../utils/environment';
/**
* Schema for getting a wiki page from an Azure DevOps wiki
*/
export const GetWikiPageSchema = z.object({
organizationId: z
.string()
.optional()
.nullable()
.describe(`The ID or name of the organization (Default: ${defaultOrg})`),
projectId: z
.string()
.optional()
.nullable()
.describe(`The ID or name of the project (Default: ${defaultProject})`),
wikiId: z.string().describe('The ID or name of the wiki'),
pagePath: z.string().describe('The path of the page within the wiki'),
});