fix(schema-org): export missing node types - #852
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe schema.org package now re-exports additional node-specific TypeScript types from its top-level entry point. Public type tests import these types and verify required properties, Simple-type equivalence, and delivery transit-time typing. ChangesSchema.org public types
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📦 Bundle Size✅ No notable changes All bundles (14)
⚡ Performance (directional)✅ No significant change (within CI noise) All benchmarks (14)
Baseline: main @ cf40679 · 2026-07-19 · gzipped is the headline size metric · perf is directional (shared-runner, gated) |
🔗 Linked issue
Related to #822
❓ Type of change
📚 Description
definePlace()anddefineVirtualLocation()are public, and schema inputs already reference shipping and returns types, but those types could not be imported from@unhead/schema-org. This exports the existing location and commerce node types from the package entry and covers each export with public type tests. It only adds type exports; runtime code and existing consumer types are unchanged.