Skip to content

Commit 4f9ff98

Browse files
committed
courses -> courseware cleanup
1 parent 9faee8d commit 4f9ff98

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

agent/courseware-refactor-plan.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ Refactor the `courses` package to `courseware` with proper abstraction naming an
9797
- [x] Update view components collection to use custom registry
9898

9999
**Validation**: Custom questions appear and render correctly in studio-ui CreateCard ✅
100+
**END-TO-END CONFIRMED**: Studio-UI via CLI against standalone-ui custom questions fully operational ✅
100101

101102
---
102103

packages/standalone-ui/src/questions/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Library entry point for custom questions in standalone-ui
22
// This file exports question types and components for consumption by studio-ui
33

4-
import { Course } from '@vue-skuilder/courseware';
4+
import { CourseWare } from '@vue-skuilder/courseware';
55
import { DataShape } from '@vue-skuilder/common';
66
import { ViewComponent } from '@vue-skuilder/common-ui';
77

@@ -68,7 +68,7 @@ export function allCustomQuestions() {
6868

6969
// Return structured data for studio-ui integration
7070
return {
71-
// Course instances with question instances
71+
// CourseWare instances with question instances
7272
courses,
7373

7474
// Question class constructors for registration
@@ -97,7 +97,7 @@ export function allCustomQuestions() {
9797
* This provides TypeScript support for CLI and studio-ui integration
9898
*/
9999
export interface CustomQuestionsExport {
100-
courses: Course[];
100+
courses: CourseWare[];
101101
questionClasses: Array<
102102
typeof SimpleTextQuestion | typeof MultipleChoiceQuestion | typeof NumberRangeQuestion
103103
>;

0 commit comments

Comments
 (0)