diff --git a/apps/sim/stores/folders/index.ts b/apps/sim/stores/folders/index.ts index 64c2a62a0b9..5b58f0404c2 100644 --- a/apps/sim/stores/folders/index.ts +++ b/apps/sim/stores/folders/index.ts @@ -1,2 +1,2 @@ export { useFolderStore, useIsFolderSelected, useIsWorkflowSelected } from './store' -export type { FolderTreeNode, Workflow, WorkflowFolder } from './types' +export type { FolderTreeNode, WorkflowFolder } from './types' diff --git a/apps/sim/stores/folders/store.ts b/apps/sim/stores/folders/store.ts index 88a5211e6bf..fcd27736e59 100644 --- a/apps/sim/stores/folders/store.ts +++ b/apps/sim/stores/folders/store.ts @@ -301,6 +301,3 @@ export const useIsWorkflowSelected = (workflowId: string) => export const useIsFolderSelected = (folderId: string) => useFolderStore((state) => state.selectedFolders.has(folderId)) - -export const useIsTaskSelected = (taskId: string) => - useFolderStore((state) => state.selectedTasks.has(taskId)) diff --git a/apps/sim/stores/folders/types.ts b/apps/sim/stores/folders/types.ts index 5982f6ed5eb..e028366617b 100644 --- a/apps/sim/stores/folders/types.ts +++ b/apps/sim/stores/folders/types.ts @@ -1,13 +1,3 @@ -export interface Workflow { - id: string - folderId?: string | null - name?: string - description?: string - userId?: string - workspaceId?: string - [key: string]: any // For additional properties -} - export interface WorkflowFolder { id: string name: string diff --git a/apps/sim/stores/notifications/index.ts b/apps/sim/stores/notifications/index.ts index 9e193094004..7c91679cf80 100644 --- a/apps/sim/stores/notifications/index.ts +++ b/apps/sim/stores/notifications/index.ts @@ -1,7 +1,3 @@ export { useNotificationStore } from './store' -export type { - AddNotificationParams, - Notification, - NotificationAction, -} from './types' +export type { Notification, NotificationAction } from './types' export { sendMothershipMessage } from './utils' diff --git a/apps/sim/stores/terminal/console/index.ts b/apps/sim/stores/terminal/console/index.ts index af22e59bb0c..cbebcdaf387 100644 --- a/apps/sim/stores/terminal/console/index.ts +++ b/apps/sim/stores/terminal/console/index.ts @@ -7,12 +7,4 @@ export { } from './storage' export { useConsoleEntry, useTerminalConsoleStore, useWorkflowConsoleEntries } from './store' export type { ConsoleEntry, ConsoleStore, ConsoleUpdate } from './types' -export { - normalizeConsoleError, - normalizeConsoleInput, - normalizeConsoleOutput, - safeConsoleStringify, - TERMINAL_CONSOLE_LIMITS, - trimConsoleEntries, - trimWorkflowConsoleEntries, -} from './utils' +export { safeConsoleStringify } from './utils' diff --git a/apps/sim/stores/terminal/index.ts b/apps/sim/stores/terminal/index.ts index 42854c0854c..5fdd3cc22a2 100644 --- a/apps/sim/stores/terminal/index.ts +++ b/apps/sim/stores/terminal/index.ts @@ -4,14 +4,8 @@ export { consolePersistence, type ExecutionPointer, loadExecutionPointer, - normalizeConsoleError, - normalizeConsoleInput, - normalizeConsoleOutput, safeConsoleStringify, saveExecutionPointer, - TERMINAL_CONSOLE_LIMITS, - trimConsoleEntries, - trimWorkflowConsoleEntries, useConsoleEntry, useTerminalConsoleStore, useWorkflowConsoleEntries, diff --git a/apps/sim/stores/variables/index.ts b/apps/sim/stores/variables/index.ts index d64ccb216a5..c468958196d 100644 --- a/apps/sim/stores/variables/index.ts +++ b/apps/sim/stores/variables/index.ts @@ -1,5 +1,4 @@ export { - getDefaultVariablesDimensions, getVariablesPosition, MAX_VARIABLES_HEIGHT, MAX_VARIABLES_WIDTH, diff --git a/apps/sim/stores/variables/modal.ts b/apps/sim/stores/variables/modal.ts index be8ff2915b7..157dcd75339 100644 --- a/apps/sim/stores/variables/modal.ts +++ b/apps/sim/stores/variables/modal.ts @@ -1,10 +1,6 @@ import { create } from 'zustand' import { devtools, persist } from 'zustand/middleware' -import type { - VariablesDimensions, - VariablesModalStore, - VariablesPosition, -} from '@/stores/variables/types' +import type { VariablesModalStore, VariablesPosition } from '@/stores/variables/types' /** * Floating variables modal default dimensions. @@ -135,11 +131,3 @@ export const useVariablesModalStore = create()( { name: 'variables-modal-store' } ) ) - -/** - * Get default floating variables modal dimensions. - */ -export const getDefaultVariablesDimensions = (): VariablesDimensions => ({ - width: DEFAULT_WIDTH, - height: DEFAULT_HEIGHT, -})