Bah, I think How to to persist share types? answers my question (despite the title) — seems like Y.js isn’t self-describing so it’s something that, if interested, we should layer on top by e.g. encoding the schema in a map.
1 Like