MCPcopy Create free account

hub / github.com/freeCodeCamp/freeCodeCamp / functions

Functions2,118 in github.com/freeCodeCamp/freeCodeCamp

↓ 5 callersFunctionnormalizeBluesky
( handleOrUrl: string | null )
api/src/utils/normalize.ts:49
↓ 5 callersFunctionnormalizeProfileUI
( maybeProfileUI: ProfileUI | null )
api/src/utils/normalize.ts:125
↓ 5 callersFunctionnormalizeTwitter
( handleOrUrl: string | null )
api/src/utils/normalize.ts:29
↓ 5 callersFunctionomitAttemptReferenceIds
(attempt: ExamEnvironmentExamAttempt)
api/src/exam-environment/utils/exam-environment.ts:605
↓ 5 callersFunctionopenChallenge
(page: Page, challengeUrl: string)
e2e/upper-jaw-scroll-mobile.spec.ts:11
↓ 5 callersFunctionparse
(file)
tools/challenge-parser/parser/plugins/replace-imports.js:13
↓ 5 callersFunctionparseAnswer
( text: string )
client/src/templates/Challenges/fill-in-the-blank/parse-blanks.ts:38
↓ 5 callersFunctionparseHanziPinyinPairs
( text: string )
client/src/templates/Challenges/fill-in-the-blank/parse-blanks.ts:21
↓ 5 callersFunctionparseIntroJson
(filePath: string)
tools/challenge-helper-scripts/helpers/parse-json.ts:26
↓ 5 callersFunctionpostChallenge
(update)
client/src/templates/Challenges/redux/completion-epic.js:56
↓ 5 callersFunctionproxyLogger
client/src/templates/Challenges/redux/execute-challenge-saga.js:268
↓ 5 callersFunctionreadCurriculumIntros
(lang: Languages)
client/tools/external-curriculum/build-external-curricula-data-v2.ts:131
↓ 5 callersFunctionreadJsonFile
(language: string, fileName: string)
client/i18n/schema-validation.ts:228
↓ 5 callersFunctionrenderForSuperBlock
({ superBlock, isDonating }: { superBlock: SuperBlocks; isDonating: boolean; }
client/src/templates/Introduction/super-block-intro.test.tsx:498
↓ 5 callersFunctionresetDefaultUser
()
api/vitest.utils.ts:226
↓ 5 callersFunctionschemaValidation
( language: string, fileName: string, fileJson: Record<string, unknown>, schemaKeys: string[] )
client/i18n/schema-validation.ts:197
↓ 5 callersFunctionshuffleArray
(arrToShuffle: Array<T>)
packages/shared/src/utils/shuffle-array.ts:2
↓ 5 callersFunctionsign
(value: string)
api/src/plugins/cookies.ts:26
↓ 5 callersFunctionsortChallengeFiles
( challengeFiles: File[] )
client/utils/sort-challengefiles.ts:1
↓ 5 callersFunctionsplitOnThematicBreak
(nodes)
tools/challenge-parser/parser/plugins/utils/split-on-thematic-break.js:5
↓ 5 callersFunctiontoLearnPath
({ block, challenge, superBlock }: ToLearnPathKwargs)
client/src/utils/to-learn-path.ts:13
↓ 5 callersFunctionupdateChapterModuleSuperblockStructure
( block: string, position: { order: number; chapter: string; module: string }, superblockFilename: strin
tools/challenge-helper-scripts/helpers/create-project.ts:62
↓ 5 callersFunctionupdateSimpleSuperblockStructure
( block: string, position: { order?: number }, superblockFilename: string )
tools/challenge-helper-scripts/helpers/create-project.ts:9
↓ 5 callersFunctionupdateUserChallengeData
( fastify: FastifyInstance, user: Pick< user, | 'id' | 'completedChallenges' | 'needsModer
api/src/utils/common-challenge-functions.ts:118
↓ 5 callersFunctionwaitUntilHydrated
(page: Page, pageId: PageId)
e2e/hotkeys.spec.ts:58
↓ 5 callersFunctionwithTrace
( fn: (...x: Args) => Promise<Result>, ...args: Args )
tools/challenge-helper-scripts/helpers/utils.ts:12
↓ 4 callersFunctionadd
(field, value)
tools/challenge-parser/parser/plugins/table-and-strikethrough.js:18
↓ 4 callersFunctionaddMetaToChallenge
( challengeIn: Partial<Challenge>, meta: Meta )
curriculum/src/build-superblock.ts:147
↓ 4 callersFunctionavatarHasClass
( componentTree: ReactTestRendererJSON | ReactTestRendererJSON[] | null, classes: string )
client/src/components/Header/header.test.tsx:78
↓ 4 callersFunctionbuildBlock
(foundChallenges: Challenge[], meta: Meta)
curriculum/src/build-superblock.ts:123
↓ 4 callersFunctionbuildChallengeData
(challengeData, options)
client/src/templates/Challenges/redux/execute-challenge-saga.js:182
↓ 4 callersFunctioncheckAttemptAgainstGeneratedExam
( questionSets: ExamEnvironmentQuestionSetAttempt[], generatedExam: Pick<ExamEnvironmentGeneratedExam, 'qu
api/src/exam-environment/utils/exam-environment.ts:198
↓ 4 callersFunctioncheckPrerequisites
( user: PartialUser, prerequisites: ExamEnvironmentExam['prerequisites'] )
api/src/exam-environment/utils/exam-environment.ts:33
↓ 4 callersFunctionclosestMatch
( target: string, xs: string[] )
curriculum/src/filter.ts:166
↓ 4 callersFunctionconstructUserExam
( generatedExam: ExamEnvironmentGeneratedExam, exam: ExamEnvironmentExam )
api/src/exam-environment/utils/exam-environment.ts:61
↓ 4 callersFunctioncreateAuthToken
(userId: string, ttl?: number)
api/src/utils/tokens.ts:51
↓ 4 callersFunctioncreateBlockFolder
(block: string)
curriculum/src/file-handler.ts:180
↓ 4 callersFunctioncreateMSUsernameRecord
(msUsername: string)
api/src/routes/protected/challenge.test.ts:1824
↓ 4 callersFunctioncreateOnChangeHandler
(id: string, key: 'description' | 'image' | 'title' | 'url')
client/src/components/profile/components/portfolio.tsx:102
↓ 4 callersFunctioncreatePageProps
( setup: TestSetup, superBlock: SuperBlocks, overrides: Record<string, unknown> = {} )
client/src/templates/Introduction/super-block-intro.test.tsx:269
↓ 4 callersFunctioncreatePoly
({ name, ext, contents, history, ...rest }: PolyProps & Rest)
packages/shared/src/utils/polyvinyl.ts:37
↓ 4 callersFunctioncreateRequestListener
()
api/src/plugins/error-handling.test.ts:247
↓ 4 callersFunctioncreateSetup
(superBlock: SuperBlocks)
client/src/templates/Introduction/super-block-intro.test.tsx:212
↓ 4 callersFunctioncreateStepFile
({ stepNum, challengeType, challengeId, projectPath = getProjectPath(), challengeSeeds = [], isFir
tools/challenge-helper-scripts/utils.ts:52
↓ 4 callersFunctioncreateTouchEvent
( type: 'touchstart' | 'touchmove' | 'touchend' | 'touchcancel', x: number, y: number, identifier = 7
client/src/templates/Challenges/classic/content-widget-events.test.tsx:43
↓ 4 callersFunctiondelay
(time = 0, fn)
client/src/redux/failed-updates-epic.js:23
↓ 4 callersFunctiondelay
(ms: number)
api/src/plugins/error-handling.test.ts:28
↓ 4 callersFunctionduplicates
(xs: T[])
curriculum/src/build-superblock.ts:26
↓ 4 callersFunctionencodeUserToken
(userToken: string)
api/src/utils/tokens.ts:12
↓ 4 callersFunctionfilterByBlock
( superblocks: T[], { block }: { block?: string } = {} )
curriculum/src/filter.ts:10
↓ 4 callersFunctionfilterByChallengeId
(superblocks: T[], { challengeId }: { challengeId?: string } = {})
curriculum/src/filter.ts:57
↓ 4 callersFunctionfindAll
* Finds all nodes in a tree that match a given condition. This is a trivial * extension of `unist-util-find` that returns all matching nodes. * * @
tools/challenge-parser/parser/plugins/utils/find-all.js:13
↓ 4 callersFunctionformat
(x)
tools/client-plugins/browser-scripts/utils/format.js:6
↓ 4 callersFunctionformatSecondsToTime
(s: number)
client/src/utils/format-seconds.ts:1
↓ 4 callersFunctionformattedAmountLabel
(amount: number)
client/src/components/Donation/utils.ts:6
↓ 4 callersFunctiongenerateGithubLink
(challengeId: string, block: string)
client/src/components/create-github-link.ts:6
↓ 4 callersFunctiongenerateSuperBlockList
(config: Config)
packages/shared/src/config/curriculum.ts:346
↓ 4 callersFunctiongetAllBlocks
()
tools/challenge-helper-scripts/utils.ts:39
↓ 4 callersFunctiongetBaseMeta
( projectType: 'Step' | 'Quiz' | 'Language' | 'FullStack' )
tools/challenge-helper-scripts/helpers/get-base-meta.ts:53
↓ 4 callersFunctiongetCSRFToken
()
client/src/utils/ajax.ts:28
↓ 4 callersFunctiongetChallenge
(challengeId: string)
tools/challenge-helper-scripts/utils.ts:281
↓ 4 callersFunctiongetChallengeIdsByBlock
(blockId: string)
api/src/utils/get-challenges.ts:90
↓ 4 callersFunctiongetChallengesForLang
( lang: string, filters: Filter = curriculumFilter // default to global curriculum filter, but allow overr
curriculum/src/get-challenges.ts:14
↓ 4 callersFunctiongetContentConfig
( lang: string, { baseDir, i18nBaseDir } = { baseDir: CURRICULUM_DIR, i18nBaseDir: I18N_CURRICULUM
curriculum/src/file-handler.ts:48
↓ 4 callersFunctiongetContentDir
(lang: string)
curriculum/src/file-handler.ts:99
↓ 4 callersFunctiongetCookies
(setCookies: string[])
api/vitest.utils.ts:39
↓ 4 callersFunctiongetCurriculumStructure
()
curriculum/src/file-handler.ts:105
↓ 4 callersFunctiongetFileName
(id: string)
tools/challenge-helper-scripts/helpers/get-file-name.ts:5
↓ 4 callersFunctiongetGithubLinkBlock
(block, challengeType)
client/src/templates/Challenges/redux/create-question-epic.js:135
↓ 4 callersFunctiongetHook
(tree, sectionName)
tools/challenge-parser/parser/plugins/add-hooks.js:23
↓ 4 callersFunctiongetNowUsCentral
()
api/src/daily-coding-challenge/utils/helpers.ts:6
↓ 4 callersFunctiongetParagraphContent
(node)
tools/challenge-parser/parser/plugins/utils/get-paragraph-content.js:3
↓ 4 callersFunctiongetRandomInt
(min: number, max: number)
client/src/templates/Challenges/components/scene/character.tsx:23
↓ 4 callersFunctiongetSearchInput
({ page, isMobile }: { page: Page; isMobile: boolean; })
e2e/search-bar.spec.ts:11
↓ 4 callersFunctiongetSearchInput
({ page, isMobile }: { page: Page; isMobile: boolean; })
e2e/search-bar-optimized.spec.ts:4
↓ 4 callersFunctiongetSuperblocks
( block: string, _addSuperblockStructure = addSuperblockStructure )
curriculum/src/build-curriculum.ts:350
↓ 4 callersFunctiongetTSConfig
(challengeFiles: ChallengeFile[])
packages/challenge-builder/src/build.ts:187
↓ 4 callersFunctiongetUtcMidnight
(date: Date)
api/src/daily-coding-challenge/utils/helpers.ts:16
↓ 4 callersFunctiongetVersion
()
client/src/utils/version.ts:16
↓ 4 callersFunctiongetVersionObject
()
client/src/utils/version.ts:26
↓ 4 callersFunctiongoToLandingPage
(page: Page)
e2e/landing.spec.ts:39
↓ 4 callersFunctionhandleLanguageChange
(language: DailyCodingChallengeLanguages)
client/src/templates/Challenges/classic/action-row.tsx:144
↓ 4 callersFunctionhasEditableRegion
()
client/src/templates/Challenges/classic/editor.tsx:1152
↓ 4 callersFunctioninLastFiveMinutes
(unixTimestamp: number)
api/src/utils/validate-donation.ts:6
↓ 4 callersMethodinitialize
(data: { challengeNodes: ChallengeNode[]; certificateNodes: CertificateNode[]; superBlockStructure
client/src/services/curriculum-data.ts:20
↓ 4 callersFunctioninsertErms
(seedCode: string, erms: number[])
tools/challenge-helper-scripts/helpers/insert-erms.ts:2
↓ 4 callersFunctionisCertified
( user: Partial<CertificationFlags>, cert: Certification )
packages/shared/src/config/certification-settings.ts:254
↓ 4 callersFunctionisCodeAllyProjectCompleted
({ challengeId, completedChallenges, partiallyCompletedChallenges }: { challengeId: string; complete
client/src/templates/Challenges/codeally/project-submit.ts:5
↓ 4 callersFunctionisHandledError
(err: unknown)
client/src/utils/handled-error.ts:15
↓ 4 callersFunctionisProjectBased
( challengeType: number, blockDashedName: unknown = null )
client/src/utils/curriculum-layout.ts:22
↓ 4 callersFunctionisSignedInSelector
client/src/redux/selectors.js:29
↓ 4 callersFunctionisValidDateString
(dateString: string)
client/src/components/daily-coding-challenge/helpers.ts:23
↓ 4 callersFunctionloadPresetReact
()
packages/challenge-builder/src/transformers.js:74
↓ 4 callersFunctionmapFilesToChallengeFiles
( fileContainer: ({ files: (File & { key: string })[] } & Rest)[] = [] )
client/src/utils/ajax.ts:137
↓ 4 callersFunctionnormalizeFlags
( flags: T )
api/src/utils/normalize.ts:233
↓ 4 callersFunctionorderedSuperBlockInfo
( intros: CurriculumIntros = readCurriculumIntros(getCurriculumLocale()) )
client/tools/external-curriculum/build-external-curricula-data-v2.ts:140
↓ 4 callersFunctionrenderDeleteModal
( props: Partial<React.ComponentProps<typeof DeleteModal>> = {} )
client/src/components/settings/delete-modal.test.tsx:28
↓ 4 callersFunctionrenderExamResultsModal
({ results = examResults, isOpen = true }: { results?: GeneratedExamResults | null; isOpen?: boolean;
client/src/components/SolutionViewer/exam-results-modal.test.tsx:81
↓ 4 callersFunctionrenderWithRedux
(ui: JSX.Element)
client/src/components/settings/certification.test.tsx:17
↓ 4 callersFunctionrollbackUsage
()
api/src/routes/protected/socrates.ts:88
← previousnext →201–300 of 2,118, ranked by callers