internetarchive / iaux-search-service

GNU Affero General Public License v3.0
4 stars 2 forks source link

WEBDEV-5516 Add new fields being returned by PPS #19

Closed latonv closed 1 year ago

latonv commented 1 year ago

The PPS hit schemas have been updated to include several fields that were previously missing: addeddate, avg_rating, issue, item_count, and source. This PR adds those to the search service hit types so that they are more readily available to consumers.

github-actions[bot] commented 1 year ago

PR Preview Action v1.1.1 :---: Preview removed because the pull request was closed. 2022-10-07 21:51 UTC

codecov[bot] commented 1 year ago

Codecov Report

Merging #19 (f6668fe) into main (9a7d617) will increase coverage by 1.95%. The diff coverage is 76.53%.

@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   79.90%   81.85%   +1.95%     
==========================================
  Files          24       24              
  Lines        1891     1973      +82     
  Branches      118      106      -12     
==========================================
+ Hits         1511     1615     +104     
+ Misses        374      346      -28     
- Partials        6       12       +6     
Impacted Files Coverage Δ
src/models/hit-types/item-hit.ts 90.05% <73.68%> (+3.86%) :arrow_up:
src/models/hit-types/text-hit.ts 89.40% <80.48%> (+8.50%) :arrow_up:
src/models/metadata-fields/field-types/byte.ts 100.00% <0.00%> (+12.50%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.