MCPcopy Create free account

hub / github.com/avarayr/suaveui / functions

Functions157 in github.com/avarayr/suaveui

↓ 12 callersFunctioninvariant
( condition: any, // Not providing an inline default argument for message as the result is smaller /**
src/utils/invariant.ts:19
↓ 8 callersMethodabort
()
src/server/lib/streamBuffer.ts:25
↓ 6 callersFunctionbeforeAction
(callback: () => any, { interruptGeneration = false } = {})
src/layouts/ChaiMessage/components/ChatBubble.tsx:184
↓ 3 callersFunctioncamelCaseToSpaced
(str: string)
src/utils/string.ts:1
↓ 3 callersMethodgetResult
()
src/server/lib/streamBuffer.ts:30
↓ 3 callersFunctionhandleScroll
()
src/hooks/useAutoScroll.tsx:97
↓ 3 callersFunctionisCloudflaredRunning
()
src/server/lib/cloudflared.ts:81
↓ 3 callersFunctiononDismiss
()
src/components/NewChatDrawer.tsx:37
↓ 3 callersFunctionuseRouteTransitioning
()
src/hooks/useRouteTransitioning.ts:6
↓ 2 callersFunctioncleanup
()
src/hooks/useSpeechSynthesis.tsx:96
↓ 2 callersFunctioncopyToClipboard
(text: string)
src/utils/clipboard.ts:2
↓ 2 callersFunctioncreateQueryClient
()
src/trpc/react.tsx:12
↓ 2 callersMethodfinish
()
src/server/lib/streamBuffer.ts:41
↓ 2 callersFunctiononSubmit
(data: z.infer<typeof PersonaSchema>)
src/components/NewChatDrawer.tsx:186
↓ 2 callersFunctionreadableStreamAsyncIterable
(stream: ReadableStream<T>)
src/server/lib/OpenAIStream.ts:4
↓ 2 callersFunctionstartCloudflared
()
src/server/lib/cloudflared.ts:9
↓ 2 callersFunctionuseMessageGeneration
(chatId: string)
src/hooks/useMessageGeneration.ts:5
↓ 2 callersFunctionuseNotifications
()
src/hooks/useNotifications.tsx:13
↓ 2 callersFunctionuseScreenSize
()
src/hooks/useScreenSize.tsx:3
↓ 1 callersFunctionOpenAIStream
({ baseUrl, payload, apiKey, signal, }: { baseUrl: string; apiKey?: string; payload: OpenAI.Chat
src/server/lib/OpenAIStream.ts:39
↓ 1 callersFunctionanimate
()
src/layouts/ChaiMessage/components/SpoilerParticles.tsx:69
↓ 1 callersMethodappend
(text: string)
src/server/lib/streamBuffer.ts:34
↓ 1 callersFunctionbase64ToUint8Array
(base64: string)
src/utils/string.ts:8
↓ 1 callersFunctionconstructDB
()
src/server/db.ts:11
↓ 1 callersFunctionformatDate
(date: Date)
src/utils/date.tsx:4
↓ 1 callersFunctionformatDateWithTime
(date: Date)
src/utils/date.tsx:23
↓ 1 callersFunctiongetAvailableVoices
()
src/workers/ttsWorker.ts:31
↓ 1 callersFunctiongetBaseUrl
()
src/trpc/react.tsx:59
↓ 1 callersFunctiongetCloudflaredStatus
()
src/server/lib/cloudflared.ts:89
↓ 1 callersFunctiongetFlag
(locale: string)
src/hooks/useVoiceFormatting.ts:14
↓ 1 callersFunctiongetQualityColor
(quality: string)
src/hooks/useVoiceFormatting.ts:57
↓ 1 callersFunctiongetQueryClient
()
src/trpc/react.tsx:15
↓ 1 callersFunctiongracefulShutdown
(signal: string)
src/hono.ts:21
↓ 1 callersFunctionhandleCreateClick
()
src/components/NewChatDrawer.tsx:110
↓ 1 callersFunctionhandleImportConversation
()
src/layouts/ChaiMessage/components/AttachmentDropup.tsx:39
↓ 1 callersFunctionhandleVideoCallEnd
()
src/layouts/ChaiMessage/screens/Texting.tsx:125
↓ 1 callersFunctioninitializeTTS
(id: tts.VoiceId)
src/workers/ttsWorker.ts:5
↓ 1 callersMethodisAborted
()
src/server/lib/streamBuffer.ts:17
↓ 1 callersMethodisFinished
()
src/server/lib/streamBuffer.ts:21
↓ 1 callersFunctionisLocalhost
()
src/components/settings/tabs/NotificationsTab.tsx:12
↓ 1 callersFunctionisSafari
()
src/components/settings/tabs/NotificationsTab.tsx:11
↓ 1 callersFunctionisUrlAlive
(url: string, timeout = 5000)
src/server/lib/urlCheck.ts:3
↓ 1 callersMethoditerator
()
src/server/lib/streamBuffer.ts:48
↓ 1 callersFunctionnormalizeRole
(role: string)
src/utils/conversation.ts:39
↓ 1 callersFunctiononGenerateClick
()
src/components/primitives/Input.tsx:62
↓ 1 callersFunctiononNewPersona
()
src/components/NewChatDrawer.tsx:33
↓ 1 callersFunctiononProviderChange
(value: string)
src/components/settings/tabs/GeneralTab.tsx:116
↓ 1 callersFunctiononTabClick
(tabId: string)
src/components/SettingsDrawer.tsx:38
↓ 1 callersFunctionparseImportedConversation
(content: string, personaId: string)
src/utils/conversation.ts:4
↓ 1 callersFunctionresizeCanvas
()
src/layouts/ChaiMessage/components/SpoilerParticles.tsx:42
↓ 1 callersFunctionsendMessage
({ chatId, content, personaID, messageId, isGenerating, }: { chatId: string; con
src/server/models/Chat.ts:140
↓ 1 callersFunctionsetValue
(key: string, value: T)
src/server/models/Settings.ts:11
↓ 1 callersFunctionsetupRoutes
(app: Hono)
src/hono.ts:10
↓ 1 callersFunctionsetupSignalHandlers
()
src/hono.ts:33
↓ 1 callersFunctionstopCloudflared
()
src/server/lib/cloudflared.ts:63
↓ 1 callersFunctionsynthesizeSpeech
(text: string)
src/workers/ttsWorker.ts:22
↓ 1 callersFunctionuseAutoScroll
({ scrollerRef, scrollContainerRef, messages, }: { scrollerRef: React.RefObject<VListHandle>; scroll
src/hooks/useAutoScroll.tsx:6
↓ 1 callersFunctionuseInView
(ref?: React.RefObject<T>, options: IntersectionObserverInit = {})
src/hooks/useInView.tsx:20
↓ 1 callersFunctionusePrevious
(value: T)
src/hooks/usePrevious.tsx:3
↓ 1 callersFunctionuseSpeechRecognition
()
src/hooks/useSpeechRecognition.tsx:6
↓ 1 callersFunctionuseSpeechSynthesis
({ enabled = true, selectedVoice, }: { enabled?: boolean; selectedVoice: VoiceId; })
src/hooks/useSpeechSynthesis.tsx:12
↓ 1 callersFunctionuseTouchHold
({ targetRef, callback, duration = 300, threshold = 5, enabled = true, disableTouchHoldOnDesktop =
src/hooks/useTouchHold.tsx:16
↓ 1 callersFunctionuseVoiceFormatting
(voices: VoiceId[])
src/hooks/useVoiceFormatting.ts:72
FunctionAttachmentDropup
({ onClose, onImportConversation, currentMessages, })
src/layouts/ChaiMessage/components/AttachmentDropup.tsx:20
FunctionBadge
({ className, variant, ...props }: BadgeProps)
src/components/primitives/Badge.tsx:24
FunctionChatList
(props: { layout: TLayout } & PropsOfLayout<TLayout>)
src/layouts/ChatList.tsx:22
FunctionChatList
()
src/layouts/Unsolicited/screens/ChatList.tsx:1
FunctionChatList
()
src/layouts/ZuckMade/screens/ChatList.tsx:1
FunctionCodeBlock
({ lang, children }: { lang: string; children: React.ReactNode })
src/components/primitives/CodeBlock.tsx:12
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/primitives/Dialog.tsx:57
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/primitives/Dialog.tsx:52
FunctionFloatingActionButton
(props: Props)
src/components/primitives/FloatingActionButton.tsx:9
FunctionGeneralTab
()
src/components/settings/tabs/GeneralTab.tsx:38
FunctionImportConversationDialog
({ isOpen, onClose, onSubmit, currentMessages, })
src/layouts/ChaiMessage/components/ImportConversationDialog.tsx:20
FunctionIndexPage
()
src/routes/index.tsx:15
FunctionNewChatDrawer
(props: Props)
src/components/NewChatDrawer.tsx:29
FunctionNewChatDrawerContent
({ onNewPersona, onDismiss, selectedPersonaId, }: { onNewPersona: () => void; onDismiss: () => void;
src/components/NewChatDrawer.tsx:71
FunctionNewPersonaDrawerContent
({ onDismiss }: { onDismiss: (createdPersonaId?: string) => void })
src/components/NewChatDrawer.tsx:174
FunctionNotificationsTab
()
src/components/settings/tabs/NotificationsTab.tsx:14
FunctionRemoteAccessTab
()
src/components/settings/tabs/RemoteAccessTab.tsx:13
FunctionSettingsDrawer
(props: Props)
src/components/SettingsDrawer.tsx:14
FunctionSkeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/primitives/Skeleton.tsx:3
FunctionSpinnerIcon
({ className, variant = "primary" }: SpinnerIconProps)
src/components/primitives/SpinnerIcon.tsx:9
FunctionTRPCReactProvider
(props: { children: React.ReactNode })
src/trpc/react.tsx:27
FunctionTabList
({ activeTab, onTabClick, tabs, className }: TabListProps)
src/components/primitives/TabList.tsx:18
FunctionTexting
(props: Props<TLayout> & PropsOfLayout<TLayout>)
src/layouts/Texting.tsx:28
FunctionTexting
(props: { conversation: Chat })
src/layouts/Unsolicited/screens/Texting.tsx:3
FunctionTexting
(props: { conversation: Chat })
src/layouts/ZuckMade/screens/Texting.tsx:3
FunctionTextingPage
()
src/routes/texting/$chatId.tsx:19
FunctionVideoCallButton
({ onVideoCallStart, onVideoCallEnd, chatId }: VideoCallButtonProps)
src/layouts/ChaiMessage/components/VideoCallButton.tsx:12
FunctionVideoCallModal
({ isOpen, onClose, chatId }: VideoCallModalProps)
src/layouts/ChaiMessage/components/VideoCallModal.tsx:45
Function[Symbol.asyncIterator]
()
src/server/lib/OpenAIStream.ts:33
Function_Tapback
({ ..._props }: TapbackProps<T>)
src/layouts/ChaiMessage/components/Tapback.tsx:33
FunctionaddReaction
({ chatId, messageId, reaction, from, }: { chatId: string; messageId: string; re
src/server/models/Chat.ts:188
Functionall
()
src/server/models/Persona.ts:19
Functionall
* Fetches all chats from the database
src/server/models/Chat.ts:106
FunctionallWithPersonas
()
src/server/models/Chat.ts:25
Methodconstructor
(private readonly messageId: string)
src/server/lib/streamBuffer.ts:13
Functioncreate
(persona: Omit<TPersona, "id" | "createdAt">)
src/server/models/Persona.ts:25
Functioncreate
* Creates a new chat with the given id
src/server/models/Chat.ts:77
next →1–100 of 157, ranked by callers