[8.10] [Enterprise Search] type clean-up (#164891) (#165006)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Enterprise Search] type clean-up
(#164891)](https://github.com/elastic/kibana/pull/164891)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Rodney
Norris","email":"rodney.norris@elastic.co"},"sourceCommit":{"committedDate":"2023-08-28T15:59:14Z","message":"[Enterprise
Search] type clean-up (#164891)\n\n## Summary\r\n\r\nUpdated the
search-api-panels docLinks types to not use `any`\r\nFixed prop in
serverless search, I _think_ this was a merge conflict\r\nbetween
PRs","sha":"c920180c10c69210f694015278d1a2c7cdbb3be6","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","Team:EnterpriseSearch","v8.10.0","v8.11.0"],"number":164891,"url":"https://github.com/elastic/kibana/pull/164891","mergeCommit":{"message":"[Enterprise
Search] type clean-up (#164891)\n\n## Summary\r\n\r\nUpdated the
search-api-panels docLinks types to not use `any`\r\nFixed prop in
serverless search, I _think_ this was a merge conflict\r\nbetween
PRs","sha":"c920180c10c69210f694015278d1a2c7cdbb3be6"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164891","number":164891,"mergeCommit":{"message":"[Enterprise
Search] type clean-up (#164891)\n\n## Summary\r\n\r\nUpdated the
search-api-panels docLinks types to not use `any`\r\nFixed prop in
serverless search, I _think_ this was a merge conflict\r\nbetween
PRs","sha":"c920180c10c69210f694015278d1a2c7cdbb3be6"}}]}] BACKPORT-->

Co-authored-by: Rodney Norris <rodney.norris@elastic.co>
This commit is contained in:
Kibana Machine 2023-08-28 13:09:15 -04:00 committed by GitHub
parent 65b543b62a
commit 088ae75088
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View file

@ -21,7 +21,12 @@ interface IngestDataProps {
codeSnippet: string;
selectedLanguage: LanguageDefinition;
setSelectedLanguage: (language: LanguageDefinition) => void;
docLinks: any;
docLinks: {
beats: string;
connectors: string;
integrations: string;
logStash: string;
};
assetBasePath: string;
application?: ApplicationStart;
sharePlugin: SharePluginStart;

View file

@ -24,7 +24,7 @@ import { LEARN_MORE_LABEL } from '../constants';
import { GithubLink } from './github_link';
export interface IntegrationsPanelProps {
docLinks: any;
docLinks: { beats: string; connectors: string; logStash: string };
assetBasePath: string;
}

View file

@ -195,7 +195,7 @@ export const ElasticsearchOverview = () => {
'ingestData',
codeSnippetArguments
)}
showTryInConsole={getConsoleRequest('ingestData')}
consoleRequest={getConsoleRequest('ingestData')}
languages={languageDefinitions}
selectedLanguage={selectedLanguage}
setSelectedLanguage={setSelectedLanguage}