kibana/packages/kbn-server-route-repository
Dario Gieselaar f67afe2866
[Obs AI Assistant] E2E tests for conversation view (#173485)
Adds some basic E2E tests for the conversation view.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-12-19 01:49:58 -07:00
..
src [Obs AI Assistant] E2E tests for conversation view (#173485) 2023-12-19 01:49:58 -07:00
browser_index.ts Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
index.ts [Observability AI Assistant]: Move to new plugin, update design and use connectors (#162243) 2023-07-28 11:52:00 -04:00
jest.config.js [APM] Extract server type utils to package (#96349) 2021-04-08 13:26:43 +02:00
kibana.jsonc [Obs AI Assistant] E2E tests for conversation view (#173485) 2023-12-19 01:49:58 -07:00
package.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
README.md Use target_web to ensure browser compatibility (#130874) 2022-05-05 21:20:51 +02:00
tsconfig.json [Observability AI Assistant]: Move to new plugin, update design and use connectors (#162243) 2023-07-28 11:52:00 -04:00

@kbn/server-route-repository

Utility functions for creating a typed server route repository, and a typed client, generating runtime validation and type validation from the same route definition.

Usage

TBD

Server vs. Browser entry points

This package exposes utils that can be used on both: the server and the browser. However, importing the package might bring in server-only code, affecting the bundle size. To avoid this, the package exposes 2 entry points: index.js and web_index.js.

When adding utilities to this package, please make sure to update the entry points accordingly and the BUILD.bazel's target_web target build to include all the necessary files.