Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Hooks<TDocument, TInstance>

Type parameters

  • TDocument

  • TInstance

Hierarchy

  • Hooks

Index

Methods

Optional onCreating

  • onCreating(document: TDocument): Promise<any> | PromiseLike<any> | any | never
  • Parameters

    • document: TDocument

    Returns Promise<any> | PromiseLike<any> | any | never

Optional onReady

  • onReady(instance: TInstance): Promise<any> | PromiseLike<any> | any | never
  • Parameters

    • instance: TInstance

    Returns Promise<any> | PromiseLike<any> | any | never

Optional onRetrieved

  • onRetrieved(document: TDocument): Promise<any> | PromiseLike<any> | any | never
  • Parameters

    • document: TDocument

    Returns Promise<any> | PromiseLike<any> | any | never

Optional onSaving

  • onSaving(instance: TInstance, changes: any): Promise<any> | PromiseLike<any> | any | never
  • Parameters

    • instance: TInstance
    • changes: any

    Returns Promise<any> | PromiseLike<any> | any | never

Generated using TypeDoc