Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

dx(frontend): untrack auto-generated API client model files (#12778)

Zamil Majdyb4cd00bea97f
diff --git a/autogpt_platform/frontend/src/app/api/__generated__/models/blockOutputResponse.ts b/autogpt_platform/frontend/src/app/api/__generated__/models/blockOutputResponse.ts
deleted file mode 100644
index a25b1a04d3..0000000000
--- a/autogpt_platform/frontend/src/app/api/__generated__/models/blockOutputResponse.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * Generated by orval v7.13.0 🍺
- * Do not edit manually.
- * AutoGPT Agent Server
- * This server is used to execute agents that are created by the AutoGPT system.
- * OpenAPI spec version: 0.1
- */
-import type { ResponseType } from "./responseType";
-import type { BlockOutputResponseSessionId } from "./blockOutputResponseSessionId";
-import type { BlockOutputResponseOutputs } from "./blockOutputResponseOutputs";
-import type { BlockOutputResponseIsDryRun } from "./blockOutputResponseIsDryRun";
-
-/**
- * Response for run_block tool.
- */
-export interface BlockOutputResponse {
- type?: ResponseType;
- message: string;
- session_id?: BlockOutputResponseSessionId;
- block_id: string;
- block_name: string;
- outputs: BlockOutputResponseOutputs;
- success?: boolean;
- is_dry_run?: BlockOutputResponseIsDryRun;
-}
diff --git a/autogpt_platform/frontend/src/app/api/__generated__/models/graphExecutionMeta.ts b/autogpt_platform/frontend/src/app/api/__generated__/models/graphExecutionMeta.ts
deleted file mode 100644
index c8bf7115ce..0000000000
--- a/autogpt_platform/frontend/src/app/api/__generated__/models/graphExecutionMeta.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Generated by orval v7.13.0 🍺
- * Do not edit manually.
- * AutoGPT Agent Server
- * This server is used to execute agents that are created by the AutoGPT system.
- * OpenAPI spec version: 0.1
- */
-import type { GraphExecutionMetaInputs } from "./graphExecutionMetaInputs";
-import type { GraphExecutionMetaCredentialInputs } from "./graphExecutionMetaCredentialInputs";
-import type { GraphExecutionMetaNodesInputMasks } from "./graphExecutionMetaNodesInputMasks";
-import type { GraphExecutionMetaPresetId } from "./graphExecutionMetaPresetId";
-import type { AgentExecutionStatus } from "./agentExecutionStatus";
-import type { GraphExecutionMetaStartedAt } from "./graphExecutionMetaStartedAt";
-import type { GraphExecutionMetaEndedAt } from "./graphExecutionMetaEndedAt";
-import type { GraphExecutionMetaShareToken } from "./graphExecutionMetaShareToken";
-import type { GraphExecutionMetaStats } from "./graphExecutionMetaStats";
-
-export interface GraphExecutionMeta {
- id: string;
- user_id: string;
- graph_id: string;
- graph_version: number;
- inputs: GraphExecutionMetaInputs;
- credential_inputs: GraphExecutionMetaCredentialInputs;
- nodes_input_masks: GraphExecutionMetaNodesInputMasks;
- preset_id: GraphExecutionMetaPresetId;
- status: AgentExecutionStatus;
- /** When execution started running. Null if not yet started (QUEUED). */
- started_at?: GraphExecutionMetaStartedAt;
- /** When execution finished. Null if not yet completed (QUEUED, RUNNING, INCOMPLETE, REVIEW). */
- ended_at?: GraphExecutionMetaEndedAt;
- is_shared?: boolean;
- share_token?: GraphExecutionMetaShareToken;
- is_dry_run?: boolean;
- stats: GraphExecutionMetaStats;
-}
diff --git a/autogpt_platform/frontend/src/app/api/__generated__/models/suggestedPromptsResponse.ts b/autogpt_platform/frontend/src/app/api/__generated__/models/suggestedPromptsResponse.ts
deleted file mode 100644
index 9f8b44c585..0000000000
--- a/autogpt_platform/frontend/src/app/api/__generated__/models/suggestedPromptsResponse.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Generated by orval v7.13.0 🍺
- * Do not edit manually.
- * AutoGPT Agent Server
- * This server is used to execute agents that are created by the AutoGPT system.
- * OpenAPI spec version: 0.1
- */
-import type { SuggestedTheme } from "./suggestedTheme";
-
-/**
- * Response model for user-specific suggested prompts grouped by theme.
- */
-export interface SuggestedPromptsResponse {
- themes: SuggestedTheme[];
-}
diff --git a/autogpt_platform/frontend/src/app/api/__generated__/models/suggestedTheme.ts b/autogpt_platform/frontend/src/app/api/__generated__/models/suggestedTheme.ts
deleted file mode 100644
index 5fec92e394..0000000000
--- a/autogpt_platform/frontend/src/app/api/__generated__/models/suggestedTheme.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Generated by orval v7.13.0 🍺
- * Do not edit manually.
- * AutoGPT Agent Server
- * This server is used to execute agents that are created by the AutoGPT system.
- * OpenAPI spec version: 0.1
- */
-
-/**
- * A themed group of suggested prompts.
- */
-export interface SuggestedTheme {
- name: string;
- prompts: string[];
-}