Skip to content

Commit

Permalink
routing validation unused types cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Aug 13, 2020
1 parent 7a446e8 commit c7706e7
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions x-pack/plugins/reporting/server/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down

0 comments on commit c7706e7

Please sign in to comment.