Last active
December 11, 2019 09:17
-
-
Save mrstalon/2929d6ee1ab6115c612cfb93b1e1381c to your computer and use it in GitHub Desktop.
Task tree request response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const taskSchema = { | |
title: 'Группа правил 1', | |
id: 12, | |
tasks: [ | |
{ | |
title: 'Правило 1.1', | |
id: 15, | |
tasks: [ | |
{ | |
title: 'Пункт правила 1.1.1', | |
id: 17, | |
status: 'correct', | |
}, | |
{ | |
title: 'Пункт правила 1.1.2', | |
id: 18, | |
status: 'wrong', | |
}, | |
{ | |
title: 'Пункт правила 1.1.3', | |
id: 19, | |
status: 'undone', | |
}, | |
], | |
}, | |
{ | |
title: 'Правило 1.2', | |
id: 25, | |
tasks: [ | |
{ | |
title: 'Пункт правила 1.2.1', | |
id: 27, | |
status: 'correct', | |
}, | |
{ | |
title: 'Пункт правила 1.2.2', | |
id: 28, | |
status: 'undone', | |
}, | |
{ | |
title: 'Пункт правила 1.2.3', | |
id: 29, | |
status: 'undone', | |
}, | |
], | |
}, | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment