Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code100x/cms
/ functions
Functions
512 in github.com/code100x/cms
⨍
Functions
512
◇
Types & classes
82
↓ 85 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.ts:7
↓ 57 callers
Method
get
(type: string, args: string[])
src/lib/cache/cache.ts:9
↓ 25 callers
Method
set
( type: string, args: string[], value: any, expirySeconds: number, )
src/lib/cache/cache.ts:2
↓ 20 callers
Function
getUpdatedUrl
( path: string, prevQueryParams: QueryParams, newQueryParams: QueryParams, )
src/lib/utils.ts:204
↓ 19 callers
Function
createSafeAction
( schema: z.Schema<TInput>, handler: (validatedData: TInput) => Promise<ActionState<TInput, TOutput>>, )
src/lib/create-safe-action.ts:19
↓ 18 callers
Function
useAction
( action: Action<TInput, TOutput>, options: UseActionOptions<TOutput> = {}, )
src/hooks/useAction.ts:17
↓ 9 callers
Function
onClose
()
src/hooks/useModal.tsx:13
↓ 6 callers
Function
getPurchases
(email: string)
src/utiles/appx.ts:145
↓ 6 callers
Function
isExtendedQuestion
( post: ExtendedQuestion | Answer, )
src/components/posts/PostCard.tsx:40
↓ 5 callers
Function
fetchPayoutMethods
()
src/app/bounty/page.tsx:19
↓ 5 callers
Function
getFullCourseContent
( courseId: number, )
src/db/course.ts:272
↓ 5 callers
Function
paginationData
(searchParams: QueryParams)
src/lib/utils.ts:238
↓ 4 callers
Function
combineDateAndTime
(date: Date, time: string)
src/components/big-calendar/calendar.tsx:88
↓ 4 callers
Function
findContentById
( contents: FullCourseContent[], ids: number[], )
src/lib/find-content-by-id.ts:3
↓ 4 callers
Function
getCourse
(courseId: number)
src/db/course.ts:121
↓ 4 callers
Function
getLabelClassName
(value: string)
src/components/admin/AddContent.tsx:51
↓ 4 callers
Function
loadEvents
()
src/components/big-calendar/calendar.tsx:72
↓ 4 callers
Function
updateTransform
()
src/components/VideoPlayer2.tsx:191
↓ 4 callers
Function
useCarousel
()
src/components/ui/carousel.tsx:35
↓ 4 callers
Function
useFormField
()
src/components/ui/form.tsx:42
↓ 3 callers
Function
bunnyUrl
(url?: string)
src/components/admin/ContentRenderer.tsx:8
↓ 3 callers
Function
fetchPayoutMethods
()
src/hooks/usePayoutMethod.ts:18
↓ 3 callers
Function
formatTime
(seconds: number)
src/lib/utils.ts:20
↓ 3 callers
Function
generateJWT
(payload: JWTPayload)
src/lib/auth.ts:42
↓ 3 callers
Method
generateKey
(type: string, args: string[])
src/lib/cache/in-memory-cache.ts:55
↓ 3 callers
Method
generateKey
(type: string, args: string[])
src/lib/cache/redis-cache.ts:47
↓ 3 callers
Method
getInstance
()
src/db/Cache.ts:19
↓ 3 callers
Function
handleMarkAsCompleted
( markAsCompleted: boolean, contentId: number, )
src/lib/utils.ts:149
↓ 3 callers
Function
handleSuggestionClick
(domain: string)
src/components/Signin.tsx:88
↓ 3 callers
Function
isAdmin
()
src/actions/event-actions/index.ts:10
↓ 3 callers
Function
previewViaBuffer
(player: any)
src/lib/createAndHandleSegments.ts:28
↓ 3 callers
Function
searchParamsToObject
( searchParams: URLSearchParams, )
src/lib/utils.ts:216
↓ 2 callers
Function
adjustTextareaHeight
()
src/components/comment/CommentInputForm.tsx:52
↓ 2 callers
Function
capitalizeFirstLetter
(inputString: string)
src/hooks/useCertGen.ts:5
↓ 2 callers
Function
changeCurrentTimeOnClick
(e: any, player: any)
src/lib/createAndHandleSegments.ts:58
↓ 2 callers
Function
changeVideoQuality
(quality: string, player: any)
src/components/QualitySelectorControllBar.ts:3
↓ 2 callers
Function
checkUserEmailForPurchase
( email: string, courseId: string, )
src/utiles/appx-check-mail.ts:12
↓ 2 callers
Function
closeSidebar
()
src/components/Sidebar.tsx:52
↓ 2 callers
Function
createSegmentMarkerElements
( player: Player, segment: Segment, lastSegment: Segment, )
src/lib/utils.ts:70
↓ 2 callers
Method
evict
(type: string, args: string[])
src/lib/cache/cache.ts:11
↓ 2 callers
Function
fetchBounties
()
src/app/admin/bounty/AdminBountyPage.tsx:26
↓ 2 callers
Function
fetchUserBounties
()
src/app/bounty/page.tsx:31
↓ 2 callers
Function
fuzzySearch
(videos: TSearchedVideos[], searchQuery: string)
src/app/api/search/route.ts:15
↓ 2 callers
Function
fuzzySearch
(videos: TSearchedVideos[], searchQuery: string)
src/app/api/mobile/search/route.ts:15
↓ 2 callers
Function
generateHandle
(title: string)
src/lib/utils.ts:316
↓ 2 callers
Function
getDisabledFeature
(feature: string)
src/lib/utils.ts:363
↓ 2 callers
Function
getExtraCourses
(currentCourses: Course[], allCourses: Course[])
src/utiles/appx.ts:25
↓ 2 callers
Function
getGithubData
()
src/components/GitHubLinkButton.tsx:28
↓ 2 callers
Function
getPayoutMethods
()
src/actions/payoutMethods/index.ts:126
↓ 2 callers
Function
getVideoProgressForUser
( userId: string, markAsCompleted?: boolean, )
src/db/course.ts:241
↓ 2 callers
Function
giveAccess
( code: string, roles: string[], GUILD_ID: string, BOT_TOKEN: string, DISCORD_ACCESS_KEY: string,
src/utiles/discord.ts:10
↓ 2 callers
Function
gtag
()
src/components/analytics/GoogleAnalytics.tsx:18
↓ 2 callers
Function
handleGestureControl
(e: any)
src/components/VideoPlayer2.tsx:168
↓ 2 callers
Function
handleModalChoice
(choice: boolean)
src/components/admin/AddContent.tsx:44
↓ 2 callers
Function
handleOnCloseClick
()
src/components/NewPostDialog.tsx:68
↓ 2 callers
Function
handleSubmit
(e?: React.FormEvent<HTMLButtonElement>)
src/components/Signin.tsx:111
↓ 2 callers
Function
handleUpdateEvent
(values: FormValues)
src/components/big-calendar/calendar.tsx:108
↓ 2 callers
Function
handleVote
(newVoteType: VoteType)
src/components/comment/CommentVoteForm.tsx:32
↓ 2 callers
Function
handleVote
(voteType: VoteType)
src/components/posts/form/form-vote.tsx:37
↓ 2 callers
Function
isUrlAccessible
(url: string)
src/components/admin/ContentRenderer.tsx:22
↓ 2 callers
Function
parseIntroComment
(comment: string)
src/actions/comment/index.ts:73
↓ 2 callers
Function
previewViaMouseOverOrMove
(e: any)
src/lib/createAndHandleSegments.ts:48
↓ 2 callers
Function
progessTimeline
(segments: Segment[], player: any)
src/lib/createAndHandleSegments.ts:33
↓ 2 callers
Function
refreshDbInternal
(userId?: string, email?: string)
src/actions/refresh-db/index.ts:23
↓ 2 callers
Function
reloadBookmarkPage
()
src/actions/bookmark/index.ts:14
↓ 2 callers
Function
resetZoom
()
src/components/VideoPlayer2.tsx:274
↓ 2 callers
Function
togglePictureInPicture
()
src/components/VideoPlayer2.tsx:65
↓ 2 callers
Function
useDebounce
(value: T, delay: number)
src/hooks/useDebounce.ts:3
↓ 2 callers
Function
useGenerateCertificate
({ certificateDetails, userName, }: GenerateCertificateProps)
src/hooks/useCertGen.ts:17
↓ 1 callers
Function
GetAppxAuthToken
()
src/actions/user/index.ts:39
↓ 1 callers
Function
GetAppxVideoPlayerUrl
(courseId: string, videoId: string)
src/actions/user/index.ts:59
↓ 1 callers
Function
addAnimation
()
src/components/ui/infinite-moving-cards.tsx:29
↓ 1 callers
Function
addClassesFromAugustToMay
()
prisma/seed.ts:259
↓ 1 callers
Function
addEvent
( event: Omit<Event, 'id' | 'createdAt' | 'updatedAt'>, )
src/actions/event-actions/index.ts:20
↓ 1 callers
Function
checkAccess
(courseId: string)
src/app/courses/[courseId]/layout.tsx:13
↓ 1 callers
Function
checkUserCollectionAccess
(userId: string, collectionId: string)
src/app/api/mobile/courses/[courseId]/[collectionId]/route.ts:4
↓ 1 callers
Function
checkUserContentAccess
(userId: string, contentId: string)
src/app/api/mobile/courses/[courseId]/[collectionId]/[contentId]/route.ts:4
↓ 1 callers
Function
checkUserCourseAccess
(userId: string, courseId: string)
src/app/api/mobile/courses/[courseId]/route.ts:4
↓ 1 callers
Function
confirmBounty
(bountyId: string, amount: number)
src/actions/bounty/adminActions.ts:89
↓ 1 callers
Function
constructCommentPrismaQuery
( searchParams: QueryParams, paginationInfo: PaginationInfo, contentId: number, userId: string, )
src/lib/utils.ts:259
↓ 1 callers
Function
convertTimeToSeconds
(timeStr: string)
src/lib/utils.ts:134
↓ 1 callers
Function
convertToSeconds
(timeCode: string)
src/components/comment/TimeCodeComment.tsx:22
↓ 1 callers
Function
createPipButton
(player: Player)
src/components/VideoPlayer2.tsx:98
↓ 1 callers
Function
createSegmentMarkersWithoutDuration
( player: any, allSegments: Segment[], )
src/lib/utils.ts:111
↓ 1 callers
Function
deleteAnswers
(answerId: number)
src/actions/question/index.ts:188
↓ 1 callers
Function
deleteBounty
(bountyId: string)
src/actions/bounty/adminActions.ts:73
↓ 1 callers
Function
deleteEvent
(id: number)
src/actions/event-actions/index.ts:43
↓ 1 callers
Function
deleteNestedAnswers
(parentId: number)
src/actions/answer/index.ts:141
↓ 1 callers
Function
fetchAnswersForQuestion
( sessionId: string, slug: string, searchParams: QueryParams, )
src/app/(main)/(pages)/question/[slug]/@answers/page.tsx:38
↓ 1 callers
Function
fetchEvents
()
src/actions/event-actions/index.ts:16
↓ 1 callers
Function
fetchQuestionsByTabType
( searchParams: QueryParams, sessionId: string, )
src/app/(main)/(pages)/question/page.tsx:102
↓ 1 callers
Function
findChildContent
(contents: any, childId: any)
src/components/BreadCrumbComponent.tsx:29
↓ 1 callers
Function
formatInputJSON
(value: string)
src/components/admin/AddContent.tsx:56
↓ 1 callers
Function
formatNumber
(num: number)
src/components/posts/PostCard.tsx:93
↓ 1 callers
Function
formatNumber
(num: number)
src/app/(main)/(pages)/question/[slug]/@answers/page.tsx:103
↓ 1 callers
Function
formatWatchHistoryDate
(date: Date)
src/app/(main)/(pages)/watch-history/page.tsx:16
↓ 1 callers
Function
generateCertificate
()
src/hooks/useCertGen.ts:46
↓ 1 callers
Function
generateCertificateAndImage
()
src/hooks/useCertGen.ts:29
↓ 1 callers
Function
generateCertificateImage
()
src/hooks/useCertGen.ts:94
↓ 1 callers
Function
generateJWT
(payload: JWTPayload)
src/app/api/mobile/signin/route.ts:12
next →
1–100 of 512, ranked by callers