Skip to content

[7.x] [Maps][Telemetry] Migrate Maps telemetry to NP (#55055)#58052

Merged
kindsun merged 1 commit intoelastic:7.xfrom
kindsun:backport/7.x/pr-55055
Feb 19, 2020
Merged

[7.x] [Maps][Telemetry] Migrate Maps telemetry to NP (#55055)#58052
kindsun merged 1 commit intoelastic:7.xfrom
kindsun:backport/7.x/pr-55055

Conversation

@kindsun
Copy link
Copy Markdown
Contributor

@kindsun kindsun commented Feb 19, 2020

Backports the following commits to 7.x:

* Move maps telemetry to NP. Some clean-up, some ts conversion

* Update naming & org to be more in-line with guidelines

* Get TELEMETRY_TYPE from constants

* Ignore ts error importing from js file

* Set original array type passed into the function to array of ILayerTypeCount. Set return type on reduce function

* Remove unneeded 'any' types where used. Add in interfaces for map & index pattern saved objects

* Review feedback. Add layer, source, map saved object types and use

* Review feedback. Updates based on type check

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@kindsun kindsun added the backport This PR is a backport of another PR label Feb 19, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kindsun kindsun merged commit 39d030b into elastic:7.x Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants