Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 658 Bytes

File metadata and controls

9 lines (6 loc) · 658 Bytes

Web Admin Dashboard

  • Networking: all fetches use hooks/useAuthToken.ts; never call getIdToken(), create auth headers, or read Firestore in the client. Server routes call verifyAdmin(request) from lib/auth.ts.
  • Revenue metrics: subscription metrics use lib/stripe-subscriptions.ts; never list subscriptions by price ID.

Fetcher, SWR, partial-failure, and subscription-scope detail: docs/data-contracts.md.

/dashboard embeds uid omi-tv from grafana/; see grafana/README.md. TV kiosk share links: /dashboard/tv-links (admin) → /tv/view/<token> (no login); docs/tv-mode.md.