MCPcopy Create free account

hub / github.com/SuperteamDAO/earn / functions

Functions2,549 in github.com/SuperteamDAO/earn

↓ 3 callersFunctiongetMultiCountryRegionAliases
()
src/features/listings/utils/parse-opportunity-tags.ts:62
↓ 3 callersFunctiongetMultiCountryRegions
* Get multi-country regions (where region: true) from the countries list
src/features/listings/utils/parse-opportunity-tags.ts:20
↓ 3 callersFunctiongetParam
(name: any, processFn = (x: any) => x)
src/app/api/dynamic-og/pro-x/route.tsx:11
↓ 3 callersFunctiongetParam
(name: any, processFn = (x: any) => x)
src/app/api/dynamic-og/sponsor/route.tsx:11
↓ 3 callersFunctiongetRegionSlug
( regionName: string, chapters: ChapterRegionData[] = [], )
src/features/listings/utils/region.ts:193
↓ 3 callersFunctiongetRegionSlugsForSitemap
* Generate opportunity tag combinations for sitemap * Only includes type + (region | skill | category) combinations to avoid * overly large, thin, o
src/app/sitemap.ts:177
↓ 3 callersFunctiongetRegionTooltipLabel
( region: string | undefined, isGrant: boolean = false, chapters: ChapterRegionData[] = [], )
src/features/listings/utils/region.ts:114
↓ 3 callersFunctiongetRegionsForChapterPage
( chapterRegion: string, )
src/utils/chapterRegion.ts:183
↓ 3 callersFunctiongetRegionsForCountryPageUsingChapters
( countryName: string, )
src/utils/chapterRegion.ts:235
↓ 3 callersFunctiongetRegionsForMultiCountryRegionPageUsingChapters
( regionName: string, )
src/utils/chapterRegion.ts:212
↓ 3 callersFunctiongetSubskills
( skillsArray: { skills: string; subskills: string[] }[] | null, skillType?: string[], )
src/features/leaderboard/utils/index.ts:3
↓ 3 callersFunctiongetSuperteamCodeToIso3Map
( chapters: ChapterRegionData[], )
src/features/stfun/components/common/SuperteamMap.tsx:10
↓ 3 callersFunctiongetTrancheApprovedEmailBody
({ granteeName, projectTitle, sponsorName, approvedAmount, token, salutation, reviewerNote, }: {
src/features/sponsor-dashboard/utils/grantEmailCopy.ts:79
↓ 3 callersFunctiongetTrancheRejectedEmailBody
({ granteeName, projectTitle, sponsorName, salutation, reviewerNote, }: { granteeName?: string | n
src/features/sponsor-dashboard/utils/grantEmailCopy.ts:112
↓ 3 callersFunctiongetUnit
(number: number, range: number, index?: number)
src/app/api/dynamic-og/winners/route.tsx:57
↓ 3 callersFunctiongetVisibleHackathons
(hackathons?: HackathonModel[])
src/features/hackathon/utils/getVisibleHackathons.ts:4
↓ 3 callersFunctiongetWinningSubmissionsByListingId
(listingId: string)
src/pages/api/listings/[listingId]/winners.ts:8
↓ 3 callersFunctiongrantApplicationSchema
( minReward: number, maxReward: number, token: string, questions?: GrantQuestion[], user?: User | nu
src/features/grants/utils/grantApplicationSchema.ts:79
↓ 3 callersFunctionhandleError
( error: unknown, props: ImageActionProps, errorHandler?: (error: Error, props: ImageActionProps) => voi
src/components/tiptap/extensions/image/image.ts:81
↓ 3 callersFunctionhandleError
(error: unknown, res: NextApiResponse)
src/pages/api/tokens/index.ts:43
↓ 3 callersFunctionhandleImageLoad
(img: HTMLImageElement)
src/pages/_app.tsx:50
↓ 3 callersFunctionhandleSubmit
()
src/features/comments/components/Comment.tsx:182
↓ 3 callersFunctionhandleSumSubError
(error: unknown)
src/features/kyc/utils/handleSumSubError.ts:3
↓ 3 callersFunctionhandleTabChange
(value: string)
src/pages/earn/dashboard/listings/[slug]/submissions.tsx:92
↓ 3 callersFunctionhandleUserCreation
(email: string)
src/features/auth/utils/handleUserCreation.ts:10
↓ 3 callersFunctionhandleWithdraw
(values: WithdrawFormData)
src/features/wallet/components/withdraw/WithdrawFundsFlow.tsx:165
↓ 3 callersFunctionhasDevSkills
(skills: Skills)
src/features/talent/utils/skills.ts:4
↓ 3 callersFunctionhasMoreThan72HoursLeft
(deadline: string | Date)
src/features/listing-builder/components/Form/Boost/utils.ts:94
↓ 3 callersFunctionisListingEditable
({ listing, user, }: IsListingEditableParams)
src/features/listing-builder/utils/isListingEditable.ts:37
↓ 3 callersFunctionisListingVerified
(listing: BountyWithStageFields)
src/app/api/homepage/sponsor-stage/route.ts:88
↓ 3 callersFunctionisPdfUrl
(url: string)
src/features/sponsor-dashboard/components/ImageGallery.tsx:23
↓ 3 callersFunctionisPrivateIp
(hostname: string)
src/utils/safeRemoteFetch.ts:112
↓ 3 callersFunctionisProductionEnv
()
src/lib/site-url.ts:1
↓ 3 callersFunctionisSafeRemoteUrl
(url: URL)
src/utils/safeRemoteFetch.ts:160
↓ 3 callersFunctionisUrl
( text: string, options: { requireHostname: boolean; allowBase64?: boolean } = { requireHostname: fals
src/components/tiptap/utils.ts:54
↓ 3 callersFunctionloadTokenList
(force = false)
src/constants/tokenList.ts:62
↓ 3 callersFunctionnormalizeCanonicalUrl
(url: string)
src/utils/canonical.ts:7
↓ 3 callersFunctionnormalizeImageUrls
( value: unknown, { label, required, max, itemType = 'files', requiredMessage, }: {
src/features/grants/utils/createTranche.ts:36
↓ 3 callersFunctionnormalizeRegionKey
(value: string)
src/utils/canonicalRegion.ts:16
↓ 3 callersFunctionnormalizeRegionSlug
* Normalize region slug - converts aliases to canonical slugs
src/features/listings/utils/parse-opportunity-tags.ts:136
↓ 3 callersFunctionnormalizeTokenRecord
(token: T)
src/server/tokenList.ts:165
↓ 3 callersFunctionnormalizeValue
( value: number, lowerEnd: number, upperEnd: number, )
src/features/sponsor-dashboard/components/Scouts/ScoutTable.tsx:319
↓ 3 callersFunctionnormalizeXHandle
(handle: string)
src/features/social/utils/x-verification.ts:17
↓ 3 callersFunctionpadTimeUnit
(value: number)
src/pages/earn/hackathon/world-cup.tsx:317
↓ 3 callersFunctionpadTimeUnit
(value: number)
src/features/home/components/SidebarBanner.tsx:204
↓ 3 callersFunctionparseRejectGrantApplicationsInput
( input: RejectGrantApplicationsInput, )
src/features/sponsor-dashboard/mutations/useRejectGrantApplications.ts:20
↓ 3 callersFunctionrandomId
()
src/components/tiptap/utils.ts:124
↓ 3 callersFunctionresolveEmailImpressions
( skills: unknown, estimate: unknown, )
src/features/listing-builder/components/Form/Boost/utils.ts:101
↓ 3 callersFunctionsetCacheHeaders
( res: NextApiResponse, options: CacheControlOptions = {}, )
src/utils/cacheControl.ts:43
↓ 3 callersFunctionsetTokenList
(tokens: Token[])
src/constants/tokenList.ts:34
↓ 3 callersFunctionslugify
(input: string)
src/pages/earn/regions/[slug]/all.tsx:26
↓ 3 callersFunctionsocialSuperRefine
( data: Partial<ProfileFormData>, ctx: z.RefinementCtx, )
src/features/talent/schema/index.ts:94
↓ 3 callersFunctionsortComments
(comments: Comment[])
src/features/comments/utils/index.ts:18
↓ 3 callersFunctionsponsorDashboardListingQuery
(slug: string)
src/features/sponsor-dashboard/queries/listing.ts:12
↓ 3 callersFunctionsponsorGrantQuery
( slug: string, currentSponsorId: string | undefined, )
src/features/sponsor-dashboard/queries/grant.ts:12
↓ 3 callersFunctionstr2ab
(str: string, fileName: string)
src/utils/cloudinary.ts:28
↓ 3 callersFunctionstripHtml
(html?: string)
src/utils/json-ld.ts:320
↓ 3 callersFunctionsubmissionSchema
( listing: Listing, minRewardAsk: number, maxRewardAsk: number, user: User | null, options?: { isAge
src/features/listings/utils/submissionFormSchema.ts:24
↓ 3 callersFunctionsubmissionsQuery
(slug: string, isHackathon?: boolean)
src/features/sponsor-dashboard/queries/submissions.ts:16
↓ 3 callersFunctiontoBaseUnits
(amountStr: string, decimals: number)
src/utils/to-base-units.ts:1
↓ 3 callersFunctionupdateFade
()
src/features/listing-builder/components/AutoGenerate/extras/ProgressiveBlurOut.tsx:18
↓ 3 callersFunctionupdateLike
( model: 'submission' | 'poW' | 'grantApplication', itemId: string, userId: string, )
src/services/likeService.ts:3
↓ 3 callersFunctionuploadImageToCloudinary
( file: File, source: ImageSource, )
src/components/tiptap/hooks/use-minimal-tiptap.ts:54
↓ 3 callersFunctionuseCarousel
()
src/components/ui/carousel.tsx:37
↓ 3 callersFunctionuseDebounce
(value: T, delay?: number)
src/components/ui/multi-select.tsx:94
↓ 3 callersFunctionuseExternalLinkDialog
()
src/components/shared/ExternalLinkDialogProvider.tsx:105
↓ 3 callersFunctionuseProUpgradeFlow
()
src/features/pro/state/pro-upgrade-flow.ts:83
↓ 3 callersFunctionuseRejectGrantApplications
(slug: string)
src/features/sponsor-dashboard/mutations/useRejectGrantApplications.ts:30
↓ 3 callersFunctionuseRejectSubmissions
(slug: string)
src/features/sponsor-dashboard/mutations/useRejectSubmissions.ts:11
↓ 3 callersFunctionuseToggleWinner
(bounty: Listing | undefined)
src/features/sponsor-dashboard/mutations/useToggleWinner.ts:26
↓ 3 callersFunctionuseUpdateUser
()
src/store/user.ts:111
↓ 3 callersFunctionuserWithMatchingSubmissionsQuery
( sumMatchingSkills: boolean = false, arrayMatchingSkills: boolean = false, )
src/app/api/sponsor-dashboard/listing/[id]/scout/route.ts:218
↓ 3 callersFunctionvalidateSolAddress
(address: string)
src/utils/validateSolAddress.ts:3
↓ 3 callersFunctionvalidateWalletAddressOwnership
({ grant, userId, walletAddress, }: { grant: FoundationGrant; userId: string; walletAddress: strin
src/features/grants/utils/validateWalletAddressOwnership.ts:10
↓ 2 callersFunctionaddLinkToEditor
()
src/components/shared/RichEditor.tsx:323
↓ 2 callersFunctionaddPaymentInfoToAirtable
( inputApplication: GrantApplicationWithUserAndGrant, inputGrantTranche: GrantTrancheModel, )
src/features/grants/utils/addPaymentInfoToAirtable.ts:160
↓ 2 callersFunctionaddSuggestion
(option: Option)
src/components/shared/SkillsSelectNew.tsx:198
↓ 2 callersFunctionaddToMap
(node: Node, map: Map<string, ImageInfo>)
src/components/tiptap/extensions/image/image.ts:299
↓ 2 callersFunctionairtableUpsert
(mergeOn: string, data: any[])
src/utils/airtable.ts:30
↓ 2 callersFunctionapplyPriorityAndTiebreaker
( listingsWithStages: ListingWithStage[], )
src/app/api/homepage/sponsor-stage/route.ts:223
↓ 2 callersFunctionapplyTemplate
(templateToApply: ListingTemplate)
src/features/listing-builder/components/Form/DescriptionAndTemplate/Templates.tsx:99
↓ 2 callersFunctionbuildListingContext
({ listing, userId, hackathonId, }: ListingContextParams)
src/features/listing-builder/utils/contextBuilder.ts:56
↓ 2 callersFunctionbuildListingQuery
( args: BuildListingQueryArgs, user: { id: string; isTalentFilled: boolean; location: string |
src/features/listings/utils/query-builder.ts:158
↓ 2 callersFunctioncheckHashAndOpenModal
()
src/features/navbar/components/Header.tsx:119
↓ 2 callersFunctioncheckInvalidItems
(obj: object, arr: string[])
src/pages/api/search/[query].ts:17
↓ 2 callersFunctioncheckRateLimit
* Core rate limiting function that checks limits and returns structured results. * This function doesn't send responses directly, making it reusable
src/lib/rateLimiterService.ts:33
↓ 2 callersFunctioncheckVerificationStatus
( applicantId: string, secretKey: string, appToken: string, maxAttempts = 10, delay = 1000, )
src/features/kyc/utils/checkVerificationStatus.ts:11
↓ 2 callersFunctionclassifySolanaError
( error: unknown, )
src/utils/solanaTransactionHelpers.ts:3
↓ 2 callersFunctioncleanRewardPrizes
(rewards?: Rewards, skipBonus = false)
src/utils/rank.ts:70
↓ 2 callersFunctioncloseMenu
()
src/features/stfun/components/common/Header.tsx:32
↓ 2 callersFunctioncommitInput
()
src/features/leaderboard/components/Pagination.tsx:34
↓ 2 callersFunctioncompressImage
( file: File, options: CompressionOptions = {}, )
src/lib/image-upload/utils/compression.ts:15
↓ 2 callersFunctionconvertGrantApplicationToAirtable
( grantApplication: GrantApplicationWithUserAndGrant, applicantSuperteamRegionRecordId?: string | undefine
src/features/grants/utils/convertGrantApplicationToAirtable.ts:56
↓ 2 callersFunctionconvertUndefinedToNull
(input: AnyType)
src/utils/undefinedToNull.ts:9
↓ 2 callersFunctioncreateComment
( userId: string, input: CreateCommentInput, options?: { logPrefix?: string }, )
src/pages/api/comment/create.ts:24
↓ 2 callersFunctioncreateSponsorEmailSettings
(userId: string)
src/features/sponsor-dashboard/utils/createSponsorEmailSettings.ts:3
↓ 2 callersFunctioncreateSubmission
( userId: string, listingId: string, data: any, listing: any, options?: { isAgent?: boolean; agentId
src/pages/api/submission/create.ts:21
↓ 2 callersFunctioncreditAggregate
(userId: string)
src/features/credits/utils/creditAggregate.ts:4
↓ 2 callersFunctiondecodeHtmlEntities
(value: string)
src/features/grants/utils/sanitizeGrantApplicationHtml.ts:60
↓ 2 callersFunctiondeleteEmailSettings
(recipientEmail: string)
src/pages/api/email/webhook/index.ts:36
← previousnext →201–300 of 2,549, ranked by callers