Skip to content

@sourceloop/task-service / Exports / UserTaskService

Class: UserTaskService

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new UserTaskService(taskRepo, userTaskRepo, outgoing, camundaService)

Parameters

Name Type
taskRepo TaskRepository
userTaskRepo UserTaskRepository
outgoing IOutgoingConnector<IEvent<any>>
camundaService CamundaService

Defined in

services/task-service/src/services/user-task.service.ts:10

Properties

camundaService

Private Readonly camundaService: CamundaService

Defined in

services/task-service/src/services/user-task.service.ts:18


outgoing

Private Readonly outgoing: IOutgoingConnector<IEvent<any>>

Defined in

services/task-service/src/services/user-task.service.ts:16


taskRepo

Private taskRepo: TaskRepository

Defined in

services/task-service/src/services/user-task.service.ts:12


userTaskRepo

Private userTaskRepo: UserTaskRepository

Defined in

services/task-service/src/services/user-task.service.ts:14

Methods

complete

complete(taskId, userTaskId): Promise<void>

Parameters

Name Type
taskId string
userTaskId string

Returns

Promise<void>

Implementation of

IUserTaskService.complete

Defined in

services/task-service/src/services/user-task.service.ts:21


updateList

updateList(taskId, instanceId): Promise<void>

Parameters

Name Type
taskId string
instanceId string

Returns

Promise<void>

Implementation of

IUserTaskService.updateList

Defined in

services/task-service/src/services/user-task.service.ts:43