MCPcopy Create free account

hub / github.com/Schroedinger-Hat/tanglecat / functions

Functions88 in github.com/Schroedinger-Hat/tanglecat

↓ 8 callersFunctiongithubFetchAllPages
(baseUrl: string)
app/src/app/api/webhook/github/route.ts:22
↓ 4 callersFunctioncompleteChallenge
( playerId: string, challengeId: string, verificationData?: Record<string, unknown>, )
app/src/lib/sanity.queries.ts:79
↓ 4 callersFunctionfindChallenge
(challengeId: string)
app/src/lib/sanity.queries.ts:75
↓ 4 callersFunctionfindPlayerAndChallenge
(playerEmail: string, challengeId: string)
app/src/lib/sanity.queries.ts:68
↓ 3 callersFunctioncapitalize
(str: string)
app/src/app/page.tsx:7
↓ 3 callersFunctiongetEventCode
()
app/src/lib/utils/getEventCode.ts:6
↓ 3 callersFunctionsetView
(newView: ViewType)
app/src/app/(protected)/dashboard/page.tsx:18
↓ 3 callersFunctionurlForImage
(source: { asset: { _ref: string; _type: "reference" } hotspot?: { x: number; y: number; height: number; w
app/src/lib/sanity.image.ts:6
↓ 2 callersFunctioncheckUserFollowsUser
(follower: string, following: string)
app/src/app/api/webhook/github/route.ts:70
↓ 2 callersFunctiongetBasePublicUrl
()
app/src/lib/utils/getBasePublicUrl.ts:1
↓ 2 callersFunctiongetChallengeById
(id: string)
app/src/lib/sanity.queries.ts:4
↓ 2 callersFunctionhandleVerifySecret
(code: string)
app/src/components/ChallengeDetail.tsx:95
↓ 2 callersFunctionisLocalhost
()
app/src/lib/utils/getEventCode.ts:51
↓ 1 callersFunctioncheckIsFollowing
* Check whether `followerAccount` (identified by its Mastodon ID on `instance`) * is following `targetAcct` (the full qualified acct, e.g. "nephila@m
app/src/app/api/webhook/mastodon/route.ts:66
↓ 1 callersFunctioncheckRepositoryContributions
( username: string, owner: string, repo: string, contributionType: string, )
app/src/app/api/webhook/github/route.ts:90
↓ 1 callersFunctionclearScanner
()
app/src/components/QRCodeScanner.tsx:54
↓ 1 callersFunctionfetchData
()
app/src/components/AwardsView.tsx:18
↓ 1 callersFunctionfetchData
()
app/src/components/ChallengesView.tsx:15
↓ 1 callersFunctionfetchLeaderboard
()
app/src/components/LeaderboardView.tsx:14
↓ 1 callersFunctiongetEventCodeFromEnvironment
()
app/src/lib/utils/getEventCodeFromSubdomain.ts:1
↓ 1 callersFunctiongetEventCodeFromEnvironment
()
app/src/lib/utils/getEventCode.ts:1
↓ 1 callersFunctioninitScanner
()
app/src/components/QRCodeScanner.tsx:43
↓ 1 callersFunctionisValidGitHubVerificationData
(data: unknown)
app/src/types/github.ts:146
↓ 1 callersFunctionparseProfileUrl
* Parse the Mastodon instance and username from a profile URL. * * Supports: * - https://mastodon.social/@nephila → { instance: "mastodon.so
app/src/app/api/webhook/mastodon/route.ts:46
↓ 1 callersFunctionresolveAccount
* Resolve a Mastodon username to an account object via the lookup API. * * Uses GET /api/v1/accounts/lookup which works without authentication and
app/src/app/api/webhook/mastodon/route.ts:23
↓ 1 callersFunctionstartScanning
()
app/src/components/QRCodeScanner.tsx:18
FunctionAdminPage
()
app/src/app/(admin)/admin/page.tsx:6
FunctionAwardDetail
({ award }: Props)
app/src/components/AwardDetail.tsx:19
FunctionAwardPage
({ params }: Props)
app/src/app/(protected)/award/[id]/page.tsx:10
FunctionAwardsView
()
app/src/components/AwardsView.tsx:12
FunctionCardContent
({ children, className = "", }: { children: React.ReactNode className?: string })
app/src/components/ui/Card.tsx:54
FunctionCardFooter
({ children, className = "", }: { children: React.ReactNode className?: string })
app/src/components/ui/Card.tsx:62
FunctionCardHeader
({ children, className = "", }: { children: React.ReactNode className?: string })
app/src/components/ui/Card.tsx:46
FunctionCardSection
({ children, className = "", }: { children: React.ReactNode className?: string })
app/src/components/ui/Card.tsx:70
FunctionChallengeDetail
({ challenge }: Props)
app/src/components/ChallengeDetail.tsx:21
FunctionChallengePage
({ params }: Props)
app/src/app/(protected)/challenge/[id]/page.tsx:9
FunctionChallengesView
()
app/src/components/ChallengesView.tsx:7
FunctionCompletionModal
({ isOpen, onClose, challenge }: Props)
app/src/components/CompletionModal.tsx:16
FunctionCrossIcon
()
app/src/components/ui/crossIcon.tsx:1
FunctionCurveIllustration
({ className = "text-primary-red", })
app/src/components/ui/curveIllustration.tsx:5
FunctionDashboardNav
()
app/src/app/(protected)/dashboard/page.tsx:12
FunctionDashboardPage
()
app/src/app/(protected)/dashboard/page.tsx:57
FunctionGET
()
app/src/app/api/challenges/route.ts:5
FunctionGET
()
app/src/app/api/challenges/completed/route.ts:5
FunctionGET
(request: Request, { params }: { params: Promise<{ id: string }> })
app/src/app/api/challenges/[id]/status/route.ts:5
FunctionGET
()
app/src/app/api/awards/route.ts:6
FunctionGET
()
app/src/app/api/awards/completed/route.ts:5
FunctionGET
(request: Request, { params }: { params: Promise<{ awardId: string }> })
app/src/app/api/awards/[awardId]/route.ts:5
FunctionGET
()
app/src/app/api/leaderboard/route.ts:5
FunctionGET
(request: Request)
app/src/app/api/admin/verify-award/route.ts:5
FunctionGET
(request: Request)
app/src/app/api/admin/verify-challenge/route.ts:6
FunctionHamburgerIcon
({ stroke = "currentColor" })
app/src/components/ui/hamburgerIcon.tsx:7
FunctionHomePage
()
app/src/app/page.tsx:11
FunctionLeaderboardView
()
app/src/components/LeaderboardView.tsx:8
FunctionLogo
({ width = 45, height = 45 })
app/src/components/ui/logo.tsx:8
FunctionPOST
(request: Request)
app/src/app/api/challenges/redeem/route.ts:5
FunctionPOST
(request: Request)
app/src/app/api/challenges/verify-secret/route.ts:6
FunctionPOST
(request: Request, { params }: { params: Promise<{ id: string }> })
app/src/app/api/challenges/[id]/webhook/route.ts:5
FunctionPOST
(request: Request, { params }: { params: Promise<{ awardId: string }> })
app/src/app/api/awards/[awardId]/route.ts:68
FunctionPOST
(request: Request)
app/src/app/api/auth/signup/route.ts:5
FunctionPOST
(request: Request)
app/src/app/api/webhook/catch-all/route.ts:13
FunctionPOST
(request: Request)
app/src/app/api/webhook/form/route.ts:4
FunctionPOST
(request: Request)
app/src/app/api/webhook/github/route.ts:156
FunctionPOST
(request: Request)
app/src/app/api/webhook/mastodon/route.ts:115
FunctionQRCodeScanner
({ onScan, onClose }: QRCodeScannerProps)
app/src/components/QRCodeScanner.tsx:11
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode }>)
app/src/app/layout.tsx:21
FunctionSidebar
({ isOpen, onClose }: SidebarProps)
app/src/components/ui/sidebar.tsx:13
FunctionSignUpForm
()
app/src/components/SignUpForm.tsx:10
FunctionStudioPage
()
app/src/app/studio/[[...index]]/page.tsx:6
FunctionSupervisorChallenges
({ challenges = [], awards = [], type }: Props)
app/src/components/SupervisorChallenges.tsx:16
FunctionWaveHeader
()
app/src/components/ui/waveHeader.tsx:10
FunctiongetCurrentHostname
()
app/src/lib/utils/getEventCodeFromSubdomain.ts:60
FunctiongetCurrentHostname
()
app/src/lib/utils/getEventCode.ts:60
FunctiongetCurrentUrl
()
app/src/lib/utils/getEventCodeFromSubdomain.ts:68
FunctiongetCurrentUrl
()
app/src/lib/utils/getEventCode.ts:68
FunctiongetEventCode
()
app/src/lib/utils/getEventCodeFromSubdomain.ts:6
FunctiongetRequiredFieldsForType
(type: GitHubVerificationType)
app/src/types/github.ts:188
FunctiongetUser
()
app/src/lib/auth.ts:4
FunctionhandleClose
()
app/src/components/SupervisorChallenges.tsx:55
FunctionhandleRedeem
()
app/src/components/ChallengeDetail.tsx:125
FunctionhandleRedeem
()
app/src/components/AwardDetail.tsx:86
FunctionhandleScan
(result: string)
app/src/components/SupervisorChallenges.tsx:24
FunctionhandleSubmit
(e: React.FormEvent)
app/src/components/SignUpForm.tsx:38
FunctionisLocalhost
()
app/src/lib/utils/getEventCodeFromSubdomain.ts:51
Functionmiddleware
(request: NextRequest)
app/src/middleware.ts:8
Functionprepare
({ title, points, startDate, eventCode })
app/sanity/schemaTypes/challenge.ts:178
Functionprepare
({ title, subtitle, points, event, media })
app/sanity/schemaTypes/award.ts:84
FunctionsignOut
()
app/src/components/ui/sidebar.tsx:17