Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AnyresCRUD<TQ, TQR, TG, TC, TU>

Type parameters

Hierarchy

  • AnyresCRUD

Index

Constructors

constructor

Properties

Optional errorHandler

errorHandler: function

Type declaration

    • (err: any): void
    • Parameters

      • err: any

      Returns void

forbiddenMethods

forbiddenMethods: HttpMethod[]

Optional httpAdapter

httpAdapter: IHttpAdapter

httpAdapterStatic

httpAdapterStatic: IHttpAdapter

path

path: string

primaryKey

primaryKey: string

Methods

create

  • create(res: TC): Observable<TG>

get

  • get(id: any): Observable<TG>

getHeaders$

  • getHeaders$(): Observable<object>

next

  • next(url: string): Observable<TQR>

previous

  • previous(url: string): Observable<TQR>

query

  • query(query?: TQ): Observable<TQR>

remove

  • remove(id: string | number): Observable<any>
  • Parameters

    • id: string | number

    Returns Observable<any>

update

  • update(res: TU): Observable<TG>

Generated using TypeDoc