stable

Clone or download

Read-only

refactor: move File field types to Domain

Part of request #28830 replace File upload streams by TUS client No functional change. Notes: Those types are sort of "the Domain" of the File field already. We should try to limit the dependency on the REST API representations, but that will be a task for later. The rename will help reuse those types for the file upload. Change-Id: I90ad0a5c5e01c4063ac781d96b90c237ad43bb54

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/FileField.test.ts +4 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/FileField.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/FileFieldController.test.ts +4 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/FileFieldController.ts +4 −4 Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/AttachedFileDescription.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/FileFieldType.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/FileFieldValueModel.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/NewFileToAttach.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/NewFileToAttach.ts Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/model/field-values-formatter.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/model/field-values-formatter.test.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/AttachedFileDescriptionStub.ts +1 −1 Go to diff View file