service
Api Code Documentation / Exports / service
Table of contents
References
- ConnToken
- Event
- HistoryEvent
- Issuer
- Project
- ProjectUpdate
- applyStreamItems
- createProjectOnChain
- getProject
- getProjectList
- getProjectPermissionList
- grantProjectPermission
- throwUnsupportedEventVersion
- updateProject
- writeProjectAssignedToChain
Functions
- assignWorkflowitem
- closeWorkflowitem
- getWorkflowitemOrdering
- grantGlobalPermission
- init
- revokeGlobalPermission
- updateWorkflowitem
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
Name | Type |
---|---|
conn | ConnToken |
issuer | Issuer |
newAssignee | string |
projectId | string |
subprojectId | string |
workflowitemId | string |
Returns
Promise
<void
>
Defined in
closeWorkflowitem
▸ closeWorkflowitem(conn
, issuer
, projectId
, subprojectId
, workflowitemId
): Promise
<void
>
Parameters
Name | Type |
---|---|
conn | ConnToken |
issuer | Issuer |
projectId | string |
subprojectId | string |
workflowitemId | string |
Returns
Promise
<void
>
Defined in
getWorkflowitemOrdering
▸ getWorkflowitemOrdering(conn
, projectId
, subprojectId
): Promise
<string
[]>
Parameters
Name | Type |
---|---|
conn | ConnToken |
projectId | string |
subprojectId | string |
Returns
Promise
<string
[]>
Defined in
grantGlobalPermission
▸ grantGlobalPermission(conn
, issuer
, grantee
, intent
): Promise
<void
>
Parameters
Name | Type |
---|---|
conn | ConnToken |
issuer | Issuer |
grantee | string |
intent | default |
Returns
Promise
<void
>
Defined in
init
▸ init(rpcSettings
): ConnToken
Parameters
Name | Type |
---|---|
rpcSettings | ConnectionSettings |
Returns
Defined in
revokeGlobalPermission
▸ revokeGlobalPermission(conn
, issuer
, recipient
, intent
): Promise
<void
>
Parameters
Name | Type |
---|---|
conn | ConnToken |
issuer | Issuer |
recipient | string |
intent | default |
Returns
Promise
<void
>
Defined in
updateWorkflowitem
▸ updateWorkflowitem(conn
, issuer
, projectId
, subprojectId
, workflowitemId
, data
): Promise
<void
>
Parameters
Name | Type |
---|---|
conn | ConnToken |
issuer | Issuer |
projectId | string |
subprojectId | string |
workflowitemId | string |
data | Update |
Returns
Promise
<void
>