InvokeAI/invokeai/app/util
psychedelicious 035425ef24 feat(nodes): address feedback
- Address database feedback:
  - Remove all the extraneous tables. Only an `images` table now:
  - `image_type` and `image_category` are unrestricted strings. When creating images, the provided values are checked to ensure they are a valid type and category.
  - Add `updated_at` and `deleted_at` columns. `deleted_at` is currently unused.
  - Use SQLite's built-in timestamp features to populate these. Add a trigger to update `updated_at` when the row is updated. Currently no way to update a row.
  - Rename the `id` column in `images` to `image_name`
- Rename `ImageCategory.IMAGE` to `ImageCategory.GENERAL`
- Move all exceptions outside their base classes to make them more portable.
- Add `width` and `height` columns to the database. These store the actual dimensions of the image file, whereas the metadata's `width` and `height` refer to the respective generation parameters and are nullable.
- Make `deserialize_image_record` take a `dict` instead of `sqlite3.Row`
- Improve comments throughout
- Tidy up unused code/files and some minor organisation
2023-05-24 11:30:47 -04:00
..
__init__.py feat(nodes): add list_images endpoint 2023-04-09 13:48:44 +10:00
metaenum.py feat(nodes): address feedback 2023-05-24 11:30:47 -04:00
misc.py feat(nodes): add high-level images service 2023-05-24 11:30:47 -04:00
step_callback.py Partial migration of UI to nodes API (#3195) 2023-04-22 13:10:20 +10:00
thumbnails.py Partial migration of UI to nodes API (#3195) 2023-04-22 13:10:20 +10:00