Skip to content

Commit

Permalink
chore(ui): Update openapi ts client
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllimyt committed Dec 22, 2024
1 parent c291d17 commit 0d820b9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 20 deletions.
16 changes: 6 additions & 10 deletions frontend/src/client/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,13 +508,12 @@ export const $CreateWorkflowExecutionParams = {
},
inputs: {
anyOf: [
{
'$ref': '#/components/schemas/JsonValue'
},
{},
{
type: 'null'
}
]
],
title: 'Inputs'
}
},
type: 'object',
Expand Down Expand Up @@ -755,13 +754,12 @@ export const $DSLRunArgs = {
},
trigger_inputs: {
anyOf: [
{
'$ref': '#/components/schemas/JsonValue'
},
{},
{
type: 'null'
}
]
],
title: 'Trigger Inputs'
},
parent_run_context: {
anyOf: [
Expand Down Expand Up @@ -1225,8 +1223,6 @@ export const $JoinStrategy = {
title: 'JoinStrategy'
} as const;

export const $JsonValue = {} as const;

export const $OAuth2AuthorizeResponse = {
properties: {
authorization_url: {
Expand Down
14 changes: 4 additions & 10 deletions frontend/src/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export type status = 'success' | 'failure';

export type CreateWorkflowExecutionParams = {
workflow_id: string;
inputs?: JsonValue | null;
inputs?: unknown | null;
};

export type CreateWorkflowExecutionResponse = {
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -383,8 +383,6 @@ export type HTTPValidationError = {

export type JoinStrategy = 'any' | 'all';

export type JsonValue = unknown;

export type OAuth2AuthorizeResponse = {
authorization_url: string;
};
Expand Down Expand Up @@ -1199,9 +1197,7 @@ export type PublicIncomingWebhookWaitData = {
secret: string;
};

export type PublicIncomingWebhookWaitResponse = {
[key: string]: unknown;
};
export type PublicIncomingWebhookWaitResponse = unknown;

export type WorkspacesListWorkspacesResponse = Array<WorkspaceMetadataResponse>;

Expand Down Expand Up @@ -1770,9 +1766,7 @@ export type $OpenApiTs = {
/**
* Successful Response
*/
200: {
[key: string]: unknown;
};
200: unknown;
/**
* Validation Error
*/
Expand Down

0 comments on commit 0d820b9

Please sign in to comment.