-
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
[Reporting] Convert main Reporting index to TS #49129
[Reporting] Convert main Reporting index to TS #49129
Conversation
💔 Build Failed
|
💔 Build Failed
|
b444a6c
to
3f34734
Compare
Pinging @elastic/kibana-stack-services (Team:Stack Services) |
import { config as appConfig } from './server/config/config'; | ||
import { getDefaultChromiumSandboxDisabled } from './server/browsers'; | ||
|
||
export async function config(Joi: any) { |
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.
@joelgriffith and I have been wanting to split up the Reporting index file for awhile. After converting it to Typescript and having all this code go through prettier, it made sense to break out this config section from the Reporting index.
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.
+1000
💔 Build Failed
|
This comment has been minimized.
This comment has been minimized.
💔 Build Failed
|
3f34734
to
05ea029
Compare
💔 Build Failed |
@elasticmachine merge upstream |
💔 Build Failed |
💔 Build Failed |
@@ -13,7 +13,7 @@ import { getReportingUsage } from './get_reporting_usage'; | |||
* @param {Object} server | |||
* @return {Object} kibana usage stats type collection object | |||
*/ | |||
export function getReportingUsageCollector(server: any, isReady: boolean) { | |||
export function getReportingUsageCollector(server: any, isReady: () => boolean) { |
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.
Good catch
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.
Really like separating out the config schema in index
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
@elasticmachine merge upstream |
💔 Build Failed |
💚 Build Succeeded |
* [Reporting] Convert main Reporting index to TS * fix typo that broke build * fix type file import * fix the ts imports for build
Summary
Follow along #48825 in migrating Reporting to the Kibana new platform.
reporting/index
to Typescriptreporting/index
Release Notes: Changes to prepare Reporting for Kibana v8.0.0
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.[ ] This was checked for cross-browser compatibility, including a check against IE11[ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support[ ] Documentation was added for features that require explanation or tutorials[ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers