Properties
create
create: function
Type declaration
-
- (data: any, params?: IParams): Promise<object>
-
Parameters
Returns Promise<object>
get
get: function
Type declaration
-
- (id: string | number, params?: IParams): Promise<object>
-
Parameters
-
id: string | number
-
Optional params: IParams
Returns Promise<object>
patch
patch: function
Type declaration
-
- (id: string | number | null, data: any, params?: IParams): Promise<object | Array<object>>
-
Parameters
-
id: string | number | null
-
data: any
-
Optional params: IParams
Returns Promise<object | Array<object>>
remove
remove: function
Type declaration
-
- (id: string | number | null, params?: IParams): Promise<object | Array<object>>
-
Parameters
-
id: string | number | null
-
Optional params: IParams
Returns Promise<object | Array<object>>
update
update: function
Type declaration
-
- (id: string | number | null, data: any, params?: IParams): Promise<object | Array<object>>
-
Parameters
-
id: string | number | null
-
data: any
-
Optional params: IParams
Returns Promise<object | Array<object>>