Skip to content

@sourceloop/task-service / Exports / Task

Class: Task<TS>

Type parameters

Name Type
TS TaskStatus

Hierarchy

  • UserModifiableEntity<Task>

    Task

Table of contents

Constructors

Properties

Constructors

constructor

new Task<TS>(data?)

Type parameters

Name Type
TS TaskStatus

Parameters

Name Type
data? Partial<Task<TaskStatus>>

Inherited from

UserModifiableEntity<Task>.constructor

Defined in

packages/core/dist/models/base-entity.model.d.ts:6

Properties

assigneeId

Optional assigneeId: string

Defined in

services/task-service/src/models/task.model.ts:88


createdBy

Optional createdBy: string

Inherited from

UserModifiableEntity.createdBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:4


createdOn

Optional createdOn: Date

Inherited from

UserModifiableEntity.createdOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:4


description

Optional description: string

Defined in

services/task-service/src/models/task.model.ts:36


dueDate

Optional dueDate: Date

Defined in

services/task-service/src/models/task.model.ts:75


endDate

Optional endDate: Date

Defined in

services/task-service/src/models/task.model.ts:82


externalId

Optional externalId: string

Defined in

services/task-service/src/models/task.model.ts:105


id

Optional id: string

Defined in

services/task-service/src/models/task.model.ts:15


key

key: string

Defined in

services/task-service/src/models/task.model.ts:22


metadata

metadata: AnyObject

Defined in

services/task-service/src/models/task.model.ts:94


modifiedBy

Optional modifiedBy: string

Inherited from

UserModifiableEntity.modifiedBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:5


modifiedOn

Optional modifiedOn: Date

Inherited from

UserModifiableEntity.modifiedOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:5


name

name: string

Defined in

services/task-service/src/models/task.model.ts:29


priority

priority: string

Defined in

services/task-service/src/models/task.model.ts:49


severity

severity: string

Defined in

services/task-service/src/models/task.model.ts:55


startDate

Optional startDate: Date

Defined in

services/task-service/src/models/task.model.ts:68


status

status: TS

Defined in

services/task-service/src/models/task.model.ts:43


type

type: string

Defined in

services/task-service/src/models/task.model.ts:61


userTasks

Optional userTasks: UserTask[]

Defined in

services/task-service/src/models/task.model.ts:99