stable

Clone or download

Read-only

Inject the function doing the transformation of the document to the DOCX format as a dependency

This makes the separation clear between what's it's unlikely to change (the retrieval of information and how we want to export it) and the section that does the transformation to the targetted format. We might need to switch the underlying implementation in case of issues. Part of story #22213: get a document with basic fields Change-Id: I98066e0fda1fc811382b6e351a7c843d3acefe45

Modified Files

Name
R plugins/document_generation/scripts/tracker-report-action/src/helpers/document-builder.ts Go to diff View file
A plugins/document_generation/scripts/tracker-report-action/src/export-document.test.ts +39 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/export-document.ts +8 −6 Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/helpers/artifact-fields-values-builder.test.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/helpers/artifact-fields-values-builder.ts Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/index.ts +5 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/type.ts +6 −2 Go to diff View file