✨ Feat: add support for UPDATING INSTANCE and STANDALONE events#366
Merged
tyler-dane merged 6 commits intomainfrom Apr 21, 2025
Merged
✨ Feat: add support for UPDATING INSTANCE and STANDALONE events#366tyler-dane merged 6 commits intomainfrom
tyler-dane merged 6 commits intomainfrom
Conversation
Tracking them in the map was unnecessary, because were won't come back again in subsequent passes (because there's only one)
e206e84 to
37e5eb3
Compare
This is similar to the RecurringEventReposity, but is focused on operations that apply to regular events
that-one-arab
pushed a commit
that referenced
this pull request
Jun 5, 2025
* ♻️ Refactor: rename mock gcal utils for clarity * ♻️ Refactor: skip tracking standalone events in map during full import Tracking them in the map was unnecessary, because were won't come back again in subsequent passes (because there's only one) * ♻️ Refactor: move mock event untils inside @backend * ✨ Feat: add support for UPDATING and INSTANCE * ✨ Feat: setup the EventRepository This is similar to the RecurringEventReposity, but is focused on operations that apply to regular events * ✨ Feat: add support for UPSERTING a new or existing standalone event
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #363
Summary
Primary changes include:
updateInstance✅ DELETE ALL
✅ DELETE ONE
✅ UPDATE ONE REGULAR
✅ DELETE THIS AND FOLLOWING
✅ CREATE ALL
✅ UPDATE ONE INSTANCE (this PR)
❌ UPDATE ALL (future PR)
❌ UPDATE THIS AND FOLLOWING (future PR)
Includes failing tests, which will be fixed in the follow-up refactor PR.