Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ElementChangeCreateUpdate<ELEMENTTYPE, IDTYPE>

Special case for CREATE and UPDATE messages, when we know that we have a "newValue", saving a null-guard in the resulting code.

Type parameters

  • ELEMENTTYPE

  • IDTYPE

Hierarchy

Index

Properties

Readonly id

id: IDTYPE

Readonly newValue

newValue: ELEMENTTYPE

Optional Readonly previousValue

previousValue?: ELEMENTTYPE

Readonly type

type: "CREATE" | "UPDATE"