-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌱 Update application, archetype rest and queries
- Update api functions `createApplication` and `createArchetype` to take as input a `New<>` payload and return the newly created entity as a result. - Update query `useCreateApplicationMutation` to pass the proper values to the `onSuccess` and `onError` callbacks. - Update various fetch queries to return `isSuccess` so component code can ensure at least 1 successful fetch has happened before rendering data that depends on the fetch results. - Add query `useFetchTagsWithTagItems` as a convenience to get a full list of tags with tag category refs, and a `TagItemType` transform of the tags to be useful for display. Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
- Loading branch information
Showing
6 changed files
with
78 additions
and
14 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
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