Administrator

Administrator

Administrator

An administrative user who has access to the admin ui.

Signature

class Administrator extends VendureEntity implements SoftDeletable {
  constructor(input?: DeepPartial<Administrator>)
  @Column({ type: Date, nullable: true })
    deletedAt: Date | null;
  @Column() firstName: string;
  @Column() lastName: string;
  @Column({ unique: true })
    emailAddress: string;
  @OneToOne((type) => User)
    @JoinColumn()
    user: User;
}

Extends

Implements

  • SoftDeletable

Members

constructor

method
type:
(input?: DeepPartial<Administrator>) => Administrator

deletedAt

property
type:
Date | null

firstName

property
type:
string

lastName

property
type:
string

emailAddress

property
type:
string

user

property
type:
User