3da8a76fc2
* Disable actions client when ESO using generated key * Add test for getActionsClientWithRequest * Add other part to plugin.test.ts * Cleanup tests a bit * Cleanup tests * plugin.test.ts cleanup * Add warning logs on setup Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
22 lines
850 B
TypeScript
22 lines
850 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { PluginInitializerContext } from '../../../../src/core/server';
|
|
import { ActionsPlugin } from './plugin';
|
|
import { configSchema } from './config';
|
|
import { ActionsClient as ActionsClientClass } from './actions_client';
|
|
|
|
export type ActionsClient = PublicMethodsOf<ActionsClientClass>;
|
|
|
|
export { ActionsPlugin, ActionResult, ActionTypeExecutorOptions, ActionType } from './types';
|
|
export { PluginSetupContract, PluginStartContract } from './plugin';
|
|
|
|
export const plugin = (initContext: PluginInitializerContext) => new ActionsPlugin(initContext);
|
|
|
|
export const config = {
|
|
schema: configSchema,
|
|
};
|