MCPcopy Create free account

hub / github.com/crafter-station/text0 / functions

Functions370 in github.com/crafter-station/text0

↓ 172 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 21 callersFunctiongetSecureSession
()
lib/auth/server.ts:14
↓ 14 callersFunctionREFERENCE_KEY
(referenceId: string)
lib/redis.ts:11
↓ 10 callersFunctionDOCUMENT_KEY
(documentId: string)
lib/redis.ts:28
↓ 9 callersFunctionhandleModification
(instruction: string, itemId: string)
components/text-selection-menu.tsx:79
↓ 8 callersFunctionUSER_REFERENCES_KEY
(userId: string)
lib/redis.ts:8
↓ 7 callersFunctionuseStore
(selector: (state: StoreState) => T)
components/ui/file-upload.tsx:248
↓ 6 callersFunctionuseFileUploadContext
(name: keyof typeof FILE_UPLOAD_ERRORS)
components/ui/file-upload.tsx:285
↓ 5 callersFunctionDOCUMENT_REFERENCES_KEY
(documentId: string)
hooks/use-selected-references.ts:5
↓ 5 callersFunctionuseAsRef
(data: T)
components/ui/file-upload.tsx:43
↓ 5 callersFunctionuseSidebar
()
components/ui/sidebar.tsx:47
↓ 4 callersFunctionUSER_DOCUMENTS_KEY
(userId: string)
lib/redis.ts:26
↓ 4 callersFunctionadd
(item: string)
components/t0-keycap.tsx:75
↓ 4 callersFunctionremove
(item: string)
components/t0-keycap.tsx:76
↓ 4 callersFunctionstartTimer
(pendingFunc: () => void, wait: number)
hooks/use-debounced-callback.ts:182
↓ 4 callersFunctionuseFileUploadItemContext
(name: keyof typeof FILE_UPLOAD_ERRORS)
components/ui/file-upload.tsx:864
↓ 4 callersFunctionuseStoreContext
(name: keyof typeof FILE_UPLOAD_ERRORS)
components/ui/file-upload.tsx:240
↓ 3 callersFunctionDOCUMENT_REFERENCES_KEY
(documentId: string)
hooks/use-document-references.ts:5
↓ 3 callersFunctioncalculateContentPosition
( elementPos: { top: number; left: number; width: number; height: number }, position: "top" | "bottom" | "le
components/tour.tsx:72
↓ 3 callersFunctiondrawEmptyWaveform
( ctx: CanvasRenderingContext2D, width: number, height: number, )
app/(protected)/docs/[doc_id]/text-editor/voice-transcription.tsx:63
↓ 3 callersFunctioninvokeFunc
(time: number)
hooks/use-debounced-callback.ts:172
↓ 3 callersFunctionuseLazyRef
(fn: () => T)
components/ui/file-upload.tsx:51
↓ 3 callersFunctionuseModel
()
hooks/use-model.ts:37
↓ 3 callersFunctionuseSelectedReferences
(documentId: string)
hooks/use-selected-references.ts:8
↓ 3 callersFunctionuseTour
()
components/tour.tsx:395
↓ 2 callersFunctionGITHUB_REFERENCE_KEY
(userId: string)
app/api/github/sync/route.ts:31
↓ 2 callersFunctionLINEAR_REFERENCE_KEY
(userId: string)
app/api/linear/sync.ts:17
↓ 2 callersFunctionLINEAR_REFERENCE_KEY
(userId: string)
app/api/linear/sync/route.ts:17
↓ 2 callersFunctionNOTION_REFERENCE_KEY
(userId: string)
app/api/notion/sync/route.ts:16
↓ 2 callersFunctionconvertTextToSpeech
(text: string)
app/(protected)/docs/[doc_id]/text-editor/text-to-speech.tsx:53
↓ 2 callersFunctiongetSecureUser
()
lib/auth/server.ts:3
↓ 2 callersFunctiongetUtilityModel
()
lib/ai-model.ts:9
↓ 2 callersFunctionnormalizeText
(text: string)
components/text-diff-view.tsx:23
↓ 2 callersFunctionparseCompletion
(completion: string | undefined, input: string)
app/(protected)/docs/[doc_id]/text-editor/index.tsx:733
↓ 2 callersFunctionshouldInvoke
(time: number)
hooks/use-debounced-callback.ts:189
↓ 2 callersFunctiontrailingEdge
(time: number)
hooks/use-debounced-callback.ts:206
↓ 2 callersFunctionuseDocumentContext
()
app/context/documentContext.tsx:118
↓ 2 callersFunctionuseIsMobile
()
hooks/use-mobile.ts:5
↓ 1 callersFunctionREFERENCE_KEY
(referenceId: string)
actions/websites.ts:16
↓ 1 callersFunctionSYSTEM_PROMPT
( context: string, )
app/api/chat/route.ts:21
↓ 1 callersFunctionSYSTEM_PROMPT
( context: string, )
app/api/chat-ollama/route.ts:15
↓ 1 callersFunctionUSER_REFERENCES_KEY
(userId: string)
actions/websites.ts:15
↓ 1 callersFunctioncloseDeleteDialog
()
app/context/documentContext.tsx:92
↓ 1 callersFunctioncreateStore
( listeners: Set<() => void>, files: Map<File, FileState>, onValueChange?: (files: File[]) => void, invali
components/ui/file-upload.tsx:92
↓ 1 callersFunctioncustomSubmit
(e: React.FormEvent)
app/(protected)/docs/[doc_id]/text-editor/ai-chat-sidebar.tsx:95
↓ 1 callersFunctiondeleteDocument
(docId: string)
actions/docs.ts:182
↓ 1 callersFunctiondownloadFile
( filename: string, content: string, mimeType: string, )
lib/download.ts:1
↓ 1 callersFunctiondrawMovingWaveform
()
app/(protected)/docs/[doc_id]/text-editor/voice-transcription.tsx:326
↓ 1 callersFunctionfetchDiscordData
()
app/(protected)/integrations/discord/page.tsx:42
↓ 1 callersFunctionfetchGitHubData
()
app/(protected)/integrations/github/page.tsx:57
↓ 1 callersFunctionfetchLinearData
()
app/(protected)/integrations/linear/page.tsx:53
↓ 1 callersFunctionfetchNotionData
()
app/(protected)/integrations/notion/page.tsx:109
↓ 1 callersFunctionformatBytes
(bytes: number)
components/ui/file-upload.tsx:949
↓ 1 callersFunctionformatLinearDataAsMarkdown
(data: LinearData)
app/api/linear/sync.ts:218
↓ 1 callersFunctionformatLinearDataAsMarkdown
(data: LinearData)
app/api/linear/sync/route.ts:218
↓ 1 callersFunctionformatNotificationsAsMarkdown
( notifications: GitHubNotification[], )
app/api/github/sync/route.ts:195
↓ 1 callersFunctionformatNotionDataAsMarkdown
(data: NotionData)
app/api/notion/sync/route.ts:266
↓ 1 callersFunctiongetCaretCoordinates
(element: HTMLTextAreaElement, position: number)
app/(protected)/docs/[doc_id]/text-editor/index.tsx:320
↓ 1 callersFunctiongetDocumentContentForExport
(docId: string)
actions/docs.ts:136
↓ 1 callersFunctiongetElementPosition
(id: string)
components/tour.tsx:60
↓ 1 callersFunctiongetFileIcon
(file: File)
components/ui/file-upload.tsx:956
↓ 1 callersFunctiongetInitialModel
()
hooks/use-model.ts:27
↓ 1 callersFunctiongetRandomInt
(max: number)
components/text-scramble.tsx:33
↓ 1 callersFunctiongetReferences
(userId: string)
app/(protected)/references/page.tsx:13
↓ 1 callersFunctionhandleClick
(char: string)
components/t0-keycap.tsx:155
↓ 1 callersFunctionhandleDelete
()
app/context/documentContext.tsx:39
↓ 1 callersFunctionhandleDisconnect
(provider: string)
app/(protected)/integrations/page.tsx:240
↓ 1 callersFunctionhandleExport
(docId: string, docName: string)
app/context/documentContext.tsx:66
↓ 1 callersFunctionhandleKeyDown
(e: KeyboardEvent)
components/t0-keycap.tsx:131
↓ 1 callersFunctionhandleKeyUp
(e: KeyboardEvent)
components/t0-keycap.tsx:139
↓ 1 callersFunctionhandleMouseDown
(char: string)
components/t0-keycap.tsx:166
↓ 1 callersFunctionhandleMouseUp
(char: string)
components/t0-keycap.tsx:173
↓ 1 callersFunctionisReferenceSelected
(referenceId: string)
hooks/use-document-references.ts:52
↓ 1 callersFunctionkeys
(chars: string[], spans: boolean[] = [])
components/t0-keycap.tsx:198
↓ 1 callersFunctionlistener
(e: MediaQueryListEvent)
hooks/use-media-query.ts:15
↓ 1 callersFunctiononChange
()
hooks/use-mobile.ts:12
↓ 1 callersFunctionopenDeleteDialog
(docId: string, docName: string)
app/context/documentContext.tsx:86
↓ 1 callersFunctionreducer
(state: StoreState, action: StoreAction)
components/ui/file-upload.tsx:106
↓ 1 callersFunctionsafeGetItem
(key: string)
hooks/use-model.ts:10
↓ 1 callersFunctionsafeSetItem
(key: string, value: string)
hooks/use-model.ts:19
↓ 1 callersFunctionscrollToBottom
()
app/(protected)/docs/[doc_id]/text-editor/ai-chat-sidebar.tsx:76
↓ 1 callersFunctionstartRecording
()
app/(protected)/docs/[doc_id]/text-editor/voice-transcription.tsx:84
↓ 1 callersFunctionstopRecording
()
app/(protected)/docs/[doc_id]/text-editor/voice-transcription.tsx:221
↓ 1 callersFunctiontextToSpeech
( text: string, voiceId = "21m00Tcm4TlvDq8ikWAM", )
app/actions/textToSpeech.ts:5
↓ 1 callersFunctiontoggleFile
(id: string)
app/(protected)/components/files-grid.tsx:15
↓ 1 callersFunctiontoggleReference
(referenceId: string)
hooks/use-document-references.ts:35
↓ 1 callersFunctiontranscribeAudio
(audioData: ArrayBuffer)
app/actions/transcribe.ts:6
↓ 1 callersFunctionupdatePosition
()
components/text-selection-menu.tsx:60
↓ 1 callersFunctionuseDebouncedCallback
(func: T, wait?: number, options?: Options)
hooks/use-debounced-callback.ts:119
↓ 1 callersFunctionuseDirection
(dirProp?: Direction)
components/ui/file-upload.tsx:63
↓ 1 callersFunctionuseMediaQuery
(query: string)
hooks/use-media-query.ts:5
↓ 1 callersFunctionuseRealtimeRunsWithTag
(tag: string)
lib/trigger-hooks.ts:18
↓ 1 callersFunctionuseReferenceProcessing
(references?: Reference[])
hooks/use-reference-processing.ts:16
↓ 1 callersFunctionuseReferences
()
hooks/use-references.ts:12
↓ 1 callersFunctionuseSetState
(initialState: string[] = [])
components/t0-keycap.tsx:72
↓ 1 callersFunctionuseSound
(url: string)
components/t0-keycap.tsx:93
FunctionAIChatSidebar
({ content, isEnabled, onPendingUpdate, }: Readonly<AIChatSidebarProps>)
app/(protected)/docs/[doc_id]/text-editor/ai-chat-sidebar.tsx:32
FunctionAIChatTrigger
()
app/(protected)/docs/[doc_id]/text-editor/ai-chat-trigger.tsx:12
FunctionAddReference
({ children, }: Readonly<{ children?: React.ReactNode; }>)
components/add-reference.tsx:33
FunctionAlert
({ variant, className, ...props }: AlertProps)
components/ui/alert.tsx:23
next →1–100 of 370, ranked by callers