MCPcopy Create free account

hub / github.com/code100x/cms / functions

Functions512 in github.com/code100x/cms

↓ 85 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:7
↓ 57 callersMethodget
(type: string, args: string[])
src/lib/cache/cache.ts:9
↓ 25 callersMethodset
( type: string, args: string[], value: any, expirySeconds: number, )
src/lib/cache/cache.ts:2
↓ 20 callersFunctiongetUpdatedUrl
( path: string, prevQueryParams: QueryParams, newQueryParams: QueryParams, )
src/lib/utils.ts:204
↓ 19 callersFunctioncreateSafeAction
( schema: z.Schema<TInput>, handler: (validatedData: TInput) => Promise<ActionState<TInput, TOutput>>, )
src/lib/create-safe-action.ts:19
↓ 18 callersFunctionuseAction
( action: Action<TInput, TOutput>, options: UseActionOptions<TOutput> = {}, )
src/hooks/useAction.ts:17
↓ 9 callersFunctiononClose
()
src/hooks/useModal.tsx:13
↓ 6 callersFunctiongetPurchases
(email: string)
src/utiles/appx.ts:145
↓ 6 callersFunctionisExtendedQuestion
( post: ExtendedQuestion | Answer, )
src/components/posts/PostCard.tsx:40
↓ 5 callersFunctionfetchPayoutMethods
()
src/app/bounty/page.tsx:19
↓ 5 callersFunctiongetFullCourseContent
( courseId: number, )
src/db/course.ts:272
↓ 5 callersFunctionpaginationData
(searchParams: QueryParams)
src/lib/utils.ts:238
↓ 4 callersFunctioncombineDateAndTime
(date: Date, time: string)
src/components/big-calendar/calendar.tsx:88
↓ 4 callersFunctionfindContentById
( contents: FullCourseContent[], ids: number[], )
src/lib/find-content-by-id.ts:3
↓ 4 callersFunctiongetCourse
(courseId: number)
src/db/course.ts:121
↓ 4 callersFunctiongetLabelClassName
(value: string)
src/components/admin/AddContent.tsx:51
↓ 4 callersFunctionloadEvents
()
src/components/big-calendar/calendar.tsx:72
↓ 4 callersFunctionupdateTransform
()
src/components/VideoPlayer2.tsx:191
↓ 4 callersFunctionuseCarousel
()
src/components/ui/carousel.tsx:35
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:42
↓ 3 callersFunctionbunnyUrl
(url?: string)
src/components/admin/ContentRenderer.tsx:8
↓ 3 callersFunctionfetchPayoutMethods
()
src/hooks/usePayoutMethod.ts:18
↓ 3 callersFunctionformatTime
(seconds: number)
src/lib/utils.ts:20
↓ 3 callersFunctiongenerateJWT
(payload: JWTPayload)
src/lib/auth.ts:42
↓ 3 callersMethodgenerateKey
(type: string, args: string[])
src/lib/cache/in-memory-cache.ts:55
↓ 3 callersMethodgenerateKey
(type: string, args: string[])
src/lib/cache/redis-cache.ts:47
↓ 3 callersMethodgetInstance
()
src/db/Cache.ts:19
↓ 3 callersFunctionhandleMarkAsCompleted
( markAsCompleted: boolean, contentId: number, )
src/lib/utils.ts:149
↓ 3 callersFunctionhandleSuggestionClick
(domain: string)
src/components/Signin.tsx:88
↓ 3 callersFunctionisAdmin
()
src/actions/event-actions/index.ts:10
↓ 3 callersFunctionpreviewViaBuffer
(player: any)
src/lib/createAndHandleSegments.ts:28
↓ 3 callersFunctionsearchParamsToObject
( searchParams: URLSearchParams, )
src/lib/utils.ts:216
↓ 2 callersFunctionadjustTextareaHeight
()
src/components/comment/CommentInputForm.tsx:52
↓ 2 callersFunctioncapitalizeFirstLetter
(inputString: string)
src/hooks/useCertGen.ts:5
↓ 2 callersFunctionchangeCurrentTimeOnClick
(e: any, player: any)
src/lib/createAndHandleSegments.ts:58
↓ 2 callersFunctionchangeVideoQuality
(quality: string, player: any)
src/components/QualitySelectorControllBar.ts:3
↓ 2 callersFunctioncheckUserEmailForPurchase
( email: string, courseId: string, )
src/utiles/appx-check-mail.ts:12
↓ 2 callersFunctioncloseSidebar
()
src/components/Sidebar.tsx:52
↓ 2 callersFunctioncreateSegmentMarkerElements
( player: Player, segment: Segment, lastSegment: Segment, )
src/lib/utils.ts:70
↓ 2 callersMethodevict
(type: string, args: string[])
src/lib/cache/cache.ts:11
↓ 2 callersFunctionfetchBounties
()
src/app/admin/bounty/AdminBountyPage.tsx:26
↓ 2 callersFunctionfetchUserBounties
()
src/app/bounty/page.tsx:31
↓ 2 callersFunctionfuzzySearch
(videos: TSearchedVideos[], searchQuery: string)
src/app/api/search/route.ts:15
↓ 2 callersFunctionfuzzySearch
(videos: TSearchedVideos[], searchQuery: string)
src/app/api/mobile/search/route.ts:15
↓ 2 callersFunctiongenerateHandle
(title: string)
src/lib/utils.ts:316
↓ 2 callersFunctiongetDisabledFeature
(feature: string)
src/lib/utils.ts:363
↓ 2 callersFunctiongetExtraCourses
(currentCourses: Course[], allCourses: Course[])
src/utiles/appx.ts:25
↓ 2 callersFunctiongetGithubData
()
src/components/GitHubLinkButton.tsx:28
↓ 2 callersFunctiongetPayoutMethods
()
src/actions/payoutMethods/index.ts:126
↓ 2 callersFunctiongetVideoProgressForUser
( userId: string, markAsCompleted?: boolean, )
src/db/course.ts:241
↓ 2 callersFunctiongiveAccess
( code: string, roles: string[], GUILD_ID: string, BOT_TOKEN: string, DISCORD_ACCESS_KEY: string,
src/utiles/discord.ts:10
↓ 2 callersFunctiongtag
()
src/components/analytics/GoogleAnalytics.tsx:18
↓ 2 callersFunctionhandleGestureControl
(e: any)
src/components/VideoPlayer2.tsx:168
↓ 2 callersFunctionhandleModalChoice
(choice: boolean)
src/components/admin/AddContent.tsx:44
↓ 2 callersFunctionhandleOnCloseClick
()
src/components/NewPostDialog.tsx:68
↓ 2 callersFunctionhandleSubmit
(e?: React.FormEvent<HTMLButtonElement>)
src/components/Signin.tsx:111
↓ 2 callersFunctionhandleUpdateEvent
(values: FormValues)
src/components/big-calendar/calendar.tsx:108
↓ 2 callersFunctionhandleVote
(newVoteType: VoteType)
src/components/comment/CommentVoteForm.tsx:32
↓ 2 callersFunctionhandleVote
(voteType: VoteType)
src/components/posts/form/form-vote.tsx:37
↓ 2 callersFunctionisUrlAccessible
(url: string)
src/components/admin/ContentRenderer.tsx:22
↓ 2 callersFunctionparseIntroComment
(comment: string)
src/actions/comment/index.ts:73
↓ 2 callersFunctionpreviewViaMouseOverOrMove
(e: any)
src/lib/createAndHandleSegments.ts:48
↓ 2 callersFunctionprogessTimeline
(segments: Segment[], player: any)
src/lib/createAndHandleSegments.ts:33
↓ 2 callersFunctionrefreshDbInternal
(userId?: string, email?: string)
src/actions/refresh-db/index.ts:23
↓ 2 callersFunctionreloadBookmarkPage
()
src/actions/bookmark/index.ts:14
↓ 2 callersFunctionresetZoom
()
src/components/VideoPlayer2.tsx:274
↓ 2 callersFunctiontogglePictureInPicture
()
src/components/VideoPlayer2.tsx:65
↓ 2 callersFunctionuseDebounce
(value: T, delay: number)
src/hooks/useDebounce.ts:3
↓ 2 callersFunctionuseGenerateCertificate
({ certificateDetails, userName, }: GenerateCertificateProps)
src/hooks/useCertGen.ts:17
↓ 1 callersFunctionGetAppxAuthToken
()
src/actions/user/index.ts:39
↓ 1 callersFunctionGetAppxVideoPlayerUrl
(courseId: string, videoId: string)
src/actions/user/index.ts:59
↓ 1 callersFunctionaddAnimation
()
src/components/ui/infinite-moving-cards.tsx:29
↓ 1 callersFunctionaddClassesFromAugustToMay
()
prisma/seed.ts:259
↓ 1 callersFunctionaddEvent
( event: Omit<Event, 'id' | 'createdAt' | 'updatedAt'>, )
src/actions/event-actions/index.ts:20
↓ 1 callersFunctioncheckAccess
(courseId: string)
src/app/courses/[courseId]/layout.tsx:13
↓ 1 callersFunctioncheckUserCollectionAccess
(userId: string, collectionId: string)
src/app/api/mobile/courses/[courseId]/[collectionId]/route.ts:4
↓ 1 callersFunctioncheckUserContentAccess
(userId: string, contentId: string)
src/app/api/mobile/courses/[courseId]/[collectionId]/[contentId]/route.ts:4
↓ 1 callersFunctioncheckUserCourseAccess
(userId: string, courseId: string)
src/app/api/mobile/courses/[courseId]/route.ts:4
↓ 1 callersFunctionconfirmBounty
(bountyId: string, amount: number)
src/actions/bounty/adminActions.ts:89
↓ 1 callersFunctionconstructCommentPrismaQuery
( searchParams: QueryParams, paginationInfo: PaginationInfo, contentId: number, userId: string, )
src/lib/utils.ts:259
↓ 1 callersFunctionconvertTimeToSeconds
(timeStr: string)
src/lib/utils.ts:134
↓ 1 callersFunctionconvertToSeconds
(timeCode: string)
src/components/comment/TimeCodeComment.tsx:22
↓ 1 callersFunctioncreatePipButton
(player: Player)
src/components/VideoPlayer2.tsx:98
↓ 1 callersFunctioncreateSegmentMarkersWithoutDuration
( player: any, allSegments: Segment[], )
src/lib/utils.ts:111
↓ 1 callersFunctiondeleteAnswers
(answerId: number)
src/actions/question/index.ts:188
↓ 1 callersFunctiondeleteBounty
(bountyId: string)
src/actions/bounty/adminActions.ts:73
↓ 1 callersFunctiondeleteEvent
(id: number)
src/actions/event-actions/index.ts:43
↓ 1 callersFunctiondeleteNestedAnswers
(parentId: number)
src/actions/answer/index.ts:141
↓ 1 callersFunctionfetchAnswersForQuestion
( sessionId: string, slug: string, searchParams: QueryParams, )
src/app/(main)/(pages)/question/[slug]/@answers/page.tsx:38
↓ 1 callersFunctionfetchEvents
()
src/actions/event-actions/index.ts:16
↓ 1 callersFunctionfetchQuestionsByTabType
( searchParams: QueryParams, sessionId: string, )
src/app/(main)/(pages)/question/page.tsx:102
↓ 1 callersFunctionfindChildContent
(contents: any, childId: any)
src/components/BreadCrumbComponent.tsx:29
↓ 1 callersFunctionformatInputJSON
(value: string)
src/components/admin/AddContent.tsx:56
↓ 1 callersFunctionformatNumber
(num: number)
src/components/posts/PostCard.tsx:93
↓ 1 callersFunctionformatNumber
(num: number)
src/app/(main)/(pages)/question/[slug]/@answers/page.tsx:103
↓ 1 callersFunctionformatWatchHistoryDate
(date: Date)
src/app/(main)/(pages)/watch-history/page.tsx:16
↓ 1 callersFunctiongenerateCertificate
()
src/hooks/useCertGen.ts:46
↓ 1 callersFunctiongenerateCertificateAndImage
()
src/hooks/useCertGen.ts:29
↓ 1 callersFunctiongenerateCertificateImage
()
src/hooks/useCertGen.ts:94
↓ 1 callersFunctiongenerateJWT
(payload: JWTPayload)
src/app/api/mobile/signin/route.ts:12
next →1–100 of 512, ranked by callers