Liking cljdoc? Tell your friends :D

wagoe.reports.shell.service

The report service behind :wagoe/reports.

Applications take (ig/ref :wagoe/reports) and call it through wagoe.reports.ports/ReportServiceProtocol, so they require no shell namespace of this module.

The report service behind `:wagoe/reports`.

Applications take `(ig/ref :wagoe/reports)` and call it through
`wagoe.reports.ports/ReportServiceProtocol`, so they require no shell
namespace of this module.
raw docstring

create-report-serviceclj

(create-report-service {:keys [job-queue queue-name file-storage email-sender
                               from]})

A ReportService. Every collaborator is optional: without :job-queue generate-async refuses, without :file-storage it refuses :storage-key, without :email-sender :notify-email.

A ReportService. Every collaborator is optional: without `:job-queue`
generate-async refuses, without `:file-storage` it refuses :storage-key,
without `:email-sender` :notify-email.
sourceraw docstring

generateclj

(generate report-def opts)

Generate report-def synchronously with the adapter for its :type.

Calls :data-source with opts when present. Recognised opts: :css - CSS appended to default.css (PDF only) :bom? - prefix a UTF-8 byte order mark (CSV only) :zone-id - java.time.ZoneId for :date columns

Returns ReportOutput: {:bytes byte-array :type kw :filename "..."}

Generate `report-def` synchronously with the adapter for its :type.

Calls :data-source with opts when present. Recognised opts:
  :css      - CSS appended to default.css (PDF only)
  :bom?     - prefix a UTF-8 byte order mark (CSV only)
  :zone-id  - java.time.ZoneId for :date columns

Returns ReportOutput: {:bytes byte-array :type kw :filename "..."}
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close