MCPcopy Create free account

hub / github.com/NickTikhonov/snap-ql / functions

Functions146 in github.com/NickTikhonov/snap-ql

↓ 168 callersFunctioncn
(...inputs: ClassValue[])
src/renderer/src/lib/utils.ts:4
↓ 17 callersFunctiontoast
({ ...props }: Toast)
src/renderer/src/hooks/use-toast.ts:137
↓ 12 callersFunctiongetGlobalSettings
()
src/main/lib/state.ts:97
↓ 10 callersFunctioncreateConnection
( name: string, connectionMetadata: z.infer<typeof connectionSettingsSchema> )
src/main/lib/state.ts:226
↓ 8 callersFunctionloadConnectionData
()
src/renderer/src/components/ConnectionDialog.tsx:57
↓ 8 callersFunctionsettingsPath
()
src/main/__tests__/state.integration.test.ts:56
↓ 7 callersFunctiongetConnectionFavorites
( name: string )
src/main/lib/state.ts:351
↓ 6 callersFunctionconnectionDir
(connectionName: string)
src/main/lib/state.ts:69
↓ 6 callersFunctiongetConnectionHistory
( name: string )
src/main/lib/state.ts:302
↓ 6 callersFunctionparseConnectionString
(connectionString: string)
src/main/lib/db.ts:8
↓ 6 callersFunctionsetGlobalSettings
(settings: z.infer<typeof globalSettingsSchema>)
src/main/lib/state.ts:113
↓ 6 callersFunctionuseToast
()
src/renderer/src/hooks/use-toast.ts:166
↓ 5 callersFunctiondispatch
(action: Action)
src/renderer/src/hooks/use-toast.ts:128
↓ 5 callersFunctiongetConnectionPromptExtension
(name: string)
src/main/lib/state.ts:406
↓ 4 callersFunctiongetAiProvider
()
src/main/lib/state.ts:192
↓ 4 callersFunctiongetConnection
( name: string )
src/main/lib/state.ts:285
↓ 4 callersFunctiongetConnectionSettings
( connectionName: string )
src/main/lib/state.ts:129
↓ 4 callersFunctiongetConnectionStringForConnection
(name: string)
src/main/lib/state.ts:154
↓ 4 callersFunctionloadConnections
()
src/renderer/src/components/Sidebar.tsx:61
↓ 4 callersFunctionsetAiProvider
(aiProvider: 'openai' | 'claude')
src/main/lib/state.ts:197
↓ 4 callersFunctionsetClaudeApiKey
(claudeApiKey: string)
src/main/lib/state.ts:208
↓ 4 callersFunctionsetClaudeModel
(claudeModel: string)
src/main/lib/state.ts:219
↓ 4 callersFunctionuseFormField
()
src/renderer/src/components/ui/form.tsx:40
↓ 4 callersFunctionuseSidebar
()
src/renderer/src/components/ui/sidebar.tsx:34
↓ 4 callersFunctionuseTheme
()
src/renderer/src/components/ui/theme-provider.tsx:66
↓ 3 callersFunctionaddConnectionFavorite
( name: string, favorite: z.infer<typeof favoritesSchema> )
src/main/lib/state.ts:379
↓ 3 callersFunctionaddQueryToConnectionHistory
( name: string, query: z.infer<typeof queryHistorySchema> )
src/main/lib/state.ts:330
↓ 3 callersFunctionconnectionFavoritesPath
(connectionName: string)
src/main/lib/state.ts:91
↓ 3 callersFunctionconnectionHistoryPath
(connectionName: string)
src/main/lib/state.ts:85
↓ 3 callersFunctiondeleteConnection
(name: string)
src/main/lib/state.ts:291
↓ 3 callersFunctioneditConnection
( name: string, connectionMetadata: z.infer<typeof connectionSettingsSchema> )
src/main/lib/state.ts:246
↓ 3 callersFunctiongetClaudeApiKey
()
src/main/lib/state.ts:203
↓ 3 callersFunctiongetClaudeModel
()
src/main/lib/state.ts:214
↓ 3 callersFunctiongetOpenAiBaseUrl
()
src/main/lib/state.ts:164
↓ 3 callersFunctiongetOpenAiKey
()
src/main/lib/state.ts:159
↓ 3 callersFunctiongetOpenAiModel
()
src/main/lib/state.ts:169
↓ 3 callersFunctionlistConnections
()
src/main/lib/state.ts:260
↓ 3 callersFunctionrunQuery
(query: string, metadata?: GraphMetadata | null)
src/renderer/src/App.tsx:60
↓ 3 callersFunctionrunQuery
(connectionString: string, query: string)
src/main/lib/db.ts:40
↓ 3 callersFunctionsetConnectionFavorites
( name: string, favorites: z.infer<typeof favoritesSchema>[] )
src/main/lib/state.ts:371
↓ 3 callersFunctionsetConnectionPromptExtension
( name: string, promptExtension: string )
src/main/lib/state.ts:411
↓ 3 callersFunctionsetConnectionSettings
( connectionName: string, settings: z.infer<typeof connectionSettingsSchema> )
src/main/lib/state.ts:146
↓ 3 callersFunctiontestConnectionString
(connectionString: string)
src/main/lib/db.ts:23
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/renderer/src/hooks/use-toast.ts:55
↓ 2 callersFunctionconnectionSettingsPath
(connectionName: string)
src/main/lib/state.ts:79
↓ 2 callersFunctionconnectionsDir
()
src/main/lib/state.ts:65
↓ 2 callersFunctioncreateWindow
()
src/main/index.ts:39
↓ 2 callersFunctionformatColumnType
(column: any)
src/renderer/src/components/TableDetailView.tsx:46
↓ 2 callersFunctionformatTimestamp
(timestamp: Date)
src/renderer/src/components/Sidebar.tsx:84
↓ 2 callersFunctiongetColumnConstraints
(column: any)
src/renderer/src/components/TableDetailView.tsx:54
↓ 2 callersFunctiongetColumnConstraints
(column: any)
src/renderer/src/components/SchemaCard.tsx:20
↓ 2 callersFunctionremoveConnectionFavorite
(name: string, favoriteId: string)
src/main/lib/state.ts:388
↓ 2 callersFunctionrootDir
()
src/main/lib/state.ts:57
↓ 2 callersFunctionsetConnectionHistory
( name: string, history: z.infer<typeof queryHistorySchema>[] )
src/main/lib/state.ts:322
↓ 2 callersFunctionsetOpenAiBaseUrl
(openAiBaseUrl: string)
src/main/lib/state.ts:180
↓ 2 callersFunctionsetOpenAiKey
(openAiKey: string)
src/main/lib/state.ts:174
↓ 2 callersFunctionsetOpenAiModel
(openAiModel: string)
src/main/lib/state.ts:186
↓ 2 callersFunctionsettingsPath
()
src/main/lib/state.ts:73
↓ 2 callersFunctiontruncateQuery
(query: string, maxLength: number = 40)
src/renderer/src/components/Sidebar.tsx:97
↓ 1 callersFunctiondismiss
()
src/renderer/src/hooks/use-toast.ts:145
↓ 1 callersFunctionformatColumnType
(column: any)
src/renderer/src/components/SchemaCard.tsx:12
↓ 1 callersFunctiongenId
()
src/renderer/src/hooks/use-toast.ts:24
↓ 1 callersFunctiongenerateQuery
( input: string, connectionString: string, aiProvider: 'openai' | 'claude', apiKey: string, existing
src/main/lib/ai.ts:13
↓ 1 callersFunctiongetConnectionDatabaseType
( name: string )
src/main/lib/state.ts:424
↓ 1 callersFunctiongetDatabaseSchema
(connectionString: string)
src/main/lib/db.ts:180
↓ 1 callersFunctiongetTableSchema
(connectionString: string)
src/main/lib/db.ts:62
↓ 1 callersFunctionguessDataType
(data: any[])
src/renderer/src/components/Graph.tsx:29
↓ 1 callersFunctionhandleConnectionClick
(connectionName: string)
src/renderer/src/components/Sidebar.tsx:70
↓ 1 callersFunctionhandleGenerateQuery
()
src/renderer/src/components/AIChat.tsx:26
↓ 1 callersFunctionhandleRemoveYColumn
(column: string)
src/renderer/src/components/GraphEditDialog.tsx:61
↓ 1 callersFunctionhandleTableClick
(tableName: string)
src/renderer/src/components/SchemaViewer.tsx:59
↓ 1 callersFunctionloadAndQuery
()
src/renderer/src/components/TableDetailView.tsx:28
↓ 1 callersFunctionloadSavedAiProvider
()
src/renderer/src/components/Settings.tsx:40
↓ 1 callersFunctionloadSavedApiKey
()
src/renderer/src/components/Settings.tsx:53
↓ 1 callersFunctionloadSavedBaseUrl
()
src/renderer/src/components/Settings.tsx:83
↓ 1 callersFunctionloadSavedClaudeApiKey
()
src/renderer/src/components/Settings.tsx:68
↓ 1 callersFunctionloadSavedClaudeModel
()
src/renderer/src/components/Settings.tsx:113
↓ 1 callersFunctionloadSavedModel
()
src/renderer/src/components/Settings.tsx:98
↓ 1 callersFunctionloadSchema
()
src/renderer/src/components/SchemaViewer.tsx:32
↓ 1 callersFunctiononChange
()
src/renderer/src/hooks/use-mobile.tsx:10
↓ 1 callersFunctionreducer
(state: State, action: Action)
src/renderer/src/hooks/use-toast.ts:71
↓ 1 callersFunctionupdateConnectionFavorite
( name: string, favoriteId: string, updates: Partial<z.infer<typeof favoritesSchema>> )
src/main/lib/state.ts:394
↓ 1 callersFunctionupdateConnectionHistory
( name: string, queryId: string, updates: Partial<z.infer<typeof queryHistorySchema>> )
src/main/lib/state.ts:339
↓ 1 callersFunctionuseConnection
(connectionName: string | null)
src/renderer/src/hooks/useConnection.ts:42
↓ 1 callersFunctionuseConnections
()
src/renderer/src/hooks/useConnections.ts:12
↓ 1 callersFunctionuseIsMobile
()
src/renderer/src/hooks/use-mobile.tsx:5
FunctionAIChat
({ onUserQuery, isGenerating }: AIChatProps)
src/renderer/src/components/AIChat.tsx:15
FunctionAlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/renderer/src/components/ui/alert-dialog.tsx:51
FunctionAlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/renderer/src/components/ui/alert-dialog.tsx:46
FunctionBadge
({ className, variant, ...props }: BadgeProps)
src/renderer/src/components/ui/badge.tsx:29
FunctionBreadcrumbEllipsis
({ className, ...props }: React.ComponentProps<'span'>)
src/renderer/src/components/ui/breadcrumb.tsx:80
FunctionBreadcrumbSeparator
({ children, className, ...props }: React.ComponentProps<'li'>)
src/renderer/src/components/ui/breadcrumb.tsx:68
FunctionConnectionDialog
({ isOpen, onOpenChange, connectionName, onConnectionSaved, trigger }: ConnectionDialogProps)
src/renderer/src/components/ConnectionDialog.tsx:26
FunctionContextMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/renderer/src/components/ui/context-menu.tsx:161
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/renderer/src/components/ui/dialog.tsx:59
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/renderer/src/components/ui/dialog.tsx:54
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/renderer/src/components/ui/dropdown-menu.tsx:162
FunctionFormField
({ ...props }: ControllerProps<TFieldValues, TName>)
src/renderer/src/components/ui/form.tsx:27
FunctionGraph
({ data, graphMetadata, onMetadataChange }: GraphProps)
src/renderer/src/components/Graph.tsx:42
FunctionGraphEditDialog
({ data, currentMetadata, onSave, triggerText, renderTrigger }: GraphEditDialogProps)
src/renderer/src/components/GraphEditDialog.tsx:27
next →1–100 of 146, ranked by callers