Plays
This package contains functions and hooks for fetching, creating, updating, and deleting plays.
Get Plays
Functions and hooks for fetching plays.
List Plays
getPlays- Fetches playsusePlaysQuery- React hook for fetching playsinvalidatePlays- Invalidates the cache for plays
Single Play
getPlay- Fetches a single playusePlayQuery- React hook for fetching a single playinvalidatePlay- Invalidates the cache for a single play
Create Play
createPlay- Creates a playuseCreatePlayMutation- React hook for creating a play
Update Play
updatePlay- Updates a playuseUpdatePlayMutation- React hook for updating a play
Delete Play
deletePlay- Deletes a playuseDeletePlayMutation- React hook for deleting a play