stable

Clone or download

Read-only

Convert REST layer to TypeScript

part of: story #24968 [modal] have the list of linked artifacts No functional change expected. There are end-to-end tests to check for non-regression in the agiledashboard plugin. Notes: I could have "just" written a .d.ts but it is almost as much work as converting entirely, so I did that. Change-Id: If2ac63654c5e5cd265e399f3e8e96d536f2c1da3

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/fields/file-field/file-upload-rules-state.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/file-field/file-upload-rules-state.test.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/file-field/file-uploader.js +1 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field/link-field-controller.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field/link-field-controller.test.js +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/open-list-field/users-open-list-field-controller.js +1 −1 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-error-state.js +0 −12 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-error-state.test.ts +41 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-error-state.ts +29 −0 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.js +0 −264 Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.test.js Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.ts +343 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.test.js +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-service.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-service.test.js +1 −1 Go to diff View file