inspections, charges, and quotes in attik-backend/src/config/exportFieldDefinitions.ts; there is no events entity in that list today, so “report on events” is not a turnkey export the way job rows are.Event documents (attik-backend/src/models/eventSchema.ts) and listed via GET on attik-backend/src/routes/event.ts (filters such as after / before, inspectorId, inspectionId, optional radon path, etc.). Events tie to work through optional _inspectionId and _chargeId (charge → service), not a direct events row in the current data-export model.events entity, derive event rows in a join from inspections, or a dedicated reporting endpoint—product and performance implications differ.Backend
Event schema, indexes, and the event routes in attik-backend/src/routes/event.ts as the source of event rows and populates; trace how an event row relates to a job when _inspectionId / _chargeId are set.entityFieldDefinitions, and any job runner that materializes CSV/sheets) if the feature reuses that engine; exact files depend on whether the team adds a new entity or a hub-specific query—decision needed.Frontend
attik-frontend/src/app/tools/data-exports/ (form state, report types, column pickers, filters) and how new datasets or linked entities are registered for preview and run.Other surfaces
attik-backend/src/config/exportFieldDefinitions.ts — export entities and field definitionsattik-backend/src/routes/event.ts — event list API and query parametersattik-frontend/src/app/tools/data-exports/ — reporting UI and payloadsPlease authenticate to join the conversation.
Completed
Main App
About 2 months ago
Linear
Get notified by email when there are changes.
Completed
Main App
About 2 months ago
Linear
Get notified by email when there are changes.