Skip to content

@sourceloop/task-service / Exports / Event

Class: Event

Hierarchy

  • CoreEntity<Event>

    Event

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new Event(data?)

Parameters

Name Type
data? Partial<Event>

Inherited from

CoreEntity<Event>.constructor

Defined in

packages/core/dist/models/core-entity.d.ts:3

Properties

description

description: string

Defined in

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


id

id: string

Defined in

services/task-service/src/models/event.model.ts:14


key

key: string

Implementation of

IEvent.key

Defined in

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


payload

payload: AnyObject

Implementation of

IEvent.payload

Defined in

services/task-service/src/models/event.model.ts:44


source

source: string

Implementation of

IEvent.source

Defined in

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


timestamp

timestamp: number

Implementation of

IEvent.timestamp

Defined in

services/task-service/src/models/event.model.ts:51