feat: Record search queries (#1554)

* Record search queries

* feat: add totalCount to the search response

* feat: add comments to explain why we use setTimeout
This commit is contained in:
Renan Filipe
2020-09-22 03:05:42 -03:00
committed by GitHub
parent 0fa8a6ed2e
commit 98626ebbaf
9 changed files with 330 additions and 54 deletions

View File

@@ -14,6 +14,7 @@ import Integration from "./Integration";
import Notification from "./Notification";
import NotificationSetting from "./NotificationSetting";
import Revision from "./Revision";
import SearchQuery from "./SearchQuery";
import Share from "./Share";
import Star from "./Star";
import Team from "./Team";
@@ -36,6 +37,7 @@ const models = {
Notification,
NotificationSetting,
Revision,
SearchQuery,
Share,
Star,
Team,
@@ -66,6 +68,7 @@ export {
Notification,
NotificationSetting,
Revision,
SearchQuery,
Share,
Star,
Team,