Based on #32705
We currently have TypeScript code that was backported to 7.0, which was backported without issue because it falls outside of any TypeScript projects in 7.0. This means that the pre-commit hooks break on changes to these files, and that they are not getting type checked by the type_check script. To fix this we need to verify that every typescript file in the repository is covered by a tsconfig.json file as part of CI.
* [ci] derive bootstrap cache path from base branch, make optional
* describe the path we're looking for in warning
* use PR_TARGET_BRANCH, not PR_SOURCE_BRANCH
* Initial work
* Add overwrite and skip support
* Cleanup and add tests
* Move code into separate files
* Remove reduce
* New API parameters
* Add support to replace references
* Add better error handling
* Add spaces tests
* Fix return type in collectSavedObjects
* Apply PR feedback
* Update jest tests due to jest version upgrade
* Add docs
* WIP
* Split import routes pt1
* Add tests
* Fix broken tests
* Update docs and fix broken test
* Add successCount to _import endpoint
* Make skip by default in resolution API
* Update tests for removal of skips
* Add back support for skips
* Add success count
* Add back resolve import conflicts x-pack tests
* Remove writev from filter stream
* Delete _mock_server.d.ts file
* Rename lib/import_saved_objects to lib/import
* Filter records at stream level for conflict resolution
* Update docs
* Add tests to validate documentation
* Return 200 instead of other code for errors, include errors array
* Change [] to {}
* Apply PR feedback
* Fix import object limit to not return 500
* Change some wording in the docs
* Fix status code
* Apply PR feedback pt2
* Lower maxImportPayloadBytes to 10MB
* Add unknown type tests for import
* Add unknown type tests for resolve_import_conflicts
* Fix tslint issues
* Prefer third-party plugin development in plugins instead of kibana-extra
* Fix failing recursive directory creation and removal
* Add new built version of kbn-pm
* WIP moving the date picker into APM
* Stable version of EUI date picker controls, still needs layout
* Flex layout for kuery bar and date picker
* Removes angular time picker logic and layout
* Fixes snapshot test
* Adds integration tests for date picker
* Simplifies refresh cycle with setTimeout over requestAnimationFrame
* Removes rison and local state from APM date picker flow
* Adds refresh tests, fixes some refresh logic
* Moves temporary EUI types out of component
* Moves toBoolean helper and fixes TS error
* Removes unused Link import
* Types for datepicker (WIP)
* Updates default date picker values after merging in Søren's type changes
* Streamlines new APM query types to prevent duplication
* Uses jest fake timers for refresh tests
* Updates url handling to remove Rison from APM URLs, keeps Rison in outgoing Kibana links
* Move filter bar up and out from within a react-redux-request to avoid catch-22 circular dependency
* Separates rison encoding from regular url handling
* Sets start and end defaults in urlParams reducer
* Adds IUrlParams type to initial state with correct typing
* Updated rison-related snapshots
* Resolves failing tests related to query param management
* Adds more tests for Kibana Link and Kibana Rison Link components
* Re-enables the update button for the EUI super date picker
* Adds more Discover link tests
* Moved getRenderedHref to testHelpers, switched Discover Links integration tests to TS, and added ML link integration test
* Changes how getRenderedHref works to make it clearer where location state is coming from
* Updates obsolete snapshot
* Fixes typescript-discovered errors and type errors
* Finishes up url_helpers tests, removes dead commented tests
* Removes temporary date picker types from APM
* Fixes common case for an existing URL bug by not encoding range params
* Use hosts instead of url for elasticsearch.
* Adds jest integration tests to run in xpack intake.
* Reverting the exclusion of throwing errors in tests.
* Strange test that seems to fail without console error exception being thrown.
* Fix issues with wrong props for EuiInMemoryTable.
* Removes the masking of console errors in tests.
* expose NewPlatform core and plugins to legacy server
* get rid of .core in favor of .newPlatform
* decalre start/stop contract explicitly
* expose newPlatform typings
* Remove dependency on legacy package_json util from core
* Remove dependencies on core/server in core/types
This fixes the message reconstruction rules to actually use the `xpack.infra.sources.default.fields.message` field configuration from the Kibana config file.
fixeselastic/kibana#31355
* Fixed a simple argument bug and removed infra date picker EUI types
* Fixes for EUI date picker types
* eui_8.0.0
* fix type errors in query_bar
* Small changes for EUI types
* Updates EUI to 9.0.0 and removes @types/react-datepicker as it now ships with EUI
* Updates to EUI 9.0.1 and removes duplicate types in infra eui.d.ts
* ts-ignore applied to ongoing type error with styled components and EUI
* Changes EuiProgress props to avoid TS errors
* Updates EUI 9.0 snapshots
* Updates kibana root snapshots for EUI 9.0 upgrade
* Update detail_panel.test.js for EUI changes
* Updated functioanl and unit tests to properly inspect EuiTableRowCell rendered values
* Fix docs_level_security_roles.js func tests
* Update EUI to 9.0.2
* Fixed failing snapshot for EUI icon default prop
* Fix table vis format date string when grouping by date field
* Use DateFormat instead of moment directly
* Add a pivot_type while selecting a pivot value in table
* Move fetchFields into a separate function
* Move setDefaultIndexPattern to ReactEditorControllerProvider