You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
651 B
JavaScript
27 lines
651 B
JavaScript
import cleanAuthor from './author';
|
|
import cleanImage from './lead-image-url';
|
|
import cleanDek from './dek';
|
|
import cleanDatePublished from './date-published';
|
|
import cleanContent from './content';
|
|
import cleanTitle from './title';
|
|
|
|
const Cleaners = {
|
|
author: cleanAuthor,
|
|
leadImageUrl: cleanImage,
|
|
dek: cleanDek,
|
|
datePublished: cleanDatePublished,
|
|
content: cleanContent,
|
|
title: cleanTitle,
|
|
};
|
|
|
|
|
|
export default Cleaners;
|
|
|
|
export { cleanAuthor };
|
|
export { cleanImage };
|
|
export { cleanDek };
|
|
export { cleanDatePublished };
|
|
export { cleanContent };
|
|
export { cleanTitle };
|
|
export { default as resolveSplitTitle } from './resolve-split-title';
|