mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Security Solutions] Re-arranges and adds more packages to remove copied code (#100310)
## Summary * Creates a `securitysolution-list-utils` packaged and moves the first set of utilities into there * Fixes a slight bug with `kbn-securitysolution-io-ts-list-types` where the wrong name was used * Moves _all_ of the lists schemas and types into the package `kbn-securitysolution-io-ts-list-types` * Removes copied code found in a few places ## Tech debt * Some spots I have to use an `any` in the package as Kibana kbn packages don't have the types I need * Some spots I copy constants until we can straighten out those pieces. * I keep copied mock files until we figure out how to share mocks from these packages without adding weight or we create dedicated mock packages for all of this. ### Checklist - [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
This commit is contained in:
parent
00479968a1
commit
9bf488e826
531 changed files with 3388 additions and 2314 deletions
|
@ -88,6 +88,7 @@ yarn kbn watch-bazel
|
|||
- kbn/securitysolution-io-ts-list-types
|
||||
- kbn/securitysolution-io-ts-types
|
||||
- @kbn/securitysolution-io-ts-utils
|
||||
- @kbn/securitysolution-list-utils
|
||||
- @kbn/securitysolution-utils
|
||||
- @kbn/server-http-tools
|
||||
- @kbn/std
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue