Bug 32939: Have a generic APIClient object
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 15 Feb 2023 08:35:19 +0000 (09:35 +0100)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 28 Feb 2023 18:57:33 +0000 (18:57 +0000)
commit0d99a07778d1488763d1aa8901c4a08c276d00cd
tree28a58e5ecb737e69f412924e73f2b74b152b853a
parent6d3df54862620c547d19db439d1e0bea4e2238ec
Bug 32939: Have a generic APIClient object

You always import the same, only once, and you can access other
resources from the same object.

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 10322566d40fd31cdf7ee554cbd7f9a0ac33d0a6)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormAdd.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormConfirmDelete.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/api-client.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/erm-api-client.js