mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
Move database view types and parse_views into read/database_views.rs and re-export them from read/mod.rs. Add DatabaseViewColumn::project_column to scan view.columns entries in place and read only matching column_id fields. Share merge_fields between project and project_column so width, hide, and statCalcType follow one merge rule. Use project_column in set_view_column_field to avoid exporting unrelated columns to JSON.