29 lines
782 B
TypeScript
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>;
|