InvokeAI/invokeai/frontend
psychedelicious ca07449fb4 fix(ui): add typeguard for action.payload
In the latest redux, unknown actions are typed as `unknown`. This forces type-safety upon us, requiring us to be more careful about the shape of actions.

In this case, we don't know if the rejection has a payload or what shape it may be in, so we need to do runtime checks. This is implemented with a simple zod schema, but probably the right way to handle this is to have consistent types in our RTK-Query error logic.
2023-12-09 16:09:26 +11:00
..
CLI Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
install chore: ruff format 2023-11-11 10:55:40 +11:00
merge chore: ruff check - fix flake8-comprensions 2023-11-11 10:55:23 +11:00
training chore: ruff check - fix flake8-comprensions 2023-11-11 10:55:23 +11:00
web fix(ui): add typeguard for action.payload 2023-12-09 16:09:26 +11:00
__init__.py Run python black 2023-07-28 09:46:44 -04:00
legacy_launch_invokeai.py isort wip 2023-09-12 13:01:58 -04:00