await supabase
.from('collections')
.select("*, items (*), collection_share (shared_with, can_edit)")
.filter("id", "eq", "collection_share.collection_id")
.eq("collection_share.shared_with", sharedWithId)
await supabase
.from('collections')
.select("*, items (*), collection_share (shared_with, can_edit)")
.filter("id", "eq", "collection_share.collection_id")
.eq("collection_share.shared_with", sharedWithId)