forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
94 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* 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 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
import type { SerializedSearchSourceFields } from '@kbn/data-plugin/public'; | ||
|
||
/** | ||
* Duplicated from @kbn/reporting-export-types-csv-common to reduce dependencies | ||
*/ | ||
export interface JobParamsCSV { | ||
browserTimezone?: string; | ||
searchSource: SerializedSearchSourceFields; | ||
columns?: string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
// Export Type Sets | ||
import { | ||
CSV_JOB_TYPE, | ||
CSV_JOB_TYPE_DEPRECATED, | ||
CSV_JOB_TYPE_V2, | ||
CSV_REPORT_TYPE, | ||
CSV_REPORT_TYPE_V2, | ||
} from '@kbn/reporting-export-types-csv-common'; | ||
import { | ||
PDF_JOB_TYPE, | ||
PDF_JOB_TYPE_V2, | ||
PDF_REPORT_TYPE, | ||
PDF_REPORT_TYPE_V2, | ||
} from '@kbn/reporting-export-types-pdf-common'; | ||
import { | ||
PNG_JOB_TYPE, | ||
PNG_JOB_TYPE_V2, | ||
PNG_REPORT_TYPE, | ||
PNG_REPORT_TYPE_V2, | ||
} from '@kbn/reporting-export-types-png-common'; | ||
|
||
export const reportTypes = [ | ||
CSV_REPORT_TYPE, | ||
CSV_REPORT_TYPE_V2, | ||
PDF_REPORT_TYPE, | ||
PDF_REPORT_TYPE_V2, | ||
PNG_REPORT_TYPE, | ||
PNG_REPORT_TYPE_V2, | ||
]; | ||
|
||
export const jobTypes = [ | ||
CSV_JOB_TYPE, | ||
CSV_JOB_TYPE_V2, | ||
PDF_JOB_TYPE, | ||
PDF_JOB_TYPE_V2, | ||
PNG_JOB_TYPE, | ||
PNG_JOB_TYPE_V2, | ||
]; | ||
|
||
export const USES_HEADLESS_JOB_TYPES = [ | ||
PDF_JOB_TYPE, | ||
PNG_JOB_TYPE, | ||
PDF_JOB_TYPE_V2, | ||
PNG_JOB_TYPE_V2, | ||
]; | ||
|
||
export const DEPRECATED_JOB_TYPES = [CSV_JOB_TYPE_DEPRECATED]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters