diff --git a/frontend/src/client/schemas.gen.ts b/frontend/src/client/schemas.gen.ts index 49481e52d..f234c1c5a 100644 --- a/frontend/src/client/schemas.gen.ts +++ b/frontend/src/client/schemas.gen.ts @@ -508,13 +508,12 @@ export const $CreateWorkflowExecutionParams = { }, inputs: { anyOf: [ - { - '$ref': '#/components/schemas/JsonValue' - }, + {}, { type: 'null' } - ] + ], + title: 'Inputs' } }, type: 'object', @@ -755,13 +754,12 @@ export const $DSLRunArgs = { }, trigger_inputs: { anyOf: [ - { - '$ref': '#/components/schemas/JsonValue' - }, + {}, { type: 'null' } - ] + ], + title: 'Trigger Inputs' }, parent_run_context: { anyOf: [ @@ -1225,8 +1223,6 @@ export const $JoinStrategy = { title: 'JoinStrategy' } as const; -export const $JsonValue = {} as const; - export const $OAuth2AuthorizeResponse = { properties: { authorization_url: { diff --git a/frontend/src/client/types.gen.ts b/frontend/src/client/types.gen.ts index 141c2fd32..5bdbe442b 100644 --- a/frontend/src/client/types.gen.ts +++ b/frontend/src/client/types.gen.ts @@ -160,7 +160,7 @@ export type status = 'success' | 'failure'; export type CreateWorkflowExecutionParams = { workflow_id: string; - inputs?: JsonValue | null; + inputs?: unknown | null; }; export type CreateWorkflowExecutionResponse = { @@ -268,7 +268,7 @@ export type DSLRunArgs = { role: Role; dsl?: DSLInput | null; wf_id: string; - trigger_inputs?: JsonValue | null; + trigger_inputs?: unknown | null; parent_run_context?: RunContext | null; /** * Runtime configuration that can be set on workflow entry. Note that this can override the default config in DSLInput. @@ -383,8 +383,6 @@ export type HTTPValidationError = { export type JoinStrategy = 'any' | 'all'; -export type JsonValue = unknown; - export type OAuth2AuthorizeResponse = { authorization_url: string; }; @@ -1199,9 +1197,7 @@ export type PublicIncomingWebhookWaitData = { secret: string; }; -export type PublicIncomingWebhookWaitResponse = { - [key: string]: unknown; -}; +export type PublicIncomingWebhookWaitResponse = unknown; export type WorkspacesListWorkspacesResponse = Array; @@ -1770,9 +1766,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 200: { - [key: string]: unknown; - }; + 200: unknown; /** * Validation Error */