Interface for bridging project DB functions from CLI to REST api

Source:

Methods

(inner) changeSlackChannel(projectId, channel) → {Q.Promise.<string>}

Parameters:
Name Type Description
projectId string
channel string
Source:
Returns:
Type
Q.Promise.<string>

(inner) create(projectId, repoNameopt, channelopt) → {Q.Promise.<{sharedKey: string, authToken: string, gitHubToken: string}>}

Parameters:
Name Type Attributes Description
projectId string
repoName string <optional>
channel string <optional>
Source:
Returns:
Type
Q.Promise.<{sharedKey: string, authToken: string, gitHubToken: string}>

(inner) getGitHub(projectId) → {Q.Promise.<string>}

Parameters:
Name Type Description
projectId string
Source:
Returns:
Type
Q.Promise.<string>

(inner) getShared(projectId) → {Q.Promise.<string>}

Parameters:
Name Type Description
projectId string
Source:
Returns:
Type
Q.Promise.<string>

(inner) resetAuth(projectId) → {Q.Promise.<string>}

Parameters:
Name Type Description
projectId string
Source:
Returns:
Type
Q.Promise.<string>

(inner) resetGitHub(projectId) → {Q.Promise.<string>}

Parameters:
Name Type Description
projectId string
Source:
Returns:
Type
Q.Promise.<string>

(inner) resetShared(projectId) → {Q.Promsie.<string>}

Parameters:
Name Type Description
projectId string
Source:
Returns:
Type
Q.Promsie.<string>