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
21
dist/utils/template-sanitizer.d.ts
vendored
Normal file
21
dist/utils/template-sanitizer.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
export interface SanitizerConfig {
|
||||
problematicTokens: string[];
|
||||
tokenPatterns: RegExp[];
|
||||
replacements: Map<string, string>;
|
||||
}
|
||||
export declare const defaultSanitizerConfig: SanitizerConfig;
|
||||
export declare class TemplateSanitizer {
|
||||
private config;
|
||||
constructor(config?: SanitizerConfig);
|
||||
addProblematicToken(token: string): void;
|
||||
addTokenPattern(pattern: RegExp, replacement: string): void;
|
||||
sanitizeWorkflow(workflow: any): {
|
||||
sanitized: any;
|
||||
wasModified: boolean;
|
||||
};
|
||||
needsSanitization(workflow: any): boolean;
|
||||
detectTokens(workflow: any): string[];
|
||||
private sanitizeObject;
|
||||
private replaceTokens;
|
||||
}
|
||||
//# sourceMappingURL=template-sanitizer.d.ts.map
|
||||
Reference in New Issue
Block a user