Files split by agents before rate limit: - dsr/api.ts (669 → barrel + helpers) - einwilligungen/context.tsx (669 → barrel + hooks/reducer) - export.ts (753 → barrel + domain exporters) - incidents/api.ts (845 → barrel + api-helpers) - tom-generator/context.tsx (720 → barrel + hooks/reducer) - vendor-compliance/context.tsx (1010 → 234 provider + hooks/reducer) - api-docs/endpoints.ts — partially split (3 domain files created) - academy/api.ts — partially split (helpers extracted) - whistleblower/api.ts — partially split (helpers extracted) next build passes. api-client.ts (885) deferred to next session. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
33 lines
677 B
TypeScript
33 lines
677 B
TypeScript
/**
|
|
* Incident/Breach Management API Client
|
|
*
|
|
* API client for DSGVO Art. 33/34 Incident & Data Breach Management
|
|
* Connects via Next.js proxy to the ai-compliance-sdk backend
|
|
*
|
|
* Barrel re-export from split modules.
|
|
*/
|
|
|
|
export {
|
|
fetchIncidents,
|
|
fetchIncident,
|
|
createIncident,
|
|
updateIncident,
|
|
deleteIncident,
|
|
submitRiskAssessment,
|
|
generateAuthorityForm,
|
|
submitAuthorityNotification,
|
|
sendDataSubjectNotification,
|
|
addMeasure,
|
|
updateMeasure,
|
|
completeMeasure,
|
|
addTimelineEntry,
|
|
closeIncident,
|
|
fetchIncidentStatistics,
|
|
fetchSDKIncidentList,
|
|
} from './api-incidents'
|
|
|
|
export {
|
|
createMockIncidents,
|
|
createMockStatistics,
|
|
} from './api-mock'
|