Rework state management arch for blocks (fix rando max recursion errors, maybe other bugs) (#3755)
This commit is contained in:
@@ -11,9 +11,14 @@ export interface WorkflowSettingsState {
|
||||
persistBrowserSession: boolean;
|
||||
model: WorkflowModel | null;
|
||||
maxScreenshotScrollingTimes: number | null;
|
||||
extraHttpHeaders: string | null;
|
||||
extraHttpHeaders: string | Record<string, unknown> | null;
|
||||
setWorkflowSettings: (
|
||||
settings: Partial<Omit<WorkflowSettingsState, "setWorkflowSettings">>,
|
||||
settings: Partial<
|
||||
Omit<
|
||||
WorkflowSettingsState,
|
||||
"setWorkflowSettings" | "resetWorkflowSettings"
|
||||
>
|
||||
>,
|
||||
) => void;
|
||||
resetWorkflowSettings: () => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user