MCPcopy Create free account

hub / github.com/Some1Uknow/learn-solana / functions

Functions368 in github.com/Some1Uknow/learn-solana

↓ 103 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 34 callersFunctioncreateCanonical
(path: string)
lib/seo.ts:101
↓ 21 callersFunctionincludes
(source, value)
scripts/check-seo-routes.mjs:21
↓ 20 callersFunctioncheck
(name, condition)
scripts/check-seo-routes.mjs:17
↓ 14 callersFunctionuseAuth
()
hooks/use-auth.tsx:5
↓ 11 callersFunctiontoast
({ ...props }: Toast)
hooks/use-toast.ts:145
↓ 9 callersFunctionauthFetch
(input: string, init: AuthFetchOptions = {})
lib/auth/authFetch.ts:10
↓ 9 callersFunctionlistExercisesByTrack
(track: string)
lib/challenges/exercises.ts:204
↓ 7 callersFunctioncreateNodeFromBlock
( kind: BlockKind, position: { x: number; y: number } )
lib/visual-builder/blocks.ts:112
↓ 7 callersFunctionread
(relativePath)
scripts/check-seo-routes.mjs:9
↓ 7 callersFunctionrequirePrivyUser
(req: Request)
lib/auth/privy-server.ts:86
↓ 7 callersFunctionsyncAppUser
(input: SyncAppUserInput)
lib/auth/app-user.ts:24
↓ 6 callersFunctionfindAccount
( user: PrivyUserLike | null | undefined, predicate: (account: PrivyLinkedAccount) => boolean )
lib/auth/privy-user.ts:39
↓ 6 callersFunctionnormalizeUrl
* Normalizes URL to ensure consistency: * - No trailing slashes (except root) * - No double slashes * - Proper encoding
app/sitemap.ts:26
↓ 5 callersFunctiondispatch
(action: Action)
hooks/use-toast.ts:136
↓ 5 callersFunctiongenerateLearnSolOgImage
( options: LearnSolOgOptions )
lib/og/learnsol.tsx:16
↓ 5 callersFunctiongetExercise
(track: string, slugOrLegacyOrder: string)
lib/challenges/exercises.ts:208
↓ 5 callersFunctiongetRuntimeLabProgram
(programId: string)
lib/runtime-lab/flows.ts:1473
↓ 5 callersFunctiongetStore
()
stubs/asyncStorage.ts:3
↓ 5 callersFunctionnormalizeIdentifier
(value: string, fallback: string)
lib/visual-builder/export-anchor.ts:38
↓ 4 callersFunctiondetailKey
(enabled: boolean, programId?: string)
hooks/use-runtime-lab-progress.ts:39
↓ 4 callersFunctiongetBlockDefinition
(kind: BlockKind)
lib/visual-builder/blocks.ts:105
↓ 4 callersFunctiongetTrackMeta
(track: string)
lib/challenges/exercises.ts:240
↓ 4 callersFunctionlistKey
(enabled: boolean)
hooks/use-runtime-lab-progress.ts:35
↓ 4 callersFunctionnullishToOptionalString
(schema: T)
lib/validation/userRegistration.ts:3
↓ 4 callersFunctionreadOptionalString
(value: unknown)
app/api/auth/sync/route.ts:5
↓ 4 callersFunctionupdatePointerInteraction
(value: number | null)
components/ui/globe.tsx:61
↓ 4 callersFunctionuseSidebar
()
components/ui/sidebar.tsx:47
↓ 3 callersFunctionbuildTemplateGraph
( nodes: TemplateNodeSpec[], edges: TemplateEdgeSpec[] )
lib/visual-builder/templates.ts:36
↓ 3 callersFunctionescapeRegex
(value)
scripts/check-seo-routes.mjs:13
↓ 3 callersFunctiongetExerciseProgressKey
(track?: string)
hooks/use-exercise-progress.ts:29
↓ 3 callersFunctiongetLatestProjectMtime
(sourcePaths: string[], fallback: Date)
app/sitemap.ts:42
↓ 3 callersFunctiongetPrivyEmail
(user: PrivyUserLike | null | undefined)
lib/auth/privy-user.ts:62
↓ 3 callersFunctionhandleStepChange
(nextIndex: number)
app/tools/runtime-lab/[programId]/runtime-lab-program.client.tsx:177
↓ 3 callersFunctionnormalizeBlockContent
(content: string)
lib/get-llm-text.ts:17
↓ 3 callersFunctionreadString
()
lib/solana/fetchNftMetadata.ts:47
↓ 3 callersFunctionserializeProgress
(item: ProgressRecord)
app/api/tools/runtime-lab/progress/route.ts:39
↓ 2 callersFunctionabsoluteUrl
(path: string)
components/learn/page-actions.tsx:81
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
hooks/use-toast.ts:61
↓ 2 callersFunctionasStringArray
(value: unknown)
lib/challenges/exercises.ts:77
↓ 2 callersFunctionbuildCompletedProgressItem
( existing?: ExerciseProgressItem | null )
hooks/use-exercise-progress.ts:49
↓ 2 callersFunctioncachePromise
( key: string, setPromise: () => Promise<T>, )
components/fumadocs/mermaid.tsx:19
↓ 2 callersFunctioncleanContentForEmbedding
(content: string)
lib/mdx/processor.ts:151
↓ 2 callersFunctioncreateStarterGraph
()
lib/visual-builder/blocks.ts:140
↓ 2 callersFunctionfetchJson
(url: string)
hooks/use-runtime-lab-progress.ts:47
↓ 2 callersFunctionfetchOnChainMetadataFields
(connection: Connection, mintAddress: string)
lib/solana/fetchNftMetadata.ts:32
↓ 2 callersFunctionfixElement
(element: Element)
components/fumadocs/mermaid-with-zoom.tsx:347
↓ 2 callersFunctionformatCaseOutput
(value: string | undefined)
components/challenges/ChallengeEditorClient.tsx:50
↓ 2 callersFunctionformatTitledBlock
(title: string, content: string)
lib/get-llm-text.ts:37
↓ 2 callersFunctiongenerateSquares
(count: number)
components/ui/animated-grid-pattern.tsx:51
↓ 2 callersFunctiongetMDXComponents
(components?: MDXComponents)
mdx-components.tsx:36
↓ 2 callersFunctiongetPageImage
(page: InferPageType<typeof source>)
lib/source.ts:6
↓ 2 callersFunctiongetPos
()
components/ui/animated-grid-pattern.tsx:43
↓ 2 callersFunctiongetPrivyClient
()
lib/auth/privy-server.ts:42
↓ 2 callersFunctiongetPrivyDisplayName
(user: PrivyUserLike | null | undefined)
lib/auth/privy-user.ts:78
↓ 2 callersFunctiongetPrivyProfileImage
(user: PrivyUserLike | null | undefined)
lib/auth/privy-user.ts:104
↓ 2 callersFunctiongetPrivyWalletAddress
(user: PrivyUserLike | null | undefined)
lib/auth/privy-user.ts:46
↓ 2 callersFunctionisPlainRecord
(value: unknown)
app/api/tools/runtime-lab/progress/route.ts:13
↓ 2 callersFunctionlistExerciseTracks
()
lib/challenges/exercises.ts:200
↓ 2 callersFunctionnormalizeMDXForLLMs
(markdown: string)
lib/get-llm-text.ts:84
↓ 2 callersFunctionnormalizeStdout
(value: string)
app/api/challenges/run/route.ts:12
↓ 2 callersFunctionstringRecord
(value: unknown)
app/api/tools/runtime-lab/progress/route.ts:17
↓ 2 callersFunctionsubmitQuestion
(question: string)
components/docs-chat.tsx:112
↓ 2 callersFunctiontoPascalCase
(value: string)
lib/visual-builder/export-anchor.ts:31
↓ 2 callersFunctiontoSnakeCase
(value: string)
lib/visual-builder/export-anchor.ts:21
↓ 2 callersFunctiontoTitleCase
(input: string)
app/learn/[[...slug]]/page.tsx:13
↓ 2 callersFunctiontruncate
(value: string, maxLength: number)
lib/og/module.tsx:14
↓ 2 callersFunctiontruncate
(value: string, limit: number)
app/og/challenges/[track]/[slug]/route.tsx:10
↓ 2 callersFunctionupdateCanvasSize
()
components/ui/beams-background.tsx:65
↓ 2 callersFunctionupdateMovement
(clientX: number)
components/ui/globe.tsx:68
↓ 2 callersFunctionuseChatContext
()
components/chat-context.tsx:25
↓ 2 callersFunctionuseExerciseProgress
(track?: string)
hooks/use-exercise-progress.ts:59
↓ 1 callersFunctionanimate
()
components/ui/globe.tsx:106
↓ 1 callersFunctionanimate
()
components/ui/beams-background.tsx:148
↓ 1 callersFunctionassertRemoteHistory
({ migrations, remoteRows })
scripts/drizzle-safe-migrate.mjs:49
↓ 1 callersFunctionbackupAndMigrate
()
scripts/backup-and-migrate.ts:8
↓ 1 callersFunctionbooleanRecord
(value: unknown)
app/api/tools/runtime-lab/progress/route.ts:28
↓ 1 callersFunctionbuildChallengeSections
( track: string, challenges: T[] )
lib/challenges/track-groups.ts:133
↓ 1 callersFunctionbuildPrompt
(title: string, pagePath: string, markdownPath: string)
components/learn/page-actions.tsx:86
↓ 1 callersFunctionbytesToHex
(bytes: Uint8Array)
hooks/use-app-wallet.tsx:13
↓ 1 callersFunctioncalculateProgress
()
components/learn/reading-progress.tsx:16
↓ 1 callersFunctionclearGraph
()
lib/visual-builder/storage.ts:30
↓ 1 callersFunctionclearSavedProgress
()
app/tools/runtime-lab/[programId]/runtime-lab-program.client.tsx:151
↓ 1 callersFunctionconvertFilePathToUrl
(filePath: string)
lib/mdx/processor.ts:138
↓ 1 callersFunctioncreateBeam
(width: number, height: number)
components/ui/beams-background.tsx:26
↓ 1 callersFunctioncreateEmbeddedWallet
()
hooks/use-app-wallet.tsx:59
↓ 1 callersFunctioncreateStarterNodes
()
lib/visual-builder/blocks.ts:130
↓ 1 callersFunctionderiveMetadataPda
(mint: PublicKey)
lib/solana/fetchNftMetadata.ts:20
↓ 1 callersFunctiondismiss
()
hooks/use-toast.ts:153
↓ 1 callersFunctiondrawBeam
(ctx: CanvasRenderingContext2D, beam: Beam)
components/ui/beams-background.tsx:110
↓ 1 callersFunctionexportAnchorProgram
(graph: VisualBuilderGraph)
lib/visual-builder/export-anchor.ts:60
↓ 1 callersFunctionexportEmbeddedWallet
()
hooks/use-app-wallet.tsx:100
↓ 1 callersFunctionextractMermaidChart
(children: unknown)
mdx-components.tsx:16
↓ 1 callersFunctionextractPrivyAccessToken
(req: Request)
lib/auth/privy-server.ts:31
↓ 1 callersFunctionextractSections
(content: string)
lib/mdx/processor.ts:85
↓ 1 callersFunctionfetchExerciseProgress
(track: string)
hooks/use-exercise-progress.ts:33
↓ 1 callersFunctionfetchFullNftMetadata
(connection: Connection, mintAddress: string, opts?: { forceRefresh?: boolean })
lib/solana/fetchNftMetadata.ts:67
↓ 1 callersFunctionfindRelevantContent
(userQuery: string)
lib/ai/embedding.ts:46
↓ 1 callersFunctionfindStraySqlFiles
(migrations)
scripts/drizzle-safe-migrate.mjs:39
↓ 1 callersFunctionformatCallout
(type: string | undefined, content: string)
lib/get-llm-text.ts:23
next →1–100 of 368, ranked by callers