remove youtube support and add local file handling

This commit is contained in:
RandyJC
2025-12-08 15:38:23 +01:00
parent df615dc720
commit e5fd5d52f0
8 changed files with 667 additions and 263 deletions

View File

@@ -26,10 +26,9 @@ export type Quizz = {
}
export type QuestionMedia =
| { type: "image"; url: string }
| { type: "audio"; url: string }
| { type: "video"; url: string }
| { type: "youtube"; url: string }
| { type: "image"; url: string; fileName?: string }
| { type: "audio"; url: string; fileName?: string }
| { type: "video"; url: string; fileName?: string }
export type QuizzWithId = Quizz & { id: string }