Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExecutiveAPI

An API to retrieve data from the Executive store

Hierarchy

Index

Constructors

constructor

Properties

Private logger

logger: LogEntryAPI

The logger

Private sequelize

sequelize: Sequelize

The sequelize connection

Private store

store: typeof Executive

The Executive store

Methods

addNewExecutive

countExecutives

  • countExecutives(): Promise<number>

findExecutive

findExecutives

Optional initialize

  • initialize(config: DataSourceConfig<ContextBase>): void | Promise<void>
  • Parameters

    Returns void | Promise<void>

removeExecutive

  • removeExecutive(sid: string, who: string | undefined): Promise<number>
  • Remove executive

    async

    Parameters

    • sid: string

      The arg for the executive

    • who: string | undefined

      Who performed the action

    Returns Promise<number>

    Number of executives deleted

updateExecutive

Generated using TypeDoc