mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2025-01-22 13:38:38 +01:00
22 lines
514 B
TypeScript
22 lines
514 B
TypeScript
import Item from '../Item';
|
|
import ItemResult from '../ItemResult';
|
|
import ItemTransformer from './ItemTransformer';
|
|
import TransformContext from './TransformContext';
|
|
|
|
export default class NoOpTransformer extends ItemTransformer {
|
|
constructor() {
|
|
super('Does nothing', 'Simply for displaying the results.', {
|
|
debug: {
|
|
showAll: true,
|
|
},
|
|
});
|
|
}
|
|
|
|
transform(_: TransformContext, inputItems: Item[]): ItemResult {
|
|
return {
|
|
items: inputItems,
|
|
messages: [],
|
|
};
|
|
}
|
|
}
|