Skip to content

Files

Latest commit

c64791b · May 18, 2018

History

History
94 lines (64 loc) · 3.83 KB

actions.direct.md

File metadata and controls

94 lines (64 loc) · 3.83 KB

actions.direct

Actions related to Direct API: access to projects, billing accounts, copilot operations, and other similar stuff is handled by them.

actions.direct.dropAll() ⇒ Action

Creates an action that drops out of Redux store all Direct-related data, loaded by other actions from this module, and also cancels any pending loading operations.

Kind: static method of actions.direct

actions.direct.getProjectDetailsInit(projectId) ⇒ Action

Creates an action that signals beginning of project details loading.

Kind: static method of actions.direct

Param Type Description
projectId Number Project ID.

actions.direct.getProjectDetailsDone(projectId, tokenV3) ⇒ Action

Creates an action that loads project details.

Kind: static method of actions.direct

Param Type Description
projectId Number Project ID.
tokenV3 String Topcoder auth token v3.

actions.direct.getProjectPermissionsInit(projectId) ⇒ Action

Creates an action that signals beginning of project permissions loading.

Kind: static method of actions.direct

Param Type Description
projectId Number | String Project ID.

actions.direct.getProjectPermissionsDone(projectId, tokenV3) ⇒ Action

Creates an action that loads project permissions.

Kind: static method of actions.direct

Param Type Description
projectId Number | String Project ID.
tokenV3 String Topcoder v3 auth token.

actions.direct.getUserProjectsInit(tokenV3) ⇒ Action

Creates an action that signals beginning of loading the projects related with a user.

Kind: static method of actions.direct

Param Type Description
tokenV3 String Topcoder v3 auth token of the user for who we load the projects.

actions.direct.getUserProjectsDone(tokenV3) ⇒ Action

Creates an action that loads projects related to a user.

Kind: static method of actions.direct

Param Type Description
tokenV3 String Topcoder auth token v3.