Skip to main content
Version: 4.5

Class: ChangeSet<T>#

core.ChangeSet

Type parameters#

NameType
TAnyEntity<T>

Constructors#

constructor#

+ new ChangeSet<T>(entity: T, type: ChangeSetType, payload: EntityData<T>, meta: EntityMetadata<T>): ChangeSet<T>

Type parameters:#

NameType
TAnyEntity<T>

Parameters:#

NameType
entityT
typeChangeSetType
payloadEntityData<T>
metaEntityMetadata<T>

Returns: ChangeSet<T>

Defined in: packages/core/src/unit-of-work/ChangeSet.ts:3

Properties#

collection#

collection: string

Defined in: packages/core/src/unit-of-work/ChangeSet.ts:19


entity#

entity: T

Defined in: packages/core/src/unit-of-work/ChangeSet.ts:21


name#

name: string

Defined in: packages/core/src/unit-of-work/ChangeSet.ts:17


originalEntity#

Optional originalEntity: EntityData<T>

Defined in: packages/core/src/unit-of-work/ChangeSet.ts:24


payload#

payload: EntityData<T>

Defined in: packages/core/src/unit-of-work/ChangeSet.ts:22


persisted#

persisted: boolean

Defined in: packages/core/src/unit-of-work/ChangeSet.ts:23


rootName#

rootName: string

Defined in: packages/core/src/unit-of-work/ChangeSet.ts:18


type#

type: ChangeSetType

Defined in: packages/core/src/unit-of-work/ChangeSet.ts:20

Last updated on by Renovate Bot