Goals
This package contains functions to interact with the Goals API.
It contains the following functions and files:
- updateGoals: Update goals in bulk
- updateGoal: Update a goal by user ID
- useQueryGoals: Returns all goals in alphabetical order
- useQueryGoalsById: Returns an individual goal by goal ID
- useQueryGoalsByUser: Return an individual user's goal by user ID
This package also contains various types used while interfacing with Goals.
- GoalType: Individual goal
- GoalWithErrorsType: Individual goals with errors
- BulkOperation: Goals and the associated operation for the given task
- BulkOperationWithError: Goals with errors and the associated operation for the given task