Bug 33606: Add a erm/config route to retrieve the ERM config needed for the Vue app
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 25 Apr 2023 13:56:51 +0000 (15:56 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 2 Nov 2023 21:17:31 +0000 (11:17 -1000)
commit5078f9f4dff2788318bee544e00724fa2fbf1dad
tree53c78a9f160af24448114a3726aadefebed7610a
parent102b21d2aed8b305a3ea3811804f1f334e3b86e5
Bug 33606: Add a erm/config route to retrieve the ERM config needed for the Vue app

This could be extended later in bug 32968 to pass the permission of the
logged in user.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
(cherry picked from commit cda3c377a20c401ef9a755f24eb839d515a8af72)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
14 files changed:
Koha/REST/V1/ERM.pm
api/v1/swagger/definitions/erm_config.yaml [new file with mode: 0644]
api/v1/swagger/paths/erm_config.yaml [new file with mode: 0644]
api/v1/swagger/swagger.yaml
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/erm-api-client.js
t/cypress/integration/ERM/Agreements_spec.ts
t/cypress/integration/ERM/Dialog_spec.ts
t/cypress/integration/ERM/Licenses_spec.ts
t/cypress/integration/ERM/Packages_spec.ts
t/cypress/integration/ERM/Searchbar_spec.ts
t/cypress/integration/ERM/Titles_spec.ts