UNPKG

graphdb-workbench

Version:
2 lines 820 B
export const __webpack_id__=61105;export const __webpack_ids__=[61105];export const __webpack_modules__={61105:()=>{angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];const e="rest/connectors";function t(t){return{getConnectors:function(o,n){return o?t.get(e,{headers:{"X-GraphDB-Repository":o,"X-GraphDB-Repository-Location":n}}):t.get(e)},initConnector:function(o){return t.get(`${e}/options?prefix=${o}`)},hasConnector:function(o,n,r){return n?t.get(`${e}/existing?prefix=${o}`,{headers:{"X-GraphDB-Repository":n,"X-GraphDB-Repository-Location":r}}):t.get(`${e}/existing?prefix=${o}`)},checkConnector:function(o){return t.post(`${e}/check`,o,{headers:{"Content-Type":"text/plain"}})}}}}}; //# sourceMappingURL=61105.62d68f8238aa15f87f10.bundle.js.map