stable

Clone or download

Read-only

refactor: Prevent direct usage of ArtifactResponse and TrackerResponse

part of story #24969 [modal] add and remove links (replace current artifact link) No functional change expected: when you enter a number in the new artifact link field, if it matches an artifact id, you will see a badge "secondary" (grey) with the artifact's cross-reference and its title (if any). Change-Id: I917c1ca34cda1d796f45bd75d2a8df31c8c3a648

Modified Files

Name
M plugins/document_generation/scripts/lib/docx/src/Artifact/artifacts-structure-retriever.test.ts +13 −8 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Artifact/tracker-structure-retriever.test.ts +2 −0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/type.ts +6 −4 Go to diff View file
M plugins/document_generation/scripts/lib/docx/tsconfig.json +0 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/type.ts +2 −2 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/rest-querier.test.ts +4 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.test.ts +43 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/Artifact.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.test.ts +18 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.ts +2 −6 Go to diff View file
M plugins/tracker/scripts/lib/constants/src/constants.ts +26 −0 Go to diff View file
M plugins/tracker/scripts/lib/constants/tsconfig.json +0 −1 Go to diff View file
M plugins/tracker/scripts/lib/rest-api-types/src/artifacts.ts +11 −2 Go to diff View file
M plugins/tracker/scripts/lib/rest-api-types/src/trackers.ts +13 −1 Go to diff View file