mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[APM] Add type for route options (#161152)
Add missing type for route options. This is necessary for specifying `maxBytes`. cc @LikeTheSalad
This commit is contained in:
parent
f2e773d435
commit
bc4ffb6634
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ import {
|
|||
Logger,
|
||||
KibanaRequest,
|
||||
CoreStart,
|
||||
RouteConfigOptions,
|
||||
} from '@kbn/core/server';
|
||||
import { IRuleDataClient } from '@kbn/rule-registry-plugin/server';
|
||||
import { AlertingApiRequestHandlerContext } from '@kbn/alerting-plugin/server';
|
||||
|
@ -41,7 +42,7 @@ export interface APMRouteCreateOptions {
|
|||
>;
|
||||
body?: { accepts: Array<'application/json' | 'multipart/form-data'> };
|
||||
disableTelemetry?: boolean;
|
||||
};
|
||||
} & RouteConfigOptions<any>;
|
||||
}
|
||||
|
||||
export type TelemetryUsageCounter = ReturnType<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue