import BaseDefinitionRepository from 'pvbid-sdk/src/repositories/BaseDefinitionRepository.js'
BaseDefinitionRepository
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
create() |
|
public |
delete() |
|
public |
findById(id: *): * |
|
public |
get(params: {}): * |
|
public |
save() |
Inherited Summary
From class BaseRepository | ||
public |
endpoint: * |
|
public |
http: * |
|
public |
httpConfig: * |
|
public |
map: {"single": *, "multi": *} |
|
public |
metaData: * |
|
public |
params: {} |
|
public |
Persists a new entity |
|
public |
Deletes a single entity by its id |
|
public |
Retrieves a single domain object by its id. |
|
public |
Retrieves an array of results for the endpoint |
|
public |
Persists an update to the entity |
Public Constructors
public constructor() source
Creates an instance of BaseRepository.
Override:
BaseRepository#constructorPublic Methods
public findById(id: *): * source
Retrieves a single domain object by its id.
Override:
BaseRepository#findByIdParams:
Name | Type | Attribute | Description |
id | * |
Return:
* |
public get(params: {}): * source
Retrieves an array of results for the endpoint
Override:
BaseRepository#getParams:
Name | Type | Attribute | Description |
params | {} |
|
Return:
* |