sagas/common

Namespace

sagas/common

Source:

Methods

(async, generator, static) changePassword(action)

Description:
  • Change User Password

Source:
Properties:
Name Type Description
action object
Properties
Name Type Description
payload object
oldPassword string
newPassword string
Parameters:
Name Type Description
action object

(async, generator, static) filter(action) → {void}

Description:
  • Set new filter

Source:
Properties:
Name Type Description
action object
Properties
Name Type Description
payload object
Properties
Name Type Description
type number
Parameters:
Name Type Description
action object
Returns:
Type
void

(async, generator, static) getProfileInfo()

Description:
  • Get User Profile info

Source:

(async, generator, static) init(action)

Description:
  • Check user session

Source:
Parameters:
Name Type Description
action object

(async, static) module.exports() → {void}

Source:
Returns:
Type
void

(async, generator, static) paging(action) → {void}

Description:
  • Set new page for pagination

Source:
Properties:
Name Type Description
action object
Properties
Name Type Description
payload object
Properties
Name Type Description
type number
Parameters:
Name Type Description
action object
Returns:
Type
void

Type Definitions

User

Source:
Properties:
Name Type Description
permissions Array
requireNewPassword boolean
roles Array
userId number
username string
Type:
  • object