Skip to content

Commit

Permalink
Add optional security plugin dep
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Jun 3, 2020
1 parent e0aa98f commit 845c86f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/reporting/kibana.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "8.0.0",
"kibanaVersion": "kibana",
"optionalPlugins": [
"security",
"usageCollection"
],
"configPath": ["xpack", "reporting"],
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/reporting/server/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface ReportingInternalSetup {
licensing: LicensingPluginSetup;
basePath: BasePath['get'];
router: IRouter;
security: SecurityPluginSetup;
security?: SecurityPluginSetup;
}

interface ReportingInternalStart {
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/reporting/server/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export type ScreenshotsObservableFn = ({

export interface ReportingSetupDeps {
licensing: LicensingPluginSetup;
security: SecurityPluginSetup;
security?: SecurityPluginSetup;
usageCollection?: UsageCollectionSetup;
}

Expand Down

0 comments on commit 845c86f

Please sign in to comment.