Current high-level phase of the workflow
Granular stage within the 'initializing' phase
Current batch validation state, or null while initializing
Validation progress counters, or null while initializing
Number of recipes successfully saved to the database
Recipes omitted from the import because they had no valid ingredient names. Populated at two points: before validation (pre-validation skips) and after import (post-mapping skips where all ingredients were mapped away).
Error message when phase is 'error', otherwise null
Stable handler callbacks to pass to child components
Return value of the useValidationWorkflow hook