stable

Clone or download

Read-only

Use @tuleap/tlp-fetch module directly in TS and/or tested code

This contribution was crafted by removing `export * from "@tuleap/tlp-fetch";` in `tlp` module and then fixing all the encountered issues. The export is not yet removed in `tlp` as some untested JS code might remains. A dedicated contribution will deal with the (potential) remaining usages. Part of request #26374: Stop exposing @tuleap/tlp-fetch module in tlp module Change-Id: I0ee4d864f6b5092fbe04eb3b9eb93cd2b1504b54

Modified Files

Name
M plugins/agiledashboard/scripts/kanban/package.json +1 −0 Go to diff View file
M plugins/agiledashboard/scripts/kanban/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/jwt/jwt-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/jwt/jwt-service.test.js +2 −4 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/kanban-item/kanban-item-rest-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/kanban-item/kanban-item-rest-service.test.js +5 −7 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/kanban-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/kanban-service.test.js +18 −20 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/user-preferences/user-preferences-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/user-preferences/user-preferences-service.test.js +2 −4 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/package.json +1 −0 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/api/rest-querier.test.ts +2 −4 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/api/rest-querier.ts +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/backlog-item-rest/backlog-item-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/backlog-item-rest/backlog-item-service.test.js +9 −11 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/milestone-rest/milestone-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/milestone-rest/milestone-service.test.js +12 −14 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/project/project-service.js +1 −2 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/project/project-service.test.js +6 −8 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/user-preferences/user-preferences-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/user-preferences/user-preferences-service.test.js +2 −4 Go to diff View file
M plugins/agiledashboard/scripts/shared/error-message-helper.test.ts +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/shared/error-message-helper.ts +1 −1 Go to diff View file
M plugins/baseline/package.json +1 −1 Go to diff View file
M plugins/baseline/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/baseline/scripts/baseline/api/rest-querier.js +1 −1 Go to diff View file
M plugins/baseline/scripts/baseline/api/rest-querier.test.js +2 −4 Go to diff View file
M plugins/crosstracker/package.json +1 −1 Go to diff View file
M plugins/crosstracker/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/CrossTrackerWidget.vue +1 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/api/rest-querier.test.ts +9 −11 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/api/rest-querier.ts +1 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/components/ArtifactTable.vue +1 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/components/ExportCSVButton.vue +1 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/reading-mode/ReadingMode.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/api/lock-rest-querier.test.ts +9 −11 Go to diff View file
M plugins/document/scripts/document/api/lock-rest-querier.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/api/move-rest-querier.test.ts +13 −15 Go to diff View file
M plugins/document/scripts/document/api/move-rest-querier.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/api/permissions-rest-querier.test.ts +8 −10 Go to diff View file
M plugins/document/scripts/document/api/permissions-rest-querier.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/api/preferencies-rest-querier.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/api/preferencies-test-querier.test.ts +6 −6 Go to diff View file
M plugins/document/scripts/document/api/properties-rest-querier.test.ts +7 −9 Go to diff View file
M plugins/document/scripts/document/api/properties-rest-querier.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.test.ts +18 −18 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultError.test.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultError.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/store/actions-create.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/handle-errors.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/store/actions-retrieve.test.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/store/actions-update.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/store/error/error-actions.ts +1 −1 Go to diff View file
M plugins/git/package.json +1 −1 Go to diff View file
M plugins/git/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/git/scripts/permissions-per-group/src/GitPermissions.vue +1 −1 Go to diff View file
M plugins/git/scripts/permissions-per-group/src/rest-querier.test.ts +2 −4 Go to diff View file
M plugins/git/scripts/permissions-per-group/src/rest-querier.ts +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/api/rest-querier.test.ts +4 −6 Go to diff View file
M plugins/git/scripts/repositories/src/api/rest-querier.ts +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitRepositoryCreate.vue +2 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/ListRepositoriesModal.vue +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/UnlinkGitlabRepositoryModal/UnlinkRepositoryGitlabModal.vue +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/gitlab/gitlab-api-querier.test.ts +12 −11 Go to diff View file
M plugins/git/scripts/repositories/src/gitlab/gitlab-api-querier.ts +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/support/error-handler.ts +1 −1 Go to diff View file
M plugins/git/scripts/repository/branch-tag-selector/src/components/BranchesSection.test.ts +2 −4 Go to diff View file
M plugins/git/scripts/repository/branch-tag-selector/src/components/BranchesSection.vue +1 −1 Go to diff View file
M plugins/git/scripts/repository/branch-tag-selector/src/components/TagsSection.test.ts +2 −4 Go to diff View file
M plugins/git/scripts/repository/branch-tag-selector/src/components/TagsSection.vue +1 −1 Go to diff View file
M plugins/label/package.json +2 −2 Go to diff View file
M plugins/label/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/label/scripts/project-labeled-items/src/rest-querier.js +1 −1 Go to diff View file
M plugins/label/scripts/project-labeled-items/src/rest-querier.test.js +7 −9 Go to diff View file
M plugins/program_management/scripts/planned-iterations/src/helpers/increment-iterations-retriever.test.ts +2 −4 Go to diff View file
M plugins/program_management/scripts/planned-iterations/src/helpers/increment-iterations-retriever.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/planned-iterations/src/helpers/increment-unplanned-elements-retriever.test.ts +2 −4 Go to diff View file
M plugins/program_management/scripts/planned-iterations/src/helpers/increment-unplanned-elements-retriever.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/planned-iterations/src/helpers/iteration-content-retriever.test.ts +2 −4 Go to diff View file
M plugins/program_management/scripts/planned-iterations/src/helpers/iteration-content-retriever.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/ProgramIncrement/Feature/feature-planner.test.ts +8 −6 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/ProgramIncrement/Feature/feature-planner.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/ProgramIncrement/add-to-top-backlog.test.ts +8 −6 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/ProgramIncrement/add-to-top-backlog.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/ProgramIncrement/program-increment-retriever.test.ts +2 −4 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/ProgramIncrement/program-increment-retriever.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/feature-moving.test.ts +9 −11 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/feature-reordering.test.ts +7 −9 Go to diff View file
M plugins/projectmilestones/package.json +1 −1 Go to diff View file
M plugins/projectmilestones/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/api/rest-querier.test.ts +21 −17 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/api/rest-querier.ts +1 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/ChartDisplayer.vue +1 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/TestManagement/TestManagementDisplayer.vue +1 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDisplayer.vue +1 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/store/actions.ts +1 −1 Go to diff View file
M plugins/roadmap/package.json +1 −1 Go to diff View file
M plugins/roadmap/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/iterations-retriever.ts +1 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-retriever.test.ts +18 −20 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-retriever.ts +1 −1 Go to diff View file
M plugins/taskboard/package.json +1 −1 Go to diff View file
M plugins/taskboard/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/error/error-actions.test.ts +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/error/error-actions.ts +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/card/card-actions.test.ts +16 −16 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/card/card-actions.ts +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/drag-drop-actions.test.ts +8 −8 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/drag-drop-actions.ts +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.test.ts +12 −14 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.ts +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/user/user-actions.test.ts +7 −9 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/user/user-actions.ts +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/api/rest-querier.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/api/rest-querier.test.js +4 −6 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/artifact-links-graph/artifact-links-graph-rest-service.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/artifact-links-graph/artifact-links-graph-rest-service.test.js +2 −4 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/campaign/campaign-service.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/campaign/campaign-service.test.js +8 −9 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/definition/definition-service.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/definition/definition-service.test.js +5 −7 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-rest-service.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-rest-service.test.js +1 −3 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/jwt/jwt-service.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/jwt/jwt-service.test.js +2 −4 Go to diff View file
M plugins/testplan/package.json +2 −2 Go to diff View file
M plugins/testplan/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CreateModal.vue +2 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Campaigns/tracker-reports-retriever.test.ts +2 −4 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Campaigns/tracker-reports-retriever.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/Tracker/artifacts-retriever.test.ts +2 −4 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/Tracker/artifacts-retriever.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/Tracker/trackers-retriever.test.ts +2 −4 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/Tracker/trackers-retriever.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/backlog-item/backlog-item-actions.test.ts +2 −4 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/backlog-item/backlog-item-actions.ts +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/campaign/campaign-actions.test.ts +5 −6 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/campaign/campaign-actions.ts +2 −2 Go to diff View file
M plugins/timetracking/package.json +1 −1 Go to diff View file
M plugins/timetracking/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/timetracking/scripts/personal-timetracking-widget/src/api/rest-querier.js +1 −1 Go to diff View file
M plugins/timetracking/scripts/personal-timetracking-widget/src/api/rest-querier.test.js +4 −6 Go to diff View file
M plugins/timetracking/scripts/timetracking-overview-widget/src/api/rest-querier.js +1 −1 Go to diff View file
M plugins/timetracking/scripts/timetracking-overview-widget/src/api/rest-querier.test.js +6 −8 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/TrackerFromJira.vue +1 −1 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/TrackerFromJiraProject.vue +1 −1 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/actions.test.ts +2 −4 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/actions.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/api/rest-querier.js +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/api/rest-querier.test.js +2 −4 Go to diff View file
M src/scripts/BurningParrot/src/help-dropdown.ts +2 −1 Go to diff View file
M src/scripts/BurningParrot/src/sidebar.ts +1 −1 Go to diff View file
M src/scripts/frs/permissions-per-group/BaseFRSPackagePermissions.vue +1 −1 Go to diff View file
M src/scripts/frs/permissions-per-group/api/rest-querier.ts +1 −1 Go to diff View file
M src/scripts/invite-buddies/handle-error.test.ts +1 −1 Go to diff View file
M src/scripts/platform/banner/admin/src/api/rest-querier.test.ts +6 −5 Go to diff View file
M src/scripts/platform/banner/admin/src/api/rest-querier.ts +1 −1 Go to diff View file
M src/scripts/project/admin/banner/src/api/rest-querier.ts +1 −1 Go to diff View file
M src/scripts/project/admin/header-background/admin-header-background.test.ts +3 −5 Go to diff View file
M src/scripts/project/admin/header-background/admin-header-background.ts +1 −1 Go to diff View file
M src/scripts/project/admin/src/members-import/project-admin-members-import.ts +1 −1 Go to diff View file
M src/scripts/project/admin/src/project-admin-ugroups.ts +2 −1 Go to diff View file
M src/scripts/project/banner/index-bp.ts +1 −1 Go to diff View file
M src/scripts/project/registration/src/api/rest-querier.test.ts +4 −6 Go to diff View file
M src/scripts/project/registration/src/api/rest-querier.ts +1 −1 Go to diff View file
M src/scripts/project/registration/src/store/mutations.ts +1 −1 Go to diff View file