kibana/x-pack/plugins/logstash/server/types.ts
Pierre Gayvallet 328febabd3
migrate logstash plugin to new ES client (#98064)
* migrate logstash plugin to new ES client

* handle 404s

* use default ES client
2021-04-27 10:25:50 +02:00

29 lines
782 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
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import type { IRouter, RequestHandlerContext } from 'src/core/server';
import type { LicensingApiRequestHandlerContext } from '../../licensing/server';
export interface PipelineListItemOptions {
id: string;
description: string;
last_modified: string;
username: string;
}
/**
* @internal
*/
export interface LogstashRequestHandlerContext extends RequestHandlerContext {
licensing: LicensingApiRequestHandlerContext;
}
/**
* @internal
*/
export type LogstashPluginRouter = IRouter<LogstashRequestHandlerContext>;