Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Provider

Hierarchy

  • Provider

Implemented by

Index

Properties

httpClient: AxiosInstance

Methods

  • delete(resourceUrl: string): Promise<void>
  • get(resourceUrl: string, cacheTime?: number, forceCache?: boolean): Promise<any>
  • getList(url: string | URL, filters?: null | Filter[], parameters?: null | GetListParameters, cacheTime?: number, forceCache?: boolean): Promise<Model[]>
  • Parameters

    • url: string | URL
    • Optional filters: null | Filter[]
    • Optional parameters: null | GetListParameters
    • Optional cacheTime: number
    • Optional forceCache: boolean

    Returns Promise<Model[]>

  • getObject(resourceUrl: string, cacheTime?: number, forceCache?: boolean): Promise<Model>
  • getPage(url: string | URL, filters?: null | Filter[], paginationParameters?: null | PaginationParameters, cacheTime?: number, forceCache?: boolean): Promise<[Model[], TableFilter[], Pagination]>
  • Parameters

    • url: string | URL
    • Optional filters: null | Filter[]
    • Optional paginationParameters: null | PaginationParameters
    • Optional cacheTime: number
    • Optional forceCache: boolean

    Returns Promise<[Model[], TableFilter[], Pagination]>

  • onErrorHandler(error: Error): void
  • patch(resourceUrl: string, payload: object): Promise<Model>
  • post(resourceUrl: string, payload: object): Promise<Model>
  • put(resourceUrl: string, payload: object): Promise<Model>

Generated using TypeDoc