@janiscommerce/api-list
Advanced tools
Changelog
[8.0.0] - 2024-02-22
alwaysCallFormatter
to enforce calling the formatRows()
method, even when response is reduced with fields
or excludeFields
.fields
or excludeFields
, the formatRows()
method is not called any more.Changelog
[7.1.1] - 2023-10-06
Changelog
[7.1.0] - 2023-10-04
x-janis-only-totals
to make request not return list items, only header x-janis-total
x-janis-total
header default from true to falseChangelog
[5.8.0] - 2023-01-20
_ New parameter fields
to select specific fields to be responded.
_ New parameter excludeFields
to select specific fields to be excluded in the response.
fieldsToSelect
can be false
to prevent to use fields
parameter.fieldsToExclude
to define witch fields must be excluded from the response.fixedFields
to define witch fields must be responded and can't be excluded.fields
parameter will send fields to the query, the model will reduce the response.Changelog
[5.7.0] - 2022-12-27
fields
to reduce the api response to just the defined fields.Changelog
[5.6.1] - 2022-08-25
x-janis-totals
as boolean to be received and used.Changelog
[5.6.0] - 2022-08-25
x-janis-totals
to avoid getTotals()
query and x-janis-total
response headerChangelog
[5.5.0] - 2022-08-25
maxPageSize
to configure a bigger page-size on each ApiList