refactor: Remove local definitions of DeepWritable - #41185
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (2)
📜 Recent review details⏰ Context from checks skipped due to timeout. (3)
WalkthroughRemoved local ChangesDeepWritable type consolidation
Estimated code review effort: 1 (Trivial) | ~3 minutes Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #41185 +/- ##
===========================================
- Coverage 69.29% 69.27% -0.03%
===========================================
Files 3551 3551
Lines 139776 139776
Branches 24891 24832 -59
===========================================
- Hits 96863 96835 -28
- Misses 38893 38919 +26
- Partials 4020 4022 +2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
cfacb04 to
fe6f0f6
Compare
fe6f0f6 to
578ba65
Compare
|
/jira ARCH-2228 |
Proposed changes (including videos or screenshots)
This pull request refactors the usage of the
DeepWritabletype in both theChatMessagesclient library and theMessagesmodel by removing local definitions and consistently importing it from the shared@rocket.chat/core-typingspackage. This helps reduce code duplication and ensures type consistency across the codebase.Type definition cleanup and consistency
DeepWritabletype definitions inapps/meteor/app/ui/client/lib/ChatMessages.tsandpackages/models/src/models/Messages.tswith imports from@rocket.chat/core-typings, ensuring a single source of truth for this utility type. [1] [2] [3] [4]Issue(s)
Steps to test or reproduce
Further comments
Summary by CodeRabbit
Task: ARCH-2278