Grain source_metadata: spec bump to v0.7.4 + nullable field regen#128
Conversation
Pull cloudglue-api-spec to v0.7.4 (PR #98), which marks the include-gated Grain source_metadata fields nullable. Regenerated the client: GrainSourceMetadata fields (participants, highlights, ai_summary, ai_action_items, ai_template_sections, calendar_event) become .nullish() with matching `| null` TS types via the existing generate.js nullish/nullable transforms. Verified getSourceMetadata() against a live Grain connector — fetch and Zod parse succeed. Bumps SDK version to 0.7.13.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughPackage version is incremented from 0.7.12 to 0.7.13 in ChangesRelease v0.7.13
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
Summary
cloudglue-api-specsubmodule to v0.7.4 (api-spec #98), which marks the include-gated Grainsource_metadatafields as nullable.GrainSourceMetadata(generated/common.ts):participants,highlights,ai_summary,ai_action_items,ai_template_sections, andcalendar_eventmove from.optional()→.nullish(), with matching| nullTS types produced by the existinggenerate.jsnullish/nullable transforms.0.7.12→0.7.13.Verification
npm run generateis reproducible — re-running yields byte-identical output (onlycommon.tschanges).npm run build(tsc) passes.getSourceMetadata()against a live Grain connector: fetch + Zod parse both succeed with the new nullable schema.Summary by CodeRabbit