Skip to content

Commit

Permalink
move types around to get around another false positive in the circula…
Browse files Browse the repository at this point in the history
…r deps check script we run.
  • Loading branch information
oatkiller committed Jun 29, 2020
1 parent b958bbb commit d045a37
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

import { ResolverRelatedEvents, ResolverTree } from '../../../../common/endpoint/types';
import { ResolverExternalProperties } from '../../types';

interface ServerReturnedResolverData {
readonly type: 'serverReturnedResolverData';
Expand Down Expand Up @@ -68,7 +67,15 @@ interface ServerReturnedRelatedEventData {
*/
interface AppReceivedNewExternalProperties {
type: 'appReceivedNewExternalProperties';
payload: ResolverExternalProperties;
/**
* Defines the externally provided properties that Resolver acknowledges.
*/
payload: {
/**
* the `_id` of an ES document. This defines the origin of the Resolver graph.
*/
databaseDocumentID?: string;
};
}

export type DataAction =
Expand Down
11 changes: 0 additions & 11 deletions x-pack/plugins/security_solution/public/resolver/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import { Store } from 'redux';
import { BBox } from 'rbush';
import { ResolverAction } from './store/actions';
export { ResolverAction } from './store/actions';
import {
ResolverEvent,
ResolverNodeStats,
Expand Down Expand Up @@ -452,16 +451,6 @@ export type ResolverProcessType =

export type ResolverStore = Store<ResolverState, ResolverAction>;

/**
* Defines the externally provided properties that Resolver acknowledges.
*/
export interface ResolverExternalProperties {
/**
* the `_id` of an ES document. This defines the origin of the Resolver graph.
*/
databaseDocumentID?: string;
}

/**
* Describes the basic Resolver graph layout.
*/
Expand Down

0 comments on commit d045a37

Please sign in to comment.