mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-02-06 13:33:11 +00:00
chore: add pre-built dist folder for npx usage
This commit is contained in:
committed by
Romuald Członkowski
parent
a70d96a373
commit
5057481e70
33
dist/services/expression-format-validator.d.ts
vendored
Normal file
33
dist/services/expression-format-validator.d.ts
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
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
|
||||
Reference in New Issue
Block a user