Skip to content

Commit

Permalink
feat(api): add popSearch method required by CWRC-WriterBase
Browse files Browse the repository at this point in the history
popSearch is simply a property on the module referring to an object that in turn references the four
entity search functions of the API.  The CWRC-WriterBase uses this object to lookup the methods by
entity type.
  • Loading branch information
jchartrand committed Nov 9, 2017
1 parent a3027bb commit d2c12cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,13 @@ module.exports = {
popSearchPlace: popSearchPlace,
popSearchTitle: popSearchTitle,

popSearch: {
person : popSearchPerson,
organization : popSearchOrganization,
place : popSearchPlace,
title : popSearchTitle
}

}

/*
Expand Down

0 comments on commit d2c12cc

Please sign in to comment.