InvokeAI/invokeai/frontend/web
psychedelicious a3179e7a3f feat(ui): normalize all actions to accept an entityIdentifier
Previously, canvas actions specific to an entity type only needed the id of that entity type. This allowed you to pass in the id of an entity of the wrong type.

All actions for a specific entity now take a full entity identifier, and the entity identifier type can be narrowed.

`selectEntity` and `selectEntityOrThrow` now need a full entity identifier, and narrow their return values to a specific entity type _if_ the entity identifier is narrowed.

The types for canvas entities are updated with optional type parameters for this purpose.

All reducers, actions and components have been updated.
2024-08-30 22:20:12 +10:00
..
.storybook refactor(ui): fix more types 2024-08-30 22:18:47 +10:00
patches feat(ui): patch reselect to use lruMemoize only 2024-01-06 00:03:07 +11:00
public feat(ui): duplicate entity 2024-08-30 22:20:12 +10:00
scripts chore(ui): eslint 2024-08-30 22:19:54 +10:00
src feat(ui): normalize all actions to accept an entityIdentifier 2024-08-30 22:20:12 +10:00
static/docs feat(ui): update assets 2024-01-12 08:02:59 +11:00
__init__.py
.eslintignore
.eslintrc.js build(ui): add eslint rules for async stuff 2024-08-30 22:18:49 +10:00
.gitignore tests(ui): set up vitest coverage 2024-05-15 14:09:44 +10:00
.prettierignore
.prettierrc.js chore(ui): use new prettier config 2024-01-28 19:57:53 +11:00
index.html Add ID to the HTML link element 2024-04-15 07:54:36 +10:00
knip.ts tidy(ui): remove unused stuff 2 2024-08-30 22:18:50 +10:00
package.json chore(ui): bump @invoke-ai/ui-library 2024-08-30 22:20:12 +10:00
pnpm-lock.yaml chore(ui): bump @invoke-ai/ui-library 2024-08-30 22:20:12 +10:00
README.md docs: move frontend docs to mkdocs 2024-03-13 22:43:20 +11:00
tsconfig.json build(ui): add vite types to tsconfig 2024-08-30 22:18:49 +10:00
tsconfig.node.json fix(ui): fix package build 2024-03-01 10:42:33 +11:00
vite.config.mts tests(ui): set up vitest coverage 2024-05-15 14:09:44 +10:00