stable

Clone or download

Read-only

refactor: Link field domain should not depend on REST API types

No functional change. Notes: The type is duplicated but is smaller than the REST API one. We will be free to rename properties and introduce a "proxy" layer later. part of story #24970 [modal] select type for links Change-Id: I6641ea48fcbe3da8386b527d7e7f2f5517b2bb4c

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkField.test.ts +2 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldController.test.ts +2 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldController.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldPresenter.test.ts +2 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldPresenter.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkedArtifactTemplate.test.ts +2 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/NewLinkTemplate.test.ts +2 −6 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/ArtifactLinkFieldInfo.ts +30 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/tests/stubs/ArtifactLinkFieldInfoStub.ts +29 −0 Go to diff View file