Jonathan Druart
4ffe9a6ed9
This patch add a new item-api-client.js API client to fetch items using our /items REST API endpoint. Test plan: Add the following two lines to one of the existing Vue component (in data() for instance) and hit the view that is using it. let client = APIClient.item client.items.getAll().then((items) => console.log(items)) Notice that you see all the items in the console. Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Was failing the pretty test, fixed with yarn pretty Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> |
||
---|---|---|
.. | ||
modals | ||
pages | ||
vue | ||
acq.js | ||
acquisitions-menu.js | ||
additem.js | ||
addorderiso2709.js | ||
admin-menu.js | ||
ajax.js | ||
audio_alerts.js | ||
auth-finder-search.js | ||
authorities-detail-modal.js | ||
authtype.js | ||
automatic_item_modification_by_age.js | ||
basket.js | ||
biblio_framework.js | ||
browser.js | ||
calendar.js | ||
cart.js | ||
cashup_modal.js | ||
catalog.js | ||
cataloging.js | ||
cataloging_additem.js | ||
categories.js | ||
charts.js | ||
checkout_renewals_modal.js | ||
checkouts.js | ||
cookieconsent.js | ||
datatables.js | ||
desk_selection.js | ||
elasticsearch-mappings.js | ||
file-upload.js | ||
funds_sorts.js | ||
holds.js | ||
ill-availability-partner.js | ||
ill-availability.js | ||
ill-list-table.js | ||
item_search_fields.js | ||
job_progress.js | ||
letter.js | ||
localcovers.js | ||
mana.js | ||
marc_modification_templates.js | ||
marc_subfields_structure.js | ||
members-menu.js | ||
members.js | ||
merge-record.js | ||
messaging-preference-form.js | ||
onboarding.js | ||
patron-webcam.js | ||
recalls.js | ||
register_selection.js | ||
resolve_claim_modal.js | ||
restrictiontypes.js | ||
rotating-collections.js | ||
select2.js | ||
serials-toolbar.js | ||
showpredictionpattern.js | ||
sms_providers.js | ||
staff-global.js | ||
subscription-add.js | ||
table_filters.js | ||
tools-menu.js | ||
upload-images.js | ||
viewlog.js | ||
xmlControlfield.js | ||
z3950_search.js |