UNPKG

graphdb-workbench

Version:
2 lines 745 B
export const __webpack_esm_id__=50470;export const __webpack_esm_ids__=[50470];export const __webpack_esm_modules__={50470:()=>{angular.module("graphdb.framework.rest.explore.rest.service",[]).factory("ExploreRestService",t),t.$inject=["$http"];const e="rest/explore";function t(t){return{getResourceDetails:(r,s,a,o)=>t.get(`${e}/details`,{params:{uri:r,triple:s,context:a},headers:{Accept:o||"application/json"}}),getGraph:(r,s,a)=>t.get(`${e}/graph`,{params:{uri:r.uri,triple:r.triple,inference:r.contextType.id,role:r.role,bnodes:r.blanks,sameAs:r.sameAs,context:r.context},headers:{Accept:s||"application/x-graphdb-table-results+json",Link:a?"<"+a+">":""}}).then(e=>e.data)}}}}; //# sourceMappingURL=50470.1a23e215a6a337498b5c.bundle.js.map