[ResponseOps][Cases] Move hooks and APIs to a package #216175
Labels
Feature:Cases
Cases feature
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
To empower solutions to build their UIs on top of Cases, we need to expose tools for making API calls in the case's backend. The cases plugin already has a rich set of API functions and react query hooks. We should move them to a package where solutions can import them.
DoD
@kbn/cases-apis
.src/platform/packages/shared/response-ops
folder.cases-apis
.shared-browser
.apis
where all API functions will be and one calledhooks
where all React query hooks will be.query_keys.ts
will contain the react query keys and a file calledmutation_keys.ts
will contain the mutation keys.cases
plugin.The text was updated successfully, but these errors were encountered: