Skip to content

Instantly share code, notes, and snippets.

@bsa7
Last active October 23, 2017 13:00
Show Gist options
  • Save bsa7/cef48ef6da448453648d6acff8cf2c9c to your computer and use it in GitHub Desktop.
Save bsa7/cef48ef6da448453648d6acff8cf2c9c to your computer and use it in GitHub Desktop.
Организация структуры данных
```javascript
{
name: "Ближневосточные языки",
kind: "group",
type: "Группа курсов",
order: 10,
items: [
{
name: "Татарский",
kind: "group",
type: "Курс",
order: 0,
items: [
{
name: "Введение в татарский",
kind: "group",
type: "Группа тем",
order: 0,
items: [
{
name: "Имена существительные",
kind: "group",
type: "Тема",
order: 0,
items: [
{
name: "Упражнение №1"
kind: "group",
type: "Вопросы",
order: 0,
items: [
{
kind: "question",
text: "",
answers: [
{}, {}, {}
]
}
]
},
{
name: "Упражнение №2"
kind: "group",
type: "questions",
order: 1,
items: [
{
}
]
},
{
name: "Упражнение №3"
kind: "group",
type: "questions",
items: [
{
}
]
},
]
},
{
name: "Глаголы татарского языка"
kind: "group",
kind: "Тема",
},
{
name: "Числительные татарского языка"
kind: "group",
kind: "Тема",
},
{
name: "Мини тест №1"
kind: "group",
kind: "Тема",
}
]
},
{
name: "Татарский в быту",
kind: "group",
},
{
name: "Углублённый татарский",
kind: "group",
}
]
}
]
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment