pub fn export<S: Store>( repo: &Repository<S>, ids: &[RecordId], viewer: &Viewer, ) -> Result<Bundle>
Export records (and their histories) as viewer may see them. Records the viewer cannot see are silently omitted.
viewer