Niche API Documentation - v0.1.0
    Preparing search index...

    Function getMyEvents

    • Returns all events ordered soonest first, each annotated with the current user's status, rating, and note.

      Requires an authenticated session — calls requireUser() internally. Row-Level Security on user_events ensures only the caller's rows are joined.

      Returns Promise<NicheEvent[]>

      Array of NicheEvent, soonest first.

      Error if the Supabase query fails.