-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move files, add README, replace implicit any
with stricter types. Reorganize types.
#63262
Conversation
* rename file to match component * remove unused exports * make singleton array immutable
…ference to private repo
…app types. add README
Co-Authored-By: kqualters-elastic <56408403+kqualters-elastic@users.noreply.github.com>
Pinging @elastic/endpoint-app-team (Feature:Endpoint) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Had only small question/comment
@@ -319,3 +322,25 @@ export interface AlertingIndexUIQueryParams { | |||
date_range?: string; | |||
filters?: string; | |||
} | |||
|
|||
export interface GetDatasourcesResponse { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the comment back on these that references the kibana issue? I will likely implement it early next week in Ingest and will then refactor the code here to use them since we should really not be defining our own API response interface for ingest APIs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you fine if I instead link to the code from the issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, that's fine 😃
(FYI - the issues I referenced in the todo
comment were public and not to private repos)
/** | ||
* The PageId type is used for the payload when firing userNavigatedToPage actions | ||
*/ | ||
export type PageId = 'alertsPage' | 'managementPage' | 'policyListPage'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI - with the PR I'm working on now, I should be able to delete this along with the hook that uses it. :)
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…r types. Reorganize types. (elastic#63262) * Removed `FIXME` comments and references to private repos. Please use Github issues to track work * Added a README describing the modules in `applications/endpoint` * Removed dead code * Moved `AppRoot` component to its own module * Moved `applications/endpoint/services` under `store` * Moved some exported types to `applications/endpoint/types` * Moved all React code to `view` * Added types in some places that were implicitly `any` * Moved `PageId` type from common directory (where it could be shared with the server) to the public directory Conflicts: * `x-pack/plugins/endpoint/public/applications/endpoint/view/policy/policy_details.tsx`
…r types. Reorganize types. (#63262) (#63363) * Removed `FIXME` comments and references to private repos. Please use Github issues to track work * Added a README describing the modules in `applications/endpoint` * Removed dead code * Moved `AppRoot` component to its own module * Moved `applications/endpoint/services` under `store` * Moved some exported types to `applications/endpoint/types` * Moved all React code to `view` * Added types in some places that were implicitly `any` * Moved `PageId` type from common directory (where it could be shared with the server) to the public directory Conflicts: * `x-pack/plugins/endpoint/public/applications/endpoint/view/policy/policy_details.tsx`
Summary
FIXME
comments and references to private repos. Please use Github issues to track workapplications/endpoint
AppRoot
component to its own moduleapplications/endpoint/services
understore
applications/endpoint/types
view
any
PageId
type from common directory (where it could be shared with the server) to the public directoryChecklist
There were no intended changes.
For maintainers