-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(group): refactor searchGroups to make use of SearchQueryBuilder #517
Conversation
AFFECTS PACKAGES: @esri/arcgis-rest-portal BREAKING CHANGE: searchGroups signature change ISSUES CLOSED: #104
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
genericSearch()
++
* ``` | ||
* Search a portal for groups. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/group-search.htm) for more information. | ||
* Search a portal for items. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/search.htm) for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be "Search portal for groups"?
|
||
export function genericSearch( | ||
search: string | ISearchRequestOptions | SearchQueryBuilder, | ||
searchType: "item" | "group" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jgravois this LGTM but I'm going to pull this down and see if I can improve this typing at all.
@jgravois I've updated the types for |
very cool! |
searchGroups
andsearchItems
signatures consistentsearchGroups
IGroupSearchRequest
andIGroupSearchResult
interfacesISearchResult
andISearchRequestOptions
a little more genericAFFECTS PACKAGES:
@esri/arcgis-rest-portal
BREAKING CHANGE:
searchGroups signature change
ISSUES CLOSED: #104