Skip to main content

service

Api Code Documentation / Exports / service

Table of contents#

References#

Functions#

References#

ConnToken#

Re-exports ConnToken


Event#

Re-exports Event


HistoryEvent#

Re-exports HistoryEvent


Issuer#

Re-exports Issuer


Project#

Re-exports Project


ProjectUpdate#

Re-exports ProjectUpdate


applyStreamItems#

Re-exports applyStreamItems


createProjectOnChain#

Re-exports createProjectOnChain


getProject#

Re-exports getProject


getProjectList#

Re-exports getProjectList


getProjectPermissionList#

Re-exports getProjectPermissionList


grantProjectPermission#

Re-exports grantProjectPermission


throwUnsupportedEventVersion#

Re-exports throwUnsupportedEventVersion


updateProject#

Re-exports updateProject


writeProjectAssignedToChain#

Re-exports writeProjectAssignedToChain

Functions#

assignWorkflowitem#

assignWorkflowitem(conn, issuer, newAssignee, projectId, subprojectId, workflowitemId): Promise<void>

Parameters#

NameType
connConnToken
issuerIssuer
newAssigneestring
projectIdstring
subprojectIdstring
workflowitemIdstring

Returns#

Promise<void>

Defined in#

src/service/index.ts:275


closeWorkflowitem#

closeWorkflowitem(conn, issuer, projectId, subprojectId, workflowitemId): Promise<void>

Parameters#

NameType
connConnToken
issuerIssuer
projectIdstring
subprojectIdstring
workflowitemIdstring

Returns#

Promise<void>

Defined in#

src/service/index.ts:216


getWorkflowitemOrdering#

getWorkflowitemOrdering(conn, projectId, subprojectId): Promise<string[]>

Parameters#

NameType
connConnToken
projectIdstring
subprojectIdstring

Returns#

Promise<string[]>

Defined in#

src/service/index.ts:174


grantGlobalPermission#

grantGlobalPermission(conn, issuer, grantee, intent): Promise<void>

Parameters#

NameType
connConnToken
issuerIssuer
granteestring
intentdefault

Returns#

Promise<void>

Defined in#

src/service/index.ts:52


init#

init(rpcSettings): ConnToken

Parameters#

NameType
rpcSettingsConnectionSettings

Returns#

ConnToken

Defined in#

src/service/index.ts:40


revokeGlobalPermission#

revokeGlobalPermission(conn, issuer, recipient, intent): Promise<void>

Parameters#

NameType
connConnToken
issuerIssuer
recipientstring
intentdefault

Returns#

Promise<void>

Defined in#

src/service/index.ts:100


updateWorkflowitem#

updateWorkflowitem(conn, issuer, projectId, subprojectId, workflowitemId, data): Promise<void>

Parameters#

NameType
connConnToken
issuerIssuer
projectIdstring
subprojectIdstring
workflowitemIdstring
dataUpdate

Returns#

Promise<void>

Defined in#

src/service/index.ts:245