stable

Clone or download

Read-only

refactor: reuse shared REST API types

No functional change. Notes: I copied the color name type from the Tracker constants lib. Ideally, that list should be exported by @tuleap/tlp. We should probably break it down in smaller apps before doing that. part of story #24971 [modal] search for artifacts Change-Id: I0259729224277b9773723e345e07736687f7298c

Modified Files

Name
M lib/frontend/rest-api-types/package.json +9 −4 Go to diff View file
A lib/frontend/rest-api-types/pnpm-lock.yaml +7 −0 Go to diff View file
M lib/frontend/rest-api-types/src/main.ts +28 −2 Go to diff View file
D lib/frontend/rest-api-types/tsconfig-build.json +0 −9 Go to diff View file
A lib/frontend/rest-api-types/vite.config.ts +31 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/ArtifactCrossReferenceProxy.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/LinkableArtifactProxy.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.test.ts +3 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.ts +4 −4 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/user-history/UserHistory.ts +0 −45 Go to diff View file
M plugins/tracker/scripts/lib/rest-api-types/package.json +1 −0 Go to diff View file