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.
requireUser()
user_events
Array of NicheEvent, soonest first.
Error if the Supabase query fails.
Error
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 onuser_eventsensures only the caller's rows are joined.