Files
dezky/apps/operator/server/api/reports/platform.get.ts
T
Ronni Baslund 6370e392cc feat(reports): partner and platform analytics
Partner reports — health cohorts, revenue-by-plan, top customers, signup/churn cohorts, plus saved custom reports (create/list/delete). Operator platform-wide reports (MRR, revenue by plan, top tenants, growth). Replaces the reports fixtures in both apps.
2026-05-30 08:03:14 +02:00

5 lines
210 B
TypeScript

import { platformApi } from '~~/server/utils/platform-api'
// Platform-wide analytics for the operator reports page.
export default defineEventHandler(async (event) => platformApi(event, '/reports/platform'))