add checkout

This commit is contained in:
2025-12-23 10:56:38 -03:00
parent a524666837
commit 6eff69f168
12 changed files with 840 additions and 356 deletions

View File

@@ -41,3 +41,22 @@ export const formSchema = z.object({
})
export type Schema = z.infer<typeof formSchema>
export type User = {
id: string
name: string
email: string
cpf: string
}
export type Course = {
id: string
name: string
access_period: number
metadata__unit_price?: number
}
export type Enrolled = {
status: 'fail' | 'success'
input_record: { user: any; course: any }
}