mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): update UI for new metadata
- Update for new routes - Update model storage in state to be `MainModelField` type instead of `string`, simplifies a lot of model handling - Update model-related stuff for model `name` --> `model_name` - Update linear graphs to use `MetadataAccumulator` - Update `ImageMetadataViewer` UI - Ensure all `recall` functions work (well, the ones that are active anyways)
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { FullTagDescription } from '@reduxjs/toolkit/dist/query/endpointDefinitions';
|
||||
import {
|
||||
BaseQueryFn,
|
||||
FetchArgs,
|
||||
@ -5,10 +6,9 @@ import {
|
||||
createApi,
|
||||
fetchBaseQuery,
|
||||
} from '@reduxjs/toolkit/query/react';
|
||||
import { FullTagDescription } from '@reduxjs/toolkit/dist/query/endpointDefinitions';
|
||||
import { $authToken, $baseUrl } from 'services/api/client';
|
||||
|
||||
export const tagTypes = ['Board', 'Image', 'Model'];
|
||||
export const tagTypes = ['Board', 'Image', 'ImageMetadata', 'Model'];
|
||||
export type ApiFullTagDescription = FullTagDescription<
|
||||
(typeof tagTypes)[number]
|
||||
>;
|
||||
|
Reference in New Issue
Block a user