kibana/packages/kbn-securitysolution-io-ts-utils
Frank Hassanabad aa2f5b535d
[Security Solution] Utilizes constants package and deletes duplicate code (#100513)
## Summary

Utilizes constants package and deletes duplicate code

* Renames the `securitysolution-constants` to be `securitysolution-list-constants` to be specific
* Deletes duplicated code found during cleanup
* Moves more tests into the packages found along the way with the duplicated code
* Moves `parseScheduleDates` from `@kbn/securitysolution-io-ts-types` to `@kbn/securitysolution-io-ts-utils`

### 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
2021-05-24 18:38:14 -06:00
..
src [Security Solution] Utilizes constants package and deletes duplicate code (#100513) 2021-05-24 18:38:14 -06:00
BUILD.bazel chore(NA): correctly setup dep order on js_library to fix windows build (#100420) 2021-05-21 00:03:54 +01:00
jest.config.js
package.json
README.md [Security Solutions] Breaks down the io-ts packages to decrease plugin size (#100058) 2021-05-13 15:36:06 -06:00
tsconfig.json

kbn-securitysolution-io-ts-utils

Very small set of utilities for io-ts which we use across plugins within security solutions such as securitysolution, lists, cases, etc... This folder should remain small and concise since it is pulled into front end and the more files we add the more weight will be added to all of the plugins. Also, any new dependencies added to this will add weight here and the other plugins, so be careful of what is added here.

You might consider making another package instead and putting a dependency on this one if needed, instead.

Related packages are

  • kbn-securitysolution-io-ts-alerting-types
  • kbn-securitysolution-io-ts-list-types
  • kbn-securitysolution-io-ts-types