Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebDevSimplified/course-platform
/ functions
Functions
238 in github.com/WebDevSimplified/course-platform
⨍
Functions
238
◇
Types & classes
5
Function
createCourse
(unsafeData: z.infer<typeof courseSchema>)
src/features/courses/actions/courses.ts:18
Function
createLesson
(unsafeData: z.infer<typeof lessonSchema>)
src/features/lessons/actions/lessons.ts:19
Function
createProduct
(unsafeData: z.infer<typeof productSchema>)
src/features/products/actions/products.ts:18
Function
createSection
( courseId: string, unsafeData: z.infer<typeof sectionSchema> )
src/features/courseSections/actions/sections.ts:19
Function
deleteCourse
(id: string)
src/features/courses/actions/courses.ts:45
Function
deleteCourse
(id: string)
src/features/courses/db/courses.ts:29
Function
deleteLesson
(id: string)
src/features/lessons/actions/lessons.ts:48
Function
deleteLesson
(id: string)
src/features/lessons/db/lessons.ts:80
Function
deleteProduct
(id: string)
src/features/products/actions/products.ts:45
Function
deleteProduct
(id: string)
src/features/products/db/products.ts:92
Function
deleteSection
(id: string)
src/features/courseSections/actions/sections.ts:51
Function
deleteSection
(id: string)
src/features/courseSections/db/sections.ts:52
Function
getClientSessionSecret
( product: { priceInDollars: number name: string imageUrl: string description: string id
src/services/stripe/actions/stripe.ts:7
Function
getNextLesson
(lesson: { id: string sectionId: string order: number })
src/app/(consumer)/courses/[courseId]/lessons/[lessonId]/page.tsx:229
Function
getPreviousLesson
(lesson: { id: string sectionId: string order: number })
src/app/(consumer)/courses/[courseId]/lessons/[lessonId]/page.tsx:181
Function
handleDragEnd
(event: DragEndEvent)
src/components/SortableList.tsx:31
Function
onSubmit
(values: z.infer<typeof productSchema>)
src/features/products/components/ProductForm.tsx:61
Function
onSubmit
(values: z.infer<typeof courseSchema>)
src/features/courses/components/CourseForm.tsx:39
Function
onSubmit
(values: z.infer<typeof lessonSchema>)
src/features/lessons/components/LessonForm.tsx:63
Function
onSubmit
(values: z.infer<typeof sectionSchema>)
src/features/courseSections/components/SectionForm.tsx:50
Function
performAction
()
src/components/ActionButton.tsx:31
Function
refundPurchase
(id: string)
src/features/purchases/actions/purchases.ts:10
Function
revalidateUserCourseAccessCache
({ courseId, userId, }: { courseId: string userId: string })
src/features/courses/db/cache/userCourseAccess.ts:22
Function
update
(props: ToasterToast)
src/hooks/use-toast.ts:143
Function
updateCourse
( id: string, unsafeData: z.infer<typeof courseSchema> )
src/features/courses/actions/courses.ts:30
Function
updateCourse
( id: string, data: typeof CourseTable.$inferInsert )
src/features/courses/db/courses.ts:14
Function
updateLesson
( id: string, unsafeData: z.infer<typeof lessonSchema> )
src/features/lessons/actions/lessons.ts:33
Function
updateLesson
( id: string, data: Partial<typeof LessonTable.$inferInsert> )
src/features/lessons/db/lessons.ts:37
Function
updateLessonCompleteStatus
( lessonId: string, complete: boolean )
src/features/lessons/actions/userLessonComplete.ts:7
Function
updateLessonCompleteStatus
({ lessonId, userId, complete, }: { lessonId: string userId: string complete: boolean })
src/features/lessons/db/userLessonComplete.ts:6
Function
updateLessonOrders
(lessonIds: string[])
src/features/lessons/actions/lessons.ts:58
Function
updateLessonOrders
(lessonIds: string[])
src/features/lessons/db/lessons.ts:109
Function
updateProduct
( id: string, unsafeData: z.infer<typeof productSchema> )
src/features/products/actions/products.ts:30
Function
updateProduct
( id: string, data: Partial<typeof ProductTable.$inferInsert> & { courseIds: string[] } )
src/features/products/db/products.ts:58
Function
updateSection
( id: string, unsafeData: z.infer<typeof sectionSchema> )
src/features/courseSections/actions/sections.ts:36
Function
updateSection
( id: string, data: Partial<typeof CourseSectionTable.$inferInsert> )
src/features/courseSections/db/sections.ts:33
Function
updateSectionOrders
(sectionIds: string[])
src/features/courseSections/actions/sections.ts:61
Function
updateSectionOrders
(sectionIds: string[])
src/features/courseSections/db/sections.ts:67
← previous
201–238 of 238, ranked by callers