From c7706e7f6da0b7e0a3b6b1b2032ed245ed5f4976 Mon Sep 17 00:00:00 2001 From: Timothy Sullivan Date: Wed, 12 Aug 2020 21:52:10 -0700 Subject: [PATCH] routing validation unused types cleanup --- x-pack/plugins/reporting/server/types.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/x-pack/plugins/reporting/server/types.ts b/x-pack/plugins/reporting/server/types.ts index eb07f45f83f6c..c9649cb6e558b 100644 --- a/x-pack/plugins/reporting/server/types.ts +++ b/x-pack/plugins/reporting/server/types.ts @@ -19,21 +19,9 @@ import { LevelLogger } from './lib'; import { LayoutInstance } from './lib/layouts'; /* - * Routing / API types + * Routing types */ -interface ListQuery { - page: string; - size: string; - ids?: string; // optional field forbids us from extending RequestQuery -} - -interface GenerateQuery { - jobParams: string; -} - -export type ReportingRequestQuery = ListQuery | GenerateQuery; - export interface ReportingRequestPre { management: { jobTypes: string[];