[Frontend] Marc/frontend granular city/state geo proxy (#4156)
This commit is contained in:
@@ -244,7 +244,7 @@ function RunWorkflowForm({
|
||||
defaultValues: {
|
||||
...initialValues,
|
||||
webhookCallbackUrl: initialSettings.webhookCallbackUrl,
|
||||
proxyLocation: initialSettings.proxyLocation,
|
||||
proxyLocation: initialSettings.proxyLocation ?? ProxyLocation.Residential,
|
||||
browserSessionId: null,
|
||||
cdpAddress: initialSettings.cdpAddress,
|
||||
maxScreenshotScrolls: initialSettings.maxScreenshotScrolls,
|
||||
@@ -342,7 +342,7 @@ function RunWorkflowForm({
|
||||
form.reset({
|
||||
...initialValues,
|
||||
webhookCallbackUrl: initialSettings.webhookCallbackUrl,
|
||||
proxyLocation: initialSettings.proxyLocation,
|
||||
proxyLocation: initialSettings.proxyLocation ?? ProxyLocation.Residential,
|
||||
browserSessionId: null,
|
||||
cdpAddress: initialSettings.cdpAddress,
|
||||
maxScreenshotScrolls: initialSettings.maxScreenshotScrolls,
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { RunEngine } from "@/api/types";
|
||||
import { ProxyLocation, RunEngine } from "@/api/types";
|
||||
import { WorkflowBlockType } from "./workflowTypes";
|
||||
import { WorkflowModel } from "./workflowTypes";
|
||||
|
||||
export type WorkflowCreateYAMLRequest = {
|
||||
title: string;
|
||||
description?: string | null;
|
||||
proxy_location?: string | null;
|
||||
proxy_location?: ProxyLocation | null;
|
||||
webhook_callback_url?: string | null;
|
||||
persist_browser_session?: boolean;
|
||||
model?: WorkflowModel | null;
|
||||
|
||||
Reference in New Issue
Block a user