/** * Output for a watcher (a user watching a WatchedGroup). * * The entity is the user — `id` is the watcher's user id (matching the URL * pk). The underlying `WatcherToWatchedGroup.id` is a routing artifact and * isn't surfaced. */ export type WatcherRead = { readonly id: number; readonly username: string; readonly email: string; /** * List of events the watcher is subscribed to for this group */ events?: any; };