UNPKG

@rhofkens/mcp-quotes-server-claude-code

Version:

Model Context Protocol (MCP) server for managing and serving quotes

55 lines 1.45 kB
/** * MCP Quotes Server - Template Validator * * Validates quote templates against schema and business rules */ import type { IQuoteTemplate, ITemplateValidationResult, ITemplateVariable } from '../../../types/templates.js'; /** * Template validator class */ export declare class TemplateValidator { /** * Validate a complete template */ static validate(template: IQuoteTemplate): ITemplateValidationResult; /** * Validate template metadata */ private static validateMetadata; /** * Validate template content */ private static validateContent; /** * Validate template variables */ private static validateVariables; /** * Validate output format configuration */ private static validateOutputFormat; /** * Validate template examples */ private static validateExamples; /** * Extract variable placeholders from template content */ private static extractPlaceholders; /** * Validate semantic version string */ private static isValidVersion; /** * Validate variable value against type */ private static validateVariableValue; /** * Validate variable value with validation rules */ static validateVariableWithRules(variable: ITemplateVariable, value: any): { isValid: boolean; error?: string; }; } //# sourceMappingURL=templateValidator.d.ts.map