MCPcopy Create free account

hub / github.com/akuya-ekorot/notebooklm-mastra / functions

Functions87 in github.com/akuya-ekorot/notebooklm-mastra

↓ 68 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 4 callersFunctionuseSidebar
()
src/components/ui/sidebar.tsx:41
↓ 3 callersFunctionformatBytes
( bytes: number, opts: { decimals?: number; sizeType?: "accurate" | "normal"; } = {}, )
src/lib/utils.ts:15
↓ 2 callersFunctionisFileWithPreview
(file: File)
src/components/custom/file-uploader.tsx:310
↓ 2 callersFunctionpollJobStatus
(jobId: string)
src/lib/submit-parse-job.ts:29
↓ 2 callersFunctionuseCallbackRef
* A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a * prop or avoid re-executing effects when passed as
src/hooks/use-callback-ref.ts:11
↓ 1 callersMethodcheckStatus
* Checks the status of a podcast generation job
src/lib/play-ai.ts:84
↓ 1 callersFunctionfetchNavbarName
( notebookId: string, sessionId: string, )
src/db/queries/notebooks/index.ts:14
↓ 1 callersFunctionfetchNotebookSummary
(notebookId: string)
src/db/queries/notebooks/index.ts:58
↓ 1 callersFunctionfetchSourceSummariesStatus
(notebookId: string)
src/db/queries/notebooks/index.ts:70
↓ 1 callersFunctionformatDate
(date: Date)
src/lib/utils.ts:8
↓ 1 callersMethodgeneratePodcast
* Triggers podcast generation
src/lib/play-ai.ts:56
↓ 1 callersFunctiongetJobResultsInMarkdown
(jobId: string)
src/lib/submit-parse-job.ts:47
↓ 1 callersFunctiongetStepProgress
(stepIndex: number)
src/components/custom/status-card.tsx:92
↓ 1 callersFunctionhandleDeleteNotebook
(notebookId: string)
src/components/custom/notebooks-view.tsx:38
↓ 1 callersFunctiononRemove
(index: number)
src/components/custom/file-uploader.tsx:171
↓ 1 callersFunctionprocessEvents
()
src/hooks/use-steps.tsx:77
↓ 1 callersFunctionsubmitParseJob
(file: File)
src/lib/submit-parse-job.ts:6
↓ 1 callersFunctionuseControllableState
({ prop, defaultProp, onChange = () => {}, }: UseControllableStateParams<T>)
src/hooks/use-controllable-state.tsx:17
↓ 1 callersFunctionuseIsMobile
()
src/hooks/use-mobile.tsx:5
↓ 1 callersFunctionusePollForParsingJobStatus
({ jobId, notebookId, processingStatus, sourceId, }: { jobId: string; notebookId: string; proces
src/hooks/source-processing-hooks/index.ts:7
↓ 1 callersFunctionuseProcessSource
({ jobId, notebookId, processingStatus, sourceId, sourceName, }: { jobId: string; notebookId: st
src/hooks/source-processing-hooks/index.ts:58
↓ 1 callersFunctionuseSessionStorage
( key: string, initialValue: T, )
src/hooks/use-session-storage.ts:11
↓ 1 callersFunctionuseSteps
({ audioUrl, notebookId, }: { audioUrl: string | undefined; notebookId: string; })
src/hooks/use-steps.tsx:63
↓ 1 callersFunctionuseSummarizeSource
({ jobId, notebookId, processingStatus, sourceId, }: { jobId: string; notebookId: string; proces
src/hooks/source-processing-hooks/index.ts:37
↓ 1 callersFunctionuseUncontrolledState
({ defaultProp, onChange, }: Omit<UseControllableStateParams<T>, "prop">)
src/hooks/use-controllable-state.tsx:48
↓ 1 callersMethodwaitForCompletion
* Polls for job completion
src/lib/play-ai.ts:107
FunctionBadge
({ className, variant, ...props }: BadgeProps)
src/components/ui/badge.tsx:30
FunctionClientOnly
({ children })
src/components/custom/client-only.tsx:3
FunctionCustomSidebar
({ notebookId, sessionId, })
src/components/custom/custom-sidebar.tsx:21
FunctionCustomSidebarHeader
({ sessionId }: { sessionId: string })
src/components/custom/custom-sidebar-header.tsx:6
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:56
FunctionFeature
({ icon: Icon, text, link, textAfter, })
src/components/custom/home-page/feature.tsx:31
FunctionFileCard
({ file, progress, onRemove }: FileCardProps)
src/components/custom/file-uploader.tsx:277
FunctionFilePreview
({ file }: FilePreviewProps)
src/components/custom/file-uploader.tsx:318
FunctionFileUploader
(props: FileUploaderProps)
src/components/custom/file-uploader.tsx:99
FunctionGenerateNotebookSummary
({ notebookId })
src/components/custom/notebook-summary/generate-notebook-summary.tsx:13
FunctionGeneratePodcast
({ audioUrl, notebookId, notebookStatus, })
src/components/custom/studio-panel/generate-podcast.tsx:15
FunctionHome
({ searchParams, }: { searchParams: Promise<{ sessionId?: string }>; })
src/app/page.tsx:12
FunctionNavbar
({ sessionId, notebookId, })
src/components/custom/navbar.tsx:13
FunctionNotebookCard
({ notebook, sessionId, })
src/components/custom/home-page/notebook-card.tsx:18
FunctionNotebookContent
({ notebooks, })
src/components/custom/home-page/notebook-content.tsx:18
FunctionNotebookNameForm
({ initialName, })
src/components/custom/notebook-name/notebook-name.tsx:17
FunctionNotebookNameSkeleton
()
src/components/custom/notebook-name/notebook-name.tsx:96
FunctionNotebookNameWrapper
({ notebookId, sessionId, })
src/components/custom/notebook-name/notebook-name-wrapper.tsx:8
FunctionNotebookPage
({ params, searchParams, }: NotebookPageProps)
src/app/notebook/[notebookId]/page.tsx:18
FunctionNotebookPageLayout
({ children })
src/app/notebook/[notebookId]/layout.tsx:10
FunctionNotebookSummary
({ notebookId, })
src/components/custom/notebook-summary/index.tsx:13
FunctionNotebookSummarySection
({ notebookSummary, sourcesSummarized, })
src/components/custom/notebook-summary.tsx:13
FunctionNotebookSummarySkeleton
()
src/components/custom/notebook-summary/index.tsx:53
FunctionNotebooksGrid
({ sessionId, })
src/components/custom/home-page/notebooks-grid.tsx:9
FunctionNotebooksSkeleton
()
src/components/custom/home-page/notebook-skeleton.tsx:3
FunctionNotebooksView
({ notebooks, sessionId, })
src/components/custom/notebooks-view.tsx:21
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
src/app/layout.tsx:17
FunctionSessionProvider
({ children })
src/providers/index.tsx:22
FunctionSheetFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/sheet.tsx:91
FunctionSheetHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/sheet.tsx:77
FunctionSidebarNotebooks
({ notebookId, })
src/components/custom/sidebar-notebooks.tsx:9
FunctionSidebarNotebooksSkeleton
()
src/components/custom/sidebar-notebooks.tsx:34
FunctionSkeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/skeleton.tsx:3
FunctionSourceItem
({ id, name, processingStatus, })
src/components/custom/sources/source-item.tsx:15
FunctionSourceItemContent
({ sourceId, name, })
src/components/custom/sources/source-item-content.tsx:17
FunctionSourceProcessing
(props)
src/components/custom/sources/source-processing.tsx:14
FunctionSourceProcessingWrapper
({ sourceId, }: { sourceId: string; })
src/components/custom/sources/source-item-content.tsx:75
FunctionSourceSummary
({ sourceId }: { sourceId: string })
src/components/custom/sources/source-item-content.tsx:41
FunctionSourceTopics
({ sourceId }: { sourceId: string })
src/components/custom/sources/source-item-content.tsx:49
FunctionSourceTopicsSkeleton
()
src/components/custom/sources/source-item-content.tsx:65
FunctionStatusCard
({ sourcesStatus, notebookStatus, })
src/components/custom/status-card.tsx:65
FunctionStudioPanel
({ notebookId, })
src/components/custom/studio-panel/index.tsx:9
FunctionStudioPanelSkeleton
()
src/components/custom/studio-panel/index.tsx:52
FunctionToaster
({ ...props }: ToasterProps)
src/components/ui/sonner.tsx:8
FunctionUploadSources
(props)
src/components/custom/uploads/upload-sources.tsx:32
FunctionUploadSourcesHomeTrigger
(props)
src/components/custom/uploads/upload-sources.tsx:89
FunctionUploadSourcesSidebarTrigger
({ onOpenChange })
src/components/custom/uploads/upload-sources.tsx:112
FunctionWelcomeCard
()
src/components/custom/welcome-card.tsx:5
Methodconstructor
(config: Config)
src/lib/play-ai.ts:44
FunctioncreateVectorStore
(indexName: string)
src/lib/vector-store.ts:3
FunctionfetchNotebookSources
(notebookId: string)
src/db/queries/sources/index.ts:9
FunctionfetchNotebookWithSources
(notebookId: string)
src/db/queries/notebooks/index.ts:28
FunctionfetchNotebooks
(sessionId: string)
src/db/queries/notebooks/index.ts:7
MethodgenerateAndWaitForPodcast
* Helper method to generate podcast and wait for completion
src/lib/play-ai.ts:146
FunctionhandleGenerate
()
src/hooks/use-steps.tsx:182
FunctionhandleKeyDown
(event: KeyboardEvent)
src/components/ui/sidebar.tsx:101
FunctionhandleStorageChange
()
src/hooks/use-session-storage.ts:69
FunctiononChange
()
src/hooks/use-mobile.tsx:10
FunctionuseSession
()
src/providers/index.tsx:12