Skip to content

Commit

Permalink
Remove unused deprecated api (#109921) (#110089)
Browse files Browse the repository at this point in the history
* remove unused deprecated apis

* Update legacy docs

Co-authored-by: Stacey Gammon <[email protected]>
  • Loading branch information
kibanamachine and stacey-gammon authored Aug 25, 2021
1 parent 624058b commit 121d28c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 25 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export interface DataPublicPluginSetup
| Property | Type | Description |
| --- | --- | --- |
| [autocomplete](./kibana-plugin-plugins-data-public.datapublicpluginsetup.autocomplete.md) | <code>AutocompleteSetup</code> | |
| [fieldFormats](./kibana-plugin-plugins-data-public.datapublicpluginsetup.fieldformats.md) | <code>FieldFormatsSetup</code> | |
| [query](./kibana-plugin-plugins-data-public.datapublicpluginsetup.query.md) | <code>QuerySetup</code> | |
| [search](./kibana-plugin-plugins-data-public.datapublicpluginsetup.search.md) | <code>ISearchSetup</code> | |

1 change: 0 additions & 1 deletion src/plugins/data/public/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const createSetupContract = (): Setup => {
return {
autocomplete: autocompleteSetupMock,
search: searchServiceMock.createSetupContract(),
fieldFormats: fieldFormatsServiceMock.createSetupContract(),
query: querySetupMock,
};
};
Expand Down
1 change: 0 additions & 1 deletion src/plugins/data/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ export class DataPublicPlugin
usageCollection,
}),
search: searchService,
fieldFormats,
query: queryService,
};
}
Expand Down
2 changes: 0 additions & 2 deletions src/plugins/data/public/public.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,6 @@ export interface DataPublicPluginSetup {
//
// (undocumented)
autocomplete: AutocompleteSetup;
// @deprecated (undocumented)
fieldFormats: FieldFormatsSetup;
// (undocumented)
query: QuerySetup;
// (undocumented)
Expand Down
4 changes: 0 additions & 4 deletions src/plugins/data/public/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ export interface DataStartDependencies {
export interface DataPublicPluginSetup {
autocomplete: AutocompleteSetup;
search: ISearchSetup;
/**
* @deprecated Use fieldFormats plugin instead
*/
fieldFormats: FieldFormatsSetup;
query: QuerySetup;
}

Expand Down

0 comments on commit 121d28c

Please sign in to comment.