Skip to content

Commit

Permalink
Xlsx support (opensearch-project#940)
Browse files Browse the repository at this point in the history
Signed-off-by: Danila Gulderov <[email protected]>
Co-authored-by: Joshua Li <[email protected]>
  • Loading branch information
gulderov and joshuali925 authored Mar 5, 2024
1 parent c7854a4 commit 2092cf9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import java.time.Duration
* },
* "format":{
* "duration":"PT1H",
* "fileFormat":"Pdf", // Pdf, Png, Csv
* "fileFormat":"Pdf", // Pdf, Png, Csv, Xlsx
* "limit":1000, // optional
* "header":"optional header",
* "footer":"optional footer"
Expand Down Expand Up @@ -76,7 +76,7 @@ internal data class ReportDefinition(
internal enum class SourceType { Dashboard, Visualization, SavedSearch, Notebook }
internal enum class TriggerType { Download, OnDemand, CronSchedule, IntervalSchedule }
internal enum class DeliveryFormat { LinkOnly, Attachment, Embedded }
internal enum class FileFormat { Pdf, Png, Csv }
internal enum class FileFormat { Pdf, Png, Csv, Xlsx }

internal companion object {
private val log by logger(ReportDefinition::class.java)
Expand Down

0 comments on commit 2092cf9

Please sign in to comment.