Index

projects/ngrx-data-lib/src/lib/http/http-communication.ts

deleteRequest
deleteRequest(http, url, formatsAcepted)

make a delete request.

Parameters :
Name Optional Description
http No

the angular http client.

url No

the url of the endpoint.

formatsAcepted No

an array of the formats that can parse the response.

Returns : Observable<any>
extractCharset
extractCharset(charset)
Parameters :
Name Optional
charset No
getRequest
getRequest(http, url, formatsAcepted)

make a get request.

Parameters :
Name Optional Description
http No

the angular http client.

url No

the url of the endpoint.

formatsAcepted No

an array of the formats that can parse the response.

Returns : Observable<any>
makeRequest
makeRequest(http, baseUrl, provider)

make http request using a request provider.

Parameters :
Name Optional Description
http No

the http client to be use.

baseUrl No

the base url for this request.

provider No

the request provider to be use for this http request.

Returns : Observable<any>
postRequest
postRequest(http, url, body: any, requestFormat, formatsAcepted)

make a post request.

Parameters :
Name Type Optional Description
http No

the angular http client.

url No

the url of the endpoint.

body any No

the body of the request.

requestFormat No

the format to use to parse the body request.

formatsAcepted No

an array of the formats that can parse the response.

Returns : Observable<any>
putRequest
putRequest(http, url, body: any, requestFormat, formatsAcepted)

make a put request.

Parameters :
Name Type Optional Description
http No

the angular http client.

url No

the url of the endpoint.

body any No

the body of the request.

requestFormat No

the format to use to parse the body request.

formatsAcepted No

an array of the formats that can parse the response.

Returns : Observable<any>

projects/ngrx-data-lib/src/lib/data-mapping/entity-array-mapper.ts

entityArrayMapper
entityArrayMapper(data: any, uniqueName, requestType, dbState)
Parameters :
Name Type Optional
data any No
uniqueName No
requestType No
dbState No
Returns : DBActions[]

projects/ngrx-data-lib/src/lib/helpers/immutable-observable.ts

makeArrayCopy
makeArrayCopy(value)
Parameters :
Name Optional
value No
Returns : any[]
makeShadowCopy
makeShadowCopy(value: any)
Parameters :
Name Type Optional
value any No
Returns : any

projects/ngrx-data-lib/src/lib/state/state.ts

reducer
reducer(state, action)
Parameters :
Name Optional
state No
action No

projects/ngrx-data-lib/src/lib/helpers/static-constructor.decorator.ts

StaticConstructed
StaticConstructed(target: any)
Parameters :
Name Type Optional
target any No

projects/ngrx-data-lib/src/lib/data-format/tools.ts

stringToUint
stringToUint(string)
Parameters :
Name Optional
string No
uintToString
uintToString(uintArray)
Parameters :
Name Optional
uintArray No

result-matching ""

    No results matching ""