Skip to content

venkataramana-hegde

Hi all. I am

Venkataramana Hegde

> Full-stack engineer

// I build the reporting, billing and care-operations

// software that runs Helpee Elder Care.

// open a file to read more: ·

reporting/run-report.ts
// every report and every scheduled email goes through here
export async function runReport(
report: ReportConfig,
viewer: Viewer,
) {
const scope = accessFilter(viewer.roles);
 
// rows the viewer may not see never leave the database
return db.aggregate([
{ $match: { ...report.filters, ...scope } },
...report.pipeline,
]);
}
40+
reports in production
7+
roles under access control
3
engineering roles
2
sites shipped publicly