Skip to content

Commit

Permalink
[Security Solution] Security Assistant: fixes project lint errors (#18)
Browse files Browse the repository at this point in the history
## Summary

- fixes project checks via `node ./scripts/lint_ts_projects.js --fix`
  • Loading branch information
andrew-goldstein authored Jun 2, 2023
1 parent 93bbcdb commit 6154e21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
ActionConnector,
ActionTypeRegistryContract,
} from '@kbn/triggers-actions-ui-plugin/public';
import { Conversation } from '@kbn/elastic-assistant';

import { HttpSetup } from '@kbn/core-http-browser';
import { ActionConnectorProps } from '@kbn/triggers-actions-ui-plugin/public/types';
import { ConnectorAddModal } from '@kbn/triggers-actions-ui-plugin/public/common/constants';
Expand All @@ -21,6 +21,7 @@ import {
OpenAiProviderType,
} from '@kbn/stack-connectors-plugin/public/common';
import { css } from '@emotion/react';
import { Conversation } from '../../assistant_context/types';
import { useLoadConnectors } from '../use_load_connectors';
import { useConversation } from '../../assistant/use_conversation';
import * as i18n from '../translations';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/

import { Conversation } from '@kbn/elastic-assistant';
import { Conversation } from '../../assistant_context/types';

/**
* Removes all presentation data from the conversation
Expand Down
4 changes: 1 addition & 3 deletions x-pack/packages/kbn-elastic-assistant/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
],
"kbn_references": [
"@kbn/core-http-browser",
"@kbn/kibana-utils-plugin",
"@kbn/i18n",
"@kbn/timelines-plugin",
"@kbn/stack-connectors-plugin",
"@kbn/triggers-actions-ui-plugin",
"@kbn/core-http-browser-mocks",
Expand All @@ -28,6 +26,6 @@
"@kbn/actions-plugin",
"@kbn/core-notifications-browser",
"@kbn/i18n-react",
"@kbn/ui-theme"
"@kbn/ui-theme",
]
}

0 comments on commit 6154e21

Please sign in to comment.