HistoryEntry

HistoryEntry

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

Signature

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

Extends

Members

administrator

property

type

property
type:
HistoryEntryType

isPublic

property
type:
boolean

data

property
type:
any