Skip to content

Commit

Permalink
search: remove appSearch & workplaceSearch deeplinks
Browse files Browse the repository at this point in the history
  • Loading branch information
TattdCodeMonkey committed Jan 9, 2025
1 parent 43b0e14 commit c0a7335
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import type {
EnterpriseSearchContentApp,
EnterpriseSearchApplicationsApp,
EnterpriseSearchAnalyticsApp,
EnterpriseSearchAppsearchApp,
EnterpriseSearchWorkplaceSearchApp,
ServerlessSearchApp,
DeepLinkId as SearchLink,
} from '@kbn/deeplinks-search';
Expand All @@ -54,8 +52,6 @@ export type AppId =
| EnterpriseSearchContentApp
| EnterpriseSearchApplicationsApp
| EnterpriseSearchAnalyticsApp
| EnterpriseSearchAppsearchApp
| EnterpriseSearchWorkplaceSearchApp
| ServerlessSearchApp
| ObservabilityApp
| SecurityApp
Expand Down
2 changes: 0 additions & 2 deletions src/platform/packages/shared/deeplinks/search/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export const ENTERPRISE_SEARCH_APP_ID = 'enterpriseSearch';
export const ENTERPRISE_SEARCH_CONTENT_APP_ID = 'enterpriseSearchContent';
export const ENTERPRISE_SEARCH_APPLICATIONS_APP_ID = 'enterpriseSearchApplications';
export const ENTERPRISE_SEARCH_ANALYTICS_APP_ID = 'enterpriseSearchAnalytics';
export const ENTERPRISE_SEARCH_APPSEARCH_APP_ID = 'appSearch';
export const ENTERPRISE_SEARCH_WORKPLACESEARCH_APP_ID = 'workplaceSearch';
export const SERVERLESS_ES_APP_ID = 'serverlessElasticsearch';
export const SERVERLESS_ES_CONNECTORS_ID = 'serverlessConnectors';
export const SERVERLESS_ES_WEB_CRAWLERS_ID = 'serverlessWebCrawlers';
Expand Down
9 changes: 0 additions & 9 deletions src/platform/packages/shared/deeplinks/search/deep_links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import {
ENTERPRISE_SEARCH_CONTENT_APP_ID,
ENTERPRISE_SEARCH_APPLICATIONS_APP_ID,
ENTERPRISE_SEARCH_ANALYTICS_APP_ID,
ENTERPRISE_SEARCH_APPSEARCH_APP_ID,
ENTERPRISE_SEARCH_WORKPLACESEARCH_APP_ID,
ES_SEARCH_PLAYGROUND_ID,
SERVERLESS_ES_SEARCH_INFERENCE_ENDPOINTS_ID,
SEARCH_HOMEPAGE,
Expand All @@ -34,8 +32,6 @@ export type EnterpriseSearchApp = typeof ENTERPRISE_SEARCH_APP_ID;
export type EnterpriseSearchContentApp = typeof ENTERPRISE_SEARCH_CONTENT_APP_ID;
export type EnterpriseSearchApplicationsApp = typeof ENTERPRISE_SEARCH_APPLICATIONS_APP_ID;
export type EnterpriseSearchAnalyticsApp = typeof ENTERPRISE_SEARCH_ANALYTICS_APP_ID;
export type EnterpriseSearchAppsearchApp = typeof ENTERPRISE_SEARCH_APPSEARCH_APP_ID;
export type EnterpriseSearchWorkplaceSearchApp = typeof ENTERPRISE_SEARCH_WORKPLACESEARCH_APP_ID;
export type ServerlessSearchApp = typeof SERVERLESS_ES_APP_ID;
export type ConnectorsId = typeof SERVERLESS_ES_CONNECTORS_ID;
export type ServerlessWebCrawlers = typeof SERVERLESS_ES_WEB_CRAWLERS_ID;
Expand All @@ -54,8 +50,6 @@ export type ContentLinkId = 'searchIndices' | 'connectors' | 'webCrawlers';

export type ApplicationsLinkId = 'searchApplications';

export type AppsearchLinkId = 'engines';

export type SearchInferenceEndpointsLinkId = 'inferenceEndpoints';

export type SynonymsLinkId = 'synonyms';
Expand All @@ -67,8 +61,6 @@ export type DeepLinkId =
| EnterpriseSearchContentApp
| EnterpriseSearchApplicationsApp
| EnterpriseSearchAnalyticsApp
| EnterpriseSearchAppsearchApp
| EnterpriseSearchWorkplaceSearchApp
| ServerlessSearchApp
| ConnectorsId
| ServerlessWebCrawlers
Expand All @@ -78,7 +70,6 @@ export type DeepLinkId =
| SearchHomepage
| `${EnterpriseSearchContentApp}:${ContentLinkId}`
| `${EnterpriseSearchApplicationsApp}:${ApplicationsLinkId}`
| `${EnterpriseSearchAppsearchApp}:${AppsearchLinkId}`
| `${SearchInferenceEndpointsId}:${SearchInferenceEndpointsLinkId}`
| `${SearchSynonymsId}:${SynonymsLinkId}`
| SearchStart
Expand Down
4 changes: 0 additions & 4 deletions src/platform/packages/shared/deeplinks/search/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export {
ENTERPRISE_SEARCH_CONTENT_APP_ID,
ENTERPRISE_SEARCH_APPLICATIONS_APP_ID,
ENTERPRISE_SEARCH_ANALYTICS_APP_ID,
ENTERPRISE_SEARCH_APPSEARCH_APP_ID,
ENTERPRISE_SEARCH_WORKPLACESEARCH_APP_ID,
SERVERLESS_ES_APP_ID,
SERVERLESS_ES_CONNECTORS_ID,
SEARCH_ELASTICSEARCH,
Expand All @@ -28,8 +26,6 @@ export type {
EnterpriseSearchContentApp,
EnterpriseSearchApplicationsApp,
EnterpriseSearchAnalyticsApp,
EnterpriseSearchAppsearchApp,
EnterpriseSearchWorkplaceSearchApp,
ServerlessSearchApp,
DeepLinkId,
} from './deep_links';

0 comments on commit c0a7335

Please sign in to comment.