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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 6 Jul 2023 15:24:13 +0000 (12:24 -0300)
commitfeeb288e300934c29fdc02cdc480e4300ead197a
tree23271a341eccfd2bc4fcf07468da2087d60303bb
parent6a2ef1a82de62c6e245933e91ec795f39f1a4ada
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
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