functions/site_cleanup library

Functions

cleanUpOrphanedSite({required InMemoryHyttaHubStorage storage, required String siteId}) Future<void>
Cleans up an orphaned site (one with no remaining members). This is used by the in-memory and local storage modes to perform the equivalent of the Firebase cleanup cron job immediately.