UNPKG

@camunda/form-js-assistant-module

Version:

form-js AI assistant module enabling generative features

12 lines (11 loc) 645 B
import postGenerationCleanup from './strategies/postGenerationCleanup'; /** * Applies a sanitation strategy to a form and its components. * * @param {Object} form - The form object to sanitize. * @param {Object} sanitationStrategy - The strategy for sanitizing the form and components. * @property {Array.<{run: Function, name: string}>} formSanitationSteps - List of sanitation steps for the form. * @property {Array.<{run: Function, name: string}>} componentSanitationSteps - List of sanitation steps for the components. */ export function runSanitation(form: any, sanitationStrategy: any): any; export { postGenerationCleanup };