analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
21 lines • 753 B
TypeScript
import type { BaseApiClient } from '../../types/api';
import type { UseSimulatedContentDetailsReturn } from './types';
/**
* Hook for fetching content details in simulated exams
* Shows list of students with their performance for a specific content/habilidade
*
* @param api - API client with post method
*
* @example
* ```tsx
* const { data, loading, error, fetchDetails, reset } = useSimulatedContentDetails(api);
*
* fetchDetails({
* activityFilters: { types: ['SIMULADO'], statuses: ['CONCLUIDA'] },
* contentId: 'content-uuid',
* period: '1_MONTH',
* });
* ```
*/
export declare function useSimulatedContentDetails(api: BaseApiClient): UseSimulatedContentDetailsReturn;
//# sourceMappingURL=useSimulatedContentDetails.d.ts.map