ac-tool/frontend/src/api
Vadym Samoilenko 6c93915768 Add custom CSV export template (per-client, per-user, global)
- Backend: export template system with priority chain:
  client template > user template > global template > built-in default
- New /api/export/template endpoints for any logged-in user (GET/POST/DELETE)
- Admin endpoints for global and per-client export templates
- detect_csv_template() auto-maps CSV headers to internal fields
- Frontend: ExportTemplateEditor component (upload CSV → map columns → save)
- AdminClientsPage: export template section per client card
- SheetPage: ⚙ button next to "Export CSV" opens inline template editor

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 19:29:22 +00:00
..
admin.ts Add custom CSV export template (per-client, per-user, global) 2026-03-23 19:29:22 +00:00
ai.ts Add per-client category hierarchy, client management, and admin hardcoding 2026-03-23 18:56:01 +00:00
client.ts Fix emergency token being rejected by axios interceptor 2026-03-23 19:14:31 +00:00
clients.ts Add per-client category hierarchy, client management, and admin hardcoding 2026-03-23 18:56:01 +00:00
dropdowns.ts Add per-client category hierarchy, client management, and admin hardcoding 2026-03-23 18:56:01 +00:00
exportTemplate.ts Add custom CSV export template (per-client, per-user, global) 2026-03-23 19:29:22 +00:00
jobs.ts Add per-client category hierarchy, client management, and admin hardcoding 2026-03-23 18:56:01 +00:00
sheets.ts Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00