mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
add actions for workflow library (#5669)
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { createAction } from '@reduxjs/toolkit';
|
||||
import type { WorkflowCategory } from 'features/nodes/types/workflow';
|
||||
|
||||
export const workflowDownloaded = createAction('workflowLibrary/workflowDownloaded');
|
||||
|
||||
export const workflowLoadedFromFile = createAction('workflowLibrary/workflowLoadedFromFile');
|
||||
|
||||
export const newWorkflowSaved = createAction<{ category: WorkflowCategory }>('workflowLibrary/newWorkflowSaved');
|
||||
|
||||
export const workflowUpdated = createAction('workflowLibrary/workflowUpdated');
|
||||
Reference in New Issue
Block a user