-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(database): add import/export extensions logic to existing endpoi…
…nts (#683) * feat: add import/export extensions to existing endpoint * fix: add more specific checks & filtering for importing only db extensions * fix: correct expression * fix(database): cms schema/extension exports/imports This commit intruduces a fixes and refactors export/import logic as follows: - Export endpoint returns schemas and extensions as separate fields - Import endpoint optionally accepts an extensions field (backwards-compat) - Import handler imports all schemas prior to extensions - Import handler throws on non-CMS schema import attempts - Import handler throws on non-existing schema extension attempts --------- Co-authored-by: Konstantinos Feretos <[email protected]>
- Loading branch information
Showing
3 changed files
with
99 additions
and
35 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