/** * StudentFee Module — business logic + API integration * * Wires the generic module state (created by `createGenericModule`) to network * actions using `useModuleEntityV2`. Contains domain-specific handlers for * create/view/edit/delete, amount calculations, and fee management flow. * * Key responsibilities: * - expose `useStudentFeeModule()` which UI components call for actions * - keep module-specific `apiParams` and callbacks in one place * - ensure toast notifications on mutation * * Exported utilities: * - `StudentFeeProvider` — provider component used by the page * - `STUDENT_FEE_ACTION_TYPES` — action type constants (from factory) * - `STUDENT_FEE_DRAWER` — drawer type constants * - `useStudentFeeModule()` — hook that returns state, dispatch, and handlers */ export { STUDENT_FEE_DRAWER, STUDENT_FEE_ACTION_TYPES, studentFeeModuleConfig, initialStudentFeeState, StudentFeeProvider, studentFeeReducer, useStudentFeeContext, } from "./context/shared"; export type { StudentFeesListResponse } from "./context/shared"; export { useStudentFeeModule } from "./context/use-student-fee-module";