MCPcopy Create free account

hub / github.com/WebDevSimplified/course-platform / functions

Functions238 in github.com/WebDevSimplified/course-platform

FunctioncreateCourse
(unsafeData: z.infer<typeof courseSchema>)
src/features/courses/actions/courses.ts:18
FunctioncreateLesson
(unsafeData: z.infer<typeof lessonSchema>)
src/features/lessons/actions/lessons.ts:19
FunctioncreateProduct
(unsafeData: z.infer<typeof productSchema>)
src/features/products/actions/products.ts:18
FunctioncreateSection
( courseId: string, unsafeData: z.infer<typeof sectionSchema> )
src/features/courseSections/actions/sections.ts:19
FunctiondeleteCourse
(id: string)
src/features/courses/actions/courses.ts:45
FunctiondeleteCourse
(id: string)
src/features/courses/db/courses.ts:29
FunctiondeleteLesson
(id: string)
src/features/lessons/actions/lessons.ts:48
FunctiondeleteLesson
(id: string)
src/features/lessons/db/lessons.ts:80
FunctiondeleteProduct
(id: string)
src/features/products/actions/products.ts:45
FunctiondeleteProduct
(id: string)
src/features/products/db/products.ts:92
FunctiondeleteSection
(id: string)
src/features/courseSections/actions/sections.ts:51
FunctiondeleteSection
(id: string)
src/features/courseSections/db/sections.ts:52
FunctiongetClientSessionSecret
( product: { priceInDollars: number name: string imageUrl: string description: string id
src/services/stripe/actions/stripe.ts:7
FunctiongetNextLesson
(lesson: { id: string sectionId: string order: number })
src/app/(consumer)/courses/[courseId]/lessons/[lessonId]/page.tsx:229
FunctiongetPreviousLesson
(lesson: { id: string sectionId: string order: number })
src/app/(consumer)/courses/[courseId]/lessons/[lessonId]/page.tsx:181
FunctionhandleDragEnd
(event: DragEndEvent)
src/components/SortableList.tsx:31
FunctiononSubmit
(values: z.infer<typeof productSchema>)
src/features/products/components/ProductForm.tsx:61
FunctiononSubmit
(values: z.infer<typeof courseSchema>)
src/features/courses/components/CourseForm.tsx:39
FunctiononSubmit
(values: z.infer<typeof lessonSchema>)
src/features/lessons/components/LessonForm.tsx:63
FunctiononSubmit
(values: z.infer<typeof sectionSchema>)
src/features/courseSections/components/SectionForm.tsx:50
FunctionperformAction
()
src/components/ActionButton.tsx:31
FunctionrefundPurchase
(id: string)
src/features/purchases/actions/purchases.ts:10
FunctionrevalidateUserCourseAccessCache
({ courseId, userId, }: { courseId: string userId: string })
src/features/courses/db/cache/userCourseAccess.ts:22
Functionupdate
(props: ToasterToast)
src/hooks/use-toast.ts:143
FunctionupdateCourse
( id: string, unsafeData: z.infer<typeof courseSchema> )
src/features/courses/actions/courses.ts:30
FunctionupdateCourse
( id: string, data: typeof CourseTable.$inferInsert )
src/features/courses/db/courses.ts:14
FunctionupdateLesson
( id: string, unsafeData: z.infer<typeof lessonSchema> )
src/features/lessons/actions/lessons.ts:33
FunctionupdateLesson
( id: string, data: Partial<typeof LessonTable.$inferInsert> )
src/features/lessons/db/lessons.ts:37
FunctionupdateLessonCompleteStatus
( lessonId: string, complete: boolean )
src/features/lessons/actions/userLessonComplete.ts:7
FunctionupdateLessonCompleteStatus
({ lessonId, userId, complete, }: { lessonId: string userId: string complete: boolean })
src/features/lessons/db/userLessonComplete.ts:6
FunctionupdateLessonOrders
(lessonIds: string[])
src/features/lessons/actions/lessons.ts:58
FunctionupdateLessonOrders
(lessonIds: string[])
src/features/lessons/db/lessons.ts:109
FunctionupdateProduct
( id: string, unsafeData: z.infer<typeof productSchema> )
src/features/products/actions/products.ts:30
FunctionupdateProduct
( id: string, data: Partial<typeof ProductTable.$inferInsert> & { courseIds: string[] } )
src/features/products/db/products.ts:58
FunctionupdateSection
( id: string, unsafeData: z.infer<typeof sectionSchema> )
src/features/courseSections/actions/sections.ts:36
FunctionupdateSection
( id: string, data: Partial<typeof CourseSectionTable.$inferInsert> )
src/features/courseSections/db/sections.ts:33
FunctionupdateSectionOrders
(sectionIds: string[])
src/features/courseSections/actions/sections.ts:61
FunctionupdateSectionOrders
(sectionIds: string[])
src/features/courseSections/db/sections.ts:67
← previous201–238 of 238, ranked by callers