feat: expose hide_from_toc field for course blocks in outline API (#33955)

These changes are part of the effort made to implement https://openedx.atlassian.net/wiki/spaces/OEPM/pages/3853975595/Feature+Enhancement+Proposal+Hide+Sections+from+course+outline
This commit is contained in:
Bryann Valderrama
2024-02-15 09:44:28 -05:00
committed by GitHub
parent fa66728a67
commit 4c0fba2063
4 changed files with 13 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ SUPPORTED_FIELDS = [
SupportedFieldType('has_scheduled_content'),
SupportedFieldType('weight'),
SupportedFieldType('show_correctness'),
SupportedFieldType('hide_from_toc'),
# 'student_view_data'
SupportedFieldType(StudentViewTransformer.STUDENT_VIEW_DATA, StudentViewTransformer),
# 'student_view_multi_device'