@wildberries/service-user
TypeScript icon, indicating that this package has built-in type declarations

0.2.10 • Public • Published

service-user

This package contains reducers, actions, selectors and types for working with user information and permissions that contain in redux store.

Public API

Actions

  • fetchUserInfoAction,
  • setUserInfoLoadingStopAction,
  • setUserInfoLoadingStartAction,
  • setUserInfoAction,
  • setUserPermissionsLoadingStopAction,
  • setUserPermissionsLoadingStartAction,
  • fetchUserPermissionsAction,
  • setUserPermissionsAction,

Selectors

  • getUserInfo,
  • getUserInfoIsLoading,
  • getUserPermissionsIsLoading,
  • getUserPermissions,

Types

  • UserInfoType,
  • UserState,
  • StatePartUser,
  • FetchUserInfoActionPayloadType,
  • FetchUserPermissionsActionPayloadType,
  • SetUserInfoActionPayloadType,
  • SetUserPermissionsActionPayloadType,
  • PermissionType,
  • PermissionsType,

Reducer

  • reducerUser

Name for connecting reducer is reducerUserName

Saga

  • fetchUserInfoWatcherSaga (Name for connecting - fetchUserInfoWatcherSagaName)
  • fetchUserPermissionsWatcherSaga (Name for connecting - fetchUserPermissionsWatcherSagaName)

Readme

Keywords

none

Package Sidebar

Install

npm i @wildberries/service-user

Weekly Downloads

6

Version

0.2.10

License

MIT

Unpacked Size

78.2 kB

Total Files

82

Last publish

Collaborators

  • sfckngwht
  • novikov
  • vladislav137
  • mihanizm56
  • ramison4ik