- SuperadminLayout with indigo/purple theme - Tenant management: List, Detail, Create, Edit pages - SuperadminDashboard with global metrics - useTenants hook with CRUD operations - useSuperadminStats hook for dashboard data - Routes for /superadmin/* paths - Features: suspend/activate, stats cards, system health Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
478 B
TypeScript
24 lines
478 B
TypeScript
/**
|
|
* Superadmin Hooks - Index
|
|
* Exports all hooks for the superadmin portal
|
|
*/
|
|
|
|
export { useSuperadminStats } from './useSuperadminStats';
|
|
export type {
|
|
SuperadminOverviewStats,
|
|
TenantGrowthDataPoint,
|
|
PlanDistribution,
|
|
RevenueDataPoint,
|
|
RecentTenantActivity,
|
|
TopTenant,
|
|
SystemHealthMetrics,
|
|
UseSuperadminStatsReturn,
|
|
} from './useSuperadminStats';
|
|
|
|
export {
|
|
useTenants,
|
|
useTenant,
|
|
useTenantUsageHistory,
|
|
useTenantSubscription,
|
|
} from './useTenants';
|