-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Reporting/Typescript] Fix types for JobParamsPDF, BrowserConfig, ChromiumDriverFactory #45209
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
Changes from all commits
0393f40
6bb4e98
961ce14
adcc38f
db14964
1a40ae4
ac5999a
886145c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,8 +12,11 @@ import { installBrowser } from './install'; | |
| import { LevelLogger } from '../lib/level_logger'; | ||
| import { KbnServer } from '../../types'; | ||
| import { PLUGIN_ID } from '../../common/constants'; | ||
| import { HeadlessChromiumDriverFactory } from './chromium/driver_factory'; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unrelated: I've been thinking we might want to reuse this factory, potentially, for scheduled reports. Not sure about your thoughts on that.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ++ this is one of the guts that we can reuse, as it's not specific to scheduling |
||
|
|
||
| export async function createBrowserDriverFactory(server: KbnServer) { | ||
| export async function createBrowserDriverFactory( | ||
| server: KbnServer | ||
| ): Promise<HeadlessChromiumDriverFactory> { | ||
| const config = server.config(); | ||
| const logger = LevelLogger.createForServer(server, [PLUGIN_ID, 'browser-driver']); | ||
|
|
||
|
|
||
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.
#45214