6370e392cc
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.
5 lines
210 B
TypeScript
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'))
|