kibana/x-pack/plugins
Mikhail Shustov f593455a62
Bump TypeScript to v3.9 (#67666)
* add babel support for export type

* bump ts version to 3.9.3

* rebuild kbn-pm

* bump typescript-eslint

* fix error in security plugin UI

* check export as works

* fix app migration type

* use correct test subj attribute

* fix errors from the old PR

* embeddable is already passed in props

* explicitly define type of fetch

* add some types for viz

* fix fetch type p.2

* add null to allow spreading without type errors due to override

* add type guard to fix type error

* cast to any, since cannot assign unknown

* add timestamp to known types

* fix type error in fetch

* fix type error. id is always defined in attibutes

* declare a type

* move ts-ignore to the lines with errors

* declare tuple type explicitly

* mute type error. cannot assign unknown

* fix errors. id is always defined

* fix error type

* fix override errors. id is always defined

* fix error. extends any doesn't work anymore

* fix type error. type is always defined

* env doesn't always contain values

* fix type error

* cast to string

* add: logs is already declared in getNodeLogsUrl

* state is already  passed in props

* fix some errors in timelion

* number of fragments is always defined

* 'absolute' is not just string, but value

* TEMP: option is always defined

* always true if cast to promise manually

* both props are always defined

* explicitly define returned SO type

* workaround type

* bump tslib to be compatible with ts v3.9

* test private property

* rebuild kbn-pm

* Fix ts errors for beats management

* Fix type inference broken by the TS 3.9 upgrade

* Fix ingest manager saved object attributes typings

* Fix TS errors in cross_cluster_replication and index_management.

* Fix TS error in Watcher.

* roll back colorRange wrong type

* fix security plugin types

* TypeScript 3.9 fixes for APM

* Fix ColorRange types.

* fix actions & alerts errors. ByGidi

* fix lists error

* More APM fixes

* Remove paramaterization from `removeEmpty in agent config SettingsPage component (it's only used there and doesn't need to be parameterized.)
* Add option chain for case in registerTransactionDurationAlertType
* Cast `overallValue` in transform_metrics_chart
* Use more specific type for custom link filters
* Add more option chaining for local UI filters buckets response
* Remove unused parameters from routes
* Fix getProjection type parameter
* Use destructuring in serviceNodesLocalFiltersRoute to hide `never` error
* Revert `UnionToIntersection` change in `AggregationResponseMap`

Fixes #67804.

* fix platform type error

* Fix visualizations types.

* Fix data plugin types.

* bump TS version to 3.9.5

* Fix telemetry TS errors

* Fix dashboard code

* Adding Canvas Fixes for TS 3.9

* Fix case and security_solution types

* roll back to the old export syntax. new one might cause problems in api-extractor

* update docs

* Fix timelion code

* Fix meta

* Fix types

* fix type errors om ingest_manager

* bump babel deps

* enable private props & methods syntax

* update kbn-pm dist

* whitelist 0BSD license

* use @babel/plugin-proposal-private-methods in default set as well

* disable new babel plugins

* Revert "disable new babel plugins"

This reverts commit 04d959431d.

* cleanup security_solution types

* Fixes type error for newer TypeScript

* update docs

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
Co-authored-by: Felix Stürmer <stuermer@weltenwort.de>
Co-authored-by: CJ Cenizal <cj@cenizal.com>
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Nathan L Smith <smith@nlsmith.com>
Co-authored-by: Walter Rafelsberger <walter@elastic.co>
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
Co-authored-by: Tim Roes <tim.roes@elastic.co>
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: FrankHassanabad <frank.hassanabad@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-11 10:04:09 +02:00
..
actions Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
alerting_builtins Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE (#66838) 2020-06-01 18:45:36 -07:00
alerts Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
apm Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
beats_management [New Platform Migration]: Management - Implement NP API (#66781) 2020-06-03 18:55:06 +03:00
canvas Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
case Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
cloud
code
console_extensions
cross_cluster_replication Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
dashboard_enhanced advanced_ui_actions 👉 ui_actions_enhanced (#68258) 2020-06-05 13:14:01 +02:00
dashboard_mode
data_enhanced [Search] Refactor service to register search strategies, not providers (#60342) 2020-06-08 21:22:09 +03:00
drilldowns advanced_ui_actions 👉 ui_actions_enhanced (#68258) 2020-06-05 13:14:01 +02:00
embeddable_enhanced [eslint] Prevents importing of public code into server (#67149) 2020-06-10 08:39:52 -07:00
encrypted_saved_objects Migrate audit logging to KP (#67381) 2020-05-28 14:46:42 -04:00
event_log [Alerting] change eventLog ILM requests to absolute URLs (#68331) 2020-06-05 11:04:03 -04:00
features
file_upload Mark elasticsearch client exposed via request context as deprecated (#67319) 2020-05-27 19:00:16 +02:00
global_search Add globalSearch x-pack plugin (#66293) 2020-06-04 16:18:02 +02:00
graph [uiSettings]: Migrate items owned by app arch to new platform (#66040) 2020-06-05 10:55:42 +03:00
grokdebugger Mark elasticsearch client exposed via request context as deprecated (#67319) 2020-05-27 19:00:16 +02:00
index_lifecycle_management [ILM] Add missing time unit labels (#68205) 2020-06-04 21:18:44 -04:00
index_management Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
infra Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
ingest_manager Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
ingest_pipelines [eslint] Prevents importing of public code into server (#67149) 2020-06-10 08:39:52 -07:00
lens Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
license_management [eslint] Prevents importing of public code into server (#67149) 2020-06-10 08:39:52 -07:00
licensing Record security feature usage (#67526) 2020-06-04 12:29:28 -04:00
lists Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
logstash [New Platform Migration]: Management - Implement NP API (#66781) 2020-06-03 18:55:06 +03:00
maps Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
maps_legacy_licensing
ml Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
monitoring [uiSettings]: Migrate items owned by app arch to new platform (#66040) 2020-06-05 10:55:42 +03:00
observability Adding key to avoid react warning (#68491) 2020-06-08 13:03:05 +02:00
oss_telemetry [Telemetry] collect number of visualization saved in the past 7, 30 and 90 days (#67865) 2020-06-08 17:29:20 +03:00
painless_lab upgrade eslint-plugin-react-hooks from 2.3.0 to 4.0.4 (#68295) 2020-06-05 12:43:55 -04:00
remote_clusters [New Platform Migration]: Management - Implement NP API (#66781) 2020-06-03 18:55:06 +03:00
reporting [uiSettings]: Migrate items owned by app arch to new platform (#66040) 2020-06-05 10:55:42 +03:00
rollup Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
searchprofiler Mark elasticsearch client exposed via request context as deprecated (#67319) 2020-05-27 19:00:16 +02:00
security Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
security_solution Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
snapshot_restore [eslint] Prevents importing of public code into server (#67149) 2020-06-10 08:39:52 -07:00
spaces Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
task_manager
telemetry_collection_xpack Deprecate es API exposed from setup contract (#67596) 2020-06-01 16:16:44 +02:00
transform Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
translations [ML] DF Analytics: Creation wizard part 2 (#68462) 2020-06-09 16:37:03 -04:00
triggers_actions_ui Fixed pre-configured docs link points to the wrong page and functional tests configs (#68606) 2020-06-09 07:00:31 -07:00
ui_actions_enhanced [eslint] Prevents importing of public code into server (#67149) 2020-06-10 08:39:52 -07:00
upgrade_assistant Mark elasticsearch client exposed via request context as deprecated (#67319) 2020-05-27 19:00:16 +02:00
uptime Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
watcher Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00