🚨 Announcing Vendure v2 Beta

HistoryEntry

HistoryEntry

An abstract entity representing an entry in the history of an Order (OrderHistoryEntry) or a Customer (CustomerHistoryEntry).

Signature

class HistoryEntry extends VendureEntity {
  @ManyToOne(type => Administrator)
    administrator?: Administrator;
  readonly @Column({ nullable: false, type: 'varchar' })
    readonly type: HistoryEntryType;
  @Column()
    isPublic: boolean;
  @Column('simple-json')
    data: any;
}

Extends

Members

administrator

property

type

readonly property
type:
HistoryEntryType

isPublic

property
type:
boolean

data

property
type:
any