-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[connectors] Implement cleanup for Zendesk brands and categories (#8314)
* feat: implement brand-wise and category-wise cleanup * refactor: move the cleanup to the Resources * fix: fix the delete methods * revert: move back the cleanup to the activities This reverts commit 842ad0f. * refactor: move the methods that invoke a certain model in the dedicated Resource class * perf: add batch delete operations * lint * refactor: rename a method * perf: batch the deletion of the categories * perf: batch the deletion of the articles for an entire brand * perf: get rid of a loop over the categories when deleting articles for a brand * refactor: add a function deleteCategoryChildren * misc: add comments relative to the fact that brand have 2 permission fields * refactor: remove the `deleteUpserted...` functions
- Loading branch information
1 parent
a12bcdd
commit 44484cb
Showing
6 changed files
with
325 additions
and
129 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.