UNPKG

graphdb-workbench

Version:
2 lines 1.3 kB
export const __webpack_id__=45741;export const __webpack_ids__=[45741];export const __webpack_modules__={45741:()=>{angular.module("graphdb.framework.rest.rdfrank.service",[]).factory("RdfRankRestService",n);const t="rest/rdfrank",e=`${t}/filtering`;function n(n){return{getStatus:function(){return n.get(`${t}/status`)},checkRdfRankPluginEnabled:function(){return n.get(`${t}/plugin-found`)},checkFilteringEnabled:function(){return n.get(e)},toggleFiltering:function(t){return n.post(`${e}?enabled=${t}`)},filter:function(t){return n.get(`${e}/${t}`)},updateFilter:function(t,i){return n.put(`${e}/${t}`,i)},deleteFilter:function(t,i){return n.delete(`${e}/${t}`,{data:i,headers:{"Content-Type":"application/json;charset=utf-8"}})},includeExplicit:function(){return n.get(`${t}/include-explicit`)},toggleIncludeExplicit:function(e){return n.post(`${t}/include-explicit?enabled=`+e)},includeImplicit:function(){return n.get(`${t}/include-implicit`)},toggleIncludeImplicit:function(e){return n.post(`${t}/include-implicit?enabled=`+e)},compute:function(){return n.post(`${t}/compute`)},computeIncremental:function(){return n.post(`${t}/compute-incremental`)},interrupt:function(){return n.post(`${t}/interrupt`)}}}n.$inject=["$http"]}}; //# sourceMappingURL=45741.b403b984e462605c1c4c.bundle.js.map