This commit is contained in:
2026-04-24 13:41:54 +10:00
parent 2df7ed36de
commit a144621365
12 changed files with 295 additions and 86 deletions

View File

@@ -0,0 +1,92 @@
export type tTasks ={
"question": string; /* вопрос задания*/
"answer": string|number|boolean; /* ответ задания*/
}[]
export type tQuizzes = {
"id": number,
"type": "M" | "S" | "C", /* Match Sort Choose*/
"title": string, /* формулировка задания */
"tasks": tTasks,
}[];
export const quiz: tQuizzes = [
{
"id": 1,
"type": "M",
"title": "вопросй",
"tasks": [
{
"question": "адын?",
"answer": "адын"
},
{
"question": "2",
"answer": "2"
},
{
"question": "3",
"answer": "3"
},
{
"question": "4",
"answer": "4"
},
]
},
{
"id": 2,
"type": "S",
"title": "Вопрос 2 СОРТИРУЙ",
"tasks": [
{
"question": "1",
"answer": 1
},
{
"question": "22",
"answer": 2
},
{
"question": "333",
"answer": 3
},
{
"question": "4444",
"answer": 4
},
{
"question": "5555",
"answer": 5
},
]
}
,
{
"id": 2,
"type": "C",
"title": "Вопрос 3 Выбирай!",
"tasks": [
{
"question": "да",
"answer": true
},
{
"question": "нет",
"answer": false
},
{
"question": "и снова да",
"answer": true
},
{
"question": "нет",
"answer": false
},
{
"question": "дааа",
"answer": true
},
]
}
]