mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
Decode DocCustomPropertyInfoRow records directly in custom_property_definitions with list_rows. This change removes the intermediate serde_json::Value allocation while keeping per-row fault tolerance for invalid entries. Also reuse a single scratch string buffer in custom_property_rows instead of allocating a key string per property. Add NUMBER (NumberIcon) and DATE_TIME (DateTimeIcon) constants in packages/ui/tokens through extract-tokens.mjs.