UNPKG

@innotrade/enapso-graphdb-admin

Version:
810 lines 708 kB
��[ { "comment": "", "meta": { "range": [ 388, 406 ], "filename": "enapso-graphdb-admin.js", "lineno": 7, "columnno": 6, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000003", "name": "fs", "type": "CallExpression", "value": "" } }, "undocumented": true, "name": "fs", "longname": "fs", "kind": "constant", "scope": "global", "params": [] }, { "comment": "", "meta": { "range": [ 415, 451 ], "filename": "enapso-graphdb-admin.js", "lineno": 8, "columnno": 6, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000009", "name": "request", "type": "CallExpression", "value": "" } }, "undocumented": true, "name": "request", "longname": "request", "kind": "constant", "scope": "global", "params": [] }, { "comment": "", "meta": { "range": [ 460, 499 ], "filename": "enapso-graphdb-admin.js", "lineno": 9, "columnno": 6, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000015", "name": "jsdoc2md", "type": "CallExpression", "value": "" } }, "undocumented": true, "name": "jsdoc2md", "longname": "jsdoc2md", "kind": "constant", "scope": "global", "params": [] }, { "comment": "", "meta": { "range": [ 556, 575 ], "filename": "enapso-graphdb-admin.js", "lineno": 11, "columnno": 8, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000023", "name": "EnapsoGraphDBClient", "type": "Identifier", "value": "EnapsoGraphDBClient" } }, "undocumented": true, "name": "EnapsoGraphDBClient", "longname": "EnapsoGraphDBClient", "kind": "member", "scope": "global" }, { "comment": "", "meta": { "range": [ 648, 665 ], "filename": "enapso-graphdb-admin.js", "lineno": 13, "columnno": 18, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000036", "name": "files", "type": "Literal", "value": "lib/*.js" } }, "undocumented": true, "name": "files", "longname": "files", "kind": "member", "scope": "global" }, { "comment": "/** @constructor */", "meta": { "range": [ 718, 49072 ], "filename": "enapso-graphdb-admin.js", "lineno": 16, "columnno": 6, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000043", "name": "EnapsoGraphDBAdmin", "type": "ObjectExpression", "value": "{\"getHeaders\":\"\",\"execRequest\":\"\",\"waitForAsynchronousResponse\":\"\",\"waitForUploadResponse\":\"\",\"getRepositories\":\"\",\"createRepository\":\"\",\"createUser\":\"\",\"updateUser\":\"\",\"deleteUser\":\"\",\"deleteRepository\":\"\",\"downloadToText\":\"\",\"downloadToFile\":\"\",\"clearRepository\":\"\",\"getLocations\":\"\",\"getUsers\":\"\",\"getContexts\":\"\",\"clearContext\":\"\",\"dropShaclGraph\":\"\",\"getSavedQueries\":\"\",\"getResources\":\"\",\"getQuery\":\"\",\"getQueryCount\":\"\",\"getImports\":\"\",\"performGarbageCollection\":\"\",\"wait\":\"\",\"waitForGraphDB\":\"\",\"upload\":\"\",\"uploadFromFile\":\"\",\"uploadFromURL\":\"\",\"uploadFromData\":\"\"}" } }, "kind": "class", "name": "EnapsoGraphDBAdmin", "longname": "EnapsoGraphDBAdmin", "scope": "global", "params": [] }, { "comment": "/** Returns Headers\r\n * @returns {Object} Headers\r\n */", "meta": { "range": [ 814, 1143 ], "filename": "enapso-graphdb-admin.js", "lineno": 20, "columnno": 4, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000046", "name": "getHeaders", "type": "FunctionExpression" } }, "description": "Returns Headers", "returns": [ { "type": { "names": [ "Object" ] }, "description": "Headers" } ], "name": "getHeaders", "longname": "EnapsoGraphDBAdmin.getHeaders", "kind": "function", "memberof": "EnapsoGraphDBAdmin", "scope": "static" }, { "comment": "", "meta": { "range": [ 871, 914 ], "filename": "enapso-graphdb-admin.js", "lineno": 22, "columnno": 12, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000051", "name": "Accept", "type": "Literal", "value": "application/json, text/plain, */*" } }, "undocumented": true, "name": "Accept", "longname": "Accept", "kind": "member", "scope": "global" }, { "comment": "", "meta": { "range": [ 964, 1012 ], "filename": "enapso-graphdb-admin.js", "lineno": 23, "columnno": 12, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000053", "name": "\"Content-Type\"", "type": "Literal", "value": "application/json;charset=UTF-8" } }, "undocumented": true, "name": "\"Content-Type\"", "longname": "\"Content-Type\"", "kind": "member", "scope": "global" }, { "comment": "", "meta": { "range": [ 1027, 1071 ], "filename": "enapso-graphdb-admin.js", "lineno": 24, "columnno": 12, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000055", "name": "\"X-GraphDB-Repository\"", "type": "CallExpression", "value": "" } }, "undocumented": true, "name": "\"X-GraphDB-Repository\"", "longname": "\"X-GraphDB-Repository\"", "kind": "member", "scope": "global" }, { "comment": "", "meta": { "range": [ 1086, 1124 ], "filename": "enapso-graphdb-admin.js", "lineno": 25, "columnno": 12, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000060", "name": "Authorization", "type": "CallExpression", "value": "" } }, "undocumented": true, "name": "Authorization", "longname": "Authorization", "kind": "member", "scope": "global" }, { "comment": "", "meta": { "range": [ 1152, 2678 ], "filename": "enapso-graphdb-admin.js", "lineno": 29, "columnno": 4, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000065", "name": "execRequest", "type": "FunctionExpression" }, "vars": { "": null } }, "undocumented": true, "name": "execRequest", "longname": "EnapsoGraphDBAdmin.execRequest", "kind": "function", "memberof": "EnapsoGraphDBAdmin", "scope": "static" }, { "comment": "", "meta": { "range": [ 1249, 1252 ], "filename": "enapso-graphdb-admin.js", "lineno": 31, "columnno": 16, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000077", "name": "res" } }, "undocumented": true, "name": "res", "longname": "<anonymous>~res", "kind": "member", "memberof": "<anonymous>", "scope": "inner", "params": [] }, { "comment": "", "meta": { "range": [ 1290, 1328 ], "filename": "enapso-graphdb-admin.js", "lineno": 33, "columnno": 16, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000082", "name": "options.resolveWithFullResponse", "type": "Literal", "value": true, "paramnames": [] } }, "undocumented": true, "name": "resolveWithFullResponse", "longname": "options.resolveWithFullResponse", "kind": "member", "memberof": "options", "scope": "static" }, { "comment": "", "meta": { "range": [ 1347, 1375 ], "filename": "enapso-graphdb-admin.js", "lineno": 34, "columnno": 16, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000088", "name": "res", "type": "AwaitExpression", "funcscope": "<anonymous>", "value": "", "paramnames": [] } }, "undocumented": true, "name": "res", "longname": "<anonymous>~res", "kind": "member", "memberof": "<anonymous>", "scope": "inner" }, { "comment": "", "meta": { "range": [ 1475, 1669 ], "filename": "enapso-graphdb-admin.js", "lineno": 36, "columnno": 20, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000095", "name": "success", "type": "LogicalExpression", "value": "" } }, "undocumented": true, "name": "success", "longname": "<anonymous>~success", "kind": "member", "memberof": "<anonymous>", "scope": "inner", "params": [] }, { "comment": "", "meta": { "range": [ 1688, 2058 ], "filename": "enapso-graphdb-admin.js", "lineno": 41, "columnno": 16, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000121", "name": "res", "type": "ObjectExpression", "funcscope": "<anonymous>", "value": "{\"success\":\"\",\"statusCode\":\"\",\"message\":\"\",\"data\":\"\"}", "paramnames": [] } }, "undocumented": true, "name": "res", "longname": "<anonymous>~res", "kind": "member", "memberof": "<anonymous>", "scope": "inner" }, { "comment": "", "meta": { "range": [ 1717, 1733 ], "filename": "enapso-graphdb-admin.js", "lineno": 42, "columnno": 20, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000124", "name": "success", "type": "Identifier", "value": "success" } }, "undocumented": true, "name": "success", "longname": "<anonymous>~res.success", "kind": "member", "memberof": "<anonymous>~res", "scope": "static" }, { "comment": "", "meta": { "range": [ 1756, 1782 ], "filename": "enapso-graphdb-admin.js", "lineno": 43, "columnno": 20, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000126", "name": "statusCode", "type": "MemberExpression", "value": "res.statusCode" } }, "undocumented": true, "name": "statusCode", "longname": "<anonymous>~res.statusCode", "kind": "member", "memberof": "<anonymous>~res", "scope": "static" }, { "comment": "", "meta": { "range": [ 1805, 2002 ], "filename": "enapso-graphdb-admin.js", "lineno": 44, "columnno": 20, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000130", "name": "message", "type": "ConditionalExpression", "value": "" } }, "undocumented": true, "name": "message", "longname": "<anonymous>~res.message", "kind": "member", "memberof": "<anonymous>~res", "scope": "static" }, { "comment": "", "meta": { "range": [ 2025, 2039 ], "filename": "enapso-graphdb-admin.js", "lineno": 49, "columnno": 20, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000146", "name": "data", "type": "MemberExpression", "value": "res.body" } }, "undocumented": true, "name": "data", "longname": "<anonymous>~res.data", "kind": "member", "memberof": "<anonymous>~res", "scope": "static" }, { "comment": "", "meta": { "range": [ 2200, 2518 ], "filename": "enapso-graphdb-admin.js", "lineno": 54, "columnno": 16, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000156", "name": "res", "type": "ObjectExpression", "funcscope": "<anonymous>", "value": "{\"success\":false,\"statusCode\":\"\",\"message\":\"\"}", "paramnames": [] } }, "undocumented": true, "name": "res", "longname": "<anonymous>~res", "kind": "member", "memberof": "<anonymous>", "scope": "inner" }, { "comment": "", "meta": { "range": [ 2229, 2243 ], "filename": "enapso-graphdb-admin.js", "lineno": 55, "columnno": 20, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000159", "name": "success", "type": "Literal", "value": false } }, "undocumented": true, "name": "success", "longname": "<anonymous>~res.success", "kind": "member", "memberof": "<anonymous>~res", "scope": "static" }, { "comment": "", "meta": { "range": [ 2266, 2314 ], "filename": "enapso-graphdb-admin.js", "lineno": 56, "columnno": 20, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000161", "name": "statusCode", "type": "ConditionalExpression", "value": "" } }, "undocumented": true, "name": "statusCode", "longname": "<anonymous>~res.statusCode", "kind": "member", "memberof": "<anonymous>~res", "scope": "static" }, { "comment": "", "meta": { "range": [ 2337, 2499 ], "filename": "enapso-graphdb-admin.js", "lineno": 57, "columnno": 20, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000171", "name": "message", "type": "ConditionalExpression", "value": "" } }, "undocumented": true, "name": "message", "longname": "<anonymous>~res.message", "kind": "member", "memberof": "<anonymous>~res", "scope": "static" }, { "comment": "/**\r\n *Waits for a response\r\n * @param {Object} args - The args responsible for the method.\r\n * @param {string} args.uri - The uri in the args.\r\n * @returns {Promise} Promise object represents the response object\r\n */", "meta": { "range": [ 2930, 3239 ], "filename": "enapso-graphdb-admin.js", "lineno": 75, "columnno": 4, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000194", "name": "waitForAsynchronousResponse", "type": "FunctionExpression" }, "vars": { "args": "EnapsoGraphDBAdmin.waitForAsynchronousResponse~args", "options": "EnapsoGraphDBAdmin.waitForAsynchronousResponse~options", "resp": "EnapsoGraphDBAdmin.waitForAsynchronousResponse~resp" } }, "description": "Waits for a response", "params": [ { "type": { "names": [ "Object" ] }, "description": "The args responsible for the method.", "name": "args" }, { "type": { "names": [ "string" ] }, "description": "The uri in the args.", "name": "args.uri" } ], "returns": [ { "type": { "names": [ "Promise" ] }, "description": "Promise object represents the response object" } ], "name": "waitForAsynchronousResponse", "longname": "EnapsoGraphDBAdmin.waitForAsynchronousResponse", "kind": "function", "memberof": "EnapsoGraphDBAdmin", "scope": "static" }, { "comment": "", "meta": { "range": [ 2981, 2998 ], "filename": "enapso-graphdb-admin.js", "lineno": 76, "columnno": 8, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000199", "name": "args", "type": "LogicalExpression", "funcscope": "EnapsoGraphDBAdmin.waitForAsynchronousResponse", "value": "", "paramnames": [] } }, "undocumented": true, "name": "args", "longname": "EnapsoGraphDBAdmin.waitForAsynchronousResponse~args", "kind": "member", "memberof": "EnapsoGraphDBAdmin.waitForAsynchronousResponse", "scope": "inner" }, { "comment": "", "meta": { "range": [ 3013, 3156 ], "filename": "enapso-graphdb-admin.js", "lineno": 77, "columnno": 12, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000205", "name": "options", "type": "ObjectExpression", "value": "{\"method\":\"GET\",\"uri\":\"\",\"headers\":\"\",\"json\":true}" } }, "undocumented": true, "name": "options", "longname": "EnapsoGraphDBAdmin.waitForAsynchronousResponse~options", "kind": "member", "memberof": "EnapsoGraphDBAdmin.waitForAsynchronousResponse", "scope": "inner", "params": [] }, { "comment": "", "meta": { "range": [ 3038, 3051 ], "filename": "enapso-graphdb-admin.js", "lineno": 78, "columnno": 12, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000208", "name": "method", "type": "Literal", "value": "GET" } }, "undocumented": true, "name": "method", "longname": "EnapsoGraphDBAdmin.waitForAsynchronousResponse~options.method", "kind": "member", "memberof": "EnapsoGraphDBAdmin.waitForAsynchronousResponse~options", "scope": "static" }, { "comment": "", "meta": { "range": [ 3066, 3079 ], "filename": "enapso-graphdb-admin.js", "lineno": 79, "columnno": 12, "path": "C:\\Users\\Ashesh\\enapso-graphdb-admin\\lib", "code": { "id": "astnode100000210", "name": "uri", "type": "MemberExpression", "value": "args.uri" } }, "undocumented": true, "name": "uri", "longname": "EnapsoGraphDBAdmin.waitForAsynchronousResponse~options.uri", "kind": "member", "memberof": "EnapsoGraphDBAdmin.waitForAsynchronousResponse~options", "scope": "static" }, { "comment": "", "meta": { "range": [ 3094, 3120 ], "filename": "enapso-graphdb-admin.js", "lineno": 80, "columnno": 12, "path": "C:\\Users\\Ashesh\\e