mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
parent
77a4889e28
commit
16045dd7a7
5 changed files with 7 additions and 1 deletions
|
@ -17,6 +17,7 @@ core: {
|
|||
i18n: I18nStart;
|
||||
notifications: NotificationsStart;
|
||||
overlays: OverlayStart;
|
||||
savedObjects: SavedObjectsStart;
|
||||
uiSettings: IUiSettingsClient;
|
||||
injectedMetadata: {
|
||||
getInjectedVar: (name: string, defaultValue?: any) => unknown;
|
||||
|
|
|
@ -16,5 +16,5 @@ export interface AppMountContext
|
|||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [core](./kibana-plugin-public.appmountcontext.core.md) | <code>{</code><br/><code> application: Pick<ApplicationStart, 'capabilities' | 'navigateToApp'>;</code><br/><code> chrome: ChromeStart;</code><br/><code> docLinks: DocLinksStart;</code><br/><code> http: HttpStart;</code><br/><code> i18n: I18nStart;</code><br/><code> notifications: NotificationsStart;</code><br/><code> overlays: OverlayStart;</code><br/><code> uiSettings: IUiSettingsClient;</code><br/><code> injectedMetadata: {</code><br/><code> getInjectedVar: (name: string, defaultValue?: any) => unknown;</code><br/><code> };</code><br/><code> }</code> | Core service APIs available to mounted applications. |
|
||||
| [core](./kibana-plugin-public.appmountcontext.core.md) | <code>{</code><br/><code> application: Pick<ApplicationStart, 'capabilities' | 'navigateToApp'>;</code><br/><code> chrome: ChromeStart;</code><br/><code> docLinks: DocLinksStart;</code><br/><code> http: HttpStart;</code><br/><code> i18n: I18nStart;</code><br/><code> notifications: NotificationsStart;</code><br/><code> overlays: OverlayStart;</code><br/><code> savedObjects: SavedObjectsStart;</code><br/><code> uiSettings: IUiSettingsClient;</code><br/><code> injectedMetadata: {</code><br/><code> getInjectedVar: (name: string, defaultValue?: any) => unknown;</code><br/><code> };</code><br/><code> }</code> | Core service APIs available to mounted applications. |
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ import { OverlayStart } from '../overlays';
|
|||
import { PluginOpaqueId } from '../plugins';
|
||||
import { IUiSettingsClient } from '../ui_settings';
|
||||
import { RecursiveReadonly } from '../../utils';
|
||||
import { SavedObjectsStart } from '../saved_objects';
|
||||
|
||||
/** @public */
|
||||
export interface AppBase {
|
||||
|
@ -118,6 +119,8 @@ export interface AppMountContext {
|
|||
notifications: NotificationsStart;
|
||||
/** {@link OverlayStart} */
|
||||
overlays: OverlayStart;
|
||||
/** {@link SavedObjectsStart} */
|
||||
savedObjects: SavedObjectsStart;
|
||||
/** {@link IUiSettingsClient} */
|
||||
uiSettings: IUiSettingsClient;
|
||||
/**
|
||||
|
|
|
@ -255,6 +255,7 @@ export class CoreSystem {
|
|||
i18n,
|
||||
notifications,
|
||||
overlays,
|
||||
savedObjects,
|
||||
uiSettings,
|
||||
injectedMetadata: pick(injectedMetadata, ['getInjectedVar']),
|
||||
}));
|
||||
|
|
|
@ -63,6 +63,7 @@ export interface AppMountContext {
|
|||
i18n: I18nStart;
|
||||
notifications: NotificationsStart;
|
||||
overlays: OverlayStart;
|
||||
savedObjects: SavedObjectsStart;
|
||||
uiSettings: IUiSettingsClient;
|
||||
injectedMetadata: {
|
||||
getInjectedVar: (name: string, defaultValue?: any) => unknown;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue