MCPcopy Create free account

hub / github.com/SuperteamDAO/earn / functions

Functions2,549 in github.com/SuperteamDAO/earn

↓ 5 callersFunctionplatformNameMessage
(name: SocialType)
src/features/social/utils/schema.ts:22
↓ 5 callersFunctionshareMessage
( socialSource?: 'telegram' | 'facebook' | 'linkedin', )
src/features/listings/components/ListingPage/ShareListing.tsx:116
↓ 5 callersFunctiontimeAgoShort
( date: Date | string, serverTime?: number, )
src/utils/timeAgo.ts:3
↓ 5 callersFunctiontruncateString
(string: string = '', length: number)
src/utils/truncateString.ts:1
↓ 5 callersFunctionuseInitAtom
(atom: PrimitiveAtom<T>, initialValue: T)
src/utils/atoms.ts:19
↓ 5 callersFunctionuserRegionEligibilty
({ region, userLocation, chapters = [], }: { region: string | undefined; userLocation: string | unde
src/features/listings/utils/region.ts:148
↓ 5 callersFunctionusernameLongMessage
(max: number)
src/features/social/utils/schema.ts:14
↓ 5 callersFunctionusernameShortMessage
(min: number)
src/features/social/utils/schema.ts:11
↓ 5 callersFunctionverifyImageExists
(url: string)
src/utils/cloudinary.ts:48
↓ 4 callersFunctionactiveHackathonsQuery
()
src/features/sponsor-dashboard/queries/active-hackathons.ts:11
↓ 4 callersFunctionamountToStep
( usdAmount: number, isFeatureAvailable: boolean, )
src/features/listing-builder/components/Form/Boost/utils.ts:28
↓ 4 callersFunctionbuildVideoUrl
(name: string)
src/features/listing-builder/components/Form/Rewards/BoostContent.tsx:49
↓ 4 callersFunctioncanonicalizeRegionValue
(value: string)
src/utils/canonicalRegion.ts:20
↓ 4 callersFunctioncleanSkills
( skillObjArray: { skills: ParentSkills; subskills: SubSkillsType[] }[], )
src/utils/cleanSkills.ts:11
↓ 4 callersFunctioncomputeEstimatedUsdValue
( rewardAmount: unknown, tokenUsdValue: unknown, )
src/features/listing-builder/components/Form/Boost/utils.ts:115
↓ 4 callersFunctionconvertTextToNotesHTML
(text: string)
src/features/sponsor-dashboard/utils/convertTextToNotesHTML.ts:1
↓ 4 callersFunctioncreateAppropriateTransferInstruction
( source: Address, destination: Address, authority: TransactionSigner, amount: bigint, mint: Address
src/app/api/wallet/create-signed-transaction/route.ts:90
↓ 4 callersFunctioncreateSumSubHeaders
( method: string, url: string, body: string, secretKey: string, appToken: string, )
src/features/kyc/utils/createSumSubHeaders.ts:17
↓ 4 callersFunctionextractPublicIdFromUrl
(url: string)
src/lib/image-upload/client.ts:13
↓ 4 callersFunctionfeaturedAvailabilityQuery
()
src/features/listing-builder/components/Form/Boost/queries.ts:26
↓ 4 callersFunctionfilterInDevSkills
(skills: string[])
src/app/api/sponsor-dashboard/listing/[id]/scout/route.ts:32
↓ 4 callersFunctiongenerateCanonicalSlug
(tags: ParsedOpportunityTags)
src/features/listings/utils/parse-opportunity-tags.ts:225
↓ 4 callersFunctiongenerateRegionalOrganizationSchema
(region: { readonly displayValue: string; readonly region: string; readonly slug: string; readonly cod
src/utils/json-ld.ts:225
↓ 4 callersFunctiongetAllCategorySlugs
()
src/features/listings/utils/category.ts:54
↓ 4 callersFunctiongetAllRegionSlugs
( chapters: ChapterRegionData[] = [], )
src/features/listings/utils/region.ts:274
↓ 4 callersFunctiongetAllowedMaxStep
(isFeatureAvailable: boolean)
src/features/listing-builder/components/Form/Boost/utils.ts:59
↓ 4 callersFunctiongetListingTypeLabel
(type: string)
src/features/listings/utils/status.ts:18
↓ 4 callersFunctiongetLocationCooldown
({ locationUpdatedAt, listingRegion, userLocation, chapters, }: LocationCooldownInput)
src/features/listings/utils/locationCooldown.ts:21
↓ 4 callersFunctiongetParam
(name: string, processFn = (x: any) => x)
src/app/api/dynamic-og/winners/route.tsx:117
↓ 4 callersFunctiongetParam
(name: any, processFn = (x: any) => x)
src/app/api/dynamic-og/pro-talent/route.tsx:11
↓ 4 callersFunctiongetRegionNameForLocation
( location: string | null | undefined, )
src/utils/chapterRegion.ts:124
↓ 4 callersFunctiongetTokenList
(options?: { includeInactive?: boolean; })
src/server/tokenList.ts:244
↓ 4 callersFunctionhandleModalAction
( action: 'reject' | 'bonus' | 'spam' | 'shortlist', )
src/pages/earn/dashboard/listings/[slug]/submissions.tsx:216
↓ 4 callersFunctionhandlePerkClick
(unlockValue: number)
src/features/listing-builder/components/Form/Rewards/BoostContent.tsx:88
↓ 4 callersFunctionhandler
( _req: NextApiRequest, res: NextApiResponse, )
src/pages/api/hello.ts:3
↓ 4 callersFunctionhardDomPurify
(dirty: string | Node, cfg?: IsoDomPurify.Config)
src/components/shared/SupportFormDialog.tsx:30
↓ 4 callersFunctionisAllCurrentToggled
()
src/pages/earn/dashboard/listings/[slug]/submissions.tsx:189
↓ 4 callersFunctionisUserEligibleForST
( user: { peopleId?: string | null; people?: { chapterId?: string | null; type?: string
src/features/grants/utils/stGrant.ts:255
↓ 4 callersFunctionmatchesSignature
(bytes: Uint8Array, signature: number[])
src/lib/image-upload/security/magic-bytes.ts:12
↓ 4 callersFunctionnormalizeLinkedSocialInput
( platform: 'github' | 'twitter' | 'linkedin' | 'telegram', value: unknown, )
src/app/api/user/complete-profile/route.ts:71
↓ 4 callersFunctionnormalizeRegion
(value: string)
src/features/listing-builder/utils/validateListingRegion.ts:5
↓ 4 callersFunctionnormalizeRemoteIconToProxyPath
(url: string)
src/server/tokenList.ts:63
↓ 4 callersFunctionparseHttpUrl
(value: string)
src/features/grants/utils/createTranche.ts:17
↓ 4 callersFunctionprocessEntries
(entries: any[] = [])
src/features/credits/components/CreditDrawer.tsx:101
↓ 4 callersFunctionremoveAtSign
(value: string)
src/features/social/utils/extractUsername.ts:12
↓ 4 callersFunctionrequestClose
()
src/features/sponsor-dashboard/components/GrantApplications/hooks/useCustomNoteCloseGuard.tsx:45
↓ 4 callersFunctionroundToNearestThousand
(number: number)
src/utils/number.ts:1
↓ 4 callersFunctionrunInBatches
( items: T[], processItem: (item: T, index: number) => Promise<R>, batchSize = UPDATE_BATCH_SIZE, )
src/app/api/sponsor-dashboard/submissions/ai/commit-reviewed/route.ts:22
↓ 4 callersFunctionsanitizeGrantApplicationAnswers
(answers?: TAnswer[])
src/features/grants/utils/sanitizeGrantApplicationHtml.ts:81
↓ 4 callersFunctionsanitizeGrantApplicationText
(value?: string | null)
src/features/grants/utils/sanitizeGrantApplicationHtml.ts:75
↓ 4 callersFunctionsetColor
(href: string, routerPath: string)
src/features/navbar/components/BottomBar.tsx:32
↓ 4 callersFunctionsubmissionCountQuery
(listingId: string)
src/features/listings/queries/submission-count.ts:12
↓ 4 callersFunctiontokenUsdValueQuery
(tokenSymbol?: string | null)
src/features/listing-builder/components/Form/Boost/queries.ts:9
↓ 4 callersFunctiontransToGroupOption
(options: Option[], groupBy?: string)
src/components/ui/multi-select.tsx:108
↓ 4 callersFunctiontransformedUrl
(name: SocialType, username: string)
src/features/social/utils/schema.ts:18
↓ 4 callersFunctionuniqSorted
(values: number[])
src/features/listing-builder/components/Form/Boost/utils.ts:184
↓ 4 callersMethoduploadFailed
(message = 'Upload failed')
src/lib/image-upload/errors.ts:31
↓ 4 callersFunctionuseAutoSwitchSponsor
({ error }: UseAutoSwitchSponsorOptions)
src/features/sponsor-dashboard/hooks/use-auto-switch-sponsor.ts:12
↓ 4 callersFunctionuseClipboard
( text: string, options: UseClipboardOptions = {}, )
src/hooks/use-clipboard.ts:13
↓ 4 callersFunctionuseCreditBalance
()
src/store/credit.ts:18
↓ 4 callersFunctionuseCustomNoteCloseGuard
({ customNote, isEnabled, onDiscard, }: UseCustomNoteCloseGuardProps)
src/features/sponsor-dashboard/components/GrantApplications/hooks/useCustomNoteCloseGuard.tsx:22
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:42
↓ 4 callersFunctionuseTimeout
(callback: () => void, delay: number)
src/hooks/use-timeout.ts:35
↓ 4 callersFunctionuseUsernameValidation
(initialValue = '')
src/features/talent/utils/useUsernameValidation.ts:10
↓ 4 callersFunctionuserSubmissionQuery
( listingId: string, userId: string | undefined, )
src/features/listings/queries/user-submission-status.ts:12
↓ 4 callersFunctionvalidateSubmissionRequest
( userId: string, listingId: string, options?: { actor?: 'user' | 'agent'; skipLocationCooldown?: boolea
src/features/listings/utils/validateSubmissionRequest.ts:8
↓ 3 callersFunctionairtableInsert
(data: any[], typecast?: boolean)
src/utils/airtable.ts:23
↓ 3 callersFunctionbindLikeParam
(value: string)
src/app/api/sponsor-dashboard/listing/[id]/scout/route.ts:98
↓ 3 callersFunctionbuildAnchorMap
( priceUsd: number | null, isFeatureAvailable: boolean, )
src/features/listing-builder/components/Form/Boost/utils.ts:188
↓ 3 callersFunctionbuildFeaturedAvailabilityWhere
()
src/features/listing-builder/utils/featured-availability.ts:3
↓ 3 callersFunctioncalculateSuggestions
(suggestions: Suggestions[], input: string)
src/features/listing-builder/utils/suggestions.ts:54
↓ 3 callersFunctioncanDispute
( entry: CreditEntry, allEntries: CreditEntry[], showToast: boolean = false, )
src/features/credits/utils/canDispute.ts:11
↓ 3 callersFunctioncloseSheet
()
src/features/listing-builder/components/Form/Rewards/Sheet.tsx:172
↓ 3 callersFunctionconvertDatesToISO
(input: TInput)
src/utils/safeStringify.ts:18
↓ 3 callersFunctioncreateListingFormSchema
({ isGod, isEditing, isST, pastListing, hackathons, }: ListingFormSchemaOptions)
src/features/listing-builder/types/schema.ts:47
↓ 3 callersFunctioncreateListingRefinements
( data: ListingFormData, ctx: z.RefinementCtx, hackathons?: HackathonModel[], pick?: ValidationFields,
src/features/listing-builder/types/schema.ts:318
↓ 3 callersFunctioncreatePayment
({ userId }: CreatePaymentProps)
src/features/listings/utils/createPayment.ts:10
↓ 3 callersFunctioncreateTranche
({ applicationId, requesterUserId, helpWanted, update, walletAddress, isFirstTranche, eventPictu
src/features/grants/utils/createTranche.ts:226
↓ 3 callersFunctioncsvUpload
( file: any, fileName: string, listingId: string, )
src/utils/cloudinary.ts:12
↓ 3 callersFunctiondetectFormat
(buffer: ArrayBuffer)
src/lib/image-upload/security/magic-bytes.ts:37
↓ 3 callersFunctionemailEstimateQuery
(skills: unknown, region?: string | null)
src/features/listing-builder/components/Form/Boost/queries.ts:45
↓ 3 callersFunctionextractLumaEventSlug
(input: string)
src/features/grants/utils/stGrant.ts:132
↓ 3 callersFunctionfilterAllowedFields
( body: T, allowedFields: (keyof T)[], )
src/utils/filterAllowedFields.ts:1
↓ 3 callersFunctionfilterFiles
( files: T[], options: FileValidationOptions, )
src/components/tiptap/utils.ts:204
↓ 3 callersFunctionfindOptionByValue
(value: string)
src/components/shared/SkillsCombobox.tsx:145
↓ 3 callersFunctionformatNumber
(value: number | undefined)
src/features/sponsor/components/Stats.tsx:10
↓ 3 callersFunctiongenerateStars
(count: number, width: number, height: number)
src/pages/fast-track.tsx:9
↓ 3 callersFunctiongenerateStars
( count: number, width: number, height: number, seedOffset: number = 0, )
src/features/stfun/components/sections/Accelerator.tsx:9
↓ 3 callersFunctiongenerateStars
( count: number, width: number, height: number, seedOffset: number = 0, )
src/features/stfun/components/sections/Hero.tsx:20
↓ 3 callersFunctiongenerateTopStars
( count: number, width: number, height: number, seedOffset: number = 0, )
src/features/stfun/components/sections/Hero.tsx:42
↓ 3 callersFunctiongenerateUniqueSlug
( title: string, id?: string, )
src/features/listing-builder/utils/getValidSlug.ts:31
↓ 3 callersFunctiongetAllSkillSlugs
()
src/features/listings/utils/skill.ts:72
↓ 3 callersFunctiongetDraftPayloadKey
(payload: ListingFormData)
src/features/listing-builder/hooks/index.ts:60
↓ 3 callersFunctiongetGrantApprovedEmailBody
({ granteeName, grantTitle, projectTitle, approvedAmount, token, salutation, reviewerNote, }: {
src/features/sponsor-dashboard/utils/grantEmailCopy.ts:19
↓ 3 callersFunctiongetGrantBySlug
(slug: string)
src/features/grants/queries/get-grant-by-slug.ts:3
↓ 3 callersFunctiongetGrantFixedAsk
( grant: | { title?: string | null; minReward?: number | null; maxReward?: numbe
src/features/grants/utils/stGrant.ts:230
↓ 3 callersFunctiongetGrantRejectedEmailBody
({ granteeName, grantTitle, projectTitle, salutation, reviewerNote, }: { granteeName?: string | nu
src/features/sponsor-dashboard/utils/grantEmailCopy.ts:54
↓ 3 callersFunctiongetListingDetailsBySlug
(slug: string)
src/pages/api/listings/details/[slug].ts:7
↓ 3 callersFunctiongetMarkerPosition
(marker: any)
src/features/stfun/components/common/SuperteamMap.tsx:218
↓ 3 callersFunctiongetMatchingSurvey
( surveys: Survey[], key: string, )
src/features/surveys/utils/get-matching-survey.ts:3
← previousnext →101–200 of 2,549, ranked by callers