Skip to content

Commit

Permalink
[Enterprise Search] type clean-up (#164891)
Browse files Browse the repository at this point in the history
## Summary

Updated the search-api-panels docLinks types to not use `any`
Fixed prop in serverless search, I _think_ this was a merge conflict
between PRs
  • Loading branch information
TattdCodeMonkey authored Aug 28, 2023
1 parent f9eda80 commit c920180
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion packages/kbn-search-api-panels/components/ingest_data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const ElasticsearchOverview = () => {
'ingestData',
codeSnippetArguments
)}
showTryInConsole={getConsoleRequest('ingestData')}
consoleRequest={getConsoleRequest('ingestData')}
languages={languageDefinitions}
selectedLanguage={selectedLanguage}
setSelectedLanguage={setSelectedLanguage}
Expand Down

0 comments on commit c920180

Please sign in to comment.