# Functions
AddDeviceResolver creates a new user account and assigns it a.
AddItemsToStore resolves the addItemsToStore mutation.
AddItemToTrip resolves the addItemToTrip mutation.
AuthenticatedUserResolver resolves me GraphQL query by returning the authenticated user, or an error if no authenticated user exists.
BasicUserResolver resolves the creator field in the StoreType by retrieving basic information about a user (email, first name, last name).
CreateRecipeResolver creates a new recipe.
CreateStoreResolver creates a new store for the currently authenticated user.
DeclineStoreInviteResolver resolves the declineStoreResolver resolver by calling stores.RemoveUserFromStore function which handles removing the StoreUser record and emailing the store creator about the invite being declined.
DeleteAccountResolver resolves the deleteAccount mutation.
DeleteItemResolver deletes an item by itemId param.
DeleteMealResolver resolves the deleteMeal mutation.
DeleteRecipeResolver resolves the deleteRecipe mutation.
DeleteStoreResolver resolves the deleteStore mutation by deleting a store and its associated store users and items.
ForgotPasswordResolver resolves the forgotPassword mutation.
GroceryTripResolver retrieves a grocery trip by ID.
GroceryTripsResolver resolves the trips mutation.
InvitedStoresResolver resolves the invitedStores query by retrieving stores that the current user has been invited to.
InviteToStoreResolver resolves the inviteToStore mutation by creating a pending store_users record for the given storeId and email.
ItemSearchResolver resolves the itemSearch query.
JoinStoreResolver adds the current user to a store properly by removing the email and replacing it with the user ID.
JoinStoreWithShareCodeResolver resolves the joinStoreWithShareCode mutation.
LeaveStoreResolver resolves the leaveStore resolver by removing the current user from the store.
LoginResolver fetches a token for an user authentication session.
MarkItemAsCompletedResolver resolves the markItemAsCompleted mutation.
MealResolver resolves the meals query.
MealsResolver resolves the meals query.
NotifyTripUpdatedItemsAddedResolver resolves the notifyTripUpdatedItemsAdded mutation.
PasswordResetResolver resolves the passwordReset query.
PlanMealResolver resolves the planMeal mutation.
RecipeResolver resolves the recipe query.
RecipesResolver resolves the recipes query.
RemoveStapleItem resolves the removeStapleItem mutation.
ReorderItemResolver updates the position of an item with the provided params.
ResetPasswordResolver resolves the resetPassword mutation.
SaveStapleItem resolves the saveStapleItem mutation.
SignInWithAppleResolver resolves the signInWithApple mutation.
SignupResolver creates a new user account and assigns it a.
StoreCategoriesResolver resolves the storeCategories query.
StoreResolver resolves the store GraphQL query by retrieving a store by ID param.
StoresResolver returns Store records for the current user.
StoreUserPrefsResolver resolves the storeUserPrefs query.
UpdateItemResolver updates the properties of an item with the provided params.
UpdateMealResolver resolves the updateMeal mutation.
UpdateStoreResolver resolves the updateStore mutation by updating the properties of a store.
UpdateStoreUserPrefsResolver resolves the updateStoreUserPrefs mutation.
UpdateTripResolver updates the properties of a trip with the provided params.