Open rupertj opened 1 week ago
Let's call the thing being passed between the plugins an "Import" for the moment. The Import interface will need:
And that's it for the current functionality. In time, we might want Imports to be a content entity, so we can persist them. Then we can move processing to cron, upload them in big batches, etc.
We want to make each step in the process customisable via plugins:
We'll need a representation of the PDF being imported that we'll pass between these. (Currently, the prototype just uses what it gets back from smalot/pdfparser, but we don't want to be attached to that.)