diff --git a/src/frontend/src/constants/constants.ts b/src/frontend/src/constants/constants.ts index af079c739..a8f3ab1cb 100644 --- a/src/frontend/src/constants/constants.ts +++ b/src/frontend/src/constants/constants.ts @@ -1,7 +1,6 @@ // src/constants/constants.ts import { languageMap } from "../types/components"; -import { FlowType } from "../types/flow"; /** * invalid characters for flow name @@ -750,75 +749,5 @@ export const NATIVE_CATEGORIES = [ "helpers", "experimental", ]; -/* -Data ingestion -Basic Prompting -Chat com memória -Working with data (file/website) -API requests -Vector Store -Assistant -*/ -export const EXAMPLES_MOCK: FlowType[] = [ - { - name: "Working with data", - id: "Working with data Description", - data: { - nodes: [], - edges: [], - viewport: { zoom: 1, x: 1, y: 1 }, - }, - description: "This flow represents the first process in our application.", - folder: STARTER_FOLDER_NAME, - user_id: undefined, - }, - { - name: "Basic Prompting", - id: "Basic Prompting Description", - data: { - nodes: [], - edges: [], - viewport: { zoom: 1, x: 1, y: 1 }, - }, - description: "This flow represents the first process in our application.", - folder: STARTER_FOLDER_NAME, - user_id: undefined, - }, - { - name: "Chat with memory", - id: "Chat with memory Description", - data: { - nodes: [], - edges: [], - viewport: { zoom: 1, x: 1, y: 1 }, - }, - description: "This flow represents the first process in our application.", - folder: STARTER_FOLDER_NAME, - user_id: undefined, - }, - { - name: "API requests", - id: "API requests Description", - data: { - nodes: [], - edges: [], - viewport: { zoom: 1, x: 1, y: 1 }, - }, - description: "This flow represents the first process in our application.", - folder: STARTER_FOLDER_NAME, - user_id: undefined, - }, - { - name: "Assistant", - id: "Assistant Description", - data: { - nodes: [], - edges: [], - viewport: { zoom: 1, x: 1, y: 1 }, - }, - description: "This flow represents the first process in our application.", - folder: STARTER_FOLDER_NAME, - user_id: undefined, - }, -]; +export const SAVE_DEBOUNCE_TIME = 500;