import {
	checkMaxModules,
	cleanContent,
	cleanPageValues,
	evaluateComputedFields,
	findByComponent,
	findByEditorID,
	generateEditorIDs,
	getLastComponentEditorID,
	getLastModuleEditorID,
	getNewBreadcrumb,
	getParentKey,
	parseData,
} from "./editor";
import {
	addElement,
	deleteComponent,
	getUpdatedComponents,
	getUpdatedSections,
	moveElement,
	moveModule,
	replaceElements,
	updateByEditorID,
	updateComponent,
	updateElementCollection,
} from "./elements";
import { getInnerFields, getStructuredDataInnerFields } from "./fields";
import {
	checkH1content,
	findFieldsErrors,
	findMandatoryStructuredDataErrors,
	findPackagesActivationErrors,
	getValidity,
	isTemplateActivated,
	parseValidationErrors,
} from "./validators";

export {
	parseData,
	cleanContent,
	findByEditorID,
	generateEditorIDs,
	getNewBreadcrumb,
	cleanPageValues,
	getUpdatedComponents,
	updateComponent,
	getUpdatedSections,
	deleteComponent,
	replaceElements,
	updateByEditorID,
	moveModule,
	moveElement,
	getInnerFields,
	getStructuredDataInnerFields,
	getLastModuleEditorID,
	getLastComponentEditorID,
	getParentKey,
	getValidity,
	findPackagesActivationErrors,
	findFieldsErrors,
	isTemplateActivated,
	findMandatoryStructuredDataErrors,
	checkH1content,
	parseValidationErrors,
	checkMaxModules,
	evaluateComputedFields,
	findByComponent,
	updateElementCollection,
	addElement,
};
