/** * StudentProfile Context * * Wires the generic module state (created by `createGenericModule`) to network * actions using `useModuleEntityV2`. Contains domain-specific handlers for * CRUD operations, withdraw, re-admit, and status changes. * * Key responsibilities: * - Expose `useStudentProfileModule()` which UI components call for actions * - Keep module-specific `apiParams` and callbacks in one place * - Ensure toast notifications on mutation * * Exported utilities: * - `StudentProfileProvider` — provider component used by the page * - `STUDENT_PROFILE_ACTION_TYPES` — action type constants (from factory) * - `STUDENT_PROFILE_DRAWER` — drawer type constants * - `useStudentProfileModule()` — hook that returns state, dispatch, and handlers */ export { STUDENT_PROFILE_DRAWER, STUDENT_PROFILE_ACTION_TYPES, studentProfileModuleConfig, initialStudentProfileState, StudentProfileProvider, studentProfileReducer, useStudentProfileContext, } from "./context/module-base"; export { useStudentProfileModule } from "./context/use-student-profile-module";