File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
standalone-ui/src/questions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- import { Course } from '@vue-skuilder/courseware' ;
1+ import { CourseWare } from '@vue-skuilder/courseware' ;
22import { SimpleTextQuestion } from './SimpleTextQuestion' ;
33import { MultipleChoiceQuestion } from './MultipleChoiceQuestion' ;
44import { NumberRangeQuestion } from './NumberRangeQuestion' ;
55
6- export const exampleCourse = new Course ( 'ExampleCourse' , [
6+ export const exampleCourse = new CourseWare ( 'ExampleCourse' , [
77 new SimpleTextQuestion ( [
88 { questionText : 'What is the capital of France?' , correctAnswer : 'Paris' } ,
99 ] ) ,
Original file line number Diff line number Diff line change 11import { CourseConfig , DataShape , NameSpacer } from '@vue-skuilder/common' ;
22import { CourseDBInterface } from '@vue-skuilder/db' ;
33import { Displayable , getCurrentUser , ViewComponent } from '@vue-skuilder/common-ui' ;
4- import { Course } from '@vue-skuilder/courseware' ;
4+ import { CourseWare } from '@vue-skuilder/courseware' ;
55
66/**
77 * Interface for custom questions data structure returned by allCustomQuestions()
88 */
99export interface CustomQuestionsData {
10- courses : Course [ ] ; // Course instances with question instances
10+ courses : CourseWare [ ] ; // Course instances with question instances
1111 questionClasses : Displayable [ ] ; // Question class constructors
1212 dataShapes : DataShape [ ] ; // DataShape definitions for studio-ui
1313 views : ViewComponent [ ] ; // Vue components for rendering
You can’t perform that action at this time.
0 commit comments