@appcorp/fusion-storybook 0.2.61 → 0.2.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/base-modules/class/more-actions.js +1 -1
  2. package/base-modules/course/context.d.ts +12 -0
  3. package/base-modules/course/context.js +23 -7
  4. package/base-modules/course/form.js +34 -3
  5. package/base-modules/course/page.d.ts +1 -0
  6. package/base-modules/course/page.js +16 -5
  7. package/base-modules/course/validate.d.ts +1 -0
  8. package/base-modules/course/validate.js +1 -0
  9. package/base-modules/course/view.js +6 -2
  10. package/base-modules/enrollment/context.d.ts +13 -1
  11. package/base-modules/enrollment/context.js +3 -0
  12. package/base-modules/enrollment/form.js +31 -3
  13. package/base-modules/enrollment/more-actions.js +9 -7
  14. package/base-modules/enrollment/page.d.ts +1 -0
  15. package/base-modules/enrollment/page.js +15 -4
  16. package/base-modules/enrollment/validate.d.ts +1 -0
  17. package/base-modules/enrollment/validate.js +1 -0
  18. package/base-modules/enrollment/view.js +5 -2
  19. package/base-modules/section/cache.js +0 -1
  20. package/base-modules/section/context.d.ts +0 -6
  21. package/base-modules/section/context.js +0 -3
  22. package/base-modules/section/form.js +2 -36
  23. package/base-modules/section/more-actions.js +5 -7
  24. package/base-modules/section/page.d.ts +0 -1
  25. package/base-modules/section/page.js +3 -7
  26. package/base-modules/section/validate.d.ts +0 -1
  27. package/base-modules/section/validate.js +0 -1
  28. package/base-modules/section/view.js +2 -10
  29. package/constants.d.ts +0 -1
  30. package/constants.js +0 -1
  31. package/package.json +1 -1
  32. package/tsconfig.build.tsbuildinfo +1 -1
  33. package/types/academics.d.ts +5 -2
@@ -101,11 +101,10 @@ export interface ClassBE {
101
101
  sections?: SectionBE[];
102
102
  }
103
103
  /**
104
- * Section represents class divisions (e.g., Grade 1-A, Grade 1-B)
104
+ * Section represents a named division within a school (school-wide pool).
105
105
  */
106
106
  export interface SectionBE {
107
107
  capacity: number | null;
108
- classId: string;
109
108
  createdAt: string;
110
109
  enabled: boolean;
111
110
  id: string;
@@ -136,6 +135,7 @@ export interface SubjectBE {
136
135
  * Course represents a subject taught in a specific section by a teacher
137
136
  */
138
137
  export interface CourseBE {
138
+ classId: string;
139
139
  code: string;
140
140
  createdAt: string;
141
141
  enabled: boolean;
@@ -145,6 +145,7 @@ export interface CourseBE {
145
145
  subjectId: string;
146
146
  teacherId: string;
147
147
  updatedAt: Date;
148
+ class?: ClassBE;
148
149
  grades?: GradeBE[];
149
150
  schedules?: ScheduleBE[];
150
151
  school?: SchoolBE;
@@ -195,9 +196,11 @@ export interface EnrollmentBE {
195
196
  enabled: boolean;
196
197
  enrollmentDate: Date | string;
197
198
  id: string;
199
+ classId: string;
198
200
  sectionId: string;
199
201
  studentProfileId: string;
200
202
  updatedAt: string;
203
+ class?: ClassBE;
201
204
  grades?: GradeBE[];
202
205
  section?: SectionBE;
203
206
  studentProfile?: StudentProfileBE;