kibana/x-pack/plugins/security_solution/public/resolver/index.ts
Brandon Kobel 4584a8b570
Elastic License 2.0 (#90099)
* Updating everything except the license headers themselves

* Applying ESLint rules

* Manually replacing the stragglers
2021-02-03 18:12:39 -08:00

33 lines
1 KiB
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { Provider } from 'react-redux';
import { ResolverPluginSetup } from './types';
import { resolverStoreFactory } from './store/index';
import { ResolverWithoutProviders } from './view/resolver_without_providers';
import { noAncestorsTwoChildrenWithRelatedEventsOnOrigin } from './data_access_layer/mocks/no_ancestors_two_children_with_related_events_on_origin';
/**
* These exports are used by the plugin 'resolverTest' defined in x-pack's plugin_functional suite.
*/
/**
* Provide access to Resolver APIs.
*/
export function resolverPluginSetup(): ResolverPluginSetup {
return {
Provider,
storeFactory: resolverStoreFactory,
ResolverWithoutProviders,
mocks: {
dataAccessLayer: {
noAncestorsTwoChildrenWithRelatedEventsOnOrigin,
},
},
};
}