kibana/x-pack/plugins
Frank Hassanabad 7dd29a56ad
[Security Solutions] Breaks down the io-ts packages to decrease plugin size (#100058)
## Summary

The io-ts package was too large and needed to broken down more by domain to decrease the lists plugin size and any other plugin wanting to use the packages will not incur big hits as well.

Before we had one large io-ts package:

```
@kbn/securitysolution-io-ts-utils
```

Now we have these broken down 4 packages:

```
@kbn/securitysolution-io-ts-utils
@kbn/securitysolution-io-ts-types
@kbn/securitysolution-io-ts-alerting-types
@kbn/securitysolution-io-ts-list-types   
```

Deps between these packages are:

```
@kbn/securitysolution-io-ts-utils (none)
@kbn/securitysolution-io-ts-types -> @kbn/securitysolution-io-ts-utils
@kbn/securitysolution-io-ts-alerting-types -> @kbn/securitysolution-io-ts-types, @kbn/securitysolution-io-ts-utils
@kbn/securitysolution-io-ts-list-types  -> @kbn/securitysolution-io-ts-types, @kbn/securitysolution-io-ts-utils
```

Short description and function of each (Also in each of their README.md):

```
@kbn/securitysolution-io-ts-utils, Smallest amount of utilities such as format, validate, etc...
@kbn/securitysolution-io-ts-types, Base types such as to_number, to_string, etc...
@kbn/securitysolution-io-ts-alerting-types, Alerting specific types such as severity, from, to, etc...
@kbn/securitysolution-io-ts-list-types, list specific types such as exception lists, exception list types, etc...
```

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-05-13 15:36:06 -06:00
..
actions [sec/actions] move constants to a separate file to avoid circular deps (#99439) 2021-05-06 06:54:20 -07:00
alerting Rename alert status OK to Recovered and fix some UX issues around disabling a rule while being in an error state (#98135) 2021-05-13 14:16:36 -04:00
apm [RAC] Decouple registry from alerts-as-data client (#98935) 2021-05-13 17:12:47 +02:00
banners Do not mutate config in place during deprecations (#99629) 2021-05-11 05:41:48 -04:00
beats_management Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
canvas [Canvas] Remove unused legacy autocomplete component (#99215) 2021-05-13 15:24:40 -05:00
cases [Security Solution][Endpoint][Host Isolation] Send case ids from UI to isolate api (#99484) 2021-05-13 09:37:56 -04:00
cloud Don't query for the current user on anonymous pages (#99511) 2021-05-06 17:04:56 -04:00
console_extensions Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
cross_cluster_replication [CCR] Unskip component integration tests (#99385) 2021-05-11 08:55:46 -04:00
dashboard_enhanced feat: 🎸 close drilldown manager on view mode switch (#99309) 2021-05-06 00:26:13 +02:00
dashboard_mode Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
data_enhanced [Search Sessions] Fix display of expired session state in management (#98915) 2021-05-04 12:02:17 +02:00
discover_enhanced Disable context menu "Explore underlying data" by default (#98039) 2021-04-26 13:20:43 +02:00
drilldowns Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
embeddable_enhanced feat: 🎸 enable drilldown actions in "edit" mode (#96023) 2021-04-12 16:44:48 +02:00
encrypted_saved_objects [SavedObjects] Add aggregations support (#96292) 2021-04-16 10:40:30 +02:00
enterprise_search [Workplace Search] Fix bug when transitioning to personal dashboard (#100061) 2021-05-13 16:16:28 -05:00
event_log [RAC] Rule registry plugin (#95903) 2021-04-09 10:35:44 +02:00
features [Alerting] Export rules and connectors (#98802) 2021-05-05 11:33:01 -04:00
file_data_visualizer [ML] Data vizualizer: add choropleth map for index and file (#99434) 2021-05-11 13:40:06 -04:00
file_upload fix-typo: Use of than instead of then (#100030) 2021-05-13 17:35:38 -04:00
fleet [Fleet] Fix error when searching for keys whose names have spaces (#100056) 2021-05-13 17:32:14 -04:00
global_search Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
global_search_bar Clearing the global search bar will reset suggestions (#88637) 2021-05-13 11:35:03 -04:00
global_search_providers Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
graph Unifying converting listing pages to new layout (#98651) 2021-05-06 18:31:20 -04:00
grokdebugger Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
index_lifecycle_management Reintroduce 96111: Provide guidance of "Custom" allocation behavior in ILM (#99007) 2021-05-03 12:29:57 -07:00
index_management [Index management] Add selected index count (#99652) 2021-05-11 14:10:34 +01:00
infra fix-typo: Use of than instead of then (#100030) 2021-05-13 17:35:38 -04:00
ingest_pipelines Added CIT test for the fail processor. (#95261) 2021-05-11 16:41:56 -04:00
lens [Lens] visualize in maps button (#98677) 2021-05-12 09:54:34 -06:00
license_api_guard Fix typo in license_api_guard README name and import http server mocks from public interface (#97334) 2021-04-18 20:28:13 -07:00
license_management initial migration (#97795) 2021-04-23 17:14:54 +02:00
licensing Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
lists [Security Solutions] Breaks down the io-ts packages to decrease plugin size (#100058) 2021-05-13 15:36:06 -06:00
logstash migrate logstash plugin to new ES client (#98064) 2021-04-27 10:25:50 +02:00
maps fix-typo: Use of than instead of then (#100030) 2021-05-13 17:35:38 -04:00
metrics_entities [Security Solutions] (Phase 1) Adds an application cache called metrics entities and integrates it within Security Solutions behind a feature flag (#96446) 2021-04-30 12:36:06 -06:00
ml [ML] fix schema definition for job type (#99954) 2021-05-13 00:02:28 +02:00
monitoring [Monitoring] Added missing cgroup memory (#99602) 2021-05-12 11:24:05 -04:00
observability fix-typo: Use of than instead of then (#100030) 2021-05-13 17:35:38 -04:00
osquery [Osquery] Fix Osquery plugin initialization (#99591) 2021-05-10 19:44:01 +02:00
painless_lab Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
remote_clusters [Remote clusters] Fixed skipped test for search bar (#97472) 2021-05-05 13:05:35 +02:00
reporting [Reporting] Relax save requirement for CSV reports (#99313) 2021-05-12 10:32:51 +02:00
rollup Use doc link services in rollups (#99137) 2021-05-10 10:01:19 -07:00
rule_registry [RAC] Decouple registry from alerts-as-data client (#98935) 2021-05-13 17:12:47 +02:00
runtime_fields Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
saved_objects_tagging Add description as title on tag badge (#97109) 2021-04-18 20:49:35 +02:00
searchprofiler Revert "TS Incremental build exclude test files (#95610)" (#96223) 2021-04-05 11:59:26 -07:00
security Gracefully handle malformed index patterns on role management pages (#99918) 2021-05-13 12:25:29 -04:00
security_solution [Security Solutions] Breaks down the io-ts packages to decrease plugin size (#100058) 2021-05-13 15:36:06 -06:00
snapshot_restore [Snapshot and Restore] Remove box shadow from panels (#98292) 2021-04-30 12:30:36 -04:00
spaces Don't retrieve the active space on anonymous pages (#99514) 2021-05-11 12:00:23 -04:00
stack_alerts [Alerting UI] Fixing behavior when trying to render an Index Threshold visualization with invalid data (#99518) 2021-05-10 14:46:01 -04:00
task_manager Do not mutate config in place during deprecations (#99629) 2021-05-11 05:41:48 -04:00
telemetry_collection_xpack [Rollup] Fixes telemetry (#98639) 2021-05-06 17:41:54 +03:00
timelines [plugin-generator] don't generate .eslintrc.js files for internal plugins (#96921) 2021-04-13 07:43:03 -07:00
transform [ML] Transforms: Fix handling of fields with keyword mapping available (#98882) 2021-05-04 16:21:27 +02:00
translations [App Search] Schema view (#99868) 2021-05-12 19:44:28 -04:00
triggers_actions_ui Rename alert status OK to Recovered and fix some UX issues around disabling a rule while being in an error state (#98135) 2021-05-13 14:16:36 -04:00
ui_actions_enhanced Enable custom time ranges for saved searches (#99180) 2021-05-05 16:35:39 +02:00
upgrade_assistant Document plugin API for spaces and spacesOss (#98966) 2021-05-05 10:50:59 -04:00
uptime [Uptime] [Synthetics Integration] ensure that proxy url is not overwritten (#99944) 2021-05-13 16:15:59 -04:00
watcher [Watcher] Migrate to new ES client (#97260) 2021-04-30 10:44:08 +02:00
xpack_legacy Remove legacy ES client usages in home and xpack_legacy (#97359) 2021-04-18 20:42:07 +02:00