@appcorp/fusion-storybook 0.2.63 → 0.2.65
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.
- package/base-modules/course/context.d.ts +12 -0
- package/base-modules/course/context.js +23 -7
- package/base-modules/course/form.js +34 -3
- package/base-modules/course/page.d.ts +1 -0
- package/base-modules/course/page.js +16 -5
- package/base-modules/course/validate.d.ts +1 -0
- package/base-modules/course/validate.js +1 -0
- package/base-modules/course/view.js +6 -2
- package/base-modules/enrollment/context.d.ts +13 -1
- package/base-modules/enrollment/context.js +3 -0
- package/base-modules/enrollment/form.js +36 -12
- package/base-modules/enrollment/more-actions.js +9 -7
- package/base-modules/enrollment/page.d.ts +1 -0
- package/base-modules/enrollment/page.js +20 -10
- package/base-modules/enrollment/validate.d.ts +1 -0
- package/base-modules/enrollment/validate.js +1 -0
- package/base-modules/enrollment/view.js +5 -2
- package/base-modules/section/cache.js +0 -1
- package/base-modules/section/context.d.ts +0 -6
- package/base-modules/section/context.js +0 -3
- package/base-modules/section/form.js +2 -41
- package/base-modules/section/more-actions.js +5 -7
- package/base-modules/section/page.d.ts +0 -1
- package/base-modules/section/page.js +3 -7
- package/base-modules/section/validate.d.ts +0 -1
- package/base-modules/section/validate.js +0 -1
- package/base-modules/section/view.js +2 -10
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/academics.d.ts +5 -2
package/types/academics.d.ts
CHANGED
|
@@ -101,11 +101,10 @@ export interface ClassBE {
|
|
|
101
101
|
sections?: SectionBE[];
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
|
-
* Section represents
|
|
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;
|