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:288


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:229


getWorkflowitemOrdering

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

Parameters

NameType
connConnToken
projectIdstring
subprojectIdstring

Returns

Promise<string[]>

Defined in

src/service/index.ts:187


grantGlobalPermission

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

Parameters

NameType
connConnToken
issuerIssuer
granteestring
intentdefault

Returns

Promise<void>

Defined in

src/service/index.ts:63


init

init(rpcSettings): ConnToken

Parameters

NameType
rpcSettingsConnectionSettings

Returns

ConnToken

Defined in

src/service/index.ts:51


revokeGlobalPermission

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

Parameters

NameType
connConnToken
issuerIssuer
recipientstring
intentdefault

Returns

Promise<void>

Defined in

src/service/index.ts:112


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:258