Files
Edu/apps/portal-shell/src
SpecialX 071542b757 fix(portal-shell): rename teacher leave GraphQL ops to resolve duplicate declarations
Rename teacher-domain leave operations to avoid name collisions with
parent-domain operations in __generated__/operations.ts:
- GetLeaveRequests -> GetTeacherLeaveRequests
- ApproveLeave -> TeacherApproveLeave
- RejectLeave -> TeacherRejectLeave

Update MSW mock cases in graphql-data.ts to match the new operation
names. Student-domain acceptance (§9.2) verified: typecheck/lint/tokens
clean for student code, 9/9 student vitest tests pass.

Pre-existing CreateGrade/GetSchedulingRules duplicates belong to
admin/teacher domains and are out of student-domain scope (§14.2).
2026-07-24 23:21:22 +08:00
..