File tree Expand file tree Collapse file tree
src/legacy/core_plugins/kibana/public/discover Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 * under the License.
1818 */
1919import { wrapInI18nContext } from 'ui/i18n' ;
20- import { UiSettingsClient } from 'kibana/public' ;
20+ import { IUiSettingsClient } from 'kibana/public' ;
2121import { TableHeader } from './table_header/table_header' ;
2222
23- export function createTableHeaderDirective ( reactDirective : any , config : UiSettingsClient ) {
23+ export function createTableHeaderDirective ( reactDirective : any , config : IUiSettingsClient ) {
2424 return reactDirective (
2525 wrapInI18nContext ( TableHeader ) ,
2626 [
Original file line number Diff line number Diff line change 1919
2020import _ from 'lodash' ;
2121import $ from 'jquery' ;
22- import { UiSettingsClient } from 'kibana/public' ;
22+ import { IUiSettingsClient } from 'kibana/public' ;
2323// @ts -ignore
2424import rison from 'rison-node' ;
2525import '../../doc_viewer' ;
@@ -45,7 +45,7 @@ export function createTableRowDirective(
4545 $compile : ng . ICompileService ,
4646 $httpParamSerializer : any ,
4747 kbnUrl : any ,
48- config : UiSettingsClient
48+ config : IUiSettingsClient
4949) {
5050 const cellTemplate = _ . template ( noWhiteSpace ( cellTemplateHtml ) ) ;
5151 const truncateByHeightTemplate = _ . template ( noWhiteSpace ( truncateByHeightTemplateHtml ) ) ;
Original file line number Diff line number Diff line change 1818 */
1919
2020import _ from 'lodash' ;
21- import { UiSettingsClient } from 'kibana/public' ;
21+ import { IUiSettingsClient } from 'kibana/public' ;
2222import html from './doc_table.html' ;
2323import './infinite_scroll' ;
2424import './components/table_header' ;
@@ -34,7 +34,7 @@ interface LazyScope extends ng.IScope {
3434}
3535
3636export function createDocTableDirective (
37- config : UiSettingsClient ,
37+ config : IUiSettingsClient ,
3838 getAppState : any ,
3939 pagerFactory : any ,
4040 $filter : any
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import { createEsService } from 'ui/es';
3434import { i18nDirective , i18nFilter , I18nProvider } from '@kbn/i18n/angular' ;
3535// @ts -ignore
3636import { PrivateProvider } from 'ui/private/private' ;
37- import { CoreStart , LegacyCoreStart , UiSettingsClientContract } from 'kibana/public' ;
37+ import { CoreStart , LegacyCoreStart , IUiSettingsClient } from 'kibana/public' ;
3838// @ts -ignore
3939import { watchMultiDecorator } from 'ui/directives/watch_multi/watch_multi' ;
4040// @ts -ignore
@@ -225,7 +225,7 @@ function createLocalKbnUrlModule() {
225225 . service ( 'redirectWhenMissing' , ( Private : IPrivate ) => Private ( RedirectWhenMissingProvider ) ) ;
226226}
227227
228- function createLocalConfigModule ( uiSettings : UiSettingsClientContract ) {
228+ function createLocalConfigModule ( uiSettings : IUiSettingsClient ) {
229229 angular
230230 . module ( 'discoverConfig' , [ 'discoverPrivate' ] )
231231 . provider ( 'stateManagementConfig' , StateManagementConfigProvider )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import {
2222 CoreStart ,
2323 DocLinksStart ,
2424 ToastsStart ,
25- UiSettingsClientContract ,
25+ IUiSettingsClient ,
2626} from 'kibana/public' ;
2727import * as docViewsRegistry from 'ui/registry/doc_views' ;
2828import chromeLegacy from 'ui/chrome' ;
@@ -61,7 +61,7 @@ export interface DiscoverServices {
6161 getSavedSearchById : ( id : string ) => Promise < SavedSearch > ;
6262 getSavedSearchUrlById : ( id : string ) => Promise < string > ;
6363 State : unknown ;
64- uiSettings : UiSettingsClientContract ;
64+ uiSettings : IUiSettingsClient ;
6565}
6666
6767export async function buildGlobalAngularServices ( ) {
You can’t perform that action at this time.
0 commit comments