Skip to main content
Glama
expression-format-validator.d.ts1.28 kB
export interface ExpressionFormatIssue { fieldPath: string; currentValue: any; correctedValue: any; issueType: 'missing-prefix' | 'needs-resource-locator' | 'invalid-rl-structure' | 'mixed-format'; explanation: string; severity: 'error' | 'warning'; confidence?: number; } export interface ResourceLocatorField { __rl: true; value: string; mode: string; } export interface ValidationContext { nodeType: string; nodeName: string; nodeId?: string; } export declare class ExpressionFormatValidator { private static readonly VALID_RL_MODES; private static readonly MAX_RECURSION_DEPTH; private static readonly EXPRESSION_PREFIX; private static readonly RESOURCE_LOCATOR_FIELDS; private static shouldUseResourceLocator; private static isResourceLocator; private static generateCorrection; static validateAndFix(value: any, fieldPath: string, context: ValidationContext): ExpressionFormatIssue | null; static validateNodeParameters(parameters: any, context: ValidationContext): ExpressionFormatIssue[]; private static validateRecursive; static formatErrorMessage(issue: ExpressionFormatIssue, context: ValidationContext): string; } //# sourceMappingURL=expression-format-validator.d.ts.map

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/czlonkowski/n8n-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server