Commit graph

8 commits

Author SHA1 Message Date
Alex Gleason
aa7e2f6965
Refactor hooks with useEntityRequest 2023-03-23 16:22:15 -05:00
Alex Gleason
45c12e9b65
Make EntityCallbacks a generic function 2023-03-23 16:09:04 -05:00
Alex Gleason
ac9718e6ed
Return isLoading from useCreateEntity and useDeleteEntity 2023-03-23 15:30:45 -05:00
Alex Gleason
1c5a6d8b41
useDeleteEntity: refactor with EntityRequest 2023-03-23 15:05:34 -05:00
Alex Gleason
50f65bc7c9
useCreateEntity: pass an EntityRequest, refactor 2023-03-23 14:52:38 -05:00
Alex Gleason
61fb434a54
Improve API of parseEntitiesPath 2023-03-22 16:12:05 -05:00
Alex Gleason
8f67d2c76f
EntityStore: consolidate types, fix type of "path" 2023-03-22 16:06:10 -05:00
Alex Gleason
b127025167
Move useCreateEntity into its own hook as well, because why not 2023-03-22 15:31:58 -05:00