MCPcopy Create free account

hub / github.com/bradtraversy/mern_shopping_list / functions

Functions47 in github.com/bradtraversy/mern_shopping_list

↓ 6 callersFunctionreturnErrors
(msg: IMsg, status: number, id: any = null)
client/src/flux/actions/errorActions.ts:5
↓ 3 callersFunctionhandleToggle
()
client/src/components/ItemModal.tsx:20
↓ 3 callersMethodpreventDefault
()
client/src/types/interfaces.ts:8
↓ 3 callersFunctiontokenConfig
(getState: Function)
client/src/flux/actions/authActions.ts:108
↓ 2 callersFunctionclearErrors
()
client/src/flux/actions/errorActions.ts:13
↓ 2 callersFunctionregisterValidSW
(swUrl: string, config?: Config)
client/src/serviceWorker.ts:65
↓ 1 callersFunctionaddItem
(item: IItem)
client/src/flux/actions/itemActions.ts:22
↓ 1 callersFunctioncheckValidServiceWorker
(swUrl: string, config?: Config)
client/src/serviceWorker.ts:109
↓ 1 callersFunctiondeleteItem
(id: string)
client/src/flux/actions/itemActions.ts:39
↓ 1 callersFunctiongetItems
()
client/src/flux/actions/itemActions.ts:7
↓ 1 callersFunctionhandleDelete
(id: string)
client/src/components/ShoppingList.tsx:18
↓ 1 callersFunctionloadUser
()
client/src/flux/actions/authActions.ts:16
↓ 1 callersFunctionlogin
({ email, password }: IAuthFunction)
client/src/flux/actions/authActions.ts:69
↓ 1 callersFunctionregister
({ name, email, password }: IAuthFunction)
client/src/flux/actions/authActions.ts:37
↓ 1 callersMethodregister
(user: IUser)
client/src/types/interfaces.ts:34
↓ 1 callersFunctionsetItemsLoading
()
client/src/flux/actions/itemActions.ts:56
FunctionApp
()
client/src/App.tsx:14
FunctionAppNavbar
({ auth }: IAppNavbar)
client/src/components/AppNavbar.tsx:17
FunctionItemModal
({ isAuthenticated, addItem }: IItemModal)
client/src/components/ItemModal.tsx:16
FunctionLoginModal
({ isAuthenticated, error, login, clearErrors }: ILoginModal)
client/src/components/auth/LoginModal.tsx:19
FunctionLogout
({ logout }: ILogoutProps)
client/src/components/auth/Logout.tsx:7
FunctionRegisterModal
({ isAuthenticated, error, register, clearErrors }: IRegisterModal)
client/src/components/auth/RegisterModal.tsx:23
FunctionShoppingList
({ getItems, item, isAuthenticated, deleteItem }: IShoppingList)
client/src/components/ShoppingList.tsx:8
MethodaddItem
(item: IItem)
client/src/types/interfaces.ts:78
MethodclearErrors
()
client/src/types/interfaces.ts:26
MethoddeleteItem
(id: string)
client/src/types/interfaces.ts:92
MethodgetItems
()
client/src/types/interfaces.ts:91
FunctionhandleChangeEmail
(e: ITarget)
client/src/components/auth/LoginModal.tsx:36
FunctionhandleChangeEmail
(e: ITarget)
client/src/components/auth/RegisterModal.tsx:42
FunctionhandleChangeName
(e: ITarget)
client/src/components/ItemModal.tsx:22
FunctionhandleChangeName
(e: ITarget)
client/src/components/auth/RegisterModal.tsx:41
FunctionhandleChangePassword
(e: ITarget)
client/src/components/auth/LoginModal.tsx:37
FunctionhandleChangePassword
(e: ITarget)
client/src/components/auth/RegisterModal.tsx:43
FunctionhandleOnSubmit
(e: any)
client/src/components/ItemModal.tsx:24
FunctionhandleOnSubmit
(e: any)
client/src/components/auth/LoginModal.tsx:39
FunctionhandleOnSubmit
(e: any)
client/src/components/auth/RegisterModal.tsx:45
FunctionhandleToggle
()
client/src/components/AppNavbar.tsx:20
Methodlogin
(user: IUser)
client/src/types/interfaces.ts:30
Functionlogout
()
client/src/flux/actions/authActions.ts:101
Methodlogout
()
client/src/types/interfaces.ts:38
FunctionmapStateToProps
(state: IItemReduxProps)
client/src/components/ItemModal.tsx:75
FunctionmapStateToProps
(state: IAuthReduxProps)
client/src/components/AppNavbar.tsx:65
FunctionmapStateToProps
(state: IItemReduxProps)
client/src/components/ShoppingList.tsx:50
FunctionmapStateToProps
(state: IAuthReduxProps)
client/src/components/auth/LoginModal.tsx:111
FunctionmapStateToProps
(state: IAuthReduxProps)
client/src/components/auth/RegisterModal.tsx:127
Functionregister
(config?: Config)
client/src/serviceWorker.ts:28
Functionunregister
()
client/src/serviceWorker.ts:139