UNPKG

@mintlify/validation

Version:

Validates mint.json files

9 lines (8 loc) 406 B
import { z } from 'zod'; export const feedbackSchema = z .object({ thumbs: z.boolean().optional().describe('Whether to enable thumbs up/down feedback'), edits: z.boolean().optional().describe('Whether to enable edit suggestions feedback'), issues: z.boolean().optional().describe('Whether to enable issue reporting feedback'), }) .describe('Feedback options presented to the viewers');