Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "models"

Index

Type aliases

Column

Column<O>: keyof O

alias for a single key of O

Type parameters

  • O

    type of the array with the table data, same as the mediator's

Columns

Columns<O>: Array<Column<O>>

alias for an array with keys of O

Type parameters

  • O

    type of the array with the table data, same as the mediator's

FetchFunction

FetchFunction<F, O>: function

A function alias that takes a payload, the current sortBy id, sortDirection, the pageIndex and selected pageSize. The latters may be undefined, if no paginator or sorting is used

Type parameters

  • F

    type of the payload, same as the mediator's

  • O

    type of the fetch output, same as the mediator's

Type declaration

    • (payload?: F, sortBy?: Column<O>, sortDirection?: SortDirection, pageIndex?: number, pageSize?: number): Observable<MediatorData<O>>
    • Parameters

      • Optional payload: F
      • Optional sortBy: Column<O>
      • Optional sortDirection: SortDirection
      • Optional pageIndex: number
      • Optional pageSize: number

      Returns Observable<MediatorData<O>>

Newable

Newable<T>: object

alias for a type with a constructor

Type parameters

  • T

Type declaration

TriggerPayload

TriggerPayload<F>: Observable<F>

type alias for an observable of F or undefined

Type parameters

  • F

    type of the payload, same as the mediator's

Generated using TypeDoc