chore: add pre-built dist folder for npx usage

This commit is contained in:
thesved
2025-12-04 20:22:02 +02:00
committed by Romuald Członkowski
parent a70d96a373
commit 5057481e70
716 changed files with 48021 additions and 0 deletions

21
dist/utils/template-sanitizer.d.ts vendored Normal file
View 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