mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-16 07:35:24 -05:00
feat(ui): add upload button to control layer
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { CanvasEntityIdentifier } from 'features/controlLayers/store/types';
|
||||
import type { components, paths } from 'services/api/schema';
|
||||
import type { O } from 'ts-toolbelt';
|
||||
|
||||
@@ -219,10 +220,16 @@ type AddToBatchAction = {
|
||||
type: 'ADD_TO_BATCH';
|
||||
};
|
||||
|
||||
type ReplaceLayerWithImagePostUploadAction = {
|
||||
type: 'REPLACE_LAYER_WITH_IMAGE';
|
||||
entityIdentifier: CanvasEntityIdentifier<'control_layer' | 'raster_layer'>;
|
||||
};
|
||||
|
||||
export type PostUploadAction =
|
||||
| NodesAction
|
||||
| ToastAction
|
||||
| AddToBatchAction
|
||||
| IPALayerImagePostUploadAction
|
||||
| RGIPAdapterImagePostUploadAction
|
||||
| UpscaleInitialImageAction;
|
||||
| UpscaleInitialImageAction
|
||||
| ReplaceLayerWithImagePostUploadAction;
|
||||
|
||||
Reference in New Issue
Block a user