diff --git a/docs/_layouts/redirect.html b/docs/_layouts/redirect.html new file mode 100644 index 0000000..b07ec26 --- /dev/null +++ b/docs/_layouts/redirect.html @@ -0,0 +1,14 @@ + + + + + + + Page Redirection + + +

API documentation for latest version

+ + \ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..5a06173 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,4 @@ +--- +layout: redirect +target: ./v3.4 +--- diff --git a/docs/v3.0/.nojekyll b/docs/v3.0/.nojekyll new file mode 100644 index 0000000..e2ac661 --- /dev/null +++ b/docs/v3.0/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/v3.0/assets/highlight.css b/docs/v3.0/assets/highlight.css new file mode 100644 index 0000000..e40c908 --- /dev/null +++ b/docs/v3.0/assets/highlight.css @@ -0,0 +1,78 @@ +:root { + --light-hl-0: #001080; + --dark-hl-0: #9CDCFE; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #0000FF; + --dark-hl-2: #569CD6; + --light-hl-3: #0070C1; + --dark-hl-3: #4FC1FF; + --light-hl-4: #795E26; + --dark-hl-4: #DCDCAA; + --light-hl-5: #A31515; + --dark-hl-5: #CE9178; + --light-hl-6: #008000; + --dark-hl-6: #6A9955; + --light-hl-7: #098658; + --dark-hl-7: #B5CEA8; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +pre, code { background: var(--code-background); } diff --git a/docs/v3.0/assets/main.js b/docs/v3.0/assets/main.js new file mode 100644 index 0000000..abd0485 --- /dev/null +++ b/docs/v3.0/assets/main.js @@ -0,0 +1,54 @@ +"use strict"; +"use strict";(()=>{var Qe=Object.create;var ae=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var _e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Me=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ce(e))!Re.call(t,i)&&i!==n&&ae(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Qe(Oe(t)):{},Me(e||!t||!t.__esModule?ae(n,"default",{value:t,enumerable:!0}):n,t));var de=_e((ce,he)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var h=t.utils.clone(n)||{};h.position=[a,l],h.index=s.length,s.push(new t.Token(r.slice(a,o),h))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ou?h+=2:a==u&&(n+=r[l+1]*i[h+1],l+=2,h+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}if(s.str.length==0&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var h=s.str.charAt(0),m=s.str.charAt(1),v;m in s.node.edges?v=s.node.edges[m]:(v=new t.TokenSet,s.node.edges[m]=v),s.str.length==1&&(v.final=!0),i.push({node:v,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof ce=="object"?he.exports=n():e.lunr=n()}(this,function(){return t})})()});var le=[];function j(t,e){le.push({selector:e,constructor:t})}var Y=class{constructor(){this.createComponents(document.body)}createComponents(e){le.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r}),r.dataset.hasInstance=String(!0))})})}};var k=class{constructor(e){this.el=e.el}};var J=class{constructor(){this.listeners={}}addEventListener(e,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(n)}removeEventListener(e,n){if(!(e in this.listeners))return;let r=this.listeners[e];for(let i=0,s=r.length;i{let n=Date.now();return(...r)=>{n+e-Date.now()<0&&(t(...r),n=Date.now())}};var re=class extends J{constructor(){super();this.scrollTop=0;this.lastY=0;this.width=0;this.height=0;this.showToolbar=!0;this.toolbar=document.querySelector(".tsd-page-toolbar"),this.navigation=document.querySelector(".col-menu"),window.addEventListener("scroll",ne(()=>this.onScroll(),10)),window.addEventListener("resize",ne(()=>this.onResize(),10)),this.searchInput=document.querySelector("#tsd-search input"),this.searchInput&&this.searchInput.addEventListener("focus",()=>{this.hideShowToolbar()}),this.onResize(),this.onScroll()}triggerResize(){let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onScroll(){this.scrollTop=window.scrollY||0;let n=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(n),this.hideShowToolbar()}hideShowToolbar(){let n=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0||!!this.searchInput&&this.searchInput===document.activeElement,n!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.navigation?.classList.toggle("col-menu--hide")),this.lastY=this.scrollTop}},R=re;R.instance=new re;var X=class extends k{constructor(n){super(n);this.anchors=[];this.index=-1;R.instance.addEventListener("resize",()=>this.onResize()),R.instance.addEventListener("scroll",r=>this.onScroll(r)),this.createAnchors()}createAnchors(){let n=window.location.href;n.indexOf("#")!=-1&&(n=n.substring(0,n.indexOf("#"))),this.el.querySelectorAll("a").forEach(r=>{let i=r.href;if(i.indexOf("#")==-1||i.substring(0,n.length)!=n)return;let s=i.substring(i.indexOf("#")+1),o=document.querySelector("a.tsd-anchor[name="+s+"]"),a=r.parentNode;!o||!a||this.anchors.push({link:a,anchor:o,position:0})}),this.onResize()}onResize(){let n;for(let i=0,s=this.anchors.length;ii.position-s.position);let r=new CustomEvent("scroll",{detail:{scrollTop:R.instance.scrollTop}});this.onScroll(r)}onScroll(n){let r=n.detail.scrollTop+5,i=this.anchors,s=i.length-1,o=this.index;for(;o>-1&&i[o].position>r;)o-=1;for(;o-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=o,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}};var ue=(t,e=100)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>t(r),e)}};var me=De(de());function ve(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let n=document.querySelector("#tsd-search input"),r=document.querySelector("#tsd-search .results");if(!n||!r)throw new Error("The input field or the result list wrapper was not found");let i=!1;r.addEventListener("mousedown",()=>i=!0),r.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),n.addEventListener("focus",()=>t.classList.add("has-focus")),n.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Fe(t,r,n,s)}function Fe(t,e,n,r){n.addEventListener("input",ue(()=>{Ae(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?fe(e,-1):s.key==="ArrowDown"?fe(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function He(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=me.Index.load(window.searchData.index))}function Ae(t,e,n,r){if(He(r,t),!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s=i?r.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${pe(u.parent,i)}.${l}`);let h=document.createElement("li");h.classList.value=u.classes??"";let m=document.createElement("a");m.href=r.base+u.url,m.innerHTML=l,h.append(m),e.appendChild(h)}}function fe(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function pe(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(ie(t.substring(s,o)),`${ie(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ie(t.substring(s))),i.join("")}var Ne={"&":"&","<":"<",">":">","'":"'",'"':"""};function ie(t){return t.replace(/[&<>"'"]/g,e=>Ne[e])}var F="mousedown",ye="mousemove",B="mouseup",Z={x:0,y:0},ge=!1,se=!1,je=!1,H=!1,xe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(xe?"is-mobile":"not-mobile");xe&&"ontouchstart"in document.documentElement&&(je=!0,F="touchstart",ye="touchmove",B="touchend");document.addEventListener(F,t=>{se=!0,H=!1;let e=F=="touchstart"?t.targetTouches[0]:t;Z.y=e.pageY||0,Z.x=e.pageX||0});document.addEventListener(ye,t=>{if(!!se&&!H){let e=F=="touchstart"?t.targetTouches[0]:t,n=Z.x-(e.pageX||0),r=Z.y-(e.pageY||0);H=Math.sqrt(n*n+r*r)>10}});document.addEventListener(B,()=>{se=!1});document.addEventListener("click",t=>{ge&&(t.preventDefault(),t.stopImmediatePropagation(),ge=!1)});var K=class extends k{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){H||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!H&&this.active&&n.target.closest(".col-menu")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var oe;try{oe=localStorage}catch{oe={getItem(){return null},setItem(){}}}var Q=oe;var Le=document.head.appendChild(document.createElement("style"));Le.dataset.for="filters";var ee=class extends k{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),Le.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var te=class extends k{constructor(n){super(n);this.calculateHeights(),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.textContent.replace(/\s+/g,"-").toLowerCase()}`,this.setLocalStorage(this.fromLocalStorage(),!0),this.summary.addEventListener("click",r=>this.toggleVisibility(r)),this.icon.style.transform=this.getIconRotation()}getIconRotation(n=this.el.open){return`rotate(${n?0:-90}deg)`}calculateHeights(){let n=this.el.open,{position:r,left:i}=this.el.style;this.el.style.position="fixed",this.el.style.left="-9999px",this.el.open=!0,this.expandedHeight=this.el.offsetHeight+"px",this.el.open=!1,this.collapsedHeight=this.el.offsetHeight+"px",this.el.open=n,this.el.style.height=n?this.expandedHeight:this.collapsedHeight,this.el.style.position=r,this.el.style.left=i}toggleVisibility(n){n.preventDefault(),this.el.style.overflow="hidden",this.el.open?this.collapse():this.expand()}expand(n=!0){this.el.open=!0,this.animate(this.collapsedHeight,this.expandedHeight,{opening:!0,duration:n?300:0})}collapse(n=!0){this.animate(this.expandedHeight,this.collapsedHeight,{opening:!1,duration:n?300:0})}animate(n,r,{opening:i,duration:s=300}){if(this.animation)return;let o={duration:s,easing:"ease"};this.animation=this.el.animate({height:[n,r]},o),this.icon.animate({transform:[this.icon.style.transform||this.getIconRotation(!i),this.getIconRotation(i)]},o).addEventListener("finish",()=>{this.icon.style.transform=this.getIconRotation(i)}),this.animation.addEventListener("finish",()=>this.animationEnd(i))}animationEnd(n){this.el.open=n,this.animation=void 0,this.el.style.height="auto",this.el.style.overflow="visible",this.setLocalStorage(n)}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.open}setLocalStorage(n,r=!1){this.fromLocalStorage()===n&&!r||(Q.setItem(this.key,n.toString()),this.el.open=n,this.handleValueChange(r))}handleValueChange(n=!1){this.fromLocalStorage()===this.el.open&&!n||(this.fromLocalStorage()?this.expand(!1):this.collapse(!1))}};function be(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,Ee(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),Ee(t.value)})}function Ee(t){document.documentElement.dataset.theme=t}ve();j(X,".menu-highlight");j(K,"a[data-toggle]");j(te,".tsd-index-accordion");j(ee,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("theme");Se&&be(Se);var Be=new Y;Object.defineProperty(window,"app",{value:Be});})(); +/*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + */ +/*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */ +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ diff --git a/docs/v3.0/assets/search.js b/docs/v3.0/assets/search.js new file mode 100644 index 0000000..b237041 --- /dev/null +++ b/docs/v3.0/assets/search.js @@ -0,0 +1 @@ +window.searchData = JSON.parse("{\"kinds\":{\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\",\"4194304\":\"Type alias\"},\"rows\":[{\"kind\":128,\"name\":\"ROCrate\",\"url\":\"classes/ROCrate.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":1024,\"name\":\"defaults\",\"url\":\"classes/ROCrate.html#defaults-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"ro_crate_name\",\"url\":\"classes/ROCrate.html#__type-6.ro_crate_name-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataID\",\"url\":\"classes/ROCrate.html#__type-6.roCrateMetadataID-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataIDs\",\"url\":\"classes/ROCrate.html#__type-6.roCrateMetadataIDs-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"context\",\"url\":\"classes/ROCrate.html#__type-6.context-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"render_script\",\"url\":\"classes/ROCrate.html#__type-6.render_script-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_links\",\"url\":\"classes/ROCrate.html#__type-6.back_links-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-7\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_back_links\",\"url\":\"classes/ROCrate.html#__type-6.back_back_links-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"datasetTemplate\",\"url\":\"classes/ROCrate.html#__type-6.datasetTemplate-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-8\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-6.__type-8._type-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-6.__type-8._id-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"metadataFileDescriptorTemplate\",\"url\":\"classes/ROCrate.html#__type-6.metadataFileDescriptorTemplate-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-9\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-6.__type-9._type-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-6.__type-9._id-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"identifier\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.identifier-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"about\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.about-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.__type-10\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.__type-10._id-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type.__type\"},{\"kind\":1024,\"name\":\"ROCrate_Specification_Identifier\",\"url\":\"classes/ROCrate.html#__type-6.ROCrate_Specification_Identifier-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCratePreviewFileName\",\"url\":\"classes/ROCrate.html#__type-6.roCratePreviewFileName-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"pageSize\",\"url\":\"classes/ROCrate.html#__type-6.pageSize-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ROCrate.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"defaults\",\"url\":\"classes/ROCrate.html#defaults\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"ro_crate_name\",\"url\":\"classes/ROCrate.html#__type-1.ro_crate_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataID\",\"url\":\"classes/ROCrate.html#__type-1.roCrateMetadataID\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataIDs\",\"url\":\"classes/ROCrate.html#__type-1.roCrateMetadataIDs\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"context\",\"url\":\"classes/ROCrate.html#__type-1.context\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"render_script\",\"url\":\"classes/ROCrate.html#__type-1.render_script\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_links\",\"url\":\"classes/ROCrate.html#__type-1.back_links\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_back_links\",\"url\":\"classes/ROCrate.html#__type-1.back_back_links\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"datasetTemplate\",\"url\":\"classes/ROCrate.html#__type-1.datasetTemplate\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-3\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-1.__type-3._type\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-1.__type-3._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"metadataFileDescriptorTemplate\",\"url\":\"classes/ROCrate.html#__type-1.metadataFileDescriptorTemplate\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-4\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-1.__type-4._type-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-1.__type-4._id-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"identifier\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.identifier\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"about\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.about\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.__type-5\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.__type-5._id-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type.__type\"},{\"kind\":1024,\"name\":\"ROCrate_Specification_Identifier\",\"url\":\"classes/ROCrate.html#__type-1.ROCrate_Specification_Identifier\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCratePreviewFileName\",\"url\":\"classes/ROCrate.html#__type-1.roCratePreviewFileName\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"pageSize\",\"url\":\"classes/ROCrate.html#__type-1.pageSize\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"utils\",\"url\":\"classes/ROCrate.html#utils\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"config\",\"url\":\"classes/ROCrate.html#config\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#_context\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#_context._context-1.__type-11\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.@context.@context\"},{\"kind\":262144,\"name\":\"context\",\"url\":\"classes/ROCrate.html#context-2\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#context-2.context-3.__type-12\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.context.context\"},{\"kind\":262144,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#_graph\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"graph\",\"url\":\"classes/ROCrate.html#graph\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"graphLength\",\"url\":\"classes/ROCrate.html#graphLength\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"metadataFileEntity\",\"url\":\"classes/ROCrate.html#metadataFileEntity\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"rootDataset\",\"url\":\"classes/ROCrate.html#rootDataset\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"rootId\",\"url\":\"classes/ROCrate.html#rootId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"clone\",\"url\":\"classes/ROCrate.html#clone\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addEntity\",\"url\":\"classes/ROCrate.html#addEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteEntity\",\"url\":\"classes/ROCrate.html#deleteEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"updateEntity\",\"url\":\"classes/ROCrate.html#updateEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"updateEntityId\",\"url\":\"classes/ROCrate.html#updateEntityId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getProperty\",\"url\":\"classes/ROCrate.html#getProperty\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"setProperty\",\"url\":\"classes/ROCrate.html#setProperty\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteProperty\",\"url\":\"classes/ROCrate.html#deleteProperty\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteValues\",\"url\":\"classes/ROCrate.html#deleteValues\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addValues\",\"url\":\"classes/ROCrate.html#addValues\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getConfig\",\"url\":\"classes/ROCrate.html#getConfig\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getEntity\",\"url\":\"classes/ROCrate.html#getEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"indexOf\",\"url\":\"classes/ROCrate.html#indexOf\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getGraph\",\"url\":\"classes/ROCrate.html#getGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addProfile\",\"url\":\"classes/ROCrate.html#addProfile\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addProvenance\",\"url\":\"classes/ROCrate.html#addProvenance\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addIdentifier\",\"url\":\"classes/ROCrate.html#addIdentifier\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getIdentifier\",\"url\":\"classes/ROCrate.html#getIdentifier\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"toJSON\",\"url\":\"classes/ROCrate.html#toJSON\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-16\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON\"},{\"kind\":1024,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-16._context-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-16.__type-17\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":1024,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-16._graph-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":2048,\"name\":\"getTree\",\"url\":\"classes/ROCrate.html#getTree\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolve\",\"url\":\"classes/ROCrate.html#resolve\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveAll\",\"url\":\"classes/ROCrate.html#resolveAll\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"uniqueId\",\"url\":\"classes/ROCrate.html#uniqueId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"flatify\",\"url\":\"classes/ROCrate.html#flatify\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveContext\",\"url\":\"classes/ROCrate.html#resolveContext\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getDefinition\",\"url\":\"classes/ROCrate.html#getDefinition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getDefinition.getDefinition-1.__type-13\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.getDefinition.getDefinition\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#getDefinition.getDefinition-1.__type-13._id-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getDefinition.getDefinition.__type\"},{\"kind\":2048,\"name\":\"addContext\",\"url\":\"classes/ROCrate.html#addContext\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveTerm\",\"url\":\"classes/ROCrate.html#resolveTerm\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"hasType\",\"url\":\"classes/ROCrate.html#hasType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addItem\",\"url\":\"classes/ROCrate.html#addItem\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteItem\",\"url\":\"classes/ROCrate.html#deleteItem\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addBackLinks\",\"url\":\"classes/ROCrate.html#addBackLinks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"dedupeSubgraphs\",\"url\":\"classes/ROCrate.html#dedupeSubgraphs\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"index\",\"url\":\"classes/ROCrate.html#index\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"pushValue\",\"url\":\"classes/ROCrate.html#pushValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"changeGraphId\",\"url\":\"classes/ROCrate.html#changeGraphId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getItem\",\"url\":\"classes/ROCrate.html#getItem\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getFlatGraph\",\"url\":\"classes/ROCrate.html#getFlatGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getRootDataset\",\"url\":\"classes/ROCrate.html#getRootDataset\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getRootId\",\"url\":\"classes/ROCrate.html#getRootId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getJson\",\"url\":\"classes/ROCrate.html#getJson\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson\"},{\"kind\":1024,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14._context-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14.__type-15\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":1024,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14._graph-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":2048,\"name\":\"getNamedIdentifier\",\"url\":\"classes/ROCrate.html#getNamedIdentifier\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"serializeGraph\",\"url\":\"classes/ROCrate.html#serializeGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"toGraph\",\"url\":\"classes/ROCrate.html#toGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getNormalizedTree\",\"url\":\"classes/ROCrate.html#getNormalizedTree\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"objectify\",\"url\":\"classes/ROCrate.html#objectify\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":128,\"name\":\"Checker\",\"url\":\"classes/Checker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Checker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"crate\",\"url\":\"classes/Checker.html#crate\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"checklist\",\"url\":\"classes/Checker.html#checklist\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasContext\",\"url\":\"classes/Checker.html#hasContext\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasRootDataset\",\"url\":\"classes/Checker.html#hasRootDataset\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasRootDatasetWithProperID\",\"url\":\"classes/Checker.html#hasRootDatasetWithProperID\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasName\",\"url\":\"classes/Checker.html#hasName\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasDescription\",\"url\":\"classes/Checker.html#hasDescription\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasAuthor\",\"url\":\"classes/Checker.html#hasAuthor\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasLicense\",\"url\":\"classes/Checker.html#hasLicense\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasDatePublished\",\"url\":\"classes/Checker.html#hasDatePublished\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasContactPoint\",\"url\":\"classes/Checker.html#hasContactPoint\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"check\",\"url\":\"classes/Checker.html#check\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"isROCrate\",\"url\":\"classes/Checker.html#isROCrate\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"summarize\",\"url\":\"classes/Checker.html#summarize\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"report\",\"url\":\"classes/Checker.html#report\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"validate\",\"url\":\"classes/Checker.html#validate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":128,\"name\":\"CheckItem\",\"url\":\"classes/CheckItem.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/CheckItem.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"classes/CheckItem.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"message\",\"url\":\"classes/CheckItem.html#message\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/CheckItem.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"diagnostics\",\"url\":\"classes/CheckItem.html#diagnostics\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":128,\"name\":\"Utils\",\"url\":\"classes/Utils.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"hasType\",\"url\":\"classes/Utils.html#hasType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/Utils.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"asArray\",\"url\":\"classes/Utils.html#asArray\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"asArrayRef\",\"url\":\"classes/Utils.html#asArrayRef\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"addType\",\"url\":\"classes/Utils.html#addType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/Utils.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"union\",\"url\":\"classes/Utils.html#union\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"clone\",\"url\":\"classes/Utils.html#clone\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"countProp\",\"url\":\"classes/Utils.html#countProp\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"isEqual\",\"url\":\"classes/Utils.html#isEqual\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"isEqualRef\",\"url\":\"classes/Utils.html#isEqualRef\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"exists\",\"url\":\"classes/Utils.html#exists\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Utils.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":4194304,\"name\":\"RawEntity\",\"url\":\"types/RawEntity.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/RawEntity.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"RawEntity\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/RawEntity.html#__type._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"RawEntity.__type\"},{\"kind\":4194304,\"name\":\"Entity\",\"url\":\"types/Entity.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Entity.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"Entity\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/Entity.html#__type._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"},{\"kind\":1024,\"name\":\"@reverse\",\"url\":\"types/Entity.html#__type._reverse\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"},{\"kind\":2048,\"name\":\"toJSON\",\"url\":\"types/Entity.html#__type.toJSON\",\"classes\":\"tsd-kind-method tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,47.185]],[\"comment/0\",[]],[\"name/1\",[1,42.077]],[\"comment/1\",[]],[\"name/2\",[2,21.035]],[\"comment/2\",[]],[\"name/3\",[3,42.077]],[\"comment/3\",[]],[\"name/4\",[4,42.077]],[\"comment/4\",[]],[\"name/5\",[5,42.077]],[\"comment/5\",[]],[\"name/6\",[6,32.522]],[\"comment/6\",[]],[\"name/7\",[7,42.077]],[\"comment/7\",[]],[\"name/8\",[8,42.077]],[\"comment/8\",[]],[\"name/9\",[2,21.035]],[\"comment/9\",[]],[\"name/10\",[9,42.077]],[\"comment/10\",[]],[\"name/11\",[10,42.077]],[\"comment/11\",[]],[\"name/12\",[2,21.035]],[\"comment/12\",[]],[\"name/13\",[11,36.199]],[\"comment/13\",[]],[\"name/14\",[12,28.727]],[\"comment/14\",[]],[\"name/15\",[13,42.077]],[\"comment/15\",[]],[\"name/16\",[2,21.035]],[\"comment/16\",[]],[\"name/17\",[11,36.199]],[\"comment/17\",[]],[\"name/18\",[12,28.727]],[\"comment/18\",[]],[\"name/19\",[14,42.077]],[\"comment/19\",[]],[\"name/20\",[15,42.077]],[\"comment/20\",[]],[\"name/21\",[2,21.035]],[\"comment/21\",[]],[\"name/22\",[12,28.727]],[\"comment/22\",[]],[\"name/23\",[16,42.077]],[\"comment/23\",[]],[\"name/24\",[17,42.077]],[\"comment/24\",[]],[\"name/25\",[18,42.077]],[\"comment/25\",[]],[\"name/26\",[19,36.199]],[\"comment/26\",[]],[\"name/27\",[1,42.077]],[\"comment/27\",[]],[\"name/28\",[2,21.035]],[\"comment/28\",[]],[\"name/29\",[3,42.077]],[\"comment/29\",[]],[\"name/30\",[4,42.077]],[\"comment/30\",[]],[\"name/31\",[5,42.077]],[\"comment/31\",[]],[\"name/32\",[6,32.522]],[\"comment/32\",[]],[\"name/33\",[7,42.077]],[\"comment/33\",[]],[\"name/34\",[8,42.077]],[\"comment/34\",[]],[\"name/35\",[2,21.035]],[\"comment/35\",[]],[\"name/36\",[9,42.077]],[\"comment/36\",[]],[\"name/37\",[10,42.077]],[\"comment/37\",[]],[\"name/38\",[2,21.035]],[\"comment/38\",[]],[\"name/39\",[11,36.199]],[\"comment/39\",[]],[\"name/40\",[12,28.727]],[\"comment/40\",[]],[\"name/41\",[13,42.077]],[\"comment/41\",[]],[\"name/42\",[2,21.035]],[\"comment/42\",[]],[\"name/43\",[11,36.199]],[\"comment/43\",[]],[\"name/44\",[12,28.727]],[\"comment/44\",[]],[\"name/45\",[14,42.077]],[\"comment/45\",[]],[\"name/46\",[15,42.077]],[\"comment/46\",[]],[\"name/47\",[2,21.035]],[\"comment/47\",[]],[\"name/48\",[12,28.727]],[\"comment/48\",[]],[\"name/49\",[16,42.077]],[\"comment/49\",[]],[\"name/50\",[17,42.077]],[\"comment/50\",[]],[\"name/51\",[18,42.077]],[\"comment/51\",[]],[\"name/52\",[20,42.077]],[\"comment/52\",[]],[\"name/53\",[21,47.185]],[\"comment/53\",[]],[\"name/54\",[2,21.035]],[\"comment/54\",[]],[\"name/55\",[6,32.522]],[\"comment/55\",[]],[\"name/56\",[2,21.035]],[\"comment/56\",[]],[\"name/57\",[6,32.522]],[\"comment/57\",[]],[\"name/58\",[2,21.035]],[\"comment/58\",[]],[\"name/59\",[22,36.199]],[\"comment/59\",[]],[\"name/60\",[22,36.199]],[\"comment/60\",[]],[\"name/61\",[23,47.185]],[\"comment/61\",[]],[\"name/62\",[24,47.185]],[\"comment/62\",[]],[\"name/63\",[25,47.185]],[\"comment/63\",[]],[\"name/64\",[26,47.185]],[\"comment/64\",[]],[\"name/65\",[27,42.077]],[\"comment/65\",[]],[\"name/66\",[28,47.185]],[\"comment/66\",[]],[\"name/67\",[29,47.185]],[\"comment/67\",[]],[\"name/68\",[30,47.185]],[\"comment/68\",[]],[\"name/69\",[31,47.185]],[\"comment/69\",[]],[\"name/70\",[32,47.185]],[\"comment/70\",[]],[\"name/71\",[33,47.185]],[\"comment/71\",[]],[\"name/72\",[34,47.185]],[\"comment/72\",[]],[\"name/73\",[35,47.185]],[\"comment/73\",[]],[\"name/74\",[36,47.185]],[\"comment/74\",[]],[\"name/75\",[37,47.185]],[\"comment/75\",[]],[\"name/76\",[38,47.185]],[\"comment/76\",[]],[\"name/77\",[39,47.185]],[\"comment/77\",[]],[\"name/78\",[40,47.185]],[\"comment/78\",[]],[\"name/79\",[41,47.185]],[\"comment/79\",[]],[\"name/80\",[42,47.185]],[\"comment/80\",[]],[\"name/81\",[43,47.185]],[\"comment/81\",[]],[\"name/82\",[44,47.185]],[\"comment/82\",[]],[\"name/83\",[45,42.077]],[\"comment/83\",[]],[\"name/84\",[2,21.035]],[\"comment/84\",[]],[\"name/85\",[6,32.522]],[\"comment/85\",[]],[\"name/86\",[2,21.035]],[\"comment/86\",[]],[\"name/87\",[22,36.199]],[\"comment/87\",[]],[\"name/88\",[46,47.185]],[\"comment/88\",[]],[\"name/89\",[47,47.185]],[\"comment/89\",[]],[\"name/90\",[48,47.185]],[\"comment/90\",[]],[\"name/91\",[49,47.185]],[\"comment/91\",[]],[\"name/92\",[50,47.185]],[\"comment/92\",[]],[\"name/93\",[51,47.185]],[\"comment/93\",[]],[\"name/94\",[52,47.185]],[\"comment/94\",[]],[\"name/95\",[2,21.035]],[\"comment/95\",[]],[\"name/96\",[12,28.727]],[\"comment/96\",[]],[\"name/97\",[53,47.185]],[\"comment/97\",[]],[\"name/98\",[54,47.185]],[\"comment/98\",[]],[\"name/99\",[55,42.077]],[\"comment/99\",[]],[\"name/100\",[56,47.185]],[\"comment/100\",[]],[\"name/101\",[57,47.185]],[\"comment/101\",[]],[\"name/102\",[58,47.185]],[\"comment/102\",[]],[\"name/103\",[59,47.185]],[\"comment/103\",[]],[\"name/104\",[60,47.185]],[\"comment/104\",[]],[\"name/105\",[61,47.185]],[\"comment/105\",[]],[\"name/106\",[62,47.185]],[\"comment/106\",[]],[\"name/107\",[63,47.185]],[\"comment/107\",[]],[\"name/108\",[64,47.185]],[\"comment/108\",[]],[\"name/109\",[65,47.185]],[\"comment/109\",[]],[\"name/110\",[66,47.185]],[\"comment/110\",[]],[\"name/111\",[67,47.185]],[\"comment/111\",[]],[\"name/112\",[2,21.035]],[\"comment/112\",[]],[\"name/113\",[6,32.522]],[\"comment/113\",[]],[\"name/114\",[2,21.035]],[\"comment/114\",[]],[\"name/115\",[22,36.199]],[\"comment/115\",[]],[\"name/116\",[68,47.185]],[\"comment/116\",[]],[\"name/117\",[69,47.185]],[\"comment/117\",[]],[\"name/118\",[70,47.185]],[\"comment/118\",[]],[\"name/119\",[71,47.185]],[\"comment/119\",[]],[\"name/120\",[72,47.185]],[\"comment/120\",[]],[\"name/121\",[73,47.185]],[\"comment/121\",[]],[\"name/122\",[19,36.199]],[\"comment/122\",[]],[\"name/123\",[74,47.185]],[\"comment/123\",[]],[\"name/124\",[75,47.185]],[\"comment/124\",[]],[\"name/125\",[76,47.185]],[\"comment/125\",[]],[\"name/126\",[77,47.185]],[\"comment/126\",[]],[\"name/127\",[78,47.185]],[\"comment/127\",[]],[\"name/128\",[79,47.185]],[\"comment/128\",[]],[\"name/129\",[80,47.185]],[\"comment/129\",[]],[\"name/130\",[81,47.185]],[\"comment/130\",[]],[\"name/131\",[82,47.185]],[\"comment/131\",[]],[\"name/132\",[83,47.185]],[\"comment/132\",[]],[\"name/133\",[84,47.185]],[\"comment/133\",[]],[\"name/134\",[85,47.185]],[\"comment/134\",[]],[\"name/135\",[86,47.185]],[\"comment/135\",[]],[\"name/136\",[87,47.185]],[\"comment/136\",[]],[\"name/137\",[88,47.185]],[\"comment/137\",[]],[\"name/138\",[89,47.185]],[\"comment/138\",[]],[\"name/139\",[90,47.185]],[\"comment/139\",[]],[\"name/140\",[19,36.199]],[\"comment/140\",[]],[\"name/141\",[91,47.185]],[\"comment/141\",[]],[\"name/142\",[92,47.185]],[\"comment/142\",[]],[\"name/143\",[93,47.185]],[\"comment/143\",[]],[\"name/144\",[94,47.185]],[\"comment/144\",[]],[\"name/145\",[20,42.077]],[\"comment/145\",[]],[\"name/146\",[55,42.077]],[\"comment/146\",[]],[\"name/147\",[95,47.185]],[\"comment/147\",[]],[\"name/148\",[96,47.185]],[\"comment/148\",[]],[\"name/149\",[97,47.185]],[\"comment/149\",[]],[\"name/150\",[98,47.185]],[\"comment/150\",[]],[\"name/151\",[99,47.185]],[\"comment/151\",[]],[\"name/152\",[100,47.185]],[\"comment/152\",[]],[\"name/153\",[27,42.077]],[\"comment/153\",[]],[\"name/154\",[101,47.185]],[\"comment/154\",[]],[\"name/155\",[102,47.185]],[\"comment/155\",[]],[\"name/156\",[103,47.185]],[\"comment/156\",[]],[\"name/157\",[104,47.185]],[\"comment/157\",[]],[\"name/158\",[19,36.199]],[\"comment/158\",[]],[\"name/159\",[105,47.185]],[\"comment/159\",[]],[\"name/160\",[2,21.035]],[\"comment/160\",[]],[\"name/161\",[12,28.727]],[\"comment/161\",[]],[\"name/162\",[106,47.185]],[\"comment/162\",[]],[\"name/163\",[2,21.035]],[\"comment/163\",[]],[\"name/164\",[12,28.727]],[\"comment/164\",[]],[\"name/165\",[107,47.185]],[\"comment/165\",[]],[\"name/166\",[45,42.077]],[\"comment/166\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":2,\"name\":{\"2\":{},\"9\":{},\"12\":{},\"16\":{},\"21\":{},\"28\":{},\"35\":{},\"38\":{},\"42\":{},\"47\":{},\"54\":{},\"56\":{},\"58\":{},\"84\":{},\"86\":{},\"95\":{},\"112\":{},\"114\":{},\"160\":{},\"163\":{}},\"comment\":{}}],[\"about\",{\"_index\":15,\"name\":{\"20\":{},\"46\":{}},\"comment\":{}}],[\"add\",{\"_index\":99,\"name\":{\"151\":{}},\"comment\":{}}],[\"addbacklinks\",{\"_index\":58,\"name\":{\"102\":{}},\"comment\":{}}],[\"addcontext\",{\"_index\":53,\"name\":{\"97\":{}},\"comment\":{}}],[\"addentity\",{\"_index\":28,\"name\":{\"66\":{}},\"comment\":{}}],[\"addidentifier\",{\"_index\":43,\"name\":{\"81\":{}},\"comment\":{}}],[\"additem\",{\"_index\":56,\"name\":{\"100\":{}},\"comment\":{}}],[\"addprofile\",{\"_index\":41,\"name\":{\"79\":{}},\"comment\":{}}],[\"addprovenance\",{\"_index\":42,\"name\":{\"80\":{}},\"comment\":{}}],[\"addtype\",{\"_index\":98,\"name\":{\"150\":{}},\"comment\":{}}],[\"addvalues\",{\"_index\":36,\"name\":{\"74\":{}},\"comment\":{}}],[\"asarray\",{\"_index\":96,\"name\":{\"148\":{}},\"comment\":{}}],[\"asarrayref\",{\"_index\":97,\"name\":{\"149\":{}},\"comment\":{}}],[\"back_back_links\",{\"_index\":9,\"name\":{\"10\":{},\"36\":{}},\"comment\":{}}],[\"back_links\",{\"_index\":8,\"name\":{\"8\":{},\"34\":{}},\"comment\":{}}],[\"changegraphid\",{\"_index\":62,\"name\":{\"106\":{}},\"comment\":{}}],[\"check\",{\"_index\":85,\"name\":{\"134\":{}},\"comment\":{}}],[\"checker\",{\"_index\":73,\"name\":{\"121\":{}},\"comment\":{}}],[\"checkitem\",{\"_index\":90,\"name\":{\"139\":{}},\"comment\":{}}],[\"checklist\",{\"_index\":75,\"name\":{\"124\":{}},\"comment\":{}}],[\"clone\",{\"_index\":27,\"name\":{\"65\":{},\"153\":{}},\"comment\":{}}],[\"config\",{\"_index\":21,\"name\":{\"53\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":19,\"name\":{\"26\":{},\"122\":{},\"140\":{},\"158\":{}},\"comment\":{}}],[\"context\",{\"_index\":6,\"name\":{\"6\":{},\"32\":{},\"55\":{},\"57\":{},\"85\":{},\"113\":{}},\"comment\":{}}],[\"countprop\",{\"_index\":101,\"name\":{\"154\":{}},\"comment\":{}}],[\"crate\",{\"_index\":74,\"name\":{\"123\":{}},\"comment\":{}}],[\"datasettemplate\",{\"_index\":10,\"name\":{\"11\":{},\"37\":{}},\"comment\":{}}],[\"dedupesubgraphs\",{\"_index\":59,\"name\":{\"103\":{}},\"comment\":{}}],[\"defaults\",{\"_index\":1,\"name\":{\"1\":{},\"27\":{}},\"comment\":{}}],[\"deleteentity\",{\"_index\":29,\"name\":{\"67\":{}},\"comment\":{}}],[\"deleteitem\",{\"_index\":57,\"name\":{\"101\":{}},\"comment\":{}}],[\"deleteproperty\",{\"_index\":34,\"name\":{\"72\":{}},\"comment\":{}}],[\"deletevalues\",{\"_index\":35,\"name\":{\"73\":{}},\"comment\":{}}],[\"diagnostics\",{\"_index\":94,\"name\":{\"144\":{}},\"comment\":{}}],[\"entity\",{\"_index\":106,\"name\":{\"162\":{}},\"comment\":{}}],[\"exists\",{\"_index\":104,\"name\":{\"157\":{}},\"comment\":{}}],[\"flatify\",{\"_index\":50,\"name\":{\"92\":{}},\"comment\":{}}],[\"getconfig\",{\"_index\":37,\"name\":{\"75\":{}},\"comment\":{}}],[\"getdefinition\",{\"_index\":52,\"name\":{\"94\":{}},\"comment\":{}}],[\"getentity\",{\"_index\":38,\"name\":{\"76\":{}},\"comment\":{}}],[\"getflatgraph\",{\"_index\":64,\"name\":{\"108\":{}},\"comment\":{}}],[\"getgraph\",{\"_index\":40,\"name\":{\"78\":{}},\"comment\":{}}],[\"getidentifier\",{\"_index\":44,\"name\":{\"82\":{}},\"comment\":{}}],[\"getitem\",{\"_index\":63,\"name\":{\"107\":{}},\"comment\":{}}],[\"getjson\",{\"_index\":67,\"name\":{\"111\":{}},\"comment\":{}}],[\"getnamedidentifier\",{\"_index\":68,\"name\":{\"116\":{}},\"comment\":{}}],[\"getnormalizedtree\",{\"_index\":71,\"name\":{\"119\":{}},\"comment\":{}}],[\"getproperty\",{\"_index\":32,\"name\":{\"70\":{}},\"comment\":{}}],[\"getrootdataset\",{\"_index\":65,\"name\":{\"109\":{}},\"comment\":{}}],[\"getrootid\",{\"_index\":66,\"name\":{\"110\":{}},\"comment\":{}}],[\"gettree\",{\"_index\":46,\"name\":{\"88\":{}},\"comment\":{}}],[\"graph\",{\"_index\":22,\"name\":{\"59\":{},\"60\":{},\"87\":{},\"115\":{}},\"comment\":{}}],[\"graphlength\",{\"_index\":23,\"name\":{\"61\":{}},\"comment\":{}}],[\"has\",{\"_index\":95,\"name\":{\"147\":{}},\"comment\":{}}],[\"hasauthor\",{\"_index\":81,\"name\":{\"130\":{}},\"comment\":{}}],[\"hascontactpoint\",{\"_index\":84,\"name\":{\"133\":{}},\"comment\":{}}],[\"hascontext\",{\"_index\":76,\"name\":{\"125\":{}},\"comment\":{}}],[\"hasdatepublished\",{\"_index\":83,\"name\":{\"132\":{}},\"comment\":{}}],[\"hasdescription\",{\"_index\":80,\"name\":{\"129\":{}},\"comment\":{}}],[\"haslicense\",{\"_index\":82,\"name\":{\"131\":{}},\"comment\":{}}],[\"hasname\",{\"_index\":79,\"name\":{\"128\":{}},\"comment\":{}}],[\"hasrootdataset\",{\"_index\":77,\"name\":{\"126\":{}},\"comment\":{}}],[\"hasrootdatasetwithproperid\",{\"_index\":78,\"name\":{\"127\":{}},\"comment\":{}}],[\"hastype\",{\"_index\":55,\"name\":{\"99\":{},\"146\":{}},\"comment\":{}}],[\"id\",{\"_index\":12,\"name\":{\"14\":{},\"18\":{},\"22\":{},\"40\":{},\"44\":{},\"48\":{},\"96\":{},\"161\":{},\"164\":{}},\"comment\":{}}],[\"identifier\",{\"_index\":14,\"name\":{\"19\":{},\"45\":{}},\"comment\":{}}],[\"index\",{\"_index\":60,\"name\":{\"104\":{}},\"comment\":{}}],[\"indexof\",{\"_index\":39,\"name\":{\"77\":{}},\"comment\":{}}],[\"isequal\",{\"_index\":102,\"name\":{\"155\":{}},\"comment\":{}}],[\"isequalref\",{\"_index\":103,\"name\":{\"156\":{}},\"comment\":{}}],[\"isrocrate\",{\"_index\":86,\"name\":{\"135\":{}},\"comment\":{}}],[\"message\",{\"_index\":92,\"name\":{\"142\":{}},\"comment\":{}}],[\"metadatafiledescriptortemplate\",{\"_index\":13,\"name\":{\"15\":{},\"41\":{}},\"comment\":{}}],[\"metadatafileentity\",{\"_index\":24,\"name\":{\"62\":{}},\"comment\":{}}],[\"name\",{\"_index\":91,\"name\":{\"141\":{}},\"comment\":{}}],[\"objectify\",{\"_index\":72,\"name\":{\"120\":{}},\"comment\":{}}],[\"pagesize\",{\"_index\":18,\"name\":{\"25\":{},\"51\":{}},\"comment\":{}}],[\"pushvalue\",{\"_index\":61,\"name\":{\"105\":{}},\"comment\":{}}],[\"rawentity\",{\"_index\":105,\"name\":{\"159\":{}},\"comment\":{}}],[\"render_script\",{\"_index\":7,\"name\":{\"7\":{},\"33\":{}},\"comment\":{}}],[\"report\",{\"_index\":88,\"name\":{\"137\":{}},\"comment\":{}}],[\"resolve\",{\"_index\":47,\"name\":{\"89\":{}},\"comment\":{}}],[\"resolveall\",{\"_index\":48,\"name\":{\"90\":{}},\"comment\":{}}],[\"resolvecontext\",{\"_index\":51,\"name\":{\"93\":{}},\"comment\":{}}],[\"resolveterm\",{\"_index\":54,\"name\":{\"98\":{}},\"comment\":{}}],[\"reverse\",{\"_index\":107,\"name\":{\"165\":{}},\"comment\":{}}],[\"ro_crate_name\",{\"_index\":3,\"name\":{\"3\":{},\"29\":{}},\"comment\":{}}],[\"rocrate\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"rocrate_specification_identifier\",{\"_index\":16,\"name\":{\"23\":{},\"49\":{}},\"comment\":{}}],[\"rocratemetadataid\",{\"_index\":4,\"name\":{\"4\":{},\"30\":{}},\"comment\":{}}],[\"rocratemetadataids\",{\"_index\":5,\"name\":{\"5\":{},\"31\":{}},\"comment\":{}}],[\"rocratepreviewfilename\",{\"_index\":17,\"name\":{\"24\":{},\"50\":{}},\"comment\":{}}],[\"rootdataset\",{\"_index\":25,\"name\":{\"63\":{}},\"comment\":{}}],[\"rootid\",{\"_index\":26,\"name\":{\"64\":{}},\"comment\":{}}],[\"serializegraph\",{\"_index\":69,\"name\":{\"117\":{}},\"comment\":{}}],[\"setproperty\",{\"_index\":33,\"name\":{\"71\":{}},\"comment\":{}}],[\"status\",{\"_index\":93,\"name\":{\"143\":{}},\"comment\":{}}],[\"summarize\",{\"_index\":87,\"name\":{\"136\":{}},\"comment\":{}}],[\"tograph\",{\"_index\":70,\"name\":{\"118\":{}},\"comment\":{}}],[\"tojson\",{\"_index\":45,\"name\":{\"83\":{},\"166\":{}},\"comment\":{}}],[\"type\",{\"_index\":11,\"name\":{\"13\":{},\"17\":{},\"39\":{},\"43\":{}},\"comment\":{}}],[\"union\",{\"_index\":100,\"name\":{\"152\":{}},\"comment\":{}}],[\"uniqueid\",{\"_index\":49,\"name\":{\"91\":{}},\"comment\":{}}],[\"updateentity\",{\"_index\":30,\"name\":{\"68\":{}},\"comment\":{}}],[\"updateentityid\",{\"_index\":31,\"name\":{\"69\":{}},\"comment\":{}}],[\"utils\",{\"_index\":20,\"name\":{\"52\":{},\"145\":{}},\"comment\":{}}],[\"validate\",{\"_index\":89,\"name\":{\"138\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/v3.0/assets/style.css b/docs/v3.0/assets/style.css new file mode 100644 index 0000000..958d2c2 --- /dev/null +++ b/docs/v3.0/assets/style.css @@ -0,0 +1,1225 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-text: #222; + --light-color-text-aside: #707070; + --light-color-link: #4da6ff; + --light-color-ts: #db1373; + --light-color-ts-interface: #139d2c; + --light-color-ts-enum: #9c891a; + --light-color-ts-class: #2484e5; + --light-color-ts-function: #572be7; + --light-color-ts-namespace: #b111c9; + --light-color-ts-private: #707070; + --light-color-ts-variable: #4d68ff; + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + --dark-color-ts: #ff6492; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-class: #61b0ff; + --dark-color-ts-function: #9772ff; + --dark-color-ts-namespace: #e14dff; + --dark-color-ts-private: #e2e2e2; + --dark-color-ts-variable: #4d68ff; + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-function: var(--light-color-ts-function); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-private: var(--light-color-ts-private); + --color-ts-variable: var(--light-color-ts-variable); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-private: var(--dark-color-ts-private); + --color-ts-variable: var(--dark-color-ts-variable); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-function: var(--light-color-ts-function); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-private: var(--light-color-ts-private); + --color-ts-variable: var(--light-color-ts-variable); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-private: var(--dark-color-ts-private); + --color-ts-variable: var(--dark-color-ts-variable); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1600px; + padding: 0 2rem; +} + +@media (min-width: 640px) { + .container { + padding: 0 4rem; + } +} +@media (min-width: 1200px) { + .container { + padding: 0 8rem; + } +} +@media (min-width: 1600px) { + .container { + padding: 0 12rem; + } +} + +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} + +.tsd-generator > p { + margin-top: 0; + margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + display: flex; + justify-content: space-between; + position: relative; + margin: 0 auto; +} + +.col-4, +.col-8 { + box-sizing: border-box; + float: left; + padding: 2rem 1rem; +} + +.col-4 { + flex: 0 0 25%; +} +.col-8 { + flex: 1 0; + flex-wrap: wrap; + padding-left: 0; +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes shift-to-left { + from { + transform: translate(0, 0); + } + to { + transform: translate(-25%, 0); + } +} +@keyframes unshift-to-left { + from { + transform: translate(-25%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + padding: 10px; + border: 0.1em solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography h4, +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; + margin: 0; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} + +@media (max-width: 1024px) { + html .col-content { + float: none; + max-width: 100%; + width: 100%; + padding-top: 3rem; + } + html .col-menu { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + max-width: 25rem; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-menu > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu :is(header, footer, .col-content) { + animation: shift-to-left 0.4s; + } + + .to-has-menu .col-menu { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu :is(header, footer, .col-content) { + animation: unshift-to-left 0.4s; + } + + .from-has-menu .col-menu { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu :is(header, footer, .col-content) { + transform: translate(-25%, 0); + } + .has-menu .col-menu { + visibility: visible; + transform: translate(0, 0); + display: grid; + align-items: center; + grid-template-rows: auto 1fr; + grid-gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} +.tsd-index-panel a, +.tsd-index-panel a.tsd-parent-kind-module { + color: var(--color-ts); +} +.tsd-index-panel a.tsd-parent-kind-interface { + color: var(--color-ts-interface); +} +.tsd-index-panel a.tsd-parent-kind-enum { + color: var(--color-ts-enum); +} +.tsd-index-panel a.tsd-parent-kind-class { + color: var(--color-ts-class); +} +.tsd-index-panel a.tsd-kind-module { + color: var(--color-ts-namespace); +} +.tsd-index-panel a.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-index-panel a.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-index-panel a.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-index-panel a.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-index-panel a.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-index-panel a.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-index-panel a.tsd-is-private { + color: var(--color-ts-private); +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: absolute; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} +.tsd-member [data-tsd-kind] { + color: var(--color-ts); +} +.tsd-member [data-tsd-kind="Interface"] { + color: var(--color-ts-interface); +} +.tsd-member [data-tsd-kind="Enum"] { + color: var(--color-ts-enum); +} +.tsd-member [data-tsd-kind="Class"] { + color: var(--color-ts-class); +} +.tsd-member [data-tsd-kind="Private"] { + color: var(--color-ts-private); +} + +.tsd-navigation a { + display: block; + margin: 0.4rem 0; + border-left: 2px solid transparent; + color: var(--color-text); + text-decoration: none; + transition: border-left-color 0.1s; +} +.tsd-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul { + margin: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li { + padding: 0; +} + +.tsd-navigation.primary .tsd-accordion-details > ul { + margin-top: 0.75rem; +} +.tsd-navigation.primary a { + padding: 0.75rem 0.5rem; + margin: 0; +} +.tsd-navigation.primary ul li a { + margin-left: 0.5rem; +} +.tsd-navigation.primary ul li li a { + margin-left: 1.5rem; +} +.tsd-navigation.primary ul li li li a { + margin-left: 2.5rem; +} +.tsd-navigation.primary ul li li li li a { + margin-left: 3.5rem; +} +.tsd-navigation.primary ul li li li li li a { + margin-left: 4.5rem; +} +.tsd-navigation.primary ul li li li li li li a { + margin-left: 5.5rem; +} +.tsd-navigation.primary li.current > a { + border-left: 0.15rem var(--color-text) solid; +} +.tsd-navigation.primary li.selected > a { + font-weight: bold; + border-left: 0.2rem var(--color-text) solid; +} +.tsd-navigation.primary ul li a:hover { + border-left: 0.2rem var(--color-text-aside) solid; +} +.tsd-navigation.primary li.globals + li > span, +.tsd-navigation.primary li.globals + li > a { + padding-top: 20px; +} + +.tsd-navigation.secondary.tsd-navigation--toolbar-hide { + max-height: calc(100vh - 1rem); + top: 0.5rem; +} +.tsd-navigation.secondary > ul { + display: inline; + padding-right: 0.5rem; + transition: opacity 0.2s; +} +.tsd-navigation.secondary ul li a { + padding-left: 0; +} +.tsd-navigation.secondary ul li li a { + padding-left: 1.1rem; +} +.tsd-navigation.secondary ul li li li a { + padding-left: 2.2rem; +} +.tsd-navigation.secondary ul li li li li a { + padding-left: 3.3rem; +} +.tsd-navigation.secondary ul li li li li li a { + padding-left: 4.4rem; +} +.tsd-navigation.secondary ul li li li li li li a { + padding-left: 5.5rem; +} + +a.tsd-index-link { + margin: 0.25rem 0; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; +} +.tsd-accordion-summary > h1, +.tsd-accordion-summary > h2, +.tsd-accordion-summary > h3, +.tsd-accordion-summary > h4, +.tsd-accordion-summary > h5 { + display: inline-flex; + align-items: center; + vertical-align: middle; + margin-bottom: 0; + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; +} +.tsd-accordion-summary { + display: block; + cursor: pointer; +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; +} +.tsd-index-accordion .tsd-accordion-summary svg { + margin-right: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +@media (min-width: 1024px) { + .col-content { + margin: 2rem auto; + } + + .menu-sticky-wrap { + position: sticky; + height: calc(100vh - 2rem); + top: 4rem; + right: 0; + padding: 0 1.5rem; + padding-top: 1rem; + margin-top: 3rem; + transition: 0.3s ease-in-out; + transition-property: top, padding-top, padding, height; + overflow-y: auto; + } + .col-menu { + border-left: 1px solid var(--color-accent); + } + .col-menu--hide { + top: 1rem; + } + .col-menu .tsd-navigation:not(:last-child) { + padding-bottom: 1.75rem; + } +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: var(--color-background); +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current, +#tsd-search .results li:hover { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: fixed; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} + +.tsd-page-toolbar--hide { + transform: translateY(-100%); +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +@media (max-width: 1024px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through; +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} diff --git a/docs/v3.0/classes/CheckItem.html b/docs/v3.0/classes/CheckItem.html new file mode 100644 index 0000000..6032a2f --- /dev/null +++ b/docs/v3.0/classes/CheckItem.html @@ -0,0 +1,105 @@ +CheckItem | ro-crate - v3.0.1
+
+ +
+
+
+
+ +

Class CheckItem

+
+

Hierarchy

+
    +
  • CheckItem
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
diagnostics: any
+
+ +
message: any
+
+ +
name: any
+
+ +
status: any
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/v3.0/classes/Checker.html b/docs/v3.0/classes/Checker.html new file mode 100644 index 0000000..49d1739 --- /dev/null +++ b/docs/v3.0/classes/Checker.html @@ -0,0 +1,234 @@ +Checker | ro-crate - v3.0.1
+
+ +
+
+
+
+ +

Class Checker

+
+

Hierarchy

+
    +
  • Checker
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
checklist: any[]
+
+ +
crate: ROCrate
+
+ +
isROCrate: boolean
+
+

Methods

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Returns "This is a valid RO-Crate" | "This is not a valid RO-Crate"

+
+ +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/v3.0/classes/ROCrate.html b/docs/v3.0/classes/ROCrate.html new file mode 100644 index 0000000..03fe0a6 --- /dev/null +++ b/docs/v3.0/classes/ROCrate.html @@ -0,0 +1,1267 @@ +ROCrate | ro-crate - v3.0.1
+
+ +
+
+
+
+ +

Class ROCrate

+
+

Class for building, navigating, testing and rendering ROCrates

+ +

Todo

import validation and rendering from Calcyte

+
+
+

Hierarchy

+
    +
  • ROCrate
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +

    Create a new ROCrate object using a default template or from a valid jsonld object.

    +
    +
    +

    Parameters

    +
      +
    • +
      json: any = {}
      +

      a valid jsonld object

      +
    • +
    • +
      config: { array: boolean; duplicate: boolean; link: boolean; merge: boolean; replace: boolean } = {}
      +
        +
      • +
        array: boolean
        +

        Always return property of an Entity as an array (eg when using getEntity() method)

        +
      • +
      • +
        duplicate: boolean
        +

        Allow duplicate values in a property that has multiple values

        +
      • +
      • +
        link: boolean
        +

        Resolve linked node as nested object

        +
      • +
      • +
        merge: boolean
        +

        When replacing or updating an entity, merge the values and the properties instead of full replace

        +
      • +
      • +
        replace: boolean
        +

        When importing from json, a subsequent duplicate entity always replaces the existing one

        +
    +

    Returns ROCrate

+
+

Properties

+
+ +
config: {}
+
+

Type declaration

+
    +
    + +
    defaults: { ROCrate_Specification_Identifier: string; back_back_links: Set<any>; back_links: {}; context: (string | { @vocab: string })[]; datasetTemplate: { @id: string; @type: string }; metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }; pageSize: number; render_script: string; roCrateMetadataID: string; roCrateMetadataIDs: string[]; roCratePreviewFileName: string; ro_crate_name: string } = defaults
    +
    +

    Type declaration

    +
      +
    • +
      ROCrate_Specification_Identifier: string
    • +
    • +
      back_back_links: Set<any>
    • +
    • +
      back_links: {}
      +
      • +
      • +
        context: (string | { @vocab: string })[]
      • +
      • +
        datasetTemplate: { @id: string; @type: string }
        +
          +
        • +
          @id: string
        • +
        • +
          @type: string
      • +
      • +
        metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }
        +
          +
        • +
          @id: string
        • +
        • +
          @type: string
        • +
        • +
          about: { @id: string }
          +
            +
          • +
            @id: string
        • +
        • +
          identifier: string
      • +
      • +
        pageSize: number
      • +
      • +
        render_script: string
      • +
      • +
        roCrateMetadataID: string
      • +
      • +
        roCrateMetadataIDs: string[]
      • +
      • +
        roCratePreviewFileName: string
      • +
      • +
        ro_crate_name: string
      +
      + +
      utils: typeof Utils = Utils
      +
      +

      Deprecated

      Import Utils class directly

      +
      +
      + +
      defaults: { ROCrate_Specification_Identifier: string; back_back_links: Set<any>; back_links: {}; context: (string | { @vocab: string })[]; datasetTemplate: { @id: string; @type: string }; metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }; pageSize: number; render_script: string; roCrateMetadataID: string; roCrateMetadataIDs: string[]; roCratePreviewFileName: string; ro_crate_name: string } = defaults
      +
      +

      Type declaration

      +
        +
      • +
        ROCrate_Specification_Identifier: string
      • +
      • +
        back_back_links: Set<any>
      • +
      • +
        back_links: {}
        +
        • +
        • +
          context: (string | { @vocab: string })[]
        • +
        • +
          datasetTemplate: { @id: string; @type: string }
          +
            +
          • +
            @id: string
          • +
          • +
            @type: string
        • +
        • +
          metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }
          +
            +
          • +
            @id: string
          • +
          • +
            @type: string
          • +
          • +
            about: { @id: string }
            +
              +
            • +
              @id: string
          • +
          • +
            identifier: string
        • +
        • +
          pageSize: number
        • +
        • +
          render_script: string
        • +
        • +
          roCrateMetadataID: string
        • +
        • +
          roCrateMetadataIDs: string[]
        • +
        • +
          roCratePreviewFileName: string
        • +
        • +
          ro_crate_name: string
        +
        +

        Accessors

        +
        + +
        +
        + +
        +
        + +
          +
        • get context(): {}
        • +
        • +

          The context part of the crate. An alias for '@context'. +Calling this method before and after resolveContext may give different result.

          +
          +

          Returns {}

          +
          +
          + +
            +
          • get graph(): any[]
          • +
          • +

            An array of all nodes in the graph. An alias for '@graph'

            + +

            Returns

            +

            Returns any[]

          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          +

          Methods

          +
          + +
            + +
          • +
            +

            Deprecated

            Not required anymore. Calling this method will do nothing.

            +
            +

            Returns void

          +
          + +
            + +
          • +

            Add context

            +
            +
            +

            Parameters

            +
              +
            • +
              context: any
            +

            Returns void

          +
          + +
            + +
          • +

            Add an entity to the crate.

            + +

            Returns

            true if the entity is successfully added.

            +
            +
            +

            Parameters

            +
              +
            • +
              data: any
              +

              A valid RO-Crate entity described in plain object.

              +
            • +
            • +
              Optional replace: boolean = ...
              +

              If true, replace existing entity with the same id.

              +
            • +
            • +
              Optional recurse: boolean
              +

              If true, nested entities will be added as well.

              +
            +

            Returns boolean

          +
          + +
            + +
          • +

            Add a new identifier as a PropertyValue to the root DataSet. +identifier and name are required

            + +

            Returns

            The added identifier or undefined

            +
            +
            +

            Parameters

            +
              +
            • +
              options: { description: string; identifier: string; name: string }
              +
                +
              • +
                description: string
              • +
              • +
                identifier: string
              • +
              • +
                name: string
            +

            Returns string

          +
          + +
            + +
          • +

            This silently fails if the item has no

            + +

            Id

            or already exists - this is probably sub-optimal

            + +

            Deprecated

            Use addEntity

            +
            +
            +

            Parameters

            +
              +
            • +
              item: any
            +

            Returns boolean

          +
          + +
            + +
          • +

            Add a Profile URI to the crate

            +
            +
            +

            Parameters

            +
              +
            • +
              uri: string
              +

              A valid Profile URI

              +
            +

            Returns void

          +
          + +
            + +
          • +
            +

            Parameters

            +
              +
            • +
              prov: any
            +

            Returns void

          +
          + +
            + +
          • +

            Add one or more value to a property of an entity. +If the specified property does not exists, a new one will be set. +If the property already exists, the new value will be added to the property array.

            +
            +
            +

            Parameters

            +
              +
            • +
              idOrEntity: any
              +

              The id or the entity to add the property to

              +
            • +
            • +
              prop: string
              +

              The name of the property

              +
            • +
            • +
              values: any
              +

              The value of the property

              +
            • +
            • +
              Optional duplicate: boolean
              +

              If true, allow a property to have duplicate values in the array

              +
            +

            Returns boolean

          +
          + +
            + +
          • +
            +

            Deprecated

            Use updateEntityId

            +
            +
            +

            Parameters

            +
              +
            • +
              item: any
            • +
            • +
              newId: any
            +

            Returns boolean

          +
          + +
          +
          + +
            + +
          • +
            +

            Deprecated

            Use union, eg: union([sg1, sg2])

            +
            +
            +

            Parameters

            +
              +
            • +
              subgraphs: any
            +

            Returns any[]

          +
          + +
            + +
          • +

            Delete an entity from the graph

            + +

            Returns

            If success, return the raw data of deleted entity

            +
            +
            +

            Parameters

            +
              +
            • +
              id_or_entity: string | Entity
              +

              Entity Identifier or the entity object itself

              +
            • +
            • +
              Optional deleteRefs: boolean
              +

              Set true to delete all references to the deleted entity

              +
            +

            Returns RawEntity

          +
          + +
            + +
          • +
            +

            Deprecated

            Use deleteEntity

            + +

            Returns

            The raw data of deleted entity

            +
            +
            +

            Parameters

            +
              +
            • +
              id: string
            +

            Returns any

          +
          + +
            + +
          • +
            +

            Parameters

            +
              +
            • +
              idOrEntity: any
            • +
            • +
              prop: any
            +

            Returns any

          +
          + +
            + +
          • +

            Delete one or more values from a property.

            +
            +
            +

            Parameters

            +
              +
            • +
              idOrEntity: string | Entity
            • +
            • +
              prop: string
            • +
            • +
              values: any
            +

            Returns void

          +
          + +
            + +
          • +

            Experimental method to turn a graph into a flat dictionary eg for turning it into a table

            +
            +
            +

            Parameters

            +
              +
            • +
              item: any
            • +
            • +
              depth: any
            • +
            • +
              flatItem: any
            • +
            • +
              propPath: any
            • +
            • +
              seen: any
            +

            Returns any

          +
          + +
            + +
          • +

            Get configuration value

            +
            +
            +

            Parameters

            +
              +
            • +
              key: "replace" | "link" | "array" | "merge" | "duplicate"
              +

              Name of the config parameter

              +
            +

            Returns any

          +
          + +
            + +
          • +

            Get the context term definition. Make sure resolveContext() has been called prior calling this method.

            +
            +
            +

            Parameters

            +
              +
            • +
              term: string
            +

            Returns { @id: any }

            +
              +
            • +
              @id: any
          +
          + +
            + +
          • +

            Get an entity from the graph. +If config.link is true, any reference (object with just "@id" property) +is resolved as a nested object.

            + +

            Returns

            A wrapper for entity that resolves properties as linked objects

            +
            +
            +

            Parameters

            +
              +
            • +
              id: string
              +

              An entity identifier

              +
            +

            Returns Entity

          +
          + +
          +
          + +
            + +
          • +

            Get an array of all nodes in the graph. Each node in the array is an Entity instance. +If config.link is true, any link to other node will be made into nested object.

            + +

            Returns

            +
            +

            Parameters

            +
              +
            • +
              raw: boolean = false
              +

              If true, return the internal representation as plain object.

              +
            +

            Returns any[]

          +
          + +
            + +
          • +

            Get named identifier

            + +

            Returns

            the identifier

            +
            +
            +

            Parameters

            +
              +
            • +
              name: string
            +

            Returns string

          +
          + +
          +
          + +
            + +
          • +
            +

            Deprecated

            Use toJSON

            +
            +

            Returns { @context: {}; @graph: any[] }

            +
              +
            • +
              @context: {}
              +
              • +
              • +
                @graph: any[]
            +
            + +
            +
            + +
              + +
            • +
              +

              Deprecated

              Use getTree with the following argument: { root, depth, allowCycle: true }

              +
              +
              +

              Parameters

              +
                +
              • +
                root: any
              • +
              • +
                depth: number = 1
              +

              Returns any

            +
            + +
              + +
            • +

              Get the property of an entity

              + +

              Returns

              the value of the property

              +
              +
              +

              Parameters

              +
                +
              • +
                idOrEntity: any
              • +
              • +
                prop: string
              +

              Returns any

            +
            + +
            +
            + +
            +
            + +
              + +
            • +

              Return a JSON.stringify-ready tree structure starting from the specified item +with all values (apart from @id) as arrays +and string-values expressed like: {"@value": "string-value"}

              + +

              Returns

              the root entity

              +
              +
              +

              Parameters

              +
                +
              • +
                opt: { allowCycle: boolean; depth: number; root: any; valueObject: boolean } = {}
                +
                  +
                • +
                  allowCycle: boolean
                • +
                • +
                  depth: number
                  +

                  The number of nesting the tree will have. Must be 0 or positive integer.

                  +
                • +
                • +
                  root: any
                • +
                • +
                  valueObject: boolean
              +

              Returns any

            +
            + +
              + +
            • +

              Check if an entity has a type

              + +

              Returns

              +
              +

              Parameters

              +
                +
              • +
                item: any
              • +
              • +
                type: string
              +

              Returns boolean

            +
            + +
              + +
            • +
              +

              Deprecated

              Not required anymore. Calling this method will do nothing.

              +
              +

              Returns void

            +
            + +
              + +
            • +

              Get the index of the entity in the graph array. This is an O(n) operation.

              +
              +
              +

              Parameters

              +
                +
              • +
                entityId: string
              +

              Returns number

            +
            + +
              + +
            • +

              Create a simple tree-like object - but don't make circular structures

              + +

              Deprecated

              Use getTree with the valueObject argument set to false`

              +
              +

              Returns any

            +
            + +
              + +
            • +

              Add a value to an item's property array

              + +

              Deprecated

              Use addValues

              +
              +
              +

              Parameters

              +
                +
              • +
                item: any
              • +
              • +
                prop: string
              • +
              • +
                val: any
              • +
              • +
                allowDuplicates: boolean = false
              +

              Returns void

            +
            + +
              + +
            • +
              +

              Returns

              null, or an array of items

              +
              +
              +

              Parameters

              +
                +
              • +
                items: any
                +

                A JSON-LD item or array of [item]

                +
              • +
              • +
                pathArray: any[]
                +

                An array of objects that represents a 'path' through the graph. + Object must have a "property" to follow, eg: + resolve(item, {"property": "miltaryService"}); + and optionally a condition "includes", eg: + "includes": {"@type", "Action"}} + and optionally, a function "matchFn" which takes an item + as argument and returns a boolean, eg: + "matchFn": (item) => item['@id'].match(/anzsrc-for/)

                +
              • +
              • +
                Optional subgraph: any[]
                +

                If present and true, all intervening items during + the traversal will be stored. If an array is passed, the intervening items will be + stored in the array.

                +
              +

              Returns any[]

            +
            + +
              + +
            • +

              resolveAll does a resolve but collects and deduplicates intermediate items. +Its first returned value is the final items (ie what resolve(..)) would have returned.

              + +

              Returns

              +
              +

              Parameters

              +
                +
              • +
                items: any
              • +
              • +
                pathArray: any
              +

              Returns any[][]

            +
            + +
              + +
            • +

              Generate a local flat lookup table for context terms

              +
              +

              Returns Promise<{ _indexer: {}; getDefinition: any }>

            +
            + +
              + +
            • +
              +

              Parameters

              +
                +
              • +
                term: any
              +

              Returns any

            +
            + +
              + +
            • +
              +

              Deprecated

              Use getGraph and pass true as the argument

              +
              +

              Returns any[]

            +
            + +
              + +
            • +

              Set a property of an entity with the given value. +If a property with the same name exists, its existing value will be replaced with the specified value. +If values contain nested non-empty entities, they will be processed recursively.

              +
              +
              +

              Parameters

              +
                +
              • +
                idOrEntity: any
                +

                The id of the entity to add the property to

                +
              • +
              • +
                prop: string
                +

                The name of the property

                +
              • +
              • +
                values: any
                +

                A value or an array of values

                +
              • +
              • +
                Optional duplicate: boolean
                +

                If true, allow a property to have duplicate values

                +
              +

              Returns boolean

            +
            + +
              + +
            • +
              +

              Deprecated

              Specify {array: true, link: true} in the options when creating the ROCrate instance

              +
              +

              Returns boolean

            +
            + +
              + +
            • +

              Convert the rocrate into plain JSON object. +The value returned by this method is used when JSON.stringify() is used on the ROCrate object.

              + +

              Returns

              plain JSON object

              +
              +

              Returns { @context: {}; @graph: any[] }

              +
                +
              • +
                @context: {}
                +
                • +
                • +
                  @graph: any[]
              +
              + +
                + +
              • +

                Generate a new unique id that does not match any existing id in the graph.

                + +

                Returns

                The base suffixed with the incremental number.

                +
                +
                +

                Parameters

                +
                  +
                • +
                  base: string
                  +

                  The base string of the id.

                  +
                +

                Returns string

              +
              + +
                + +
              • +

                Update an entity by replacing the object with the same id. +This operations will remove all properties of the existing entity and +add the new ones contained in data, unless merge argument is true.

                + +

                Returns

                false if there is no existing entity with the same id or data is empty.

                +
                +
                +

                Parameters

                +
                  +
                • +
                  data: any
                • +
                • +
                  Optional merge: boolean = ...
                  +

                  If true, new properties will be merged. Defaults to config.merge.

                  +
                • +
                • +
                  Optional recurse: boolean
                  +

                  If true, nested entities will be updated as well.

                  +
                +

                Returns boolean

              +
              + +
                + +
              • +

                Change the identifier of an entity node

                +
                +
                +

                Parameters

                +
                  +
                • +
                  idOrEntity: any
                • +
                • +
                  newId: string
                +

                Returns boolean

              +
              +
              +

              Generated using TypeDoc

              +
              \ No newline at end of file diff --git a/docs/v3.0/classes/Utils.html b/docs/v3.0/classes/Utils.html new file mode 100644 index 0000000..82adf38 --- /dev/null +++ b/docs/v3.0/classes/Utils.html @@ -0,0 +1,304 @@ +Utils | ro-crate - v3.0.1
              +
              + +
              +
              +
              +
              + +

              Class Utils

              +
              +

              Utility functions for JSON-LD

              +
              +
              +

              Hierarchy

              +
                +
              • Utils
              +
              +
              +
              + +
              +
              +

              Constructors

              +
              + +
              +
              +

              Methods

              +
              + +
                + +
              • +

                Add a property to an item

                +
                +
                +

                Parameters

                +
                  +
                • +
                  item: any
                • +
                • +
                  prop: any
                • +
                • +
                  value: any
                +

                Returns void

              +
              + +
                + +
              • +

                Add a type to a JSON-LD item

                +
                +
                +

                Parameters

                +
                  +
                • +
                  item: any
                • +
                • +
                  type: any
                +

                Returns void

              +
              + +
                + +
              • +

                Normalise a value to be an array. +Always return a new instance of the array to maintain consistency

                + +

                Returns

                +
                +

                Parameters

                +
                  +
                • +
                  value: any
                +

                Returns any[]

              +
              + +
                + +
              • +

                Return the current value if it is already an array, else return a new array

                + +

                Returns

                +
                +

                Parameters

                +
                  +
                • +
                  value: any
                +

                Returns any[]

              +
              + +
                + +
              • +
                +

                Returns

                +
                +

                Type Parameters

                +
                  +
                • +

                  T

                +
                +

                Parameters

                +
                  +
                • +
                  data: T
                +

                Returns T

              +
              + +
                + +
              • +

                Count the number of properties in an object

                +
                +
                +

                Parameters

                +
                  +
                • +
                  obj: any
                +

                Returns number

              +
              + +
                + +
              • +

                Find if a value (can be primitives, object, or an entity) exists in a list of values

                + +

                Returns

                +
                +

                Parameters

                +
                  +
                • +
                  values: any[]
                • +
                • +
                  val: any
                +

                Returns boolean

              +
              + +
                + +
              • +
                +

                Returns

                +
                +

                Parameters

                +
                  +
                • +
                  item: any
                • +
                • +
                  prop: string
                • +
                • +
                  val: any
                +

                Returns boolean

              +
              + +
                + +
              • +
                +

                Returns

                +
                +

                Parameters

                +
                  +
                • +
                  item: any
                • +
                • +
                  type: string
                +

                Returns boolean

              +
              + +
                + +
              • +

                Deep comparison for JSON-serializable plain object

                +
                +
                +

                Parameters

                +
                  +
                • +
                  a: any
                • +
                • +
                  b: any
                • +
                • +
                  equalFn: any
                +

                Returns any

              +
              + +
                + +
              • +
                +

                Parameters

                +
                  +
                • +
                  a: any
                • +
                • +
                  b: any
                +

                Returns any

              +
              + +
                + +
              • +
                +

                Parameters

                +
                  +
                • +
                  Rest ...subgraphs: any[]
                +

                Returns any[]

              +
              +
              +

              Generated using TypeDoc

              +
              \ No newline at end of file diff --git a/docs/v3.0/index.html b/docs/v3.0/index.html new file mode 100644 index 0000000..af41e46 --- /dev/null +++ b/docs/v3.0/index.html @@ -0,0 +1,100 @@ +ro-crate - v3.0.1
              +
              + +
              +
              +
              +
              +

              ro-crate - v3.0.1

              +
              + +

              Research Object Crate (RO-Crate) JavaScript Library

              +
              +

              This is a JavaScript library to create and manipulate Research Object Crate.

              + + +

              Install

              +
              +

              Install the library:

              +
              npm install rocrate
              +
              + + +

              Usage

              +
              +

              Import the ROCrate class and create a new empty crate with default configurations:

              +
              const {ROCrate} = require('ro-crate');
              const crate = new ROCrate(); +
              +

              The ROCrate constructor accepts two optional arguments:

              +
              const fs = require('fs');

              // load existing metadata
              const data = JSON.parse(fs.readFileSync('ro-crate-metadata.json', 'utf8'));

              // create a crate using the existing data and
              // configure the crate to return a property of an Entity as an array and resolve linked entity as nested object
              const crate = new ROCrate(data, { array: true, link: true }); +
              +

              To add an Entity to the crate:

              +
              // A license
              const license = {
              '@id': 'https://creativecommons.org/licenses/by/4.0/',
              '@type': 'CreativeWork',
              'description': 'Attribution 4.0 International (CC BY 4.0) ...',
              'name': 'CC BY 4.0'
              };
              // add the license as an unconnected Entity
              crate.addEntity(license);

              // add the license to the root dataset
              crate.rootDataset.license = {'@id': license['@id']};
              // or alternatively, add a new entity directly into a property of other entity :
              crate.rootDataset.license = license; +
              +

              Use an entity just like a normal object:

              +
              let lic = create.getEntity(license['@id']);
              console.log(lic.name); // prints 'CC BY 4.0';
              // set a property directly
              lic.name = 'CC BY 4.0 dummy';
              // or with the setProperty method
              crate.setProperty(license['@id'], 'name', 'CC BY 4.0 dummy');

              console.log(lic.name); // prints 'CC BY 4.0 dummy'; +
              +

              Modifying an array of values in the property is not supported yet:

              +
              lic.test = [1,2,3];
              lic.test.push(4); // this does not work
              console.log(lic.test); // prints '[1,2,3]';
              // use this instead
              lic.test = lic.test.concat(4);
              // or this
              crate.addValues(license['@id'], 'test', 4); +
              +

              Root Dataset is a special entity that is mandated by the standard:

              +
              const rootDataset = crate.rootDataset;
              rootDataset.name = 'Tutorial Crate';
              rootDataset.description = 'This is an example crate for educational purposes.'
              const today = new Date().toISOString().split('T')[0]
              rootDataset.datePublished = today; +
              +

              The value of the returned property can be set to be always as an array:

              +
              const crate1 = new ROCrate();
              const crate2 = new ROCrate({array: true});
              crate1.rootDataset.name = 'Tutorial Crate';
              crate1.rootDataset.test = ['test1', 'test2'];
              crate2.rootDataset.name = 'Tutorial Crate';
              crate2.rootDataset.test = ['test1', 'test2'];
              console.log(crate1.rootDataset.name); // return 'Tutorial Crate'
              console.log(crate1.rootDataset.name); // return ['test1', 'test2']
              console.log(crate2.rootDataset.name); // return ['Tutorial Crate']
              console.log(crate2.rootDataset.name); // return ['test1', 'test2'] +
              +

              Linked entities can be automatically resolved as nested objects:

              +
              const crate1 = new ROCrate();
              const crate2 = new ROCrate({link: true});
              const crate3 = new ROCrate({link: true, array: true});
              crate1.rootDataset.license = license;
              crate2.rootDataset.license = license;
              crate3.rootDataset.license = license;
              console.log(crate1.rootDataset.license.name); // return undefined
              console.log(crate1.rootDataset.license); // return {'@id': 'https://creativecommons.org/licenses/by/4.0/'}
              console.log(crate2.rootDataset.license.name); // return 'CC BY 4.0'
              console.log(crate3.rootDataset.license.name); // return undefined, property license is a array
              console.log(crate3.rootDataset.license[0].name); // return 'CC BY 4.0' +
              +

              To save the rocrate data to a file, use JSON.stringify:

              +
              // Write pretty-printed JSONLD into the directory
              fs.writeFileSync('ro-crate-metadata.json', JSON.stringify(crate, null, 2)); +
              +

              For more details, refer to the full API documentation.
              For more usage examples, see the test files under the test directory.

              + + +

              HTML Rendering

              +
              +

              Use the RO-Crate-HTML to generate a HTML preview from the RO-Crate Metadata File ro-crate-metadata.json.

              + + +

              Simple crate checker

              +
              +

              There is a script included with this library that can check crates.

              +

              Check a crate:

              +

              roccheck /path/to/crate/directory

              +

              This is produce a simple report.

              +
              +
              +
              +

              Generated using TypeDoc

              +
              \ No newline at end of file diff --git a/docs/v3.0/modules.html b/docs/v3.0/modules.html new file mode 100644 index 0000000..bbdf5a6 --- /dev/null +++ b/docs/v3.0/modules.html @@ -0,0 +1,57 @@ +ro-crate - v3.0.1
              +
              + +
              +
              +
              +
              +

              ro-crate - v3.0.1

              +
              +
              +

              Index

              +
              +

              Classes

              +
              +
              +

              Type Aliases

              +
              +
              +
              +

              Generated using TypeDoc

              +
              \ No newline at end of file diff --git a/docs/v3.0/types/Entity.html b/docs/v3.0/types/Entity.html new file mode 100644 index 0000000..a1c4ccf --- /dev/null +++ b/docs/v3.0/types/Entity.html @@ -0,0 +1,65 @@ +Entity | ro-crate - v3.0.1
              +
              + +
              +
              +
              +
              + +

              Type alias Entity

              +
              Entity: { @id: string; @reverse: object; toJSON: any; [key: string]: any }
              +
              +

              Type declaration

              +
              +
              +
              +

              Generated using TypeDoc

              +
              \ No newline at end of file diff --git a/docs/v3.0/types/RawEntity.html b/docs/v3.0/types/RawEntity.html new file mode 100644 index 0000000..8cf19b7 --- /dev/null +++ b/docs/v3.0/types/RawEntity.html @@ -0,0 +1,55 @@ +RawEntity | ro-crate - v3.0.1
              +
              + +
              +
              +
              +
              + +

              Type alias RawEntity

              +
              RawEntity: { @id: string; [key: string]: any }
              +
              +

              Type declaration

              +
                +
              • +
                [key: string]: any
              • +
              • +
                @id: string
              +
              +
              +

              Generated using TypeDoc

              +
              \ No newline at end of file diff --git a/docs/v3.1/.nojekyll b/docs/v3.1/.nojekyll new file mode 100644 index 0000000..e2ac661 --- /dev/null +++ b/docs/v3.1/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/v3.1/assets/highlight.css b/docs/v3.1/assets/highlight.css new file mode 100644 index 0000000..e40c908 --- /dev/null +++ b/docs/v3.1/assets/highlight.css @@ -0,0 +1,78 @@ +:root { + --light-hl-0: #001080; + --dark-hl-0: #9CDCFE; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #0000FF; + --dark-hl-2: #569CD6; + --light-hl-3: #0070C1; + --dark-hl-3: #4FC1FF; + --light-hl-4: #795E26; + --dark-hl-4: #DCDCAA; + --light-hl-5: #A31515; + --dark-hl-5: #CE9178; + --light-hl-6: #008000; + --dark-hl-6: #6A9955; + --light-hl-7: #098658; + --dark-hl-7: #B5CEA8; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +pre, code { background: var(--code-background); } diff --git a/docs/v3.1/assets/main.js b/docs/v3.1/assets/main.js new file mode 100644 index 0000000..abd0485 --- /dev/null +++ b/docs/v3.1/assets/main.js @@ -0,0 +1,54 @@ +"use strict"; +"use strict";(()=>{var Qe=Object.create;var ae=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var _e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Me=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ce(e))!Re.call(t,i)&&i!==n&&ae(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Qe(Oe(t)):{},Me(e||!t||!t.__esModule?ae(n,"default",{value:t,enumerable:!0}):n,t));var de=_e((ce,he)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var h=t.utils.clone(n)||{};h.position=[a,l],h.index=s.length,s.push(new t.Token(r.slice(a,o),h))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ou?h+=2:a==u&&(n+=r[l+1]*i[h+1],l+=2,h+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}if(s.str.length==0&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var h=s.str.charAt(0),m=s.str.charAt(1),v;m in s.node.edges?v=s.node.edges[m]:(v=new t.TokenSet,s.node.edges[m]=v),s.str.length==1&&(v.final=!0),i.push({node:v,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof ce=="object"?he.exports=n():e.lunr=n()}(this,function(){return t})})()});var le=[];function j(t,e){le.push({selector:e,constructor:t})}var Y=class{constructor(){this.createComponents(document.body)}createComponents(e){le.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r}),r.dataset.hasInstance=String(!0))})})}};var k=class{constructor(e){this.el=e.el}};var J=class{constructor(){this.listeners={}}addEventListener(e,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(n)}removeEventListener(e,n){if(!(e in this.listeners))return;let r=this.listeners[e];for(let i=0,s=r.length;i{let n=Date.now();return(...r)=>{n+e-Date.now()<0&&(t(...r),n=Date.now())}};var re=class extends J{constructor(){super();this.scrollTop=0;this.lastY=0;this.width=0;this.height=0;this.showToolbar=!0;this.toolbar=document.querySelector(".tsd-page-toolbar"),this.navigation=document.querySelector(".col-menu"),window.addEventListener("scroll",ne(()=>this.onScroll(),10)),window.addEventListener("resize",ne(()=>this.onResize(),10)),this.searchInput=document.querySelector("#tsd-search input"),this.searchInput&&this.searchInput.addEventListener("focus",()=>{this.hideShowToolbar()}),this.onResize(),this.onScroll()}triggerResize(){let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onScroll(){this.scrollTop=window.scrollY||0;let n=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(n),this.hideShowToolbar()}hideShowToolbar(){let n=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0||!!this.searchInput&&this.searchInput===document.activeElement,n!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.navigation?.classList.toggle("col-menu--hide")),this.lastY=this.scrollTop}},R=re;R.instance=new re;var X=class extends k{constructor(n){super(n);this.anchors=[];this.index=-1;R.instance.addEventListener("resize",()=>this.onResize()),R.instance.addEventListener("scroll",r=>this.onScroll(r)),this.createAnchors()}createAnchors(){let n=window.location.href;n.indexOf("#")!=-1&&(n=n.substring(0,n.indexOf("#"))),this.el.querySelectorAll("a").forEach(r=>{let i=r.href;if(i.indexOf("#")==-1||i.substring(0,n.length)!=n)return;let s=i.substring(i.indexOf("#")+1),o=document.querySelector("a.tsd-anchor[name="+s+"]"),a=r.parentNode;!o||!a||this.anchors.push({link:a,anchor:o,position:0})}),this.onResize()}onResize(){let n;for(let i=0,s=this.anchors.length;ii.position-s.position);let r=new CustomEvent("scroll",{detail:{scrollTop:R.instance.scrollTop}});this.onScroll(r)}onScroll(n){let r=n.detail.scrollTop+5,i=this.anchors,s=i.length-1,o=this.index;for(;o>-1&&i[o].position>r;)o-=1;for(;o-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=o,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}};var ue=(t,e=100)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>t(r),e)}};var me=De(de());function ve(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let n=document.querySelector("#tsd-search input"),r=document.querySelector("#tsd-search .results");if(!n||!r)throw new Error("The input field or the result list wrapper was not found");let i=!1;r.addEventListener("mousedown",()=>i=!0),r.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),n.addEventListener("focus",()=>t.classList.add("has-focus")),n.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Fe(t,r,n,s)}function Fe(t,e,n,r){n.addEventListener("input",ue(()=>{Ae(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?fe(e,-1):s.key==="ArrowDown"?fe(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function He(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=me.Index.load(window.searchData.index))}function Ae(t,e,n,r){if(He(r,t),!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s=i?r.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${pe(u.parent,i)}.${l}`);let h=document.createElement("li");h.classList.value=u.classes??"";let m=document.createElement("a");m.href=r.base+u.url,m.innerHTML=l,h.append(m),e.appendChild(h)}}function fe(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function pe(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(ie(t.substring(s,o)),`${ie(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ie(t.substring(s))),i.join("")}var Ne={"&":"&","<":"<",">":">","'":"'",'"':"""};function ie(t){return t.replace(/[&<>"'"]/g,e=>Ne[e])}var F="mousedown",ye="mousemove",B="mouseup",Z={x:0,y:0},ge=!1,se=!1,je=!1,H=!1,xe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(xe?"is-mobile":"not-mobile");xe&&"ontouchstart"in document.documentElement&&(je=!0,F="touchstart",ye="touchmove",B="touchend");document.addEventListener(F,t=>{se=!0,H=!1;let e=F=="touchstart"?t.targetTouches[0]:t;Z.y=e.pageY||0,Z.x=e.pageX||0});document.addEventListener(ye,t=>{if(!!se&&!H){let e=F=="touchstart"?t.targetTouches[0]:t,n=Z.x-(e.pageX||0),r=Z.y-(e.pageY||0);H=Math.sqrt(n*n+r*r)>10}});document.addEventListener(B,()=>{se=!1});document.addEventListener("click",t=>{ge&&(t.preventDefault(),t.stopImmediatePropagation(),ge=!1)});var K=class extends k{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){H||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!H&&this.active&&n.target.closest(".col-menu")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var oe;try{oe=localStorage}catch{oe={getItem(){return null},setItem(){}}}var Q=oe;var Le=document.head.appendChild(document.createElement("style"));Le.dataset.for="filters";var ee=class extends k{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),Le.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var te=class extends k{constructor(n){super(n);this.calculateHeights(),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.textContent.replace(/\s+/g,"-").toLowerCase()}`,this.setLocalStorage(this.fromLocalStorage(),!0),this.summary.addEventListener("click",r=>this.toggleVisibility(r)),this.icon.style.transform=this.getIconRotation()}getIconRotation(n=this.el.open){return`rotate(${n?0:-90}deg)`}calculateHeights(){let n=this.el.open,{position:r,left:i}=this.el.style;this.el.style.position="fixed",this.el.style.left="-9999px",this.el.open=!0,this.expandedHeight=this.el.offsetHeight+"px",this.el.open=!1,this.collapsedHeight=this.el.offsetHeight+"px",this.el.open=n,this.el.style.height=n?this.expandedHeight:this.collapsedHeight,this.el.style.position=r,this.el.style.left=i}toggleVisibility(n){n.preventDefault(),this.el.style.overflow="hidden",this.el.open?this.collapse():this.expand()}expand(n=!0){this.el.open=!0,this.animate(this.collapsedHeight,this.expandedHeight,{opening:!0,duration:n?300:0})}collapse(n=!0){this.animate(this.expandedHeight,this.collapsedHeight,{opening:!1,duration:n?300:0})}animate(n,r,{opening:i,duration:s=300}){if(this.animation)return;let o={duration:s,easing:"ease"};this.animation=this.el.animate({height:[n,r]},o),this.icon.animate({transform:[this.icon.style.transform||this.getIconRotation(!i),this.getIconRotation(i)]},o).addEventListener("finish",()=>{this.icon.style.transform=this.getIconRotation(i)}),this.animation.addEventListener("finish",()=>this.animationEnd(i))}animationEnd(n){this.el.open=n,this.animation=void 0,this.el.style.height="auto",this.el.style.overflow="visible",this.setLocalStorage(n)}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.open}setLocalStorage(n,r=!1){this.fromLocalStorage()===n&&!r||(Q.setItem(this.key,n.toString()),this.el.open=n,this.handleValueChange(r))}handleValueChange(n=!1){this.fromLocalStorage()===this.el.open&&!n||(this.fromLocalStorage()?this.expand(!1):this.collapse(!1))}};function be(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,Ee(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),Ee(t.value)})}function Ee(t){document.documentElement.dataset.theme=t}ve();j(X,".menu-highlight");j(K,"a[data-toggle]");j(te,".tsd-index-accordion");j(ee,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("theme");Se&&be(Se);var Be=new Y;Object.defineProperty(window,"app",{value:Be});})(); +/*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + */ +/*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */ +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ diff --git a/docs/v3.1/assets/search.js b/docs/v3.1/assets/search.js new file mode 100644 index 0000000..c59354c --- /dev/null +++ b/docs/v3.1/assets/search.js @@ -0,0 +1 @@ +window.searchData = JSON.parse("{\"kinds\":{\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\",\"4194304\":\"Type alias\"},\"rows\":[{\"kind\":128,\"name\":\"ROCrate\",\"url\":\"classes/ROCrate.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":1024,\"name\":\"defaults\",\"url\":\"classes/ROCrate.html#defaults-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"ro_crate_name\",\"url\":\"classes/ROCrate.html#__type-6.ro_crate_name-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataID\",\"url\":\"classes/ROCrate.html#__type-6.roCrateMetadataID-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataIDs\",\"url\":\"classes/ROCrate.html#__type-6.roCrateMetadataIDs-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"context\",\"url\":\"classes/ROCrate.html#__type-6.context-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"render_script\",\"url\":\"classes/ROCrate.html#__type-6.render_script-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_links\",\"url\":\"classes/ROCrate.html#__type-6.back_links-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-7\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_back_links\",\"url\":\"classes/ROCrate.html#__type-6.back_back_links-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"datasetTemplate\",\"url\":\"classes/ROCrate.html#__type-6.datasetTemplate-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-8\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-6.__type-8._type-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-6.__type-8._id-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"metadataFileDescriptorTemplate\",\"url\":\"classes/ROCrate.html#__type-6.metadataFileDescriptorTemplate-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-9\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-6.__type-9._type-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-6.__type-9._id-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"identifier\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.identifier-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"about\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.about-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.__type-10\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.__type-10._id-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type.__type\"},{\"kind\":1024,\"name\":\"ROCrate_Specification_Identifier\",\"url\":\"classes/ROCrate.html#__type-6.ROCrate_Specification_Identifier-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCratePreviewFileName\",\"url\":\"classes/ROCrate.html#__type-6.roCratePreviewFileName-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"pageSize\",\"url\":\"classes/ROCrate.html#__type-6.pageSize-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ROCrate.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"defaults\",\"url\":\"classes/ROCrate.html#defaults\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"ro_crate_name\",\"url\":\"classes/ROCrate.html#__type-1.ro_crate_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataID\",\"url\":\"classes/ROCrate.html#__type-1.roCrateMetadataID\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataIDs\",\"url\":\"classes/ROCrate.html#__type-1.roCrateMetadataIDs\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"context\",\"url\":\"classes/ROCrate.html#__type-1.context\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"render_script\",\"url\":\"classes/ROCrate.html#__type-1.render_script\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_links\",\"url\":\"classes/ROCrate.html#__type-1.back_links\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_back_links\",\"url\":\"classes/ROCrate.html#__type-1.back_back_links\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"datasetTemplate\",\"url\":\"classes/ROCrate.html#__type-1.datasetTemplate\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-3\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-1.__type-3._type\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-1.__type-3._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"metadataFileDescriptorTemplate\",\"url\":\"classes/ROCrate.html#__type-1.metadataFileDescriptorTemplate\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-4\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-1.__type-4._type-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-1.__type-4._id-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"identifier\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.identifier\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"about\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.about\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.__type-5\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.__type-5._id-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type.__type\"},{\"kind\":1024,\"name\":\"ROCrate_Specification_Identifier\",\"url\":\"classes/ROCrate.html#__type-1.ROCrate_Specification_Identifier\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCratePreviewFileName\",\"url\":\"classes/ROCrate.html#__type-1.roCratePreviewFileName\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"pageSize\",\"url\":\"classes/ROCrate.html#__type-1.pageSize\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"utils\",\"url\":\"classes/ROCrate.html#utils\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"config\",\"url\":\"classes/ROCrate.html#config\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#_context\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#_context._context-1.__type-11\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.@context.@context\"},{\"kind\":262144,\"name\":\"context\",\"url\":\"classes/ROCrate.html#context-2\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#context-2.context-3.__type-12\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.context.context\"},{\"kind\":262144,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#_graph\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"graph\",\"url\":\"classes/ROCrate.html#graph\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"graphLength\",\"url\":\"classes/ROCrate.html#graphLength\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"metadataFileEntity\",\"url\":\"classes/ROCrate.html#metadataFileEntity\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"rootDataset\",\"url\":\"classes/ROCrate.html#rootDataset\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"rootId\",\"url\":\"classes/ROCrate.html#rootId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"clone\",\"url\":\"classes/ROCrate.html#clone\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addEntity\",\"url\":\"classes/ROCrate.html#addEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteEntity\",\"url\":\"classes/ROCrate.html#deleteEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"updateEntity\",\"url\":\"classes/ROCrate.html#updateEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"updateEntityId\",\"url\":\"classes/ROCrate.html#updateEntityId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getProperty\",\"url\":\"classes/ROCrate.html#getProperty\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"setProperty\",\"url\":\"classes/ROCrate.html#setProperty\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteProperty\",\"url\":\"classes/ROCrate.html#deleteProperty\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteValues\",\"url\":\"classes/ROCrate.html#deleteValues\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addValues\",\"url\":\"classes/ROCrate.html#addValues\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getConfig\",\"url\":\"classes/ROCrate.html#getConfig\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getEntity\",\"url\":\"classes/ROCrate.html#getEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"indexOf\",\"url\":\"classes/ROCrate.html#indexOf\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getGraph\",\"url\":\"classes/ROCrate.html#getGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addProfile\",\"url\":\"classes/ROCrate.html#addProfile\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addProvenance\",\"url\":\"classes/ROCrate.html#addProvenance\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addIdentifier\",\"url\":\"classes/ROCrate.html#addIdentifier\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getIdentifier\",\"url\":\"classes/ROCrate.html#getIdentifier\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"toJSON\",\"url\":\"classes/ROCrate.html#toJSON\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-16\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON\"},{\"kind\":1024,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-16._context-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-16.__type-17\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":1024,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-16._graph-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":2048,\"name\":\"getTree\",\"url\":\"classes/ROCrate.html#getTree\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolve\",\"url\":\"classes/ROCrate.html#resolve\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveAll\",\"url\":\"classes/ROCrate.html#resolveAll\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"uniqueId\",\"url\":\"classes/ROCrate.html#uniqueId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"flatify\",\"url\":\"classes/ROCrate.html#flatify\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveContext\",\"url\":\"classes/ROCrate.html#resolveContext\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getDefinition\",\"url\":\"classes/ROCrate.html#getDefinition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getDefinition.getDefinition-1.__type-13\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.getDefinition.getDefinition\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#getDefinition.getDefinition-1.__type-13._id-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getDefinition.getDefinition.__type\"},{\"kind\":2048,\"name\":\"addContext\",\"url\":\"classes/ROCrate.html#addContext\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveTerm\",\"url\":\"classes/ROCrate.html#resolveTerm\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"hasType\",\"url\":\"classes/ROCrate.html#hasType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addItem\",\"url\":\"classes/ROCrate.html#addItem\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteItem\",\"url\":\"classes/ROCrate.html#deleteItem\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addBackLinks\",\"url\":\"classes/ROCrate.html#addBackLinks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"dedupeSubgraphs\",\"url\":\"classes/ROCrate.html#dedupeSubgraphs\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"index\",\"url\":\"classes/ROCrate.html#index\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"pushValue\",\"url\":\"classes/ROCrate.html#pushValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"changeGraphId\",\"url\":\"classes/ROCrate.html#changeGraphId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getItem\",\"url\":\"classes/ROCrate.html#getItem\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getFlatGraph\",\"url\":\"classes/ROCrate.html#getFlatGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getRootDataset\",\"url\":\"classes/ROCrate.html#getRootDataset\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getRootId\",\"url\":\"classes/ROCrate.html#getRootId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getJson\",\"url\":\"classes/ROCrate.html#getJson\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson\"},{\"kind\":1024,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14._context-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14.__type-15\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":1024,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14._graph-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":2048,\"name\":\"getNamedIdentifier\",\"url\":\"classes/ROCrate.html#getNamedIdentifier\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"serializeGraph\",\"url\":\"classes/ROCrate.html#serializeGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"toGraph\",\"url\":\"classes/ROCrate.html#toGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getNormalizedTree\",\"url\":\"classes/ROCrate.html#getNormalizedTree\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"objectify\",\"url\":\"classes/ROCrate.html#objectify\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":128,\"name\":\"Checker\",\"url\":\"classes/Checker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Checker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"crate\",\"url\":\"classes/Checker.html#crate\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"checklist\",\"url\":\"classes/Checker.html#checklist\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasContext\",\"url\":\"classes/Checker.html#hasContext\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasRootDataset\",\"url\":\"classes/Checker.html#hasRootDataset\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasRootDatasetWithProperID\",\"url\":\"classes/Checker.html#hasRootDatasetWithProperID\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasName\",\"url\":\"classes/Checker.html#hasName\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasDescription\",\"url\":\"classes/Checker.html#hasDescription\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasAuthor\",\"url\":\"classes/Checker.html#hasAuthor\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasLicense\",\"url\":\"classes/Checker.html#hasLicense\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasDatePublished\",\"url\":\"classes/Checker.html#hasDatePublished\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasContactPoint\",\"url\":\"classes/Checker.html#hasContactPoint\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"check\",\"url\":\"classes/Checker.html#check\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"isROCrate\",\"url\":\"classes/Checker.html#isROCrate\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"summarize\",\"url\":\"classes/Checker.html#summarize\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"report\",\"url\":\"classes/Checker.html#report\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"validate\",\"url\":\"classes/Checker.html#validate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":128,\"name\":\"CheckItem\",\"url\":\"classes/CheckItem.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/CheckItem.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"classes/CheckItem.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"message\",\"url\":\"classes/CheckItem.html#message\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/CheckItem.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"diagnostics\",\"url\":\"classes/CheckItem.html#diagnostics\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":128,\"name\":\"Utils\",\"url\":\"classes/Utils.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"hasType\",\"url\":\"classes/Utils.html#hasType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/Utils.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"asArray\",\"url\":\"classes/Utils.html#asArray\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"asArrayRef\",\"url\":\"classes/Utils.html#asArrayRef\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"addType\",\"url\":\"classes/Utils.html#addType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/Utils.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"union\",\"url\":\"classes/Utils.html#union\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"clone\",\"url\":\"classes/Utils.html#clone\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"countProp\",\"url\":\"classes/Utils.html#countProp\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"isEqual\",\"url\":\"classes/Utils.html#isEqual\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"isEqualRef\",\"url\":\"classes/Utils.html#isEqualRef\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"exists\",\"url\":\"classes/Utils.html#exists\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Utils.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":4194304,\"name\":\"NodeRef\",\"url\":\"types/NodeRef.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/NodeRef.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"NodeRef\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/NodeRef.html#__type._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"NodeRef.__type\"},{\"kind\":1024,\"name\":\"@reverse\",\"url\":\"types/NodeRef.html#__type._reverse\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"NodeRef.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/NodeRef.html#__type.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"NodeRef.__type\"},{\"kind\":4194304,\"name\":\"RawEntity\",\"url\":\"types/RawEntity.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/RawEntity.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"RawEntity\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/RawEntity.html#__type._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"RawEntity.__type\"},{\"kind\":4194304,\"name\":\"Entity\",\"url\":\"types/Entity.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Entity.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"Entity\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/Entity.html#__type._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"},{\"kind\":1024,\"name\":\"@reverse\",\"url\":\"types/Entity.html#__type._reverse\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Entity.html#__type.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"},{\"kind\":2048,\"name\":\"toJSON\",\"url\":\"types/Entity.html#__type.toJSON\",\"classes\":\"tsd-kind-method tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,47.536]],[\"comment/0\",[]],[\"name/1\",[1,42.428]],[\"comment/1\",[]],[\"name/2\",[2,20.021]],[\"comment/2\",[]],[\"name/3\",[3,42.428]],[\"comment/3\",[]],[\"name/4\",[4,42.428]],[\"comment/4\",[]],[\"name/5\",[5,42.428]],[\"comment/5\",[]],[\"name/6\",[6,32.873]],[\"comment/6\",[]],[\"name/7\",[7,42.428]],[\"comment/7\",[]],[\"name/8\",[8,42.428]],[\"comment/8\",[]],[\"name/9\",[2,20.021]],[\"comment/9\",[]],[\"name/10\",[9,42.428]],[\"comment/10\",[]],[\"name/11\",[10,42.428]],[\"comment/11\",[]],[\"name/12\",[2,20.021]],[\"comment/12\",[]],[\"name/13\",[11,36.55]],[\"comment/13\",[]],[\"name/14\",[12,28.077]],[\"comment/14\",[]],[\"name/15\",[13,42.428]],[\"comment/15\",[]],[\"name/16\",[2,20.021]],[\"comment/16\",[]],[\"name/17\",[11,36.55]],[\"comment/17\",[]],[\"name/18\",[12,28.077]],[\"comment/18\",[]],[\"name/19\",[14,42.428]],[\"comment/19\",[]],[\"name/20\",[15,42.428]],[\"comment/20\",[]],[\"name/21\",[2,20.021]],[\"comment/21\",[]],[\"name/22\",[12,28.077]],[\"comment/22\",[]],[\"name/23\",[16,42.428]],[\"comment/23\",[]],[\"name/24\",[17,42.428]],[\"comment/24\",[]],[\"name/25\",[18,42.428]],[\"comment/25\",[]],[\"name/26\",[19,36.55]],[\"comment/26\",[]],[\"name/27\",[1,42.428]],[\"comment/27\",[]],[\"name/28\",[2,20.021]],[\"comment/28\",[]],[\"name/29\",[3,42.428]],[\"comment/29\",[]],[\"name/30\",[4,42.428]],[\"comment/30\",[]],[\"name/31\",[5,42.428]],[\"comment/31\",[]],[\"name/32\",[6,32.873]],[\"comment/32\",[]],[\"name/33\",[7,42.428]],[\"comment/33\",[]],[\"name/34\",[8,42.428]],[\"comment/34\",[]],[\"name/35\",[2,20.021]],[\"comment/35\",[]],[\"name/36\",[9,42.428]],[\"comment/36\",[]],[\"name/37\",[10,42.428]],[\"comment/37\",[]],[\"name/38\",[2,20.021]],[\"comment/38\",[]],[\"name/39\",[11,36.55]],[\"comment/39\",[]],[\"name/40\",[12,28.077]],[\"comment/40\",[]],[\"name/41\",[13,42.428]],[\"comment/41\",[]],[\"name/42\",[2,20.021]],[\"comment/42\",[]],[\"name/43\",[11,36.55]],[\"comment/43\",[]],[\"name/44\",[12,28.077]],[\"comment/44\",[]],[\"name/45\",[14,42.428]],[\"comment/45\",[]],[\"name/46\",[15,42.428]],[\"comment/46\",[]],[\"name/47\",[2,20.021]],[\"comment/47\",[]],[\"name/48\",[12,28.077]],[\"comment/48\",[]],[\"name/49\",[16,42.428]],[\"comment/49\",[]],[\"name/50\",[17,42.428]],[\"comment/50\",[]],[\"name/51\",[18,42.428]],[\"comment/51\",[]],[\"name/52\",[20,42.428]],[\"comment/52\",[]],[\"name/53\",[21,47.536]],[\"comment/53\",[]],[\"name/54\",[2,20.021]],[\"comment/54\",[]],[\"name/55\",[6,32.873]],[\"comment/55\",[]],[\"name/56\",[2,20.021]],[\"comment/56\",[]],[\"name/57\",[6,32.873]],[\"comment/57\",[]],[\"name/58\",[2,20.021]],[\"comment/58\",[]],[\"name/59\",[22,36.55]],[\"comment/59\",[]],[\"name/60\",[22,36.55]],[\"comment/60\",[]],[\"name/61\",[23,47.536]],[\"comment/61\",[]],[\"name/62\",[24,47.536]],[\"comment/62\",[]],[\"name/63\",[25,47.536]],[\"comment/63\",[]],[\"name/64\",[26,47.536]],[\"comment/64\",[]],[\"name/65\",[27,42.428]],[\"comment/65\",[]],[\"name/66\",[28,47.536]],[\"comment/66\",[]],[\"name/67\",[29,47.536]],[\"comment/67\",[]],[\"name/68\",[30,47.536]],[\"comment/68\",[]],[\"name/69\",[31,47.536]],[\"comment/69\",[]],[\"name/70\",[32,47.536]],[\"comment/70\",[]],[\"name/71\",[33,47.536]],[\"comment/71\",[]],[\"name/72\",[34,47.536]],[\"comment/72\",[]],[\"name/73\",[35,47.536]],[\"comment/73\",[]],[\"name/74\",[36,47.536]],[\"comment/74\",[]],[\"name/75\",[37,47.536]],[\"comment/75\",[]],[\"name/76\",[38,47.536]],[\"comment/76\",[]],[\"name/77\",[39,47.536]],[\"comment/77\",[]],[\"name/78\",[40,47.536]],[\"comment/78\",[]],[\"name/79\",[41,47.536]],[\"comment/79\",[]],[\"name/80\",[42,47.536]],[\"comment/80\",[]],[\"name/81\",[43,47.536]],[\"comment/81\",[]],[\"name/82\",[44,47.536]],[\"comment/82\",[]],[\"name/83\",[45,42.428]],[\"comment/83\",[]],[\"name/84\",[2,20.021]],[\"comment/84\",[]],[\"name/85\",[6,32.873]],[\"comment/85\",[]],[\"name/86\",[2,20.021]],[\"comment/86\",[]],[\"name/87\",[22,36.55]],[\"comment/87\",[]],[\"name/88\",[46,47.536]],[\"comment/88\",[]],[\"name/89\",[47,47.536]],[\"comment/89\",[]],[\"name/90\",[48,47.536]],[\"comment/90\",[]],[\"name/91\",[49,47.536]],[\"comment/91\",[]],[\"name/92\",[50,47.536]],[\"comment/92\",[]],[\"name/93\",[51,47.536]],[\"comment/93\",[]],[\"name/94\",[52,47.536]],[\"comment/94\",[]],[\"name/95\",[2,20.021]],[\"comment/95\",[]],[\"name/96\",[12,28.077]],[\"comment/96\",[]],[\"name/97\",[53,47.536]],[\"comment/97\",[]],[\"name/98\",[54,47.536]],[\"comment/98\",[]],[\"name/99\",[55,42.428]],[\"comment/99\",[]],[\"name/100\",[56,47.536]],[\"comment/100\",[]],[\"name/101\",[57,47.536]],[\"comment/101\",[]],[\"name/102\",[58,47.536]],[\"comment/102\",[]],[\"name/103\",[59,47.536]],[\"comment/103\",[]],[\"name/104\",[60,47.536]],[\"comment/104\",[]],[\"name/105\",[61,47.536]],[\"comment/105\",[]],[\"name/106\",[62,47.536]],[\"comment/106\",[]],[\"name/107\",[63,47.536]],[\"comment/107\",[]],[\"name/108\",[64,47.536]],[\"comment/108\",[]],[\"name/109\",[65,47.536]],[\"comment/109\",[]],[\"name/110\",[66,47.536]],[\"comment/110\",[]],[\"name/111\",[67,47.536]],[\"comment/111\",[]],[\"name/112\",[2,20.021]],[\"comment/112\",[]],[\"name/113\",[6,32.873]],[\"comment/113\",[]],[\"name/114\",[2,20.021]],[\"comment/114\",[]],[\"name/115\",[22,36.55]],[\"comment/115\",[]],[\"name/116\",[68,47.536]],[\"comment/116\",[]],[\"name/117\",[69,47.536]],[\"comment/117\",[]],[\"name/118\",[70,47.536]],[\"comment/118\",[]],[\"name/119\",[71,47.536]],[\"comment/119\",[]],[\"name/120\",[72,47.536]],[\"comment/120\",[]],[\"name/121\",[73,47.536]],[\"comment/121\",[]],[\"name/122\",[19,36.55]],[\"comment/122\",[]],[\"name/123\",[74,47.536]],[\"comment/123\",[]],[\"name/124\",[75,47.536]],[\"comment/124\",[]],[\"name/125\",[76,47.536]],[\"comment/125\",[]],[\"name/126\",[77,47.536]],[\"comment/126\",[]],[\"name/127\",[78,47.536]],[\"comment/127\",[]],[\"name/128\",[79,47.536]],[\"comment/128\",[]],[\"name/129\",[80,47.536]],[\"comment/129\",[]],[\"name/130\",[81,47.536]],[\"comment/130\",[]],[\"name/131\",[82,47.536]],[\"comment/131\",[]],[\"name/132\",[83,47.536]],[\"comment/132\",[]],[\"name/133\",[84,47.536]],[\"comment/133\",[]],[\"name/134\",[85,47.536]],[\"comment/134\",[]],[\"name/135\",[86,47.536]],[\"comment/135\",[]],[\"name/136\",[87,47.536]],[\"comment/136\",[]],[\"name/137\",[88,47.536]],[\"comment/137\",[]],[\"name/138\",[89,47.536]],[\"comment/138\",[]],[\"name/139\",[90,47.536]],[\"comment/139\",[]],[\"name/140\",[19,36.55]],[\"comment/140\",[]],[\"name/141\",[91,47.536]],[\"comment/141\",[]],[\"name/142\",[92,47.536]],[\"comment/142\",[]],[\"name/143\",[93,47.536]],[\"comment/143\",[]],[\"name/144\",[94,47.536]],[\"comment/144\",[]],[\"name/145\",[20,42.428]],[\"comment/145\",[]],[\"name/146\",[55,42.428]],[\"comment/146\",[]],[\"name/147\",[95,47.536]],[\"comment/147\",[]],[\"name/148\",[96,47.536]],[\"comment/148\",[]],[\"name/149\",[97,47.536]],[\"comment/149\",[]],[\"name/150\",[98,47.536]],[\"comment/150\",[]],[\"name/151\",[99,47.536]],[\"comment/151\",[]],[\"name/152\",[100,47.536]],[\"comment/152\",[]],[\"name/153\",[27,42.428]],[\"comment/153\",[]],[\"name/154\",[101,47.536]],[\"comment/154\",[]],[\"name/155\",[102,47.536]],[\"comment/155\",[]],[\"name/156\",[103,47.536]],[\"comment/156\",[]],[\"name/157\",[104,47.536]],[\"comment/157\",[]],[\"name/158\",[19,36.55]],[\"comment/158\",[]],[\"name/159\",[105,47.536]],[\"comment/159\",[]],[\"name/160\",[2,20.021]],[\"comment/160\",[]],[\"name/161\",[12,28.077]],[\"comment/161\",[]],[\"name/162\",[106,42.428]],[\"comment/162\",[]],[\"name/163\",[2,20.021]],[\"comment/163\",[]],[\"name/164\",[107,47.536]],[\"comment/164\",[]],[\"name/165\",[2,20.021]],[\"comment/165\",[]],[\"name/166\",[12,28.077]],[\"comment/166\",[]],[\"name/167\",[108,47.536]],[\"comment/167\",[]],[\"name/168\",[2,20.021]],[\"comment/168\",[]],[\"name/169\",[12,28.077]],[\"comment/169\",[]],[\"name/170\",[106,42.428]],[\"comment/170\",[]],[\"name/171\",[2,20.021]],[\"comment/171\",[]],[\"name/172\",[45,42.428]],[\"comment/172\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":2,\"name\":{\"2\":{},\"9\":{},\"12\":{},\"16\":{},\"21\":{},\"28\":{},\"35\":{},\"38\":{},\"42\":{},\"47\":{},\"54\":{},\"56\":{},\"58\":{},\"84\":{},\"86\":{},\"95\":{},\"112\":{},\"114\":{},\"160\":{},\"163\":{},\"165\":{},\"168\":{},\"171\":{}},\"comment\":{}}],[\"about\",{\"_index\":15,\"name\":{\"20\":{},\"46\":{}},\"comment\":{}}],[\"add\",{\"_index\":99,\"name\":{\"151\":{}},\"comment\":{}}],[\"addbacklinks\",{\"_index\":58,\"name\":{\"102\":{}},\"comment\":{}}],[\"addcontext\",{\"_index\":53,\"name\":{\"97\":{}},\"comment\":{}}],[\"addentity\",{\"_index\":28,\"name\":{\"66\":{}},\"comment\":{}}],[\"addidentifier\",{\"_index\":43,\"name\":{\"81\":{}},\"comment\":{}}],[\"additem\",{\"_index\":56,\"name\":{\"100\":{}},\"comment\":{}}],[\"addprofile\",{\"_index\":41,\"name\":{\"79\":{}},\"comment\":{}}],[\"addprovenance\",{\"_index\":42,\"name\":{\"80\":{}},\"comment\":{}}],[\"addtype\",{\"_index\":98,\"name\":{\"150\":{}},\"comment\":{}}],[\"addvalues\",{\"_index\":36,\"name\":{\"74\":{}},\"comment\":{}}],[\"asarray\",{\"_index\":96,\"name\":{\"148\":{}},\"comment\":{}}],[\"asarrayref\",{\"_index\":97,\"name\":{\"149\":{}},\"comment\":{}}],[\"back_back_links\",{\"_index\":9,\"name\":{\"10\":{},\"36\":{}},\"comment\":{}}],[\"back_links\",{\"_index\":8,\"name\":{\"8\":{},\"34\":{}},\"comment\":{}}],[\"changegraphid\",{\"_index\":62,\"name\":{\"106\":{}},\"comment\":{}}],[\"check\",{\"_index\":85,\"name\":{\"134\":{}},\"comment\":{}}],[\"checker\",{\"_index\":73,\"name\":{\"121\":{}},\"comment\":{}}],[\"checkitem\",{\"_index\":90,\"name\":{\"139\":{}},\"comment\":{}}],[\"checklist\",{\"_index\":75,\"name\":{\"124\":{}},\"comment\":{}}],[\"clone\",{\"_index\":27,\"name\":{\"65\":{},\"153\":{}},\"comment\":{}}],[\"config\",{\"_index\":21,\"name\":{\"53\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":19,\"name\":{\"26\":{},\"122\":{},\"140\":{},\"158\":{}},\"comment\":{}}],[\"context\",{\"_index\":6,\"name\":{\"6\":{},\"32\":{},\"55\":{},\"57\":{},\"85\":{},\"113\":{}},\"comment\":{}}],[\"countprop\",{\"_index\":101,\"name\":{\"154\":{}},\"comment\":{}}],[\"crate\",{\"_index\":74,\"name\":{\"123\":{}},\"comment\":{}}],[\"datasettemplate\",{\"_index\":10,\"name\":{\"11\":{},\"37\":{}},\"comment\":{}}],[\"dedupesubgraphs\",{\"_index\":59,\"name\":{\"103\":{}},\"comment\":{}}],[\"defaults\",{\"_index\":1,\"name\":{\"1\":{},\"27\":{}},\"comment\":{}}],[\"deleteentity\",{\"_index\":29,\"name\":{\"67\":{}},\"comment\":{}}],[\"deleteitem\",{\"_index\":57,\"name\":{\"101\":{}},\"comment\":{}}],[\"deleteproperty\",{\"_index\":34,\"name\":{\"72\":{}},\"comment\":{}}],[\"deletevalues\",{\"_index\":35,\"name\":{\"73\":{}},\"comment\":{}}],[\"diagnostics\",{\"_index\":94,\"name\":{\"144\":{}},\"comment\":{}}],[\"entity\",{\"_index\":108,\"name\":{\"167\":{}},\"comment\":{}}],[\"exists\",{\"_index\":104,\"name\":{\"157\":{}},\"comment\":{}}],[\"flatify\",{\"_index\":50,\"name\":{\"92\":{}},\"comment\":{}}],[\"getconfig\",{\"_index\":37,\"name\":{\"75\":{}},\"comment\":{}}],[\"getdefinition\",{\"_index\":52,\"name\":{\"94\":{}},\"comment\":{}}],[\"getentity\",{\"_index\":38,\"name\":{\"76\":{}},\"comment\":{}}],[\"getflatgraph\",{\"_index\":64,\"name\":{\"108\":{}},\"comment\":{}}],[\"getgraph\",{\"_index\":40,\"name\":{\"78\":{}},\"comment\":{}}],[\"getidentifier\",{\"_index\":44,\"name\":{\"82\":{}},\"comment\":{}}],[\"getitem\",{\"_index\":63,\"name\":{\"107\":{}},\"comment\":{}}],[\"getjson\",{\"_index\":67,\"name\":{\"111\":{}},\"comment\":{}}],[\"getnamedidentifier\",{\"_index\":68,\"name\":{\"116\":{}},\"comment\":{}}],[\"getnormalizedtree\",{\"_index\":71,\"name\":{\"119\":{}},\"comment\":{}}],[\"getproperty\",{\"_index\":32,\"name\":{\"70\":{}},\"comment\":{}}],[\"getrootdataset\",{\"_index\":65,\"name\":{\"109\":{}},\"comment\":{}}],[\"getrootid\",{\"_index\":66,\"name\":{\"110\":{}},\"comment\":{}}],[\"gettree\",{\"_index\":46,\"name\":{\"88\":{}},\"comment\":{}}],[\"graph\",{\"_index\":22,\"name\":{\"59\":{},\"60\":{},\"87\":{},\"115\":{}},\"comment\":{}}],[\"graphlength\",{\"_index\":23,\"name\":{\"61\":{}},\"comment\":{}}],[\"has\",{\"_index\":95,\"name\":{\"147\":{}},\"comment\":{}}],[\"hasauthor\",{\"_index\":81,\"name\":{\"130\":{}},\"comment\":{}}],[\"hascontactpoint\",{\"_index\":84,\"name\":{\"133\":{}},\"comment\":{}}],[\"hascontext\",{\"_index\":76,\"name\":{\"125\":{}},\"comment\":{}}],[\"hasdatepublished\",{\"_index\":83,\"name\":{\"132\":{}},\"comment\":{}}],[\"hasdescription\",{\"_index\":80,\"name\":{\"129\":{}},\"comment\":{}}],[\"haslicense\",{\"_index\":82,\"name\":{\"131\":{}},\"comment\":{}}],[\"hasname\",{\"_index\":79,\"name\":{\"128\":{}},\"comment\":{}}],[\"hasrootdataset\",{\"_index\":77,\"name\":{\"126\":{}},\"comment\":{}}],[\"hasrootdatasetwithproperid\",{\"_index\":78,\"name\":{\"127\":{}},\"comment\":{}}],[\"hastype\",{\"_index\":55,\"name\":{\"99\":{},\"146\":{}},\"comment\":{}}],[\"id\",{\"_index\":12,\"name\":{\"14\":{},\"18\":{},\"22\":{},\"40\":{},\"44\":{},\"48\":{},\"96\":{},\"161\":{},\"166\":{},\"169\":{}},\"comment\":{}}],[\"identifier\",{\"_index\":14,\"name\":{\"19\":{},\"45\":{}},\"comment\":{}}],[\"index\",{\"_index\":60,\"name\":{\"104\":{}},\"comment\":{}}],[\"indexof\",{\"_index\":39,\"name\":{\"77\":{}},\"comment\":{}}],[\"isequal\",{\"_index\":102,\"name\":{\"155\":{}},\"comment\":{}}],[\"isequalref\",{\"_index\":103,\"name\":{\"156\":{}},\"comment\":{}}],[\"isrocrate\",{\"_index\":86,\"name\":{\"135\":{}},\"comment\":{}}],[\"message\",{\"_index\":92,\"name\":{\"142\":{}},\"comment\":{}}],[\"metadatafiledescriptortemplate\",{\"_index\":13,\"name\":{\"15\":{},\"41\":{}},\"comment\":{}}],[\"metadatafileentity\",{\"_index\":24,\"name\":{\"62\":{}},\"comment\":{}}],[\"name\",{\"_index\":91,\"name\":{\"141\":{}},\"comment\":{}}],[\"noderef\",{\"_index\":105,\"name\":{\"159\":{}},\"comment\":{}}],[\"objectify\",{\"_index\":72,\"name\":{\"120\":{}},\"comment\":{}}],[\"pagesize\",{\"_index\":18,\"name\":{\"25\":{},\"51\":{}},\"comment\":{}}],[\"pushvalue\",{\"_index\":61,\"name\":{\"105\":{}},\"comment\":{}}],[\"rawentity\",{\"_index\":107,\"name\":{\"164\":{}},\"comment\":{}}],[\"render_script\",{\"_index\":7,\"name\":{\"7\":{},\"33\":{}},\"comment\":{}}],[\"report\",{\"_index\":88,\"name\":{\"137\":{}},\"comment\":{}}],[\"resolve\",{\"_index\":47,\"name\":{\"89\":{}},\"comment\":{}}],[\"resolveall\",{\"_index\":48,\"name\":{\"90\":{}},\"comment\":{}}],[\"resolvecontext\",{\"_index\":51,\"name\":{\"93\":{}},\"comment\":{}}],[\"resolveterm\",{\"_index\":54,\"name\":{\"98\":{}},\"comment\":{}}],[\"reverse\",{\"_index\":106,\"name\":{\"162\":{},\"170\":{}},\"comment\":{}}],[\"ro_crate_name\",{\"_index\":3,\"name\":{\"3\":{},\"29\":{}},\"comment\":{}}],[\"rocrate\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"rocrate_specification_identifier\",{\"_index\":16,\"name\":{\"23\":{},\"49\":{}},\"comment\":{}}],[\"rocratemetadataid\",{\"_index\":4,\"name\":{\"4\":{},\"30\":{}},\"comment\":{}}],[\"rocratemetadataids\",{\"_index\":5,\"name\":{\"5\":{},\"31\":{}},\"comment\":{}}],[\"rocratepreviewfilename\",{\"_index\":17,\"name\":{\"24\":{},\"50\":{}},\"comment\":{}}],[\"rootdataset\",{\"_index\":25,\"name\":{\"63\":{}},\"comment\":{}}],[\"rootid\",{\"_index\":26,\"name\":{\"64\":{}},\"comment\":{}}],[\"serializegraph\",{\"_index\":69,\"name\":{\"117\":{}},\"comment\":{}}],[\"setproperty\",{\"_index\":33,\"name\":{\"71\":{}},\"comment\":{}}],[\"status\",{\"_index\":93,\"name\":{\"143\":{}},\"comment\":{}}],[\"summarize\",{\"_index\":87,\"name\":{\"136\":{}},\"comment\":{}}],[\"tograph\",{\"_index\":70,\"name\":{\"118\":{}},\"comment\":{}}],[\"tojson\",{\"_index\":45,\"name\":{\"83\":{},\"172\":{}},\"comment\":{}}],[\"type\",{\"_index\":11,\"name\":{\"13\":{},\"17\":{},\"39\":{},\"43\":{}},\"comment\":{}}],[\"union\",{\"_index\":100,\"name\":{\"152\":{}},\"comment\":{}}],[\"uniqueid\",{\"_index\":49,\"name\":{\"91\":{}},\"comment\":{}}],[\"updateentity\",{\"_index\":30,\"name\":{\"68\":{}},\"comment\":{}}],[\"updateentityid\",{\"_index\":31,\"name\":{\"69\":{}},\"comment\":{}}],[\"utils\",{\"_index\":20,\"name\":{\"52\":{},\"145\":{}},\"comment\":{}}],[\"validate\",{\"_index\":89,\"name\":{\"138\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/v3.1/assets/style.css b/docs/v3.1/assets/style.css new file mode 100644 index 0000000..958d2c2 --- /dev/null +++ b/docs/v3.1/assets/style.css @@ -0,0 +1,1225 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-text: #222; + --light-color-text-aside: #707070; + --light-color-link: #4da6ff; + --light-color-ts: #db1373; + --light-color-ts-interface: #139d2c; + --light-color-ts-enum: #9c891a; + --light-color-ts-class: #2484e5; + --light-color-ts-function: #572be7; + --light-color-ts-namespace: #b111c9; + --light-color-ts-private: #707070; + --light-color-ts-variable: #4d68ff; + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + --dark-color-ts: #ff6492; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-class: #61b0ff; + --dark-color-ts-function: #9772ff; + --dark-color-ts-namespace: #e14dff; + --dark-color-ts-private: #e2e2e2; + --dark-color-ts-variable: #4d68ff; + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-function: var(--light-color-ts-function); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-private: var(--light-color-ts-private); + --color-ts-variable: var(--light-color-ts-variable); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-private: var(--dark-color-ts-private); + --color-ts-variable: var(--dark-color-ts-variable); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-function: var(--light-color-ts-function); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-private: var(--light-color-ts-private); + --color-ts-variable: var(--light-color-ts-variable); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-private: var(--dark-color-ts-private); + --color-ts-variable: var(--dark-color-ts-variable); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1600px; + padding: 0 2rem; +} + +@media (min-width: 640px) { + .container { + padding: 0 4rem; + } +} +@media (min-width: 1200px) { + .container { + padding: 0 8rem; + } +} +@media (min-width: 1600px) { + .container { + padding: 0 12rem; + } +} + +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} + +.tsd-generator > p { + margin-top: 0; + margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + display: flex; + justify-content: space-between; + position: relative; + margin: 0 auto; +} + +.col-4, +.col-8 { + box-sizing: border-box; + float: left; + padding: 2rem 1rem; +} + +.col-4 { + flex: 0 0 25%; +} +.col-8 { + flex: 1 0; + flex-wrap: wrap; + padding-left: 0; +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes shift-to-left { + from { + transform: translate(0, 0); + } + to { + transform: translate(-25%, 0); + } +} +@keyframes unshift-to-left { + from { + transform: translate(-25%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + padding: 10px; + border: 0.1em solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography h4, +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; + margin: 0; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} + +@media (max-width: 1024px) { + html .col-content { + float: none; + max-width: 100%; + width: 100%; + padding-top: 3rem; + } + html .col-menu { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + max-width: 25rem; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-menu > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu :is(header, footer, .col-content) { + animation: shift-to-left 0.4s; + } + + .to-has-menu .col-menu { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu :is(header, footer, .col-content) { + animation: unshift-to-left 0.4s; + } + + .from-has-menu .col-menu { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu :is(header, footer, .col-content) { + transform: translate(-25%, 0); + } + .has-menu .col-menu { + visibility: visible; + transform: translate(0, 0); + display: grid; + align-items: center; + grid-template-rows: auto 1fr; + grid-gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} +.tsd-index-panel a, +.tsd-index-panel a.tsd-parent-kind-module { + color: var(--color-ts); +} +.tsd-index-panel a.tsd-parent-kind-interface { + color: var(--color-ts-interface); +} +.tsd-index-panel a.tsd-parent-kind-enum { + color: var(--color-ts-enum); +} +.tsd-index-panel a.tsd-parent-kind-class { + color: var(--color-ts-class); +} +.tsd-index-panel a.tsd-kind-module { + color: var(--color-ts-namespace); +} +.tsd-index-panel a.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-index-panel a.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-index-panel a.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-index-panel a.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-index-panel a.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-index-panel a.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-index-panel a.tsd-is-private { + color: var(--color-ts-private); +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: absolute; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} +.tsd-member [data-tsd-kind] { + color: var(--color-ts); +} +.tsd-member [data-tsd-kind="Interface"] { + color: var(--color-ts-interface); +} +.tsd-member [data-tsd-kind="Enum"] { + color: var(--color-ts-enum); +} +.tsd-member [data-tsd-kind="Class"] { + color: var(--color-ts-class); +} +.tsd-member [data-tsd-kind="Private"] { + color: var(--color-ts-private); +} + +.tsd-navigation a { + display: block; + margin: 0.4rem 0; + border-left: 2px solid transparent; + color: var(--color-text); + text-decoration: none; + transition: border-left-color 0.1s; +} +.tsd-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul { + margin: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li { + padding: 0; +} + +.tsd-navigation.primary .tsd-accordion-details > ul { + margin-top: 0.75rem; +} +.tsd-navigation.primary a { + padding: 0.75rem 0.5rem; + margin: 0; +} +.tsd-navigation.primary ul li a { + margin-left: 0.5rem; +} +.tsd-navigation.primary ul li li a { + margin-left: 1.5rem; +} +.tsd-navigation.primary ul li li li a { + margin-left: 2.5rem; +} +.tsd-navigation.primary ul li li li li a { + margin-left: 3.5rem; +} +.tsd-navigation.primary ul li li li li li a { + margin-left: 4.5rem; +} +.tsd-navigation.primary ul li li li li li li a { + margin-left: 5.5rem; +} +.tsd-navigation.primary li.current > a { + border-left: 0.15rem var(--color-text) solid; +} +.tsd-navigation.primary li.selected > a { + font-weight: bold; + border-left: 0.2rem var(--color-text) solid; +} +.tsd-navigation.primary ul li a:hover { + border-left: 0.2rem var(--color-text-aside) solid; +} +.tsd-navigation.primary li.globals + li > span, +.tsd-navigation.primary li.globals + li > a { + padding-top: 20px; +} + +.tsd-navigation.secondary.tsd-navigation--toolbar-hide { + max-height: calc(100vh - 1rem); + top: 0.5rem; +} +.tsd-navigation.secondary > ul { + display: inline; + padding-right: 0.5rem; + transition: opacity 0.2s; +} +.tsd-navigation.secondary ul li a { + padding-left: 0; +} +.tsd-navigation.secondary ul li li a { + padding-left: 1.1rem; +} +.tsd-navigation.secondary ul li li li a { + padding-left: 2.2rem; +} +.tsd-navigation.secondary ul li li li li a { + padding-left: 3.3rem; +} +.tsd-navigation.secondary ul li li li li li a { + padding-left: 4.4rem; +} +.tsd-navigation.secondary ul li li li li li li a { + padding-left: 5.5rem; +} + +a.tsd-index-link { + margin: 0.25rem 0; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; +} +.tsd-accordion-summary > h1, +.tsd-accordion-summary > h2, +.tsd-accordion-summary > h3, +.tsd-accordion-summary > h4, +.tsd-accordion-summary > h5 { + display: inline-flex; + align-items: center; + vertical-align: middle; + margin-bottom: 0; + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; +} +.tsd-accordion-summary { + display: block; + cursor: pointer; +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; +} +.tsd-index-accordion .tsd-accordion-summary svg { + margin-right: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +@media (min-width: 1024px) { + .col-content { + margin: 2rem auto; + } + + .menu-sticky-wrap { + position: sticky; + height: calc(100vh - 2rem); + top: 4rem; + right: 0; + padding: 0 1.5rem; + padding-top: 1rem; + margin-top: 3rem; + transition: 0.3s ease-in-out; + transition-property: top, padding-top, padding, height; + overflow-y: auto; + } + .col-menu { + border-left: 1px solid var(--color-accent); + } + .col-menu--hide { + top: 1rem; + } + .col-menu .tsd-navigation:not(:last-child) { + padding-bottom: 1.75rem; + } +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: var(--color-background); +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current, +#tsd-search .results li:hover { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: fixed; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} + +.tsd-page-toolbar--hide { + transform: translateY(-100%); +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +@media (max-width: 1024px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through; +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} diff --git a/docs/v3.1/classes/CheckItem.html b/docs/v3.1/classes/CheckItem.html new file mode 100644 index 0000000..70db82a --- /dev/null +++ b/docs/v3.1/classes/CheckItem.html @@ -0,0 +1,105 @@ +CheckItem | ro-crate - v3.1.0
              +
              + +
              +
              +
              +
              + +

              Class CheckItem

              +
              +

              Hierarchy

              +
                +
              • CheckItem
              +
              +
              +
              + +
              +
              +

              Constructors

              +
              +
              +

              Properties

              +
              +
              +

              Constructors

              +
              + +
              +
              +

              Properties

              +
              + +
              diagnostics: any
              +
              + +
              message: any
              +
              + +
              name: any
              +
              + +
              status: any
              +
              +
              +

              Generated using TypeDoc

              +
              \ No newline at end of file diff --git a/docs/v3.1/classes/Checker.html b/docs/v3.1/classes/Checker.html new file mode 100644 index 0000000..2f047e9 --- /dev/null +++ b/docs/v3.1/classes/Checker.html @@ -0,0 +1,234 @@ +Checker | ro-crate - v3.1.0
              +
              + +
              +
              +
              +
              + +

              Class Checker

              +
              +

              Hierarchy

              +
                +
              • Checker
              +
              +
              +
              + +
              +
              +

              Constructors

              +
              + +
              +
              +

              Properties

              +
              + +
              checklist: any[]
              +
              + +
              crate: ROCrate
              +
              + +
              isROCrate: boolean
              +
              +

              Methods

              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
                + +
              • +

                Returns "This is a valid RO-Crate" | "This is not a valid RO-Crate"

              +
              + +
              +
              +
              +

              Generated using TypeDoc

              +
              \ No newline at end of file diff --git a/docs/v3.1/classes/ROCrate.html b/docs/v3.1/classes/ROCrate.html new file mode 100644 index 0000000..f5b2500 --- /dev/null +++ b/docs/v3.1/classes/ROCrate.html @@ -0,0 +1,1267 @@ +ROCrate | ro-crate - v3.1.0
              +
              + +
              +
              +
              +
              + +

              Class ROCrate

              +
              +

              Class for building, navigating, testing and rendering ROCrates

              + +

              Todo

              import validation and rendering from Calcyte

              +
              +
              +

              Hierarchy

              +
                +
              • ROCrate
              +
              +
              +
              + +
              +
              +

              Constructors

              +
              + +
                + +
              • +

                Create a new ROCrate object using a default template or from a valid jsonld object.

                +
                +
                +

                Parameters

                +
                  +
                • +
                  json: any = {}
                  +

                  a valid jsonld object

                  +
                • +
                • +
                  config: { array: boolean; duplicate: boolean; link: boolean; merge: boolean; replace: boolean } = {}
                  +
                    +
                  • +
                    array: boolean
                    +

                    Always return property of an Entity as an array (eg when using getEntity() method)

                    +
                  • +
                  • +
                    duplicate: boolean
                    +

                    Allow duplicate values in a property that has multiple values

                    +
                  • +
                  • +
                    link: boolean
                    +

                    Resolve linked node as nested object

                    +
                  • +
                  • +
                    merge: boolean
                    +

                    When replacing or updating an entity, merge the values and the properties instead of full replace

                    +
                  • +
                  • +
                    replace: boolean
                    +

                    When importing from json, a subsequent duplicate entity always replaces the existing one

                    +
                +

                Returns ROCrate

              +
              +

              Properties

              +
              + +
              config: {}
              +
              +

              Type declaration

              +
                +
                + +
                defaults: { ROCrate_Specification_Identifier: string; back_back_links: Set<any>; back_links: {}; context: (string | { @vocab: string })[]; datasetTemplate: { @id: string; @type: string }; metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }; pageSize: number; render_script: string; roCrateMetadataID: string; roCrateMetadataIDs: string[]; roCratePreviewFileName: string; ro_crate_name: string } = defaults
                +
                +

                Type declaration

                +
                  +
                • +
                  ROCrate_Specification_Identifier: string
                • +
                • +
                  back_back_links: Set<any>
                • +
                • +
                  back_links: {}
                  +
                  • +
                  • +
                    context: (string | { @vocab: string })[]
                  • +
                  • +
                    datasetTemplate: { @id: string; @type: string }
                    +
                      +
                    • +
                      @id: string
                    • +
                    • +
                      @type: string
                  • +
                  • +
                    metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }
                    +
                      +
                    • +
                      @id: string
                    • +
                    • +
                      @type: string
                    • +
                    • +
                      about: { @id: string }
                      +
                        +
                      • +
                        @id: string
                    • +
                    • +
                      identifier: string
                  • +
                  • +
                    pageSize: number
                  • +
                  • +
                    render_script: string
                  • +
                  • +
                    roCrateMetadataID: string
                  • +
                  • +
                    roCrateMetadataIDs: string[]
                  • +
                  • +
                    roCratePreviewFileName: string
                  • +
                  • +
                    ro_crate_name: string
                  +
                  + +
                  utils: typeof Utils = Utils
                  +
                  +

                  Deprecated

                  Import Utils class directly

                  +
                  +
                  + +
                  defaults: { ROCrate_Specification_Identifier: string; back_back_links: Set<any>; back_links: {}; context: (string | { @vocab: string })[]; datasetTemplate: { @id: string; @type: string }; metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }; pageSize: number; render_script: string; roCrateMetadataID: string; roCrateMetadataIDs: string[]; roCratePreviewFileName: string; ro_crate_name: string } = defaults
                  +
                  +

                  Type declaration

                  +
                    +
                  • +
                    ROCrate_Specification_Identifier: string
                  • +
                  • +
                    back_back_links: Set<any>
                  • +
                  • +
                    back_links: {}
                    +
                    • +
                    • +
                      context: (string | { @vocab: string })[]
                    • +
                    • +
                      datasetTemplate: { @id: string; @type: string }
                      +
                        +
                      • +
                        @id: string
                      • +
                      • +
                        @type: string
                    • +
                    • +
                      metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }
                      +
                        +
                      • +
                        @id: string
                      • +
                      • +
                        @type: string
                      • +
                      • +
                        about: { @id: string }
                        +
                          +
                        • +
                          @id: string
                      • +
                      • +
                        identifier: string
                    • +
                    • +
                      pageSize: number
                    • +
                    • +
                      render_script: string
                    • +
                    • +
                      roCrateMetadataID: string
                    • +
                    • +
                      roCrateMetadataIDs: string[]
                    • +
                    • +
                      roCratePreviewFileName: string
                    • +
                    • +
                      ro_crate_name: string
                    +
                    +

                    Accessors

                    +
                    + +
                    +
                    + +
                    +
                    + +
                      +
                    • get context(): {}
                    • +
                    • +

                      The context part of the crate. An alias for '@context'. +This returns the original context information.

                      +
                      +

                      Returns {}

                      +
                      +
                      + +
                        +
                      • get graph(): any[]
                      • +
                      • +

                        An array of all nodes in the graph. An alias for '@graph'

                        + +

                        Returns

                        +

                        Returns any[]

                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      +

                      Methods

                      +
                      + +
                        + +
                      • +
                        +

                        Deprecated

                        Not required anymore. Calling this method will do nothing.

                        +
                        +

                        Returns void

                      +
                      + +
                        + +
                      • +

                        Add context

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          context: any
                        +

                        Returns void

                      +
                      + +
                        + +
                      • +

                        Add an entity to the crate.

                        + +

                        Returns

                        true if the entity is successfully added.

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          data: any
                          +

                          A valid RO-Crate entity described in plain object.

                          +
                        • +
                        • +
                          Optional replace: boolean = ...
                          +

                          If true, replace existing entity with the same id.

                          +
                        • +
                        • +
                          Optional recurse: boolean
                          +

                          If true, nested entities will be added as well.

                          +
                        +

                        Returns boolean

                      +
                      + +
                        + +
                      • +

                        Add a new identifier as a PropertyValue to the root DataSet. +identifier and name are required

                        + +

                        Returns

                        The added identifier or undefined

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          options: { description: string; identifier: string; name: string }
                          +
                            +
                          • +
                            description: string
                          • +
                          • +
                            identifier: string
                          • +
                          • +
                            name: string
                        +

                        Returns string

                      +
                      + +
                        + +
                      • +

                        This silently fails if the item has no

                        + +

                        Id

                        or already exists - this is probably sub-optimal

                        + +

                        Deprecated

                        Use addEntity

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          item: any
                        +

                        Returns boolean

                      +
                      + +
                        + +
                      • +

                        Add a Profile URI to the crate

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          uri: string
                          +

                          A valid Profile URI

                          +
                        +

                        Returns void

                      +
                      + +
                        + +
                      • +
                        +

                        Parameters

                        +
                          +
                        • +
                          prov: any
                        +

                        Returns void

                      +
                      + +
                        + +
                      • +

                        Add one or more value to a property of an entity. +If the specified property does not exists, a new one will be set. +If the property already exists, the new value will be added to the property array.

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          idOrEntity: any
                          +

                          The id or the entity to add the property to

                          +
                        • +
                        • +
                          prop: string
                          +

                          The name of the property

                          +
                        • +
                        • +
                          values: any
                          +

                          The value of the property

                          +
                        • +
                        • +
                          Optional duplicate: boolean
                          +

                          If true, allow a property to have duplicate values in the array

                          +
                        +

                        Returns boolean

                      +
                      + +
                        + +
                      • +
                        +

                        Deprecated

                        Use updateEntityId

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          item: any
                        • +
                        • +
                          newId: any
                        +

                        Returns boolean

                      +
                      + +
                      +
                      + +
                        + +
                      • +
                        +

                        Deprecated

                        Use union, eg: union([sg1, sg2])

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          subgraphs: any
                        +

                        Returns any[]

                      +
                      + +
                        + +
                      • +

                        Delete an entity from the graph

                        + +

                        Returns

                        If success, return the raw data of deleted entity

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          id_or_entity: string | Entity
                          +

                          Entity Identifier or the entity object itself

                          +
                        • +
                        • +
                          Optional deleteRefs: boolean
                          +

                          Set true to delete all references to the deleted entity

                          +
                        +

                        Returns RawEntity

                      +
                      + +
                        + +
                      • +
                        +

                        Deprecated

                        Use deleteEntity

                        + +

                        Returns

                        The raw data of deleted entity

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          id: string
                        +

                        Returns any

                      +
                      + +
                        + +
                      • +
                        +

                        Parameters

                        +
                          +
                        • +
                          idOrEntity: any
                        • +
                        • +
                          prop: any
                        +

                        Returns any

                      +
                      + +
                        + +
                      • +

                        Delete one or more values from a property.

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          idOrEntity: string | Entity
                        • +
                        • +
                          prop: string
                        • +
                        • +
                          values: any
                        +

                        Returns void

                      +
                      + +
                        + +
                      • +

                        Experimental method to turn a graph into a flat dictionary eg for turning it into a table

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          item: any
                        • +
                        • +
                          depth: any
                        • +
                        • +
                          flatItem: any
                        • +
                        • +
                          propPath: any
                        • +
                        • +
                          seen: any
                        +

                        Returns any

                      +
                      + +
                        + +
                      • +

                        Get configuration value

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          key: "replace" | "link" | "array" | "merge" | "duplicate"
                          +

                          Name of the config parameter

                          +
                        +

                        Returns any

                      +
                      + +
                        + +
                      • +

                        Get the context term definition. Make sure resolveContext() has been called prior calling this method.

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          term: string
                        +

                        Returns { @id: any }

                        +
                          +
                        • +
                          @id: any
                      +
                      + +
                        + +
                      • +

                        Get an entity from the graph. +If config.link is true, any reference (object with just "@id" property) +is resolved as a nested object.

                        + +

                        Returns

                        A wrapper for entity that resolves properties as linked objects

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          id: string
                          +

                          An entity identifier

                          +
                        +

                        Returns Entity

                      +
                      + +
                      +
                      + +
                        + +
                      • +

                        Get an array of all nodes in the graph. Each node in the array is an Entity instance. +If config.link is true, any link to other node will be made into nested object.

                        + +

                        Returns

                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          raw: boolean = false
                          +

                          If true, return the internal representation as plain object.

                          +
                        +

                        Returns any[]

                      +
                      + +
                        + +
                      • +

                        Get named identifier

                        + +

                        Returns

                        the identifier

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • +
                          name: string
                        +

                        Returns string

                      +
                      + +
                      +
                      + +
                        + +
                      • +
                        +

                        Deprecated

                        Use toJSON

                        +
                        +

                        Returns { @context: {}; @graph: any[] }

                        +
                          +
                        • +
                          @context: {}
                          +
                          • +
                          • +
                            @graph: any[]
                        +
                        + +
                        +
                        + +
                          + +
                        • +
                          +

                          Deprecated

                          Use getTree with the following argument: { root, depth, allowCycle: true }

                          +
                          +
                          +

                          Parameters

                          +
                            +
                          • +
                            root: any
                          • +
                          • +
                            depth: number = 1
                          +

                          Returns any

                        +
                        + +
                          + +
                        • +

                          Get the property of an entity

                          + +

                          Returns

                          the value of the property

                          +
                          +
                          +

                          Parameters

                          +
                            +
                          • +
                            idOrEntity: any
                          • +
                          • +
                            prop: string
                          +

                          Returns any

                        +
                        + +
                        +
                        + +
                        +
                        + +
                          + +
                        • +

                          Return a JSON.stringify-ready tree structure starting from the specified item +with all values (apart from @id) as arrays +and string-values expressed like: {"@value": "string-value"}

                          + +

                          Returns

                          the root entity

                          +
                          +
                          +

                          Parameters

                          +
                            +
                          • +
                            opt: { allowCycle: boolean; depth: number; root: any; valueObject: boolean } = {}
                            +
                              +
                            • +
                              allowCycle: boolean
                            • +
                            • +
                              depth: number
                              +

                              The number of nesting the tree will have. Must be 0 or positive integer.

                              +
                            • +
                            • +
                              root: any
                            • +
                            • +
                              valueObject: boolean
                          +

                          Returns any

                        +
                        + +
                          + +
                        • +

                          Check if an entity has a type

                          + +

                          Returns

                          +
                          +

                          Parameters

                          +
                            +
                          • +
                            item: any
                          • +
                          • +
                            type: string
                          +

                          Returns boolean

                        +
                        + +
                          + +
                        • +
                          +

                          Deprecated

                          Not required anymore. Calling this method will do nothing.

                          +
                          +

                          Returns void

                        +
                        + +
                          + +
                        • +

                          Get the index of the entity in the graph array. This is an O(n) operation.

                          +
                          +
                          +

                          Parameters

                          +
                            +
                          • +
                            entityId: string
                          +

                          Returns number

                        +
                        + +
                          + +
                        • +

                          Create a simple tree-like object - but don't make circular structures

                          + +

                          Deprecated

                          Use getTree with the valueObject argument set to false`

                          +
                          +

                          Returns any

                        +
                        + +
                          + +
                        • +

                          Add a value to an item's property array

                          + +

                          Deprecated

                          Use addValues

                          +
                          +
                          +

                          Parameters

                          +
                            +
                          • +
                            item: any
                          • +
                          • +
                            prop: string
                          • +
                          • +
                            val: any
                          • +
                          • +
                            allowDuplicates: boolean = false
                          +

                          Returns void

                        +
                        + +
                          + +
                        • +
                          +

                          Returns

                          null, or an array of items

                          +
                          +
                          +

                          Parameters

                          +
                            +
                          • +
                            items: any
                            +

                            A JSON-LD item or array of [item]

                            +
                          • +
                          • +
                            pathArray: any[]
                            +

                            An array of objects that represents a 'path' through the graph. + Object must have a "property" to follow, eg: + resolve(item, {"property": "miltaryService"}); + and optionally a condition "includes", eg: + "includes": {"@type", "Action"}} + and optionally, a function "matchFn" which takes an item + as argument and returns a boolean, eg: + "matchFn": (item) => item['@id'].match(/anzsrc-for/)

                            +
                          • +
                          • +
                            Optional subgraph: any[]
                            +

                            If present and true, all intervening items during + the traversal will be stored. If an array is passed, the intervening items will be + stored in the array.

                            +
                          +

                          Returns any[]

                        +
                        + +
                          + +
                        • +

                          resolveAll does a resolve but collects and deduplicates intermediate items. +Its first returned value is the final items (ie what resolve(..)) would have returned.

                          + +

                          Returns

                          +
                          +

                          Parameters

                          +
                            +
                          • +
                            items: any
                          • +
                          • +
                            pathArray: any
                          +

                          Returns any[][]

                        +
                        + +
                          + +
                        • +

                          Generate a local flat lookup table for context terms

                          +
                          +

                          Returns Promise<{ _indexer: {}; getDefinition: any }>

                        +
                        + +
                          + +
                        • +
                          +

                          Parameters

                          +
                            +
                          • +
                            term: any
                          +

                          Returns any

                        +
                        + +
                          + +
                        • +
                          +

                          Deprecated

                          Use getGraph and pass true as the argument

                          +
                          +

                          Returns any[]

                        +
                        + +
                          + +
                        • +

                          Set a property of an entity with the given value. +If a property with the same name exists, its existing value will be replaced with the specified value. +If values contain nested non-empty entities, they will be processed recursively.

                          +
                          +
                          +

                          Parameters

                          +
                            +
                          • +
                            idOrEntity: any
                            +

                            The id of the entity to add the property to

                            +
                          • +
                          • +
                            prop: string
                            +

                            The name of the property

                            +
                          • +
                          • +
                            values: any
                            +

                            A value or an array of values

                            +
                          • +
                          • +
                            Optional duplicate: boolean
                            +

                            If true, allow a property to have duplicate values

                            +
                          +

                          Returns boolean

                        +
                        + +
                          + +
                        • +
                          +

                          Deprecated

                          Specify {array: true, link: true} in the options when creating the ROCrate instance

                          +
                          +

                          Returns boolean

                        +
                        + +
                          + +
                        • +

                          Convert the rocrate into plain JSON object. +The value returned by this method is used when JSON.stringify() is used on the ROCrate object.

                          + +

                          Returns

                          plain JSON object

                          +
                          +

                          Returns { @context: {}; @graph: any[] }

                          +
                            +
                          • +
                            @context: {}
                            +
                            • +
                            • +
                              @graph: any[]
                          +
                          + +
                            + +
                          • +

                            Generate a new unique id that does not match any existing id in the graph.

                            + +

                            Returns

                            The base suffixed with the incremental number.

                            +
                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              base: string
                              +

                              The base string of the id.

                              +
                            +

                            Returns string

                          +
                          + +
                            + +
                          • +

                            Update an entity by replacing the object with the same id. +This operations will remove all properties of the existing entity and +add the new ones contained in data, unless merge argument is true.

                            + +

                            Returns

                            false if there is no existing entity with the same id or data is empty.

                            +
                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              data: any
                            • +
                            • +
                              Optional merge: boolean = ...
                              +

                              If true, new properties will be merged. Defaults to config.merge.

                              +
                            • +
                            • +
                              Optional recurse: boolean
                              +

                              If true, nested entities will be updated as well.

                              +
                            +

                            Returns boolean

                          +
                          + +
                            + +
                          • +

                            Change the identifier of an entity node

                            +
                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              idOrEntity: any
                            • +
                            • +
                              newId: string
                            +

                            Returns boolean

                          +
                          +
                          +

                          Generated using TypeDoc

                          +
                          \ No newline at end of file diff --git a/docs/v3.1/classes/Utils.html b/docs/v3.1/classes/Utils.html new file mode 100644 index 0000000..0751845 --- /dev/null +++ b/docs/v3.1/classes/Utils.html @@ -0,0 +1,304 @@ +Utils | ro-crate - v3.1.0
                          +
                          + +
                          +
                          +
                          +
                          + +

                          Class Utils

                          +
                          +

                          Utility functions for JSON-LD

                          +
                          +
                          +

                          Hierarchy

                          +
                            +
                          • Utils
                          +
                          +
                          +
                          + +
                          +
                          +

                          Constructors

                          +
                          + +
                          +
                          +

                          Methods

                          +
                          + +
                            + +
                          • +

                            Add a property to an item

                            +
                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              item: any
                            • +
                            • +
                              prop: any
                            • +
                            • +
                              value: any
                            +

                            Returns void

                          +
                          + +
                            + +
                          • +

                            Add a type to a JSON-LD item

                            +
                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              item: any
                            • +
                            • +
                              type: any
                            +

                            Returns void

                          +
                          + +
                            + +
                          • +

                            Normalise a value to be an array. +Always return a new instance of the array to maintain consistency

                            + +

                            Returns

                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              value: any
                            +

                            Returns any[]

                          +
                          + +
                            + +
                          • +

                            Return the current value if it is already an array, else return a new array

                            + +

                            Returns

                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              value: any
                            +

                            Returns any[]

                          +
                          + +
                            + +
                          • +
                            +

                            Returns

                            +
                            +

                            Type Parameters

                            +
                              +
                            • +

                              T

                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              data: T
                            +

                            Returns T

                          +
                          + +
                            + +
                          • +

                            Count the number of properties in an object

                            +
                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              obj: any
                            +

                            Returns number

                          +
                          + +
                            + +
                          • +

                            Find if a value (can be primitives, object, or an entity) exists in a list of values

                            + +

                            Returns

                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              values: any[]
                            • +
                            • +
                              val: any
                            +

                            Returns boolean

                          +
                          + +
                            + +
                          • +
                            +

                            Returns

                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              item: any
                            • +
                            • +
                              prop: string
                            • +
                            • +
                              val: any
                            +

                            Returns boolean

                          +
                          + +
                            + +
                          • +
                            +

                            Returns

                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              item: any
                            • +
                            • +
                              type: string
                            +

                            Returns boolean

                          +
                          + +
                            + +
                          • +

                            Deep comparison for JSON-serializable plain object

                            +
                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              a: any
                            • +
                            • +
                              b: any
                            • +
                            • +
                              equalFn: any
                            +

                            Returns any

                          +
                          + +
                            + +
                          • +
                            +

                            Parameters

                            +
                              +
                            • +
                              a: any
                            • +
                            • +
                              b: any
                            +

                            Returns any

                          +
                          + +
                            + +
                          • +
                            +

                            Parameters

                            +
                              +
                            • +
                              Rest ...subgraphs: any[]
                            +

                            Returns any[]

                          +
                          +
                          +

                          Generated using TypeDoc

                          +
                          \ No newline at end of file diff --git a/docs/v3.1/index.html b/docs/v3.1/index.html new file mode 100644 index 0000000..3a3500f --- /dev/null +++ b/docs/v3.1/index.html @@ -0,0 +1,101 @@ +ro-crate - v3.1.0
                          +
                          + +
                          +
                          +
                          +
                          +

                          ro-crate - v3.1.0

                          +
                          + +

                          Research Object Crate (RO-Crate) JavaScript Library

                          +
                          +

                          This is a JavaScript library to create and manipulate Research Object Crate.

                          + + +

                          Install

                          +
                          +

                          Install the library:

                          +
                          npm install ro-crate
                          +
                          + + +

                          Usage

                          +
                          +

                          Import the ROCrate class and create a new empty crate with default configurations:

                          +
                          const {ROCrate} = require('ro-crate');
                          const crate = new ROCrate(); +
                          +

                          The ROCrate constructor accepts two optional arguments:

                          +
                          const fs = require('fs');

                          // load existing metadata
                          const data = JSON.parse(fs.readFileSync('ro-crate-metadata.json', 'utf8'));

                          // create a crate using the existing data and
                          // configure the crate to return a property of an Entity as an array and resolve linked entity as nested object
                          const crate = new ROCrate(data, { array: true, link: true }); +
                          +

                          To add an Entity to the crate:

                          +
                          // A license
                          const license = {
                          '@id': 'https://creativecommons.org/licenses/by/4.0/',
                          '@type': 'CreativeWork',
                          'description': 'Attribution 4.0 International (CC BY 4.0) ...',
                          'name': 'CC BY 4.0'
                          };
                          // add the license as an unconnected Entity
                          crate.addEntity(license);

                          // add the license to the root dataset
                          crate.rootDataset.license = {'@id': license['@id']};
                          // or alternatively, add a new entity directly into a property of other entity :
                          crate.rootDataset.license = license; +
                          +

                          Use an entity just like a normal object:

                          +
                          let lic = create.getEntity(license['@id']);
                          console.log(lic.name); // prints 'CC BY 4.0';
                          // set a property directly
                          lic.name = 'CC BY 4.0 dummy';
                          // or with the setProperty method
                          crate.setProperty(license['@id'], 'name', 'CC BY 4.0 dummy');

                          console.log(lic.name); // prints 'CC BY 4.0 dummy'; +
                          +

                          Modifying an array of values in the property is not supported yet:

                          +
                          lic.test = [1,2,3];
                          lic.test.push(4); // this does not work
                          console.log(lic.test); // prints '[1,2,3]';
                          // use this instead
                          lic.test = lic.test.concat(4);
                          // or this
                          crate.addValues(license['@id'], 'test', 4); +
                          +

                          Root Dataset is a special entity that is mandated by the standard:

                          +
                          const rootDataset = crate.rootDataset;
                          rootDataset.name = 'Tutorial Crate';
                          rootDataset.description = 'This is an example crate for educational purposes.'
                          const today = new Date().toISOString().split('T')[0]
                          rootDataset.datePublished = today; +
                          +

                          The value of the returned property can be set to be always as an array:

                          +
                          const crate1 = new ROCrate();
                          const crate2 = new ROCrate({array: true});
                          crate1.rootDataset.name = 'Tutorial Crate';
                          crate1.rootDataset.test = ['test1', 'test2'];
                          crate2.rootDataset.name = 'Tutorial Crate';
                          crate2.rootDataset.test = ['test1', 'test2'];
                          console.log(crate1.rootDataset.name); // return 'Tutorial Crate'
                          console.log(crate1.rootDataset.name); // return ['test1', 'test2']
                          console.log(crate2.rootDataset.name); // return ['Tutorial Crate']
                          console.log(crate2.rootDataset.name); // return ['test1', 'test2'] +
                          +

                          Linked entities can be automatically resolved as nested objects:

                          +
                          const crate1 = new ROCrate();
                          const crate2 = new ROCrate({link: true});
                          const crate3 = new ROCrate({link: true, array: true});
                          crate1.rootDataset.license = license;
                          crate2.rootDataset.license = license;
                          crate3.rootDataset.license = license;
                          console.log(crate1.rootDataset.license.name); // return undefined
                          console.log(crate1.rootDataset.license); // return {'@id': 'https://creativecommons.org/licenses/by/4.0/'}
                          console.log(crate2.rootDataset.license.name); // return 'CC BY 4.0'
                          console.log(crate3.rootDataset.license.name); // return undefined, property license is a array
                          console.log(crate3.rootDataset.license[0].name); // return 'CC BY 4.0' +
                          +

                          To save the rocrate data to a file, use JSON.stringify:

                          +
                          // Write pretty-printed JSONLD into the directory
                          fs.writeFileSync('ro-crate-metadata.json', JSON.stringify(crate, null, 2)); +
                          +

                          For more details, refer to the full API documentation.
                          For more usage examples, see the test files under the test directory.

                          + + +

                          HTML Rendering

                          +
                          +

                          Use the RO-Crate-HTML to generate a HTML preview from the RO-Crate Metadata File ro-crate-metadata.json.

                          + + +

                          Simple crate checker

                          +
                          +

                          There is a script included with this library that can check crates.

                          +

                          Check a crate:

                          +

                          roccheck /path/to/crate/directory

                          +

                          This is produce a simple report.

                          +
                          +
                          +
                          +

                          Generated using TypeDoc

                          +
                          \ No newline at end of file diff --git a/docs/v3.1/modules.html b/docs/v3.1/modules.html new file mode 100644 index 0000000..0692ccb --- /dev/null +++ b/docs/v3.1/modules.html @@ -0,0 +1,59 @@ +ro-crate - v3.1.0
                          +
                          + +
                          +
                          +
                          +
                          +

                          ro-crate - v3.1.0

                          +
                          +
                          +

                          Index

                          +
                          +

                          Classes

                          +
                          +
                          +

                          Type Aliases

                          +
                          +
                          +
                          +

                          Generated using TypeDoc

                          +
                          \ No newline at end of file diff --git a/docs/v3.1/types/Entity.html b/docs/v3.1/types/Entity.html new file mode 100644 index 0000000..09e151c --- /dev/null +++ b/docs/v3.1/types/Entity.html @@ -0,0 +1,69 @@ +Entity | ro-crate - v3.1.0
                          +
                          + +
                          +
                          +
                          +
                          + +

                          Type alias Entity

                          +
                          Entity: { @id: string; @reverse: { [key: string]: any }; toJSON: any; [key: string]: any }
                          +
                          +

                          Type declaration

                          +
                            +
                          • +
                            [key: string]: any
                          • +
                          • +
                            @id: string
                          • +
                          • +
                            @reverse: { [key: string]: any }
                            +
                              +
                            • +
                              [key: string]: any
                          • +
                          • +
                            toJSON:function
                            +
                          +
                          +
                          +

                          Generated using TypeDoc

                          +
                          \ No newline at end of file diff --git a/docs/v3.1/types/NodeRef.html b/docs/v3.1/types/NodeRef.html new file mode 100644 index 0000000..283d906 --- /dev/null +++ b/docs/v3.1/types/NodeRef.html @@ -0,0 +1,59 @@ +NodeRef | ro-crate - v3.1.0
                          +
                          + +
                          +
                          +
                          +
                          + +

                          Type alias NodeRef

                          +
                          NodeRef: { @id: string; @reverse: { [key: string]: any } }
                          +
                          +

                          Type declaration

                          +
                            +
                          • +
                            @id: string
                          • +
                          • +
                            @reverse: { [key: string]: any }
                            +
                              +
                            • +
                              [key: string]: any
                          +
                          +
                          +

                          Generated using TypeDoc

                          +
                          \ No newline at end of file diff --git a/docs/v3.1/types/RawEntity.html b/docs/v3.1/types/RawEntity.html new file mode 100644 index 0000000..9c974c0 --- /dev/null +++ b/docs/v3.1/types/RawEntity.html @@ -0,0 +1,56 @@ +RawEntity | ro-crate - v3.1.0
                          +
                          + +
                          +
                          +
                          +
                          + +

                          Type alias RawEntity

                          +
                          RawEntity: { @id: string; [key: string]: any }
                          +
                          +

                          Type declaration

                          +
                            +
                          • +
                            [key: string]: any
                          • +
                          • +
                            @id: string
                          +
                          +
                          +

                          Generated using TypeDoc

                          +
                          \ No newline at end of file diff --git a/docs/v3.2/.nojekyll b/docs/v3.2/.nojekyll new file mode 100644 index 0000000..e2ac661 --- /dev/null +++ b/docs/v3.2/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/v3.2/assets/highlight.css b/docs/v3.2/assets/highlight.css new file mode 100644 index 0000000..e40c908 --- /dev/null +++ b/docs/v3.2/assets/highlight.css @@ -0,0 +1,78 @@ +:root { + --light-hl-0: #001080; + --dark-hl-0: #9CDCFE; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #0000FF; + --dark-hl-2: #569CD6; + --light-hl-3: #0070C1; + --dark-hl-3: #4FC1FF; + --light-hl-4: #795E26; + --dark-hl-4: #DCDCAA; + --light-hl-5: #A31515; + --dark-hl-5: #CE9178; + --light-hl-6: #008000; + --dark-hl-6: #6A9955; + --light-hl-7: #098658; + --dark-hl-7: #B5CEA8; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +pre, code { background: var(--code-background); } diff --git a/docs/v3.2/assets/main.js b/docs/v3.2/assets/main.js new file mode 100644 index 0000000..abd0485 --- /dev/null +++ b/docs/v3.2/assets/main.js @@ -0,0 +1,54 @@ +"use strict"; +"use strict";(()=>{var Qe=Object.create;var ae=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var _e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Me=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ce(e))!Re.call(t,i)&&i!==n&&ae(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Qe(Oe(t)):{},Me(e||!t||!t.__esModule?ae(n,"default",{value:t,enumerable:!0}):n,t));var de=_e((ce,he)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var h=t.utils.clone(n)||{};h.position=[a,l],h.index=s.length,s.push(new t.Token(r.slice(a,o),h))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ou?h+=2:a==u&&(n+=r[l+1]*i[h+1],l+=2,h+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}if(s.str.length==0&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var h=s.str.charAt(0),m=s.str.charAt(1),v;m in s.node.edges?v=s.node.edges[m]:(v=new t.TokenSet,s.node.edges[m]=v),s.str.length==1&&(v.final=!0),i.push({node:v,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof ce=="object"?he.exports=n():e.lunr=n()}(this,function(){return t})})()});var le=[];function j(t,e){le.push({selector:e,constructor:t})}var Y=class{constructor(){this.createComponents(document.body)}createComponents(e){le.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r}),r.dataset.hasInstance=String(!0))})})}};var k=class{constructor(e){this.el=e.el}};var J=class{constructor(){this.listeners={}}addEventListener(e,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(n)}removeEventListener(e,n){if(!(e in this.listeners))return;let r=this.listeners[e];for(let i=0,s=r.length;i{let n=Date.now();return(...r)=>{n+e-Date.now()<0&&(t(...r),n=Date.now())}};var re=class extends J{constructor(){super();this.scrollTop=0;this.lastY=0;this.width=0;this.height=0;this.showToolbar=!0;this.toolbar=document.querySelector(".tsd-page-toolbar"),this.navigation=document.querySelector(".col-menu"),window.addEventListener("scroll",ne(()=>this.onScroll(),10)),window.addEventListener("resize",ne(()=>this.onResize(),10)),this.searchInput=document.querySelector("#tsd-search input"),this.searchInput&&this.searchInput.addEventListener("focus",()=>{this.hideShowToolbar()}),this.onResize(),this.onScroll()}triggerResize(){let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onScroll(){this.scrollTop=window.scrollY||0;let n=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(n),this.hideShowToolbar()}hideShowToolbar(){let n=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0||!!this.searchInput&&this.searchInput===document.activeElement,n!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.navigation?.classList.toggle("col-menu--hide")),this.lastY=this.scrollTop}},R=re;R.instance=new re;var X=class extends k{constructor(n){super(n);this.anchors=[];this.index=-1;R.instance.addEventListener("resize",()=>this.onResize()),R.instance.addEventListener("scroll",r=>this.onScroll(r)),this.createAnchors()}createAnchors(){let n=window.location.href;n.indexOf("#")!=-1&&(n=n.substring(0,n.indexOf("#"))),this.el.querySelectorAll("a").forEach(r=>{let i=r.href;if(i.indexOf("#")==-1||i.substring(0,n.length)!=n)return;let s=i.substring(i.indexOf("#")+1),o=document.querySelector("a.tsd-anchor[name="+s+"]"),a=r.parentNode;!o||!a||this.anchors.push({link:a,anchor:o,position:0})}),this.onResize()}onResize(){let n;for(let i=0,s=this.anchors.length;ii.position-s.position);let r=new CustomEvent("scroll",{detail:{scrollTop:R.instance.scrollTop}});this.onScroll(r)}onScroll(n){let r=n.detail.scrollTop+5,i=this.anchors,s=i.length-1,o=this.index;for(;o>-1&&i[o].position>r;)o-=1;for(;o-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=o,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}};var ue=(t,e=100)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>t(r),e)}};var me=De(de());function ve(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let n=document.querySelector("#tsd-search input"),r=document.querySelector("#tsd-search .results");if(!n||!r)throw new Error("The input field or the result list wrapper was not found");let i=!1;r.addEventListener("mousedown",()=>i=!0),r.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),n.addEventListener("focus",()=>t.classList.add("has-focus")),n.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Fe(t,r,n,s)}function Fe(t,e,n,r){n.addEventListener("input",ue(()=>{Ae(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?fe(e,-1):s.key==="ArrowDown"?fe(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function He(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=me.Index.load(window.searchData.index))}function Ae(t,e,n,r){if(He(r,t),!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s=i?r.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${pe(u.parent,i)}.${l}`);let h=document.createElement("li");h.classList.value=u.classes??"";let m=document.createElement("a");m.href=r.base+u.url,m.innerHTML=l,h.append(m),e.appendChild(h)}}function fe(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function pe(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(ie(t.substring(s,o)),`${ie(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ie(t.substring(s))),i.join("")}var Ne={"&":"&","<":"<",">":">","'":"'",'"':"""};function ie(t){return t.replace(/[&<>"'"]/g,e=>Ne[e])}var F="mousedown",ye="mousemove",B="mouseup",Z={x:0,y:0},ge=!1,se=!1,je=!1,H=!1,xe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(xe?"is-mobile":"not-mobile");xe&&"ontouchstart"in document.documentElement&&(je=!0,F="touchstart",ye="touchmove",B="touchend");document.addEventListener(F,t=>{se=!0,H=!1;let e=F=="touchstart"?t.targetTouches[0]:t;Z.y=e.pageY||0,Z.x=e.pageX||0});document.addEventListener(ye,t=>{if(!!se&&!H){let e=F=="touchstart"?t.targetTouches[0]:t,n=Z.x-(e.pageX||0),r=Z.y-(e.pageY||0);H=Math.sqrt(n*n+r*r)>10}});document.addEventListener(B,()=>{se=!1});document.addEventListener("click",t=>{ge&&(t.preventDefault(),t.stopImmediatePropagation(),ge=!1)});var K=class extends k{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){H||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!H&&this.active&&n.target.closest(".col-menu")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var oe;try{oe=localStorage}catch{oe={getItem(){return null},setItem(){}}}var Q=oe;var Le=document.head.appendChild(document.createElement("style"));Le.dataset.for="filters";var ee=class extends k{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),Le.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var te=class extends k{constructor(n){super(n);this.calculateHeights(),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.textContent.replace(/\s+/g,"-").toLowerCase()}`,this.setLocalStorage(this.fromLocalStorage(),!0),this.summary.addEventListener("click",r=>this.toggleVisibility(r)),this.icon.style.transform=this.getIconRotation()}getIconRotation(n=this.el.open){return`rotate(${n?0:-90}deg)`}calculateHeights(){let n=this.el.open,{position:r,left:i}=this.el.style;this.el.style.position="fixed",this.el.style.left="-9999px",this.el.open=!0,this.expandedHeight=this.el.offsetHeight+"px",this.el.open=!1,this.collapsedHeight=this.el.offsetHeight+"px",this.el.open=n,this.el.style.height=n?this.expandedHeight:this.collapsedHeight,this.el.style.position=r,this.el.style.left=i}toggleVisibility(n){n.preventDefault(),this.el.style.overflow="hidden",this.el.open?this.collapse():this.expand()}expand(n=!0){this.el.open=!0,this.animate(this.collapsedHeight,this.expandedHeight,{opening:!0,duration:n?300:0})}collapse(n=!0){this.animate(this.expandedHeight,this.collapsedHeight,{opening:!1,duration:n?300:0})}animate(n,r,{opening:i,duration:s=300}){if(this.animation)return;let o={duration:s,easing:"ease"};this.animation=this.el.animate({height:[n,r]},o),this.icon.animate({transform:[this.icon.style.transform||this.getIconRotation(!i),this.getIconRotation(i)]},o).addEventListener("finish",()=>{this.icon.style.transform=this.getIconRotation(i)}),this.animation.addEventListener("finish",()=>this.animationEnd(i))}animationEnd(n){this.el.open=n,this.animation=void 0,this.el.style.height="auto",this.el.style.overflow="visible",this.setLocalStorage(n)}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.open}setLocalStorage(n,r=!1){this.fromLocalStorage()===n&&!r||(Q.setItem(this.key,n.toString()),this.el.open=n,this.handleValueChange(r))}handleValueChange(n=!1){this.fromLocalStorage()===this.el.open&&!n||(this.fromLocalStorage()?this.expand(!1):this.collapse(!1))}};function be(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,Ee(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),Ee(t.value)})}function Ee(t){document.documentElement.dataset.theme=t}ve();j(X,".menu-highlight");j(K,"a[data-toggle]");j(te,".tsd-index-accordion");j(ee,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("theme");Se&&be(Se);var Be=new Y;Object.defineProperty(window,"app",{value:Be});})(); +/*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + */ +/*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */ +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ diff --git a/docs/v3.2/assets/search.js b/docs/v3.2/assets/search.js new file mode 100644 index 0000000..0c0daf2 --- /dev/null +++ b/docs/v3.2/assets/search.js @@ -0,0 +1 @@ +window.searchData = JSON.parse("{\"kinds\":{\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\",\"4194304\":\"Type alias\"},\"rows\":[{\"kind\":128,\"name\":\"ROCrate\",\"url\":\"classes/ROCrate.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":1024,\"name\":\"defaults\",\"url\":\"classes/ROCrate.html#defaults-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"ro_crate_name\",\"url\":\"classes/ROCrate.html#__type-6.ro_crate_name-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataID\",\"url\":\"classes/ROCrate.html#__type-6.roCrateMetadataID-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataIDs\",\"url\":\"classes/ROCrate.html#__type-6.roCrateMetadataIDs-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"context\",\"url\":\"classes/ROCrate.html#__type-6.context-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"render_script\",\"url\":\"classes/ROCrate.html#__type-6.render_script-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_links\",\"url\":\"classes/ROCrate.html#__type-6.back_links-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-7\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_back_links\",\"url\":\"classes/ROCrate.html#__type-6.back_back_links-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"datasetTemplate\",\"url\":\"classes/ROCrate.html#__type-6.datasetTemplate-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-8\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-6.__type-8._type-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-6.__type-8._id-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"metadataFileDescriptorTemplate\",\"url\":\"classes/ROCrate.html#__type-6.metadataFileDescriptorTemplate-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-9\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-6.__type-9._type-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-6.__type-9._id-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"identifier\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.identifier-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"about\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.about-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.__type-10\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-6.__type-9.__type-10._id-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type.__type\"},{\"kind\":1024,\"name\":\"ROCrate_Specification_Identifier\",\"url\":\"classes/ROCrate.html#__type-6.ROCrate_Specification_Identifier-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCratePreviewFileName\",\"url\":\"classes/ROCrate.html#__type-6.roCratePreviewFileName-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"pageSize\",\"url\":\"classes/ROCrate.html#__type-6.pageSize-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ROCrate.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"defaults\",\"url\":\"classes/ROCrate.html#defaults\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"ro_crate_name\",\"url\":\"classes/ROCrate.html#__type-1.ro_crate_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataID\",\"url\":\"classes/ROCrate.html#__type-1.roCrateMetadataID\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataIDs\",\"url\":\"classes/ROCrate.html#__type-1.roCrateMetadataIDs\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"context\",\"url\":\"classes/ROCrate.html#__type-1.context\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"render_script\",\"url\":\"classes/ROCrate.html#__type-1.render_script\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_links\",\"url\":\"classes/ROCrate.html#__type-1.back_links\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"back_back_links\",\"url\":\"classes/ROCrate.html#__type-1.back_back_links\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"datasetTemplate\",\"url\":\"classes/ROCrate.html#__type-1.datasetTemplate\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-3\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-1.__type-3._type\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-1.__type-3._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"metadataFileDescriptorTemplate\",\"url\":\"classes/ROCrate.html#__type-1.metadataFileDescriptorTemplate\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-4\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#__type-1.__type-4._type-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-1.__type-4._id-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"identifier\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.identifier\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"about\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.about\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.__type-5\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#__type-1.__type-4.__type-5._id-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type.__type.__type\"},{\"kind\":1024,\"name\":\"ROCrate_Specification_Identifier\",\"url\":\"classes/ROCrate.html#__type-1.ROCrate_Specification_Identifier\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"roCratePreviewFileName\",\"url\":\"classes/ROCrate.html#__type-1.roCratePreviewFileName\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"pageSize\",\"url\":\"classes/ROCrate.html#__type-1.pageSize\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.__type\"},{\"kind\":1024,\"name\":\"utils\",\"url\":\"classes/ROCrate.html#utils\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"config\",\"url\":\"classes/ROCrate.html#config\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#_context\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#_context._context-1.__type-11\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.@context.@context\"},{\"kind\":262144,\"name\":\"context\",\"url\":\"classes/ROCrate.html#context-2\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#context-2.context-3.__type-12\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.context.context\"},{\"kind\":262144,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#_graph\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"graph\",\"url\":\"classes/ROCrate.html#graph\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"graphSize\",\"url\":\"classes/ROCrate.html#graphSize\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"metadataFileEntity\",\"url\":\"classes/ROCrate.html#metadataFileEntity\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"rootDataset\",\"url\":\"classes/ROCrate.html#rootDataset\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"rootId\",\"url\":\"classes/ROCrate.html#rootId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"clone\",\"url\":\"classes/ROCrate.html#clone\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"entities\",\"url\":\"classes/ROCrate.html#entities\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-13\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.entities.entities\"},{\"kind\":2048,\"name\":\"[iterator]\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-13._iterator_\",\"classes\":\"tsd-kind-method tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.entities.entities.__type\"},{\"kind\":2048,\"name\":\"next\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-13.next\",\"classes\":\"tsd-kind-method tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.entities.entities.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-13.next.next-1.__type-14\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.entities.entities.__type.next.next\"},{\"kind\":1024,\"name\":\"done\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-13.next.next-1.__type-14.done\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.entities.entities.__type.next.next.__type\"},{\"kind\":1024,\"name\":\"value\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-13.next.next-1.__type-14.value\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.entities.entities.__type.next.next.__type\"},{\"kind\":2048,\"name\":\"addEntity\",\"url\":\"classes/ROCrate.html#addEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteEntity\",\"url\":\"classes/ROCrate.html#deleteEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"updateEntity\",\"url\":\"classes/ROCrate.html#updateEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"updateEntityId\",\"url\":\"classes/ROCrate.html#updateEntityId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getProperty\",\"url\":\"classes/ROCrate.html#getProperty\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"setProperty\",\"url\":\"classes/ROCrate.html#setProperty\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteProperty\",\"url\":\"classes/ROCrate.html#deleteProperty\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteValues\",\"url\":\"classes/ROCrate.html#deleteValues\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addValues\",\"url\":\"classes/ROCrate.html#addValues\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getConfig\",\"url\":\"classes/ROCrate.html#getConfig\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getEntity\",\"url\":\"classes/ROCrate.html#getEntity\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"indexOf\",\"url\":\"classes/ROCrate.html#indexOf\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getGraph\",\"url\":\"classes/ROCrate.html#getGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addProfile\",\"url\":\"classes/ROCrate.html#addProfile\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addProvenance\",\"url\":\"classes/ROCrate.html#addProvenance\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addIdentifier\",\"url\":\"classes/ROCrate.html#addIdentifier\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getIdentifier\",\"url\":\"classes/ROCrate.html#getIdentifier\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"toJSON\",\"url\":\"classes/ROCrate.html#toJSON\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-18\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON\"},{\"kind\":1024,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-18._context-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-18.__type-19\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":1024,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-18._graph-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":2048,\"name\":\"getTree\",\"url\":\"classes/ROCrate.html#getTree\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolve\",\"url\":\"classes/ROCrate.html#resolve\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveAll\",\"url\":\"classes/ROCrate.html#resolveAll\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"uniqueId\",\"url\":\"classes/ROCrate.html#uniqueId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"flatify\",\"url\":\"classes/ROCrate.html#flatify\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveContext\",\"url\":\"classes/ROCrate.html#resolveContext\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getDefinition\",\"url\":\"classes/ROCrate.html#getDefinition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getDefinition.getDefinition-1.__type-15\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.getDefinition.getDefinition\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#getDefinition.getDefinition-1.__type-15._id-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getDefinition.getDefinition.__type\"},{\"kind\":2048,\"name\":\"addContext\",\"url\":\"classes/ROCrate.html#addContext\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveTerm\",\"url\":\"classes/ROCrate.html#resolveTerm\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"hasType\",\"url\":\"classes/ROCrate.html#hasType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addItem\",\"url\":\"classes/ROCrate.html#addItem\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteItem\",\"url\":\"classes/ROCrate.html#deleteItem\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addBackLinks\",\"url\":\"classes/ROCrate.html#addBackLinks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"dedupeSubgraphs\",\"url\":\"classes/ROCrate.html#dedupeSubgraphs\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"index\",\"url\":\"classes/ROCrate.html#index\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"pushValue\",\"url\":\"classes/ROCrate.html#pushValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"changeGraphId\",\"url\":\"classes/ROCrate.html#changeGraphId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getItem\",\"url\":\"classes/ROCrate.html#getItem\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getFlatGraph\",\"url\":\"classes/ROCrate.html#getFlatGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getRootDataset\",\"url\":\"classes/ROCrate.html#getRootDataset\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getRootId\",\"url\":\"classes/ROCrate.html#getRootId\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getJson\",\"url\":\"classes/ROCrate.html#getJson\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-16\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson\"},{\"kind\":1024,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-16._context-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-16.__type-17\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":1024,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-16._graph-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":2048,\"name\":\"getNamedIdentifier\",\"url\":\"classes/ROCrate.html#getNamedIdentifier\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"serializeGraph\",\"url\":\"classes/ROCrate.html#serializeGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"toGraph\",\"url\":\"classes/ROCrate.html#toGraph\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getNormalizedTree\",\"url\":\"classes/ROCrate.html#getNormalizedTree\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"objectify\",\"url\":\"classes/ROCrate.html#objectify\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ROCrate\"},{\"kind\":128,\"name\":\"Checker\",\"url\":\"classes/Checker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Checker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"crate\",\"url\":\"classes/Checker.html#crate\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"checklist\",\"url\":\"classes/Checker.html#checklist\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasContext\",\"url\":\"classes/Checker.html#hasContext\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasRootDataset\",\"url\":\"classes/Checker.html#hasRootDataset\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasRootDatasetWithProperID\",\"url\":\"classes/Checker.html#hasRootDatasetWithProperID\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasName\",\"url\":\"classes/Checker.html#hasName\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasDescription\",\"url\":\"classes/Checker.html#hasDescription\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasAuthor\",\"url\":\"classes/Checker.html#hasAuthor\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasLicense\",\"url\":\"classes/Checker.html#hasLicense\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasDatePublished\",\"url\":\"classes/Checker.html#hasDatePublished\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasContactPoint\",\"url\":\"classes/Checker.html#hasContactPoint\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"check\",\"url\":\"classes/Checker.html#check\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"isROCrate\",\"url\":\"classes/Checker.html#isROCrate\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"summarize\",\"url\":\"classes/Checker.html#summarize\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"report\",\"url\":\"classes/Checker.html#report\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"validate\",\"url\":\"classes/Checker.html#validate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Checker\"},{\"kind\":128,\"name\":\"CheckItem\",\"url\":\"classes/CheckItem.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/CheckItem.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"classes/CheckItem.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"message\",\"url\":\"classes/CheckItem.html#message\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/CheckItem.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"diagnostics\",\"url\":\"classes/CheckItem.html#diagnostics\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"CheckItem\"},{\"kind\":128,\"name\":\"Utils\",\"url\":\"classes/Utils.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"hasType\",\"url\":\"classes/Utils.html#hasType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/Utils.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"asArray\",\"url\":\"classes/Utils.html#asArray\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"asArrayRef\",\"url\":\"classes/Utils.html#asArrayRef\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"addType\",\"url\":\"classes/Utils.html#addType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/Utils.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"union\",\"url\":\"classes/Utils.html#union\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"clone\",\"url\":\"classes/Utils.html#clone\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"countProp\",\"url\":\"classes/Utils.html#countProp\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"isEqual\",\"url\":\"classes/Utils.html#isEqual\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"isEqualRef\",\"url\":\"classes/Utils.html#isEqualRef\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"exists\",\"url\":\"classes/Utils.html#exists\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Utils.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Utils\"},{\"kind\":4194304,\"name\":\"NodeRef\",\"url\":\"types/NodeRef.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/NodeRef.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"NodeRef\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/NodeRef.html#__type._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"NodeRef.__type\"},{\"kind\":1024,\"name\":\"@reverse\",\"url\":\"types/NodeRef.html#__type._reverse\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"NodeRef.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/NodeRef.html#__type.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"NodeRef.__type\"},{\"kind\":4194304,\"name\":\"RawEntity\",\"url\":\"types/RawEntity.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/RawEntity.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"RawEntity\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/RawEntity.html#__type._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"RawEntity.__type\"},{\"kind\":4194304,\"name\":\"Entity\",\"url\":\"types/Entity.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Entity.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"Entity\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/Entity.html#__type._id\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"},{\"kind\":1024,\"name\":\"@reverse\",\"url\":\"types/Entity.html#__type._reverse\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Entity.html#__type.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"},{\"kind\":2048,\"name\":\"toJSON\",\"url\":\"types/Entity.html#__type.toJSON\",\"classes\":\"tsd-kind-method tsd-parent-kind-type-literal\",\"parent\":\"Entity.__type\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,47.93]],[\"comment/0\",[]],[\"name/1\",[1,42.822]],[\"comment/1\",[]],[\"name/2\",[2,19.598]],[\"comment/2\",[]],[\"name/3\",[3,42.822]],[\"comment/3\",[]],[\"name/4\",[4,42.822]],[\"comment/4\",[]],[\"name/5\",[5,42.822]],[\"comment/5\",[]],[\"name/6\",[6,33.267]],[\"comment/6\",[]],[\"name/7\",[7,42.822]],[\"comment/7\",[]],[\"name/8\",[8,42.822]],[\"comment/8\",[]],[\"name/9\",[2,19.598]],[\"comment/9\",[]],[\"name/10\",[9,42.822]],[\"comment/10\",[]],[\"name/11\",[10,42.822]],[\"comment/11\",[]],[\"name/12\",[2,19.598]],[\"comment/12\",[]],[\"name/13\",[11,36.944]],[\"comment/13\",[]],[\"name/14\",[12,28.471]],[\"comment/14\",[]],[\"name/15\",[13,42.822]],[\"comment/15\",[]],[\"name/16\",[2,19.598]],[\"comment/16\",[]],[\"name/17\",[11,36.944]],[\"comment/17\",[]],[\"name/18\",[12,28.471]],[\"comment/18\",[]],[\"name/19\",[14,42.822]],[\"comment/19\",[]],[\"name/20\",[15,42.822]],[\"comment/20\",[]],[\"name/21\",[2,19.598]],[\"comment/21\",[]],[\"name/22\",[12,28.471]],[\"comment/22\",[]],[\"name/23\",[16,42.822]],[\"comment/23\",[]],[\"name/24\",[17,42.822]],[\"comment/24\",[]],[\"name/25\",[18,42.822]],[\"comment/25\",[]],[\"name/26\",[19,36.944]],[\"comment/26\",[]],[\"name/27\",[1,42.822]],[\"comment/27\",[]],[\"name/28\",[2,19.598]],[\"comment/28\",[]],[\"name/29\",[3,42.822]],[\"comment/29\",[]],[\"name/30\",[4,42.822]],[\"comment/30\",[]],[\"name/31\",[5,42.822]],[\"comment/31\",[]],[\"name/32\",[6,33.267]],[\"comment/32\",[]],[\"name/33\",[7,42.822]],[\"comment/33\",[]],[\"name/34\",[8,42.822]],[\"comment/34\",[]],[\"name/35\",[2,19.598]],[\"comment/35\",[]],[\"name/36\",[9,42.822]],[\"comment/36\",[]],[\"name/37\",[10,42.822]],[\"comment/37\",[]],[\"name/38\",[2,19.598]],[\"comment/38\",[]],[\"name/39\",[11,36.944]],[\"comment/39\",[]],[\"name/40\",[12,28.471]],[\"comment/40\",[]],[\"name/41\",[13,42.822]],[\"comment/41\",[]],[\"name/42\",[2,19.598]],[\"comment/42\",[]],[\"name/43\",[11,36.944]],[\"comment/43\",[]],[\"name/44\",[12,28.471]],[\"comment/44\",[]],[\"name/45\",[14,42.822]],[\"comment/45\",[]],[\"name/46\",[15,42.822]],[\"comment/46\",[]],[\"name/47\",[2,19.598]],[\"comment/47\",[]],[\"name/48\",[12,28.471]],[\"comment/48\",[]],[\"name/49\",[16,42.822]],[\"comment/49\",[]],[\"name/50\",[17,42.822]],[\"comment/50\",[]],[\"name/51\",[18,42.822]],[\"comment/51\",[]],[\"name/52\",[20,42.822]],[\"comment/52\",[]],[\"name/53\",[21,47.93]],[\"comment/53\",[]],[\"name/54\",[2,19.598]],[\"comment/54\",[]],[\"name/55\",[6,33.267]],[\"comment/55\",[]],[\"name/56\",[2,19.598]],[\"comment/56\",[]],[\"name/57\",[6,33.267]],[\"comment/57\",[]],[\"name/58\",[2,19.598]],[\"comment/58\",[]],[\"name/59\",[22,36.944]],[\"comment/59\",[]],[\"name/60\",[22,36.944]],[\"comment/60\",[]],[\"name/61\",[23,47.93]],[\"comment/61\",[]],[\"name/62\",[24,47.93]],[\"comment/62\",[]],[\"name/63\",[25,47.93]],[\"comment/63\",[]],[\"name/64\",[26,47.93]],[\"comment/64\",[]],[\"name/65\",[27,42.822]],[\"comment/65\",[]],[\"name/66\",[28,47.93]],[\"comment/66\",[]],[\"name/67\",[2,19.598]],[\"comment/67\",[]],[\"name/68\",[29,47.93]],[\"comment/68\",[]],[\"name/69\",[30,47.93]],[\"comment/69\",[]],[\"name/70\",[2,19.598]],[\"comment/70\",[]],[\"name/71\",[31,47.93]],[\"comment/71\",[]],[\"name/72\",[32,47.93]],[\"comment/72\",[]],[\"name/73\",[33,47.93]],[\"comment/73\",[]],[\"name/74\",[34,47.93]],[\"comment/74\",[]],[\"name/75\",[35,47.93]],[\"comment/75\",[]],[\"name/76\",[36,47.93]],[\"comment/76\",[]],[\"name/77\",[37,47.93]],[\"comment/77\",[]],[\"name/78\",[38,47.93]],[\"comment/78\",[]],[\"name/79\",[39,47.93]],[\"comment/79\",[]],[\"name/80\",[40,47.93]],[\"comment/80\",[]],[\"name/81\",[41,47.93]],[\"comment/81\",[]],[\"name/82\",[42,47.93]],[\"comment/82\",[]],[\"name/83\",[43,47.93]],[\"comment/83\",[]],[\"name/84\",[44,47.93]],[\"comment/84\",[]],[\"name/85\",[45,47.93]],[\"comment/85\",[]],[\"name/86\",[46,47.93]],[\"comment/86\",[]],[\"name/87\",[47,47.93]],[\"comment/87\",[]],[\"name/88\",[48,47.93]],[\"comment/88\",[]],[\"name/89\",[49,47.93]],[\"comment/89\",[]],[\"name/90\",[50,42.822]],[\"comment/90\",[]],[\"name/91\",[2,19.598]],[\"comment/91\",[]],[\"name/92\",[6,33.267]],[\"comment/92\",[]],[\"name/93\",[2,19.598]],[\"comment/93\",[]],[\"name/94\",[22,36.944]],[\"comment/94\",[]],[\"name/95\",[51,47.93]],[\"comment/95\",[]],[\"name/96\",[52,47.93]],[\"comment/96\",[]],[\"name/97\",[53,47.93]],[\"comment/97\",[]],[\"name/98\",[54,47.93]],[\"comment/98\",[]],[\"name/99\",[55,47.93]],[\"comment/99\",[]],[\"name/100\",[56,47.93]],[\"comment/100\",[]],[\"name/101\",[57,47.93]],[\"comment/101\",[]],[\"name/102\",[2,19.598]],[\"comment/102\",[]],[\"name/103\",[12,28.471]],[\"comment/103\",[]],[\"name/104\",[58,47.93]],[\"comment/104\",[]],[\"name/105\",[59,47.93]],[\"comment/105\",[]],[\"name/106\",[60,42.822]],[\"comment/106\",[]],[\"name/107\",[61,47.93]],[\"comment/107\",[]],[\"name/108\",[62,47.93]],[\"comment/108\",[]],[\"name/109\",[63,47.93]],[\"comment/109\",[]],[\"name/110\",[64,47.93]],[\"comment/110\",[]],[\"name/111\",[65,47.93]],[\"comment/111\",[]],[\"name/112\",[66,47.93]],[\"comment/112\",[]],[\"name/113\",[67,47.93]],[\"comment/113\",[]],[\"name/114\",[68,47.93]],[\"comment/114\",[]],[\"name/115\",[69,47.93]],[\"comment/115\",[]],[\"name/116\",[70,47.93]],[\"comment/116\",[]],[\"name/117\",[71,47.93]],[\"comment/117\",[]],[\"name/118\",[72,47.93]],[\"comment/118\",[]],[\"name/119\",[2,19.598]],[\"comment/119\",[]],[\"name/120\",[6,33.267]],[\"comment/120\",[]],[\"name/121\",[2,19.598]],[\"comment/121\",[]],[\"name/122\",[22,36.944]],[\"comment/122\",[]],[\"name/123\",[73,47.93]],[\"comment/123\",[]],[\"name/124\",[74,47.93]],[\"comment/124\",[]],[\"name/125\",[75,47.93]],[\"comment/125\",[]],[\"name/126\",[76,47.93]],[\"comment/126\",[]],[\"name/127\",[77,47.93]],[\"comment/127\",[]],[\"name/128\",[78,47.93]],[\"comment/128\",[]],[\"name/129\",[19,36.944]],[\"comment/129\",[]],[\"name/130\",[79,47.93]],[\"comment/130\",[]],[\"name/131\",[80,47.93]],[\"comment/131\",[]],[\"name/132\",[81,47.93]],[\"comment/132\",[]],[\"name/133\",[82,47.93]],[\"comment/133\",[]],[\"name/134\",[83,47.93]],[\"comment/134\",[]],[\"name/135\",[84,47.93]],[\"comment/135\",[]],[\"name/136\",[85,47.93]],[\"comment/136\",[]],[\"name/137\",[86,47.93]],[\"comment/137\",[]],[\"name/138\",[87,47.93]],[\"comment/138\",[]],[\"name/139\",[88,47.93]],[\"comment/139\",[]],[\"name/140\",[89,47.93]],[\"comment/140\",[]],[\"name/141\",[90,47.93]],[\"comment/141\",[]],[\"name/142\",[91,47.93]],[\"comment/142\",[]],[\"name/143\",[92,47.93]],[\"comment/143\",[]],[\"name/144\",[93,47.93]],[\"comment/144\",[]],[\"name/145\",[94,47.93]],[\"comment/145\",[]],[\"name/146\",[95,47.93]],[\"comment/146\",[]],[\"name/147\",[19,36.944]],[\"comment/147\",[]],[\"name/148\",[96,47.93]],[\"comment/148\",[]],[\"name/149\",[97,47.93]],[\"comment/149\",[]],[\"name/150\",[98,47.93]],[\"comment/150\",[]],[\"name/151\",[99,47.93]],[\"comment/151\",[]],[\"name/152\",[20,42.822]],[\"comment/152\",[]],[\"name/153\",[60,42.822]],[\"comment/153\",[]],[\"name/154\",[100,47.93]],[\"comment/154\",[]],[\"name/155\",[101,47.93]],[\"comment/155\",[]],[\"name/156\",[102,47.93]],[\"comment/156\",[]],[\"name/157\",[103,47.93]],[\"comment/157\",[]],[\"name/158\",[104,47.93]],[\"comment/158\",[]],[\"name/159\",[105,47.93]],[\"comment/159\",[]],[\"name/160\",[27,42.822]],[\"comment/160\",[]],[\"name/161\",[106,47.93]],[\"comment/161\",[]],[\"name/162\",[107,47.93]],[\"comment/162\",[]],[\"name/163\",[108,47.93]],[\"comment/163\",[]],[\"name/164\",[109,47.93]],[\"comment/164\",[]],[\"name/165\",[19,36.944]],[\"comment/165\",[]],[\"name/166\",[110,47.93]],[\"comment/166\",[]],[\"name/167\",[2,19.598]],[\"comment/167\",[]],[\"name/168\",[12,28.471]],[\"comment/168\",[]],[\"name/169\",[111,42.822]],[\"comment/169\",[]],[\"name/170\",[2,19.598]],[\"comment/170\",[]],[\"name/171\",[112,47.93]],[\"comment/171\",[]],[\"name/172\",[2,19.598]],[\"comment/172\",[]],[\"name/173\",[12,28.471]],[\"comment/173\",[]],[\"name/174\",[113,47.93]],[\"comment/174\",[]],[\"name/175\",[2,19.598]],[\"comment/175\",[]],[\"name/176\",[12,28.471]],[\"comment/176\",[]],[\"name/177\",[111,42.822]],[\"comment/177\",[]],[\"name/178\",[2,19.598]],[\"comment/178\",[]],[\"name/179\",[50,42.822]],[\"comment/179\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":2,\"name\":{\"2\":{},\"9\":{},\"12\":{},\"16\":{},\"21\":{},\"28\":{},\"35\":{},\"38\":{},\"42\":{},\"47\":{},\"54\":{},\"56\":{},\"58\":{},\"67\":{},\"70\":{},\"91\":{},\"93\":{},\"102\":{},\"119\":{},\"121\":{},\"167\":{},\"170\":{},\"172\":{},\"175\":{},\"178\":{}},\"comment\":{}}],[\"about\",{\"_index\":15,\"name\":{\"20\":{},\"46\":{}},\"comment\":{}}],[\"add\",{\"_index\":104,\"name\":{\"158\":{}},\"comment\":{}}],[\"addbacklinks\",{\"_index\":63,\"name\":{\"109\":{}},\"comment\":{}}],[\"addcontext\",{\"_index\":58,\"name\":{\"104\":{}},\"comment\":{}}],[\"addentity\",{\"_index\":33,\"name\":{\"73\":{}},\"comment\":{}}],[\"addidentifier\",{\"_index\":48,\"name\":{\"88\":{}},\"comment\":{}}],[\"additem\",{\"_index\":61,\"name\":{\"107\":{}},\"comment\":{}}],[\"addprofile\",{\"_index\":46,\"name\":{\"86\":{}},\"comment\":{}}],[\"addprovenance\",{\"_index\":47,\"name\":{\"87\":{}},\"comment\":{}}],[\"addtype\",{\"_index\":103,\"name\":{\"157\":{}},\"comment\":{}}],[\"addvalues\",{\"_index\":41,\"name\":{\"81\":{}},\"comment\":{}}],[\"asarray\",{\"_index\":101,\"name\":{\"155\":{}},\"comment\":{}}],[\"asarrayref\",{\"_index\":102,\"name\":{\"156\":{}},\"comment\":{}}],[\"back_back_links\",{\"_index\":9,\"name\":{\"10\":{},\"36\":{}},\"comment\":{}}],[\"back_links\",{\"_index\":8,\"name\":{\"8\":{},\"34\":{}},\"comment\":{}}],[\"changegraphid\",{\"_index\":67,\"name\":{\"113\":{}},\"comment\":{}}],[\"check\",{\"_index\":90,\"name\":{\"141\":{}},\"comment\":{}}],[\"checker\",{\"_index\":78,\"name\":{\"128\":{}},\"comment\":{}}],[\"checkitem\",{\"_index\":95,\"name\":{\"146\":{}},\"comment\":{}}],[\"checklist\",{\"_index\":80,\"name\":{\"131\":{}},\"comment\":{}}],[\"clone\",{\"_index\":27,\"name\":{\"65\":{},\"160\":{}},\"comment\":{}}],[\"config\",{\"_index\":21,\"name\":{\"53\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":19,\"name\":{\"26\":{},\"129\":{},\"147\":{},\"165\":{}},\"comment\":{}}],[\"context\",{\"_index\":6,\"name\":{\"6\":{},\"32\":{},\"55\":{},\"57\":{},\"92\":{},\"120\":{}},\"comment\":{}}],[\"countprop\",{\"_index\":106,\"name\":{\"161\":{}},\"comment\":{}}],[\"crate\",{\"_index\":79,\"name\":{\"130\":{}},\"comment\":{}}],[\"datasettemplate\",{\"_index\":10,\"name\":{\"11\":{},\"37\":{}},\"comment\":{}}],[\"dedupesubgraphs\",{\"_index\":64,\"name\":{\"110\":{}},\"comment\":{}}],[\"defaults\",{\"_index\":1,\"name\":{\"1\":{},\"27\":{}},\"comment\":{}}],[\"deleteentity\",{\"_index\":34,\"name\":{\"74\":{}},\"comment\":{}}],[\"deleteitem\",{\"_index\":62,\"name\":{\"108\":{}},\"comment\":{}}],[\"deleteproperty\",{\"_index\":39,\"name\":{\"79\":{}},\"comment\":{}}],[\"deletevalues\",{\"_index\":40,\"name\":{\"80\":{}},\"comment\":{}}],[\"diagnostics\",{\"_index\":99,\"name\":{\"151\":{}},\"comment\":{}}],[\"done\",{\"_index\":31,\"name\":{\"71\":{}},\"comment\":{}}],[\"entities\",{\"_index\":28,\"name\":{\"66\":{}},\"comment\":{}}],[\"entity\",{\"_index\":113,\"name\":{\"174\":{}},\"comment\":{}}],[\"exists\",{\"_index\":109,\"name\":{\"164\":{}},\"comment\":{}}],[\"flatify\",{\"_index\":55,\"name\":{\"99\":{}},\"comment\":{}}],[\"getconfig\",{\"_index\":42,\"name\":{\"82\":{}},\"comment\":{}}],[\"getdefinition\",{\"_index\":57,\"name\":{\"101\":{}},\"comment\":{}}],[\"getentity\",{\"_index\":43,\"name\":{\"83\":{}},\"comment\":{}}],[\"getflatgraph\",{\"_index\":69,\"name\":{\"115\":{}},\"comment\":{}}],[\"getgraph\",{\"_index\":45,\"name\":{\"85\":{}},\"comment\":{}}],[\"getidentifier\",{\"_index\":49,\"name\":{\"89\":{}},\"comment\":{}}],[\"getitem\",{\"_index\":68,\"name\":{\"114\":{}},\"comment\":{}}],[\"getjson\",{\"_index\":72,\"name\":{\"118\":{}},\"comment\":{}}],[\"getnamedidentifier\",{\"_index\":73,\"name\":{\"123\":{}},\"comment\":{}}],[\"getnormalizedtree\",{\"_index\":76,\"name\":{\"126\":{}},\"comment\":{}}],[\"getproperty\",{\"_index\":37,\"name\":{\"77\":{}},\"comment\":{}}],[\"getrootdataset\",{\"_index\":70,\"name\":{\"116\":{}},\"comment\":{}}],[\"getrootid\",{\"_index\":71,\"name\":{\"117\":{}},\"comment\":{}}],[\"gettree\",{\"_index\":51,\"name\":{\"95\":{}},\"comment\":{}}],[\"graph\",{\"_index\":22,\"name\":{\"59\":{},\"60\":{},\"94\":{},\"122\":{}},\"comment\":{}}],[\"graphsize\",{\"_index\":23,\"name\":{\"61\":{}},\"comment\":{}}],[\"has\",{\"_index\":100,\"name\":{\"154\":{}},\"comment\":{}}],[\"hasauthor\",{\"_index\":86,\"name\":{\"137\":{}},\"comment\":{}}],[\"hascontactpoint\",{\"_index\":89,\"name\":{\"140\":{}},\"comment\":{}}],[\"hascontext\",{\"_index\":81,\"name\":{\"132\":{}},\"comment\":{}}],[\"hasdatepublished\",{\"_index\":88,\"name\":{\"139\":{}},\"comment\":{}}],[\"hasdescription\",{\"_index\":85,\"name\":{\"136\":{}},\"comment\":{}}],[\"haslicense\",{\"_index\":87,\"name\":{\"138\":{}},\"comment\":{}}],[\"hasname\",{\"_index\":84,\"name\":{\"135\":{}},\"comment\":{}}],[\"hasrootdataset\",{\"_index\":82,\"name\":{\"133\":{}},\"comment\":{}}],[\"hasrootdatasetwithproperid\",{\"_index\":83,\"name\":{\"134\":{}},\"comment\":{}}],[\"hastype\",{\"_index\":60,\"name\":{\"106\":{},\"153\":{}},\"comment\":{}}],[\"id\",{\"_index\":12,\"name\":{\"14\":{},\"18\":{},\"22\":{},\"40\":{},\"44\":{},\"48\":{},\"103\":{},\"168\":{},\"173\":{},\"176\":{}},\"comment\":{}}],[\"identifier\",{\"_index\":14,\"name\":{\"19\":{},\"45\":{}},\"comment\":{}}],[\"index\",{\"_index\":65,\"name\":{\"111\":{}},\"comment\":{}}],[\"indexof\",{\"_index\":44,\"name\":{\"84\":{}},\"comment\":{}}],[\"isequal\",{\"_index\":107,\"name\":{\"162\":{}},\"comment\":{}}],[\"isequalref\",{\"_index\":108,\"name\":{\"163\":{}},\"comment\":{}}],[\"isrocrate\",{\"_index\":91,\"name\":{\"142\":{}},\"comment\":{}}],[\"iterator\",{\"_index\":29,\"name\":{\"68\":{}},\"comment\":{}}],[\"message\",{\"_index\":97,\"name\":{\"149\":{}},\"comment\":{}}],[\"metadatafiledescriptortemplate\",{\"_index\":13,\"name\":{\"15\":{},\"41\":{}},\"comment\":{}}],[\"metadatafileentity\",{\"_index\":24,\"name\":{\"62\":{}},\"comment\":{}}],[\"name\",{\"_index\":96,\"name\":{\"148\":{}},\"comment\":{}}],[\"next\",{\"_index\":30,\"name\":{\"69\":{}},\"comment\":{}}],[\"noderef\",{\"_index\":110,\"name\":{\"166\":{}},\"comment\":{}}],[\"objectify\",{\"_index\":77,\"name\":{\"127\":{}},\"comment\":{}}],[\"pagesize\",{\"_index\":18,\"name\":{\"25\":{},\"51\":{}},\"comment\":{}}],[\"pushvalue\",{\"_index\":66,\"name\":{\"112\":{}},\"comment\":{}}],[\"rawentity\",{\"_index\":112,\"name\":{\"171\":{}},\"comment\":{}}],[\"render_script\",{\"_index\":7,\"name\":{\"7\":{},\"33\":{}},\"comment\":{}}],[\"report\",{\"_index\":93,\"name\":{\"144\":{}},\"comment\":{}}],[\"resolve\",{\"_index\":52,\"name\":{\"96\":{}},\"comment\":{}}],[\"resolveall\",{\"_index\":53,\"name\":{\"97\":{}},\"comment\":{}}],[\"resolvecontext\",{\"_index\":56,\"name\":{\"100\":{}},\"comment\":{}}],[\"resolveterm\",{\"_index\":59,\"name\":{\"105\":{}},\"comment\":{}}],[\"reverse\",{\"_index\":111,\"name\":{\"169\":{},\"177\":{}},\"comment\":{}}],[\"ro_crate_name\",{\"_index\":3,\"name\":{\"3\":{},\"29\":{}},\"comment\":{}}],[\"rocrate\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"rocrate_specification_identifier\",{\"_index\":16,\"name\":{\"23\":{},\"49\":{}},\"comment\":{}}],[\"rocratemetadataid\",{\"_index\":4,\"name\":{\"4\":{},\"30\":{}},\"comment\":{}}],[\"rocratemetadataids\",{\"_index\":5,\"name\":{\"5\":{},\"31\":{}},\"comment\":{}}],[\"rocratepreviewfilename\",{\"_index\":17,\"name\":{\"24\":{},\"50\":{}},\"comment\":{}}],[\"rootdataset\",{\"_index\":25,\"name\":{\"63\":{}},\"comment\":{}}],[\"rootid\",{\"_index\":26,\"name\":{\"64\":{}},\"comment\":{}}],[\"serializegraph\",{\"_index\":74,\"name\":{\"124\":{}},\"comment\":{}}],[\"setproperty\",{\"_index\":38,\"name\":{\"78\":{}},\"comment\":{}}],[\"status\",{\"_index\":98,\"name\":{\"150\":{}},\"comment\":{}}],[\"summarize\",{\"_index\":92,\"name\":{\"143\":{}},\"comment\":{}}],[\"tograph\",{\"_index\":75,\"name\":{\"125\":{}},\"comment\":{}}],[\"tojson\",{\"_index\":50,\"name\":{\"90\":{},\"179\":{}},\"comment\":{}}],[\"type\",{\"_index\":11,\"name\":{\"13\":{},\"17\":{},\"39\":{},\"43\":{}},\"comment\":{}}],[\"union\",{\"_index\":105,\"name\":{\"159\":{}},\"comment\":{}}],[\"uniqueid\",{\"_index\":54,\"name\":{\"98\":{}},\"comment\":{}}],[\"updateentity\",{\"_index\":35,\"name\":{\"75\":{}},\"comment\":{}}],[\"updateentityid\",{\"_index\":36,\"name\":{\"76\":{}},\"comment\":{}}],[\"utils\",{\"_index\":20,\"name\":{\"52\":{},\"152\":{}},\"comment\":{}}],[\"validate\",{\"_index\":94,\"name\":{\"145\":{}},\"comment\":{}}],[\"value\",{\"_index\":32,\"name\":{\"72\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/v3.2/assets/style.css b/docs/v3.2/assets/style.css new file mode 100644 index 0000000..958d2c2 --- /dev/null +++ b/docs/v3.2/assets/style.css @@ -0,0 +1,1225 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-text: #222; + --light-color-text-aside: #707070; + --light-color-link: #4da6ff; + --light-color-ts: #db1373; + --light-color-ts-interface: #139d2c; + --light-color-ts-enum: #9c891a; + --light-color-ts-class: #2484e5; + --light-color-ts-function: #572be7; + --light-color-ts-namespace: #b111c9; + --light-color-ts-private: #707070; + --light-color-ts-variable: #4d68ff; + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + --dark-color-ts: #ff6492; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-class: #61b0ff; + --dark-color-ts-function: #9772ff; + --dark-color-ts-namespace: #e14dff; + --dark-color-ts-private: #e2e2e2; + --dark-color-ts-variable: #4d68ff; + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-function: var(--light-color-ts-function); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-private: var(--light-color-ts-private); + --color-ts-variable: var(--light-color-ts-variable); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-private: var(--dark-color-ts-private); + --color-ts-variable: var(--dark-color-ts-variable); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-function: var(--light-color-ts-function); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-private: var(--light-color-ts-private); + --color-ts-variable: var(--light-color-ts-variable); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-private: var(--dark-color-ts-private); + --color-ts-variable: var(--dark-color-ts-variable); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1600px; + padding: 0 2rem; +} + +@media (min-width: 640px) { + .container { + padding: 0 4rem; + } +} +@media (min-width: 1200px) { + .container { + padding: 0 8rem; + } +} +@media (min-width: 1600px) { + .container { + padding: 0 12rem; + } +} + +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} + +.tsd-generator > p { + margin-top: 0; + margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + display: flex; + justify-content: space-between; + position: relative; + margin: 0 auto; +} + +.col-4, +.col-8 { + box-sizing: border-box; + float: left; + padding: 2rem 1rem; +} + +.col-4 { + flex: 0 0 25%; +} +.col-8 { + flex: 1 0; + flex-wrap: wrap; + padding-left: 0; +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes shift-to-left { + from { + transform: translate(0, 0); + } + to { + transform: translate(-25%, 0); + } +} +@keyframes unshift-to-left { + from { + transform: translate(-25%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + padding: 10px; + border: 0.1em solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography h4, +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; + margin: 0; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} + +@media (max-width: 1024px) { + html .col-content { + float: none; + max-width: 100%; + width: 100%; + padding-top: 3rem; + } + html .col-menu { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + max-width: 25rem; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-menu > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu :is(header, footer, .col-content) { + animation: shift-to-left 0.4s; + } + + .to-has-menu .col-menu { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu :is(header, footer, .col-content) { + animation: unshift-to-left 0.4s; + } + + .from-has-menu .col-menu { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu :is(header, footer, .col-content) { + transform: translate(-25%, 0); + } + .has-menu .col-menu { + visibility: visible; + transform: translate(0, 0); + display: grid; + align-items: center; + grid-template-rows: auto 1fr; + grid-gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} +.tsd-index-panel a, +.tsd-index-panel a.tsd-parent-kind-module { + color: var(--color-ts); +} +.tsd-index-panel a.tsd-parent-kind-interface { + color: var(--color-ts-interface); +} +.tsd-index-panel a.tsd-parent-kind-enum { + color: var(--color-ts-enum); +} +.tsd-index-panel a.tsd-parent-kind-class { + color: var(--color-ts-class); +} +.tsd-index-panel a.tsd-kind-module { + color: var(--color-ts-namespace); +} +.tsd-index-panel a.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-index-panel a.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-index-panel a.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-index-panel a.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-index-panel a.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-index-panel a.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-index-panel a.tsd-is-private { + color: var(--color-ts-private); +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: absolute; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} +.tsd-member [data-tsd-kind] { + color: var(--color-ts); +} +.tsd-member [data-tsd-kind="Interface"] { + color: var(--color-ts-interface); +} +.tsd-member [data-tsd-kind="Enum"] { + color: var(--color-ts-enum); +} +.tsd-member [data-tsd-kind="Class"] { + color: var(--color-ts-class); +} +.tsd-member [data-tsd-kind="Private"] { + color: var(--color-ts-private); +} + +.tsd-navigation a { + display: block; + margin: 0.4rem 0; + border-left: 2px solid transparent; + color: var(--color-text); + text-decoration: none; + transition: border-left-color 0.1s; +} +.tsd-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul { + margin: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li { + padding: 0; +} + +.tsd-navigation.primary .tsd-accordion-details > ul { + margin-top: 0.75rem; +} +.tsd-navigation.primary a { + padding: 0.75rem 0.5rem; + margin: 0; +} +.tsd-navigation.primary ul li a { + margin-left: 0.5rem; +} +.tsd-navigation.primary ul li li a { + margin-left: 1.5rem; +} +.tsd-navigation.primary ul li li li a { + margin-left: 2.5rem; +} +.tsd-navigation.primary ul li li li li a { + margin-left: 3.5rem; +} +.tsd-navigation.primary ul li li li li li a { + margin-left: 4.5rem; +} +.tsd-navigation.primary ul li li li li li li a { + margin-left: 5.5rem; +} +.tsd-navigation.primary li.current > a { + border-left: 0.15rem var(--color-text) solid; +} +.tsd-navigation.primary li.selected > a { + font-weight: bold; + border-left: 0.2rem var(--color-text) solid; +} +.tsd-navigation.primary ul li a:hover { + border-left: 0.2rem var(--color-text-aside) solid; +} +.tsd-navigation.primary li.globals + li > span, +.tsd-navigation.primary li.globals + li > a { + padding-top: 20px; +} + +.tsd-navigation.secondary.tsd-navigation--toolbar-hide { + max-height: calc(100vh - 1rem); + top: 0.5rem; +} +.tsd-navigation.secondary > ul { + display: inline; + padding-right: 0.5rem; + transition: opacity 0.2s; +} +.tsd-navigation.secondary ul li a { + padding-left: 0; +} +.tsd-navigation.secondary ul li li a { + padding-left: 1.1rem; +} +.tsd-navigation.secondary ul li li li a { + padding-left: 2.2rem; +} +.tsd-navigation.secondary ul li li li li a { + padding-left: 3.3rem; +} +.tsd-navigation.secondary ul li li li li li a { + padding-left: 4.4rem; +} +.tsd-navigation.secondary ul li li li li li li a { + padding-left: 5.5rem; +} + +a.tsd-index-link { + margin: 0.25rem 0; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; +} +.tsd-accordion-summary > h1, +.tsd-accordion-summary > h2, +.tsd-accordion-summary > h3, +.tsd-accordion-summary > h4, +.tsd-accordion-summary > h5 { + display: inline-flex; + align-items: center; + vertical-align: middle; + margin-bottom: 0; + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; +} +.tsd-accordion-summary { + display: block; + cursor: pointer; +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; +} +.tsd-index-accordion .tsd-accordion-summary svg { + margin-right: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +@media (min-width: 1024px) { + .col-content { + margin: 2rem auto; + } + + .menu-sticky-wrap { + position: sticky; + height: calc(100vh - 2rem); + top: 4rem; + right: 0; + padding: 0 1.5rem; + padding-top: 1rem; + margin-top: 3rem; + transition: 0.3s ease-in-out; + transition-property: top, padding-top, padding, height; + overflow-y: auto; + } + .col-menu { + border-left: 1px solid var(--color-accent); + } + .col-menu--hide { + top: 1rem; + } + .col-menu .tsd-navigation:not(:last-child) { + padding-bottom: 1.75rem; + } +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: var(--color-background); +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current, +#tsd-search .results li:hover { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: fixed; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} + +.tsd-page-toolbar--hide { + transform: translateY(-100%); +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +@media (max-width: 1024px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through; +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} diff --git a/docs/v3.2/classes/CheckItem.html b/docs/v3.2/classes/CheckItem.html new file mode 100644 index 0000000..9503221 --- /dev/null +++ b/docs/v3.2/classes/CheckItem.html @@ -0,0 +1,105 @@ +CheckItem | ro-crate - v3.2.1
                          +
                          + +
                          +
                          +
                          +
                          + +

                          Class CheckItem

                          +
                          +

                          Hierarchy

                          +
                            +
                          • CheckItem
                          +
                          +
                          +
                          + +
                          +
                          +

                          Constructors

                          +
                          +
                          +

                          Properties

                          +
                          +
                          +

                          Constructors

                          +
                          + +
                          +
                          +

                          Properties

                          +
                          + +
                          diagnostics: any
                          +
                          + +
                          message: any
                          +
                          + +
                          name: any
                          +
                          + +
                          status: any
                          +
                          +
                          +

                          Generated using TypeDoc

                          +
                          \ No newline at end of file diff --git a/docs/v3.2/classes/Checker.html b/docs/v3.2/classes/Checker.html new file mode 100644 index 0000000..4f31e2a --- /dev/null +++ b/docs/v3.2/classes/Checker.html @@ -0,0 +1,234 @@ +Checker | ro-crate - v3.2.1
                          +
                          + +
                          +
                          +
                          +
                          + +

                          Class Checker

                          +
                          +

                          Hierarchy

                          +
                            +
                          • Checker
                          +
                          +
                          +
                          + +
                          +
                          +

                          Constructors

                          +
                          + +
                          +
                          +

                          Properties

                          +
                          + +
                          checklist: any[]
                          +
                          + +
                          crate: ROCrate
                          +
                          + +
                          isROCrate: boolean
                          +
                          +

                          Methods

                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                            + +
                          • +

                            Returns "This is a valid RO-Crate" | "This is not a valid RO-Crate"

                          +
                          + +
                          +
                          +
                          +

                          Generated using TypeDoc

                          +
                          \ No newline at end of file diff --git a/docs/v3.2/classes/ROCrate.html b/docs/v3.2/classes/ROCrate.html new file mode 100644 index 0000000..3189d58 --- /dev/null +++ b/docs/v3.2/classes/ROCrate.html @@ -0,0 +1,1324 @@ +ROCrate | ro-crate - v3.2.1
                          +
                          + +
                          +
                          +
                          +
                          + +

                          Class ROCrate

                          +
                          +

                          Class for building, navigating, testing and rendering ROCrates

                          + +

                          Todo

                          import validation and rendering from Calcyte

                          +
                          +
                          +

                          Hierarchy

                          +
                            +
                          • ROCrate
                          +
                          +
                          +
                          + +
                          +
                          +

                          Constructors

                          +
                          + +
                            + +
                          • +

                            Create a new ROCrate object using a default template or from a valid jsonld object.

                            +
                            +
                            +

                            Parameters

                            +
                              +
                            • +
                              json: any = {}
                              +

                              a valid jsonld object

                              +
                            • +
                            • +
                              Optional config: { array: boolean; defaultType: string; duplicate: boolean; link: boolean; merge: boolean; replace: boolean }
                              +
                                +
                              • +
                                array: boolean
                                +

                                Always return property of an Entity as an array (eg when using getEntity() method)

                                +
                              • +
                              • +
                                defaultType: string
                                +

                                The default value for @type to be used when adding a new entity and the property is not specified. Default to 'Thing'

                                +
                              • +
                              • +
                                duplicate: boolean
                                +

                                Allow duplicate values in a property that has multiple values

                                +
                              • +
                              • +
                                link: boolean
                                +

                                Resolve linked node as nested object

                                +
                              • +
                              • +
                                merge: boolean
                                +

                                When replacing or updating an entity, merge the values and the properties instead of full replace

                                +
                              • +
                              • +
                                replace: boolean
                                +

                                When importing from json, a subsequent duplicate entity always replaces the existing one

                                +
                            +

                            Returns ROCrate

                          +
                          +

                          Properties

                          +
                          + +
                          config: {}
                          +
                          +

                          Type declaration

                          +
                            +
                            + +
                            defaults: { ROCrate_Specification_Identifier: string; back_back_links: Set<any>; back_links: {}; context: (string | { @vocab: string })[]; datasetTemplate: { @id: string; @type: string }; metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }; pageSize: number; render_script: string; roCrateMetadataID: string; roCrateMetadataIDs: string[]; roCratePreviewFileName: string; ro_crate_name: string } = defaults
                            +
                            +

                            Type declaration

                            +
                              +
                            • +
                              ROCrate_Specification_Identifier: string
                            • +
                            • +
                              back_back_links: Set<any>
                            • +
                            • +
                              back_links: {}
                              +
                              • +
                              • +
                                context: (string | { @vocab: string })[]
                              • +
                              • +
                                datasetTemplate: { @id: string; @type: string }
                                +
                                  +
                                • +
                                  @id: string
                                • +
                                • +
                                  @type: string
                              • +
                              • +
                                metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }
                                +
                                  +
                                • +
                                  @id: string
                                • +
                                • +
                                  @type: string
                                • +
                                • +
                                  about: { @id: string }
                                  +
                                    +
                                  • +
                                    @id: string
                                • +
                                • +
                                  identifier: string
                              • +
                              • +
                                pageSize: number
                              • +
                              • +
                                render_script: string
                              • +
                              • +
                                roCrateMetadataID: string
                              • +
                              • +
                                roCrateMetadataIDs: string[]
                              • +
                              • +
                                roCratePreviewFileName: string
                              • +
                              • +
                                ro_crate_name: string
                              +
                              + +
                              utils: typeof Utils = Utils
                              +
                              +

                              Deprecated

                              Import Utils class directly

                              +
                              +
                              + +
                              defaults: { ROCrate_Specification_Identifier: string; back_back_links: Set<any>; back_links: {}; context: (string | { @vocab: string })[]; datasetTemplate: { @id: string; @type: string }; metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }; pageSize: number; render_script: string; roCrateMetadataID: string; roCrateMetadataIDs: string[]; roCratePreviewFileName: string; ro_crate_name: string } = defaults
                              +
                              +

                              Type declaration

                              +
                                +
                              • +
                                ROCrate_Specification_Identifier: string
                              • +
                              • +
                                back_back_links: Set<any>
                              • +
                              • +
                                back_links: {}
                                +
                                • +
                                • +
                                  context: (string | { @vocab: string })[]
                                • +
                                • +
                                  datasetTemplate: { @id: string; @type: string }
                                  +
                                    +
                                  • +
                                    @id: string
                                  • +
                                  • +
                                    @type: string
                                • +
                                • +
                                  metadataFileDescriptorTemplate: { @id: string; @type: string; about: { @id: string }; identifier: string }
                                  +
                                    +
                                  • +
                                    @id: string
                                  • +
                                  • +
                                    @type: string
                                  • +
                                  • +
                                    about: { @id: string }
                                    +
                                      +
                                    • +
                                      @id: string
                                  • +
                                  • +
                                    identifier: string
                                • +
                                • +
                                  pageSize: number
                                • +
                                • +
                                  render_script: string
                                • +
                                • +
                                  roCrateMetadataID: string
                                • +
                                • +
                                  roCrateMetadataIDs: string[]
                                • +
                                • +
                                  roCratePreviewFileName: string
                                • +
                                • +
                                  ro_crate_name: string
                                +
                                +

                                Accessors

                                +
                                + +
                                +
                                + +
                                +
                                + +
                                  +
                                • get context(): {}
                                • +
                                • +

                                  The context part of the crate. An alias for '@context'. +This returns the original context information.

                                  +
                                  +

                                  Returns {}

                                  +
                                  +
                                  + +
                                    +
                                  • get graph(): any[]
                                  • +
                                  • +

                                    An array of all nodes in the graph. An alias for '@graph'

                                    + +

                                    Returns

                                    +

                                    Returns any[]

                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                    +
                                  • get rootId(): string
                                  • +
                                  • +

                                    The root identifier of the RO Crate

                                    + +

                                    Returns

                                    +

                                    Returns string

                                  • +
                                  • set rootId(newId: string): void
                                  • +
                                  • +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      newId: string
                                    +

                                    Returns void

                                  +
                                  +

                                  Methods

                                  +
                                  + +
                                    + +
                                  • +
                                    +

                                    Deprecated

                                    Not required anymore. Calling this method will do nothing.

                                    +
                                    +

                                    Returns void

                                  +
                                  + +
                                    + +
                                  • +

                                    Add context

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      context: any
                                    +

                                    Returns void

                                  +
                                  + +
                                    + +
                                  • +

                                    Add an entity to the crate.

                                    + +

                                    Returns

                                    true if the entity is successfully added.

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      data: any
                                      +

                                      A valid RO-Crate entity described in plain object.

                                      +
                                    • +
                                    • +
                                      Optional replace: boolean = ...
                                      +

                                      If true, replace existing entity with the same id.

                                      +
                                    • +
                                    • +
                                      Optional recurse: boolean
                                      +

                                      If true, nested entities will be added as well.

                                      +
                                    +

                                    Returns boolean

                                  +
                                  + +
                                    + +
                                  • +

                                    Add a new identifier as a PropertyValue to the root DataSet. +identifier and name are required

                                    + +

                                    Returns

                                    The added identifier or undefined

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      options: { description: string; identifier: string; name: string }
                                      +
                                        +
                                      • +
                                        description: string
                                      • +
                                      • +
                                        identifier: string
                                      • +
                                      • +
                                        name: string
                                    +

                                    Returns string

                                  +
                                  + +
                                    + +
                                  • +

                                    This silently fails if the item has no

                                    + +

                                    Id

                                    or already exists - this is probably sub-optimal

                                    + +

                                    Deprecated

                                    Use addEntity

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      item: any
                                    +

                                    Returns boolean

                                  +
                                  + +
                                    + +
                                  • +

                                    Add a Profile URI to the crate

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      uri: string
                                      +

                                      A valid Profile URI

                                      +
                                    +

                                    Returns void

                                  +
                                  + +
                                    + +
                                  • +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      prov: any
                                    +

                                    Returns void

                                  +
                                  + +
                                    + +
                                  • +

                                    Add one or more value to a property of an entity. +If the specified property does not exists, a new one will be set. +If the property already exists, the new value will be added to the property array.

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      idOrEntity: any
                                      +

                                      The id or the entity to add the property to

                                      +
                                    • +
                                    • +
                                      prop: string
                                      +

                                      The name of the property

                                      +
                                    • +
                                    • +
                                      values: any
                                      +

                                      The value of the property

                                      +
                                    • +
                                    • +
                                      Optional duplicate: boolean
                                      +

                                      If true, allow a property to have duplicate values in the array

                                      +
                                    +

                                    Returns boolean

                                  +
                                  + +
                                    + +
                                  • +
                                    +

                                    Deprecated

                                    Use updateEntityId

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      item: any
                                    • +
                                    • +
                                      newId: any
                                    +

                                    Returns boolean

                                  +
                                  + +
                                  +
                                  + +
                                    + +
                                  • +
                                    +

                                    Deprecated

                                    Use union, eg: union([sg1, sg2])

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      subgraphs: any
                                    +

                                    Returns any[]

                                  +
                                  + +
                                    + +
                                  • +

                                    Delete an entity from the graph

                                    + +

                                    Returns

                                    True if any existing entity was deleted

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      id_or_entity: string | Entity
                                      +

                                      Entity Identifier or the entity object itself

                                      +
                                    • +
                                    • +
                                      opt: { references: boolean } = {}
                                      +
                                        +
                                      • +
                                        references: boolean
                                        +

                                        Set true to delete all references to the deleted entity

                                        +
                                    +

                                    Returns boolean

                                  +
                                  + +
                                    + +
                                  • +
                                    +

                                    Deprecated

                                    Use deleteEntity

                                    + +

                                    Returns

                                    The raw data of deleted entity

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      id: string
                                    +

                                    Returns any

                                  +
                                  + +
                                    + +
                                  • +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      idOrEntity: any
                                    • +
                                    • +
                                      prop: any
                                    +

                                    Returns any

                                  +
                                  + +
                                    + +
                                  • +

                                    Delete one or more values from a property.

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      idOrEntity: string | Entity
                                    • +
                                    • +
                                      prop: string
                                    • +
                                    • +
                                      values: any
                                    +

                                    Returns void

                                  +
                                  + +
                                    + +
                                  • +

                                    Returns a new iterator object that contains the entities in the graph.

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      flat: any
                                    +

                                    Returns { [iterator]: any; next: any }

                                    +
                                      +
                                    • +
                                      [iterator]:function
                                      +
                                        + +
                                      • +

                                        Returns { [Symbol.iterator](): ...; next(): { done: boolean; value: any; }; }

                                    • +
                                    • +
                                      next:function
                                      +
                                        + +
                                      • +

                                        Returns { done: boolean; value: any }

                                        +
                                          +
                                        • +
                                          done: boolean
                                        • +
                                        • +
                                          value: any
                                  +
                                  + +
                                    + +
                                  • +

                                    Experimental method to turn a graph into a flat dictionary eg for turning it into a table

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      item: any
                                    • +
                                    • +
                                      depth: any
                                    • +
                                    • +
                                      flatItem: any
                                    • +
                                    • +
                                      propPath: any
                                    • +
                                    • +
                                      seen: any
                                    +

                                    Returns any

                                  +
                                  + +
                                    + +
                                  • +

                                    Get configuration value

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      key: "replace" | "link" | "array" | "merge" | "duplicate"
                                      +

                                      Name of the config parameter

                                      +
                                    +

                                    Returns any

                                  +
                                  + +
                                    + +
                                  • +

                                    Get the context term definition. This method will also search for term defined locally in the graph. +Make sure resolveContext() has been called prior calling this method.

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      term: string
                                    +

                                    Returns { @id: any }

                                    +
                                      +
                                    • +
                                      @id: any
                                  +
                                  + +
                                    + +
                                  • +

                                    Get an entity from the graph. +If config.link is true, any reference (object with just "@id" property) +is resolved as a nested object.

                                    + +

                                    Returns

                                    A wrapper for entity that resolves properties as linked objects

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      id: string
                                      +

                                      An entity identifier

                                      +
                                    +

                                    Returns Entity

                                  +
                                  + +
                                  +
                                  + +
                                    + +
                                  • +

                                    Get an array of all nodes in the graph. Each node in the array is an Entity instance. +If config.link is true, any link to other node will be made into nested object.

                                    + +

                                    Returns

                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      flat: boolean = false
                                      +

                                      If true, return the copy of entity as a plain object.

                                      +
                                    +

                                    Returns any[]

                                  +
                                  + +
                                    + +
                                  • +

                                    Get named identifier

                                    + +

                                    Returns

                                    the identifier

                                    +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • +
                                      name: string
                                    +

                                    Returns string

                                  +
                                  + +
                                  +
                                  + +
                                    + +
                                  • +
                                    +

                                    Deprecated

                                    Use toJSON

                                    +
                                    +

                                    Returns { @context: {}; @graph: any[] }

                                    +
                                      +
                                    • +
                                      @context: {}
                                      +
                                      • +
                                      • +
                                        @graph: any[]
                                    +
                                    + +
                                    +
                                    + +
                                      + +
                                    • +
                                      +

                                      Deprecated

                                      Use getTree with the following argument: { root, depth, allowCycle: true }

                                      +
                                      +
                                      +

                                      Parameters

                                      +
                                        +
                                      • +
                                        root: any
                                      • +
                                      • +
                                        depth: number = 1
                                      +

                                      Returns any

                                    +
                                    + +
                                      + +
                                    • +

                                      Get the property of an entity

                                      + +

                                      Returns

                                      the value of the property

                                      +
                                      +
                                      +

                                      Parameters

                                      +
                                        +
                                      • +
                                        idOrEntity: any
                                      • +
                                      • +
                                        prop: string
                                      +

                                      Returns any

                                    +
                                    + +
                                    +
                                    + +
                                    +
                                    + +
                                      + +
                                    • +

                                      Return a JSON.stringify-ready tree structure starting from the specified item +with all values (apart from @id) as arrays +and string-values expressed like: {"@value": "string-value"}

                                      + +

                                      Returns

                                      the root entity

                                      +
                                      +
                                      +

                                      Parameters

                                      +
                                        +
                                      • +
                                        opt: { allowCycle: boolean; depth: number; root: any; valueObject: boolean } = {}
                                        +
                                          +
                                        • +
                                          allowCycle: boolean
                                        • +
                                        • +
                                          depth: number
                                          +

                                          The number of nesting the tree will have. Must be 0 or positive integer.

                                          +
                                        • +
                                        • +
                                          root: any
                                        • +
                                        • +
                                          valueObject: boolean
                                      +

                                      Returns any

                                    +
                                    + +
                                      + +
                                    • +

                                      Check if an entity has a type

                                      + +

                                      Returns

                                      +
                                      +

                                      Parameters

                                      +
                                        +
                                      • +
                                        item: any
                                      • +
                                      • +
                                        type: string
                                      +

                                      Returns boolean

                                    +
                                    + +
                                      + +
                                    • +
                                      +

                                      Deprecated

                                      Not required anymore. Calling this method will do nothing.

                                      +
                                      +

                                      Returns void

                                    +
                                    + +
                                      + +
                                    • +

                                      Get the index of the entity in the graph array. This is an O(n) operation.

                                      +
                                      +
                                      +

                                      Parameters

                                      +
                                        +
                                      • +
                                        entityId: string
                                      +

                                      Returns number

                                    +
                                    + +
                                      + +
                                    • +

                                      Create a simple tree-like object - but don't make circular structures

                                      + +

                                      Deprecated

                                      Use getTree with the valueObject argument set to false`

                                      +
                                      +

                                      Returns any

                                    +
                                    + +
                                      + +
                                    • +

                                      Add a value to an item's property array

                                      + +

                                      Deprecated

                                      Use addValues

                                      +
                                      +
                                      +

                                      Parameters

                                      +
                                        +
                                      • +
                                        item: any
                                      • +
                                      • +
                                        prop: string
                                      • +
                                      • +
                                        val: any
                                      • +
                                      • +
                                        allowDuplicates: boolean = false
                                      +

                                      Returns void

                                    +
                                    + +
                                      + +
                                    • +
                                      +

                                      Returns

                                      null, or an array of items

                                      +
                                      +
                                      +

                                      Parameters

                                      +
                                        +
                                      • +
                                        items: any
                                        +

                                        A JSON-LD item or array of [item]

                                        +
                                      • +
                                      • +
                                        pathArray: any[]
                                        +

                                        An array of objects that represents a 'path' through the graph. + Object must have a "property" to follow, eg: + resolve(item, {"property": "miltaryService"}); + and optionally a condition "includes", eg: + "includes": {"@type", "Action"}} + and optionally, a function "matchFn" which takes an item + as argument and returns a boolean, eg: + "matchFn": (item) => item['@id'].match(/anzsrc-for/)

                                        +
                                      • +
                                      • +
                                        Optional subgraph: any[]
                                        +

                                        If present and true, all intervening items during + the traversal will be stored. If an array is passed, the intervening items will be + stored in the array.

                                        +
                                      +

                                      Returns any[]

                                    +
                                    + +
                                      + +
                                    • +

                                      resolveAll does a resolve but collects and deduplicates intermediate items. +Its first returned value is the final items (ie what resolve(..)) would have returned.

                                      + +

                                      Returns

                                      +
                                      +

                                      Parameters

                                      +
                                        +
                                      • +
                                        items: any
                                      • +
                                      • +
                                        pathArray: any
                                      +

                                      Returns any[][]

                                    +
                                    + +
                                      + +
                                    • +

                                      Generate a local flat lookup table for context terms

                                      +
                                      +

                                      Returns Promise<{ _indexer: {}; getDefinition: any }>

                                    +
                                    + +
                                      + +
                                    • +

                                      Expand a term into the IRI, which is the same as the @id of the term definition.

                                      + +

                                      Returns

                                      +
                                      +

                                      Parameters

                                      +
                                        +
                                      • +
                                        term: string
                                        +

                                        a short word defined in the context

                                        +
                                      +

                                      Returns string

                                    +
                                    + +
                                    +
                                    + +
                                      + +
                                    • +

                                      Set a property of an entity with the given value. +If a property with the same name exists, its existing value will be replaced with the specified value. +If values contain nested non-empty entities, they will be processed recursively.

                                      +
                                      +
                                      +

                                      Parameters

                                      +
                                        +
                                      • +
                                        idOrEntity: any
                                        +

                                        The id of the entity to add the property to

                                        +
                                      • +
                                      • +
                                        prop: string
                                        +

                                        The name of the property

                                        +
                                      • +
                                      • +
                                        values: any
                                        +

                                        A value or an array of values

                                        +
                                      • +
                                      • +
                                        Optional duplicate: boolean
                                        +

                                        If true, allow a property to have duplicate values

                                        +
                                      +

                                      Returns boolean

                                    +
                                    + +
                                      + +
                                    • +
                                      +

                                      Deprecated

                                      Specify {array: true, link: true} in the options when creating the ROCrate instance

                                      +
                                      +

                                      Returns boolean

                                    +
                                    + +
                                      + +
                                    • +

                                      Convert the rocrate into plain JSON object. +The value returned by this method is used when JSON.stringify() is used on the ROCrate object.

                                      + +

                                      Returns

                                      plain JSON object

                                      +
                                      +

                                      Returns { @context: {}; @graph: any[] }

                                      +
                                        +
                                      • +
                                        @context: {}
                                        +
                                        • +
                                        • +
                                          @graph: any[]
                                      +
                                      + +
                                        + +
                                      • +

                                        Generate a new unique id that does not match any existing id in the graph.

                                        + +

                                        Returns

                                        The base suffixed with the incremental number.

                                        +
                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          base: string
                                          +

                                          The base string of the id.

                                          +
                                        +

                                        Returns string

                                      +
                                      + +
                                        + +
                                      • +

                                        Update an entity by replacing the object with the same id. +This operations will remove all properties of the existing entity and +add the new ones contained in data, unless merge argument is true.

                                        + +

                                        Returns

                                        false if there is no existing entity with the same id or data is empty.

                                        +
                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          data: any
                                        • +
                                        • +
                                          Optional merge: boolean = ...
                                          +

                                          If true, new properties will be merged. Defaults to config.merge.

                                          +
                                        • +
                                        • +
                                          Optional recurse: boolean
                                          +

                                          If true, nested entities will be updated as well.

                                          +
                                        +

                                        Returns boolean

                                      +
                                      + +
                                        + +
                                      • +

                                        Change the identifier of an entity node

                                        +
                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          idOrEntity: any
                                        • +
                                        • +
                                          newId: string
                                        +

                                        Returns boolean

                                      +
                                      +
                                      +

                                      Generated using TypeDoc

                                      +
                                      \ No newline at end of file diff --git a/docs/v3.2/classes/Utils.html b/docs/v3.2/classes/Utils.html new file mode 100644 index 0000000..d83710b --- /dev/null +++ b/docs/v3.2/classes/Utils.html @@ -0,0 +1,304 @@ +Utils | ro-crate - v3.2.1
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      + +

                                      Class Utils

                                      +
                                      +

                                      Utility functions for JSON-LD

                                      +
                                      +
                                      +

                                      Hierarchy

                                      +
                                        +
                                      • Utils
                                      +
                                      +
                                      +
                                      + +
                                      +
                                      +

                                      Constructors

                                      +
                                      + +
                                      +
                                      +

                                      Methods

                                      +
                                      + +
                                        + +
                                      • +

                                        Add a property to an item

                                        +
                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          item: any
                                        • +
                                        • +
                                          prop: any
                                        • +
                                        • +
                                          value: any
                                        +

                                        Returns void

                                      +
                                      + +
                                        + +
                                      • +

                                        Add a type to a JSON-LD item

                                        +
                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          item: any
                                        • +
                                        • +
                                          type: any
                                        +

                                        Returns void

                                      +
                                      + +
                                        + +
                                      • +

                                        Normalise a value to be an array. +Always return a new instance of the array to maintain consistency

                                        + +

                                        Returns

                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          value: any
                                        +

                                        Returns any[]

                                      +
                                      + +
                                        + +
                                      • +

                                        Return the current value if it is already an array, else return a new array

                                        + +

                                        Returns

                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          value: any
                                        +

                                        Returns any[]

                                      +
                                      + +
                                        + +
                                      • +
                                        +

                                        Returns

                                        +
                                        +

                                        Type Parameters

                                        +
                                          +
                                        • +

                                          T

                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          data: T
                                        +

                                        Returns T

                                      +
                                      + +
                                        + +
                                      • +

                                        Count the number of properties in an object

                                        +
                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          obj: any
                                        +

                                        Returns number

                                      +
                                      + +
                                        + +
                                      • +

                                        Find if a value (can be primitives, object, or an entity) exists in a list of values

                                        + +

                                        Returns

                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          values: any[]
                                        • +
                                        • +
                                          val: any
                                        +

                                        Returns boolean

                                      +
                                      + +
                                        + +
                                      • +
                                        +

                                        Returns

                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          item: any
                                        • +
                                        • +
                                          prop: string
                                        • +
                                        • +
                                          val: any
                                        +

                                        Returns boolean

                                      +
                                      + +
                                        + +
                                      • +
                                        +

                                        Returns

                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          item: any
                                        • +
                                        • +
                                          type: string
                                        +

                                        Returns boolean

                                      +
                                      + +
                                        + +
                                      • +

                                        Deep comparison for JSON-serializable plain object

                                        +
                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          a: any
                                        • +
                                        • +
                                          b: any
                                        • +
                                        • +
                                          equalFn: any
                                        +

                                        Returns any

                                      +
                                      + +
                                        + +
                                      • +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          a: any
                                        • +
                                        • +
                                          b: any
                                        +

                                        Returns any

                                      +
                                      + +
                                        + +
                                      • +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          Rest ...subgraphs: any[]
                                        +

                                        Returns any[]

                                      +
                                      +
                                      +

                                      Generated using TypeDoc

                                      +
                                      \ No newline at end of file diff --git a/docs/v3.2/index.html b/docs/v3.2/index.html new file mode 100644 index 0000000..1cc38b7 --- /dev/null +++ b/docs/v3.2/index.html @@ -0,0 +1,111 @@ +ro-crate - v3.2.1
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      +

                                      ro-crate - v3.2.1

                                      +
                                      + +

                                      Research Object Crate (RO-Crate) JavaScript Library

                                      +
                                      +

                                      This is a JavaScript library to create and manipulate Research Object Crate.

                                      + + +

                                      Install

                                      +
                                      +

                                      Install the library:

                                      +
                                      npm install ro-crate
                                      +
                                      +

                                      Note: The minimum Node.js version is 16.11.0.

                                      + + +

                                      Docs & Other Resources

                                      +
                                      + + + +

                                      Usage

                                      +
                                      +

                                      Import the ROCrate class and create a new empty crate with default configurations:

                                      +
                                      const {ROCrate} = require('ro-crate');
                                      const crate = new ROCrate(); +
                                      +

                                      The ROCrate constructor accepts two optional arguments:

                                      +
                                      const fs = require('fs');

                                      // load existing metadata
                                      const data = JSON.parse(fs.readFileSync('ro-crate-metadata.json', 'utf8'));

                                      // create a crate using the existing data and
                                      // configure the crate to return a property of an Entity as an array and resolve linked entity as nested object
                                      const crate = new ROCrate(data, { array: true, link: true }); +
                                      +

                                      To add an Entity to the crate:

                                      +
                                      // A license
                                      const license = {
                                      '@id': 'https://creativecommons.org/licenses/by/4.0/',
                                      '@type': 'CreativeWork',
                                      'description': 'Attribution 4.0 International (CC BY 4.0) ...',
                                      'name': 'CC BY 4.0'
                                      };
                                      // add the license as an unconnected Entity
                                      crate.addEntity(license);

                                      // add the license to the root dataset
                                      crate.rootDataset.license = {'@id': license['@id']};
                                      // or alternatively, add a new entity directly into a property of other entity :
                                      crate.rootDataset.license = license; +
                                      +

                                      Use an entity just like a normal object:

                                      +
                                      let lic = create.getEntity(license['@id']);
                                      console.log(lic.name); // prints 'CC BY 4.0';
                                      // set a property directly
                                      lic.name = 'CC BY 4.0 dummy';
                                      // or with the setProperty method
                                      crate.setProperty(license['@id'], 'name', 'CC BY 4.0 dummy');

                                      console.log(lic.name); // prints 'CC BY 4.0 dummy'; +
                                      +

                                      Modifying an array of values in the property is not supported yet:

                                      +
                                      lic.test = [1,2,3];
                                      lic.test.push(4); // this does not work
                                      console.log(lic.test); // prints '[1,2,3]';
                                      // use this instead
                                      lic.test = lic.test.concat(4);
                                      // or this
                                      crate.addValues(license['@id'], 'test', 4); +
                                      +

                                      Root Dataset is a special entity that is mandated by the standard:

                                      +
                                      const rootDataset = crate.rootDataset;
                                      rootDataset.name = 'Tutorial Crate';
                                      rootDataset.description = 'This is an example crate for educational purposes.'
                                      const today = new Date().toISOString().split('T')[0]
                                      rootDataset.datePublished = today; +
                                      +

                                      The value of the returned property can be set to be always as an array:

                                      +
                                      const crate1 = new ROCrate();
                                      const crate2 = new ROCrate({array: true});
                                      crate1.rootDataset.name = 'Tutorial Crate';
                                      crate1.rootDataset.test = ['test1', 'test2'];
                                      crate2.rootDataset.name = 'Tutorial Crate';
                                      crate2.rootDataset.test = ['test1', 'test2'];
                                      console.log(crate1.rootDataset.name); // return 'Tutorial Crate'
                                      console.log(crate1.rootDataset.name); // return ['test1', 'test2']
                                      console.log(crate2.rootDataset.name); // return ['Tutorial Crate']
                                      console.log(crate2.rootDataset.name); // return ['test1', 'test2'] +
                                      +

                                      Linked entities can be automatically resolved as nested objects:

                                      +
                                      const crate1 = new ROCrate();
                                      const crate2 = new ROCrate({link: true});
                                      const crate3 = new ROCrate({link: true, array: true});
                                      crate1.rootDataset.license = license;
                                      crate2.rootDataset.license = license;
                                      crate3.rootDataset.license = license;
                                      console.log(crate1.rootDataset.license.name); // return undefined
                                      console.log(crate1.rootDataset.license); // return {'@id': 'https://creativecommons.org/licenses/by/4.0/'}
                                      console.log(crate2.rootDataset.license.name); // return 'CC BY 4.0'
                                      console.log(crate3.rootDataset.license.name); // return undefined, property license is a array
                                      console.log(crate3.rootDataset.license[0].name); // return 'CC BY 4.0' +
                                      +

                                      To save the rocrate data to a file, use JSON.stringify:

                                      +
                                      // Write pretty-printed JSONLD into the directory
                                      fs.writeFileSync('ro-crate-metadata.json', JSON.stringify(crate, null, 2)); +
                                      +

                                      For more usage examples, see the test files under the test directory.

                                      +

                                      For more details, refer to the full API documentation.

                                      + + +

                                      HTML Rendering

                                      +
                                      +

                                      Use the RO-Crate-HTML to generate a HTML preview from the RO-Crate Metadata File ro-crate-metadata.json.

                                      + + +

                                      Simple crate checker

                                      +
                                      +

                                      There is a script included with this library that can check crates.

                                      +

                                      Check a crate:

                                      +

                                      roccheck /path/to/crate/directory

                                      +

                                      This is produce a simple report.

                                      +
                                      +
                                      +
                                      +

                                      Generated using TypeDoc

                                      +
                                      \ No newline at end of file diff --git a/docs/v3.2/modules.html b/docs/v3.2/modules.html new file mode 100644 index 0000000..0fb8870 --- /dev/null +++ b/docs/v3.2/modules.html @@ -0,0 +1,59 @@ +ro-crate - v3.2.1
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      +

                                      ro-crate - v3.2.1

                                      +
                                      +
                                      +

                                      Index

                                      +
                                      +

                                      Classes

                                      +
                                      +
                                      +

                                      Type Aliases

                                      +
                                      +
                                      +
                                      +

                                      Generated using TypeDoc

                                      +
                                      \ No newline at end of file diff --git a/docs/v3.2/types/Entity.html b/docs/v3.2/types/Entity.html new file mode 100644 index 0000000..d2de870 --- /dev/null +++ b/docs/v3.2/types/Entity.html @@ -0,0 +1,69 @@ +Entity | ro-crate - v3.2.1
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      + +

                                      Type alias Entity

                                      +
                                      Entity: { @id: string; @reverse: { [key: string]: any }; toJSON: any; [key: string]: any }
                                      +
                                      +

                                      Type declaration

                                      +
                                        +
                                      • +
                                        [key: string]: any
                                      • +
                                      • +
                                        @id: string
                                      • +
                                      • +
                                        @reverse: { [key: string]: any }
                                        +
                                          +
                                        • +
                                          [key: string]: any
                                      • +
                                      • +
                                        toJSON:function
                                        +
                                      +
                                      +
                                      +

                                      Generated using TypeDoc

                                      +
                                      \ No newline at end of file diff --git a/docs/v3.2/types/NodeRef.html b/docs/v3.2/types/NodeRef.html new file mode 100644 index 0000000..7c93ddc --- /dev/null +++ b/docs/v3.2/types/NodeRef.html @@ -0,0 +1,59 @@ +NodeRef | ro-crate - v3.2.1
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      + +

                                      Type alias NodeRef

                                      +
                                      NodeRef: { @id: string; @reverse: { [key: string]: any } }
                                      +
                                      +

                                      Type declaration

                                      +
                                        +
                                      • +
                                        @id: string
                                      • +
                                      • +
                                        @reverse: { [key: string]: any }
                                        +
                                          +
                                        • +
                                          [key: string]: any
                                      +
                                      +
                                      +

                                      Generated using TypeDoc

                                      +
                                      \ No newline at end of file diff --git a/docs/v3.2/types/RawEntity.html b/docs/v3.2/types/RawEntity.html new file mode 100644 index 0000000..55ebe84 --- /dev/null +++ b/docs/v3.2/types/RawEntity.html @@ -0,0 +1,56 @@ +RawEntity | ro-crate - v3.2.1
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      + +

                                      Type alias RawEntity

                                      +
                                      RawEntity: { @id: string; [key: string]: any }
                                      +
                                      +

                                      Type declaration

                                      +
                                        +
                                      • +
                                        [key: string]: any
                                      • +
                                      • +
                                        @id: string
                                      +
                                      +
                                      +

                                      Generated using TypeDoc

                                      +
                                      \ No newline at end of file diff --git a/docs/v3.3/.nojekyll b/docs/v3.3/.nojekyll new file mode 100644 index 0000000..e2ac661 --- /dev/null +++ b/docs/v3.3/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/v3.3/assets/highlight.css b/docs/v3.3/assets/highlight.css new file mode 100644 index 0000000..e40c908 --- /dev/null +++ b/docs/v3.3/assets/highlight.css @@ -0,0 +1,78 @@ +:root { + --light-hl-0: #001080; + --dark-hl-0: #9CDCFE; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #0000FF; + --dark-hl-2: #569CD6; + --light-hl-3: #0070C1; + --dark-hl-3: #4FC1FF; + --light-hl-4: #795E26; + --dark-hl-4: #DCDCAA; + --light-hl-5: #A31515; + --dark-hl-5: #CE9178; + --light-hl-6: #008000; + --dark-hl-6: #6A9955; + --light-hl-7: #098658; + --dark-hl-7: #B5CEA8; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +pre, code { background: var(--code-background); } diff --git a/docs/v3.3/assets/main.js b/docs/v3.3/assets/main.js new file mode 100644 index 0000000..4c8fa61 --- /dev/null +++ b/docs/v3.3/assets/main.js @@ -0,0 +1,58 @@ +"use strict"; +"use strict";(()=>{var Se=Object.create;var re=Object.defineProperty;var we=Object.getOwnPropertyDescriptor;var Te=Object.getOwnPropertyNames;var ke=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Te(e))!Qe.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=we(e,i))||n.enumerable});return t};var Ce=(t,e,r)=>(r=t!=null?Se(ke(t)):{},Ie(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t));var ae=Pe((se,oe)=>{(function(){var t=function(e){var r=new t.Builder;return r.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),r.searchPipeline.add(t.stemmer),e.call(r,r),r.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(r){e.console&&console.warn&&console.warn(r)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var r=Object.create(null),n=Object.keys(e),i=0;i0){var d=t.utils.clone(r)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(n.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,r){r in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+r),e.label=r,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var r=e.label&&e.label in this.registeredFunctions;r||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var r=new t.Pipeline;return e.forEach(function(n){var i=t.Pipeline.registeredFunctions[n];if(i)r.add(i);else throw new Error("Cannot load unregistered function: "+n)}),r},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(r){t.Pipeline.warnIfFunctionNotRegistered(r),this._stack.push(r)},this)},t.Pipeline.prototype.after=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");n=n+1,this._stack.splice(n,0,r)},t.Pipeline.prototype.before=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");this._stack.splice(n,0,r)},t.Pipeline.prototype.remove=function(e){var r=this._stack.indexOf(e);r!=-1&&this._stack.splice(r,1)},t.Pipeline.prototype.run=function(e){for(var r=this._stack.length,n=0;n1&&(oe&&(n=s),o!=e);)i=n-r,s=r+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(r+=n[u+1]*i[d+1],u+=2,d+=2);return r},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),r=1,n=0;r0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),y;m in s.node.edges?y=s.node.edges[m]:(y=new t.TokenSet,s.node.edges[m]=y),s.str.length==1&&(y.final=!0),i.push({node:y,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return n},t.TokenSet.fromString=function(e){for(var r=new t.TokenSet,n=r,i=0,s=e.length;i=e;r--){var n=this.uncheckedNodes[r],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(r){var n=new t.QueryParser(e,r);n.parse()})},t.Index.prototype.query=function(e){for(var r=new t.Query(this.fields),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,r){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,r;do e=this.next(),r=e.charCodeAt(0);while(r>47&&r<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var r=e.next();if(r==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(r.charCodeAt(0)==92){e.escapeCharacter();continue}if(r==":")return t.QueryLexer.lexField;if(r=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(r=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(r=="+"&&e.width()===1||r=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(r.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,r){this.lexer=new t.QueryLexer(e),this.query=r,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var r=e.peekLexeme();if(r!=null)switch(r.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(n+=" with value '"+r.str+"'"),new t.QueryParseError(n,r.start,r.end)}},t.QueryParser.parsePresence=function(e){var r=e.consumeLexeme();if(r!=null){switch(r.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+r.str+"'";throw new t.QueryParseError(n,r.start,r.end)}var i=e.peekLexeme();if(i==null){var n="expecting term or field, found nothing";throw new t.QueryParseError(n,r.start,r.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(n,i.start,i.end)}}},t.QueryParser.parseField=function(e){var r=e.consumeLexeme();if(r!=null){if(e.query.allFields.indexOf(r.str)==-1){var n=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+r.str+"', possible fields: "+n;throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.fields=[r.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,r.start,r.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var r=e.consumeLexeme();if(r!=null){e.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(n==null){e.nextClause();return}switch(n.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new t.QueryParseError(i,n.start,n.end)}}},t.QueryParser.parseEditDistance=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.editDistance=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="boost must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.boost=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,r){typeof define=="function"&&define.amd?define(r):typeof se=="object"?oe.exports=r():e.lunr=r()}(this,function(){return t})})()});var ne=[];function G(t,e){ne.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){ne.forEach(r=>{e.querySelectorAll(r.selector).forEach(n=>{n.dataset.hasInstance||(new r.constructor({el:n,app:this}),n.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),r=e?.parentElement;for(;r&&!r.classList.contains(".tsd-navigation");)r instanceof HTMLDetailsElement&&(r.open=!0),r=r.parentElement;if(e){let n=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=n}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let r=e.parentElement;for(;r&&r.tagName!=="SECTION";)r=r.parentElement;if(r&&r.offsetParent==null){this.alwaysVisibleMember=r,r.classList.add("always-visible");let n=document.createElement("p");n.classList.add("warning"),n.textContent="This member is normally hidden due to your filter settings.",r.prepend(n)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let r;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(r),r=setTimeout(()=>{e.classList.remove("visible"),r=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let r;return()=>{clearTimeout(r),r=setTimeout(()=>t(),e)}};var ce=Ce(ae());function de(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("tsd-search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),n=document.querySelector("#tsd-search .results");if(!r||!n)throw new Error("The input field or the result list wrapper was not found");let i=!1;n.addEventListener("mousedown",()=>i=!0),n.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Oe(t,n,r,s)}function Oe(t,e,r,n){r.addEventListener("input",ie(()=>{Re(t,e,r,n)},200));let i=!1;r.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Fe(e,r):s.key=="Escape"?r.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),r.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!r.matches(":focus")&&s.key==="/"&&(r.focus(),s.preventDefault())})}function _e(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=ce.Index.load(window.searchData.index))}function Re(t,e,r,n){if(_e(n,t),!n.index||!n.data)return;e.textContent="";let i=r.value.trim(),s=i?n.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${le(l.parent,i)}.${u}`);let d=document.createElement("li");d.classList.value=l.classes??"";let m=document.createElement("a");m.href=n.base+l.url,m.innerHTML=u,d.append(m),e.appendChild(d)}}function ue(t,e){let r=t.querySelector(".current");if(!r)r=t.querySelector(e==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let n=r;if(e===1)do n=n.nextElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);else do n=n.previousElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);n&&(r.classList.remove("current"),n.classList.add("current"))}}function Fe(t,e){let r=t.querySelector(".current");if(r||(r=t.querySelector("li:first-child")),r){let n=r.querySelector("a");n&&(window.location.href=n.href),e.blur()}}function le(t,e){if(e==="")return t;let r=t.toLocaleLowerCase(),n=e.toLocaleLowerCase(),i=[],s=0,o=r.indexOf(n);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+n.length))}`),s=o+n.length,o=r.indexOf(n,s);return i.push(K(t.substring(s))),i.join("")}var Me={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Me[e])}var P=class{constructor(e){this.el=e.el,this.app=e.app}};var M="mousedown",fe="mousemove",N="mouseup",J={x:0,y:0},he=!1,ee=!1,De=!1,D=!1,pe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(pe?"is-mobile":"not-mobile");pe&&"ontouchstart"in document.documentElement&&(De=!0,M="touchstart",fe="touchmove",N="touchend");document.addEventListener(M,t=>{ee=!0,D=!1;let e=M=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=M=="touchstart"?t.targetTouches[0]:t,r=J.x-(e.pageX||0),n=J.y-(e.pageY||0);D=Math.sqrt(r*r+n*n)>10}});document.addEventListener(N,()=>{ee=!1});document.addEventListener("click",t=>{he&&(t.preventDefault(),t.stopImmediatePropagation(),he=!1)});var X=class extends P{constructor(r){super(r);this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(M,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,n=>this.onDocumentPointerUp(n))}setActive(r){if(this.active==r)return;this.active=r,document.documentElement.classList.toggle("has-"+this.className,r),this.el.classList.toggle("active",r);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(r){D||(this.setActive(!0),r.preventDefault())}onDocumentPointerDown(r){if(this.active){if(r.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(r){if(!D&&this.active&&r.target.closest(".col-sidebar")){let n=r.target.closest("a");if(n){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),n.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var me=document.head.appendChild(document.createElement("style"));me.dataset.for="filters";var Y=class extends P{constructor(r){super(r);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),me.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let r=Q.getItem(this.key);return r?r==="true":this.el.checked}setLocalStorage(r){Q.setItem(this.key,r.toString()),this.value=r,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let n=Array.from(r.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);r.style.display=n?"none":"block"})}};var Z=class extends P{constructor(r){super(r);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update()),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ve(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}de();G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var ge=document.getElementById("tsd-theme");ge&&ve(ge);var Ae=new U;Object.defineProperty(window,"app",{value:Ae});document.querySelectorAll("summary a").forEach(t=>{t.addEventListener("click",()=>{location.assign(t.href)})});})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/docs/v3.3/assets/search.js b/docs/v3.3/assets/search.js new file mode 100644 index 0000000..fdacd38 --- /dev/null +++ b/docs/v3.3/assets/search.js @@ -0,0 +1 @@ +window.searchData = JSON.parse("{\"rows\":[{\"kind\":128,\"name\":\"ROCrate\",\"url\":\"classes/ROCrate.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"defaults\",\"url\":\"classes/ROCrate.html#defaults-1\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7\",\"classes\":\"\",\"parent\":\"ROCrate.defaults\"},{\"kind\":1024,\"name\":\"ro_crate_name\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.ro_crate_name-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataID\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.roCrateMetadataID-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataIDs\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.roCrateMetadataIDs-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"context\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.context-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"render_script\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.render_script-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"back_links\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.back_links-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.back_links-1.__type-8\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.back_links\"},{\"kind\":1024,\"name\":\"back_back_links\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.back_back_links-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"datasetTemplate\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.datasetTemplate-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.datasetTemplate-1.__type-9\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.datasetTemplate-1.__type-9._type-2\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.datasetTemplate-1.__type-9._id-3\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate.__type\"},{\"kind\":1024,\"name\":\"metadataFileDescriptorTemplate\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10._type-3\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10._id-4\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"identifier\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10.identifier-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"about\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10.about-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10.about-1.__type-11\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type.about\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10.about-1.__type-11._id-5\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type.about.__type\"},{\"kind\":1024,\"name\":\"ROCrate_Specification_Identifier\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.ROCrate_Specification_Identifier-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCratePreviewFileName\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.roCratePreviewFileName-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"pageSize\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.pageSize-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ROCrate.html#constructor\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"defaults\",\"url\":\"classes/ROCrate.html#defaults\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults.__type-2\",\"classes\":\"\",\"parent\":\"ROCrate.defaults\"},{\"kind\":1024,\"name\":\"ro_crate_name\",\"url\":\"classes/ROCrate.html#defaults.__type-2.ro_crate_name\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataID\",\"url\":\"classes/ROCrate.html#defaults.__type-2.roCrateMetadataID\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataIDs\",\"url\":\"classes/ROCrate.html#defaults.__type-2.roCrateMetadataIDs\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"context\",\"url\":\"classes/ROCrate.html#defaults.__type-2.context\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"render_script\",\"url\":\"classes/ROCrate.html#defaults.__type-2.render_script\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"back_links\",\"url\":\"classes/ROCrate.html#defaults.__type-2.back_links\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.back_links.__type-3\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.back_links\"},{\"kind\":1024,\"name\":\"back_back_links\",\"url\":\"classes/ROCrate.html#defaults.__type-2.back_back_links\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"datasetTemplate\",\"url\":\"classes/ROCrate.html#defaults.__type-2.datasetTemplate\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.datasetTemplate.__type-4\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.datasetTemplate.__type-4._type\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults.__type-2.datasetTemplate.__type-4._id\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate.__type\"},{\"kind\":1024,\"name\":\"metadataFileDescriptorTemplate\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5._type-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5._id-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"identifier\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5.identifier\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"about\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5.about\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5.about.__type-6\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type.about\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5.about.__type-6._id-2\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type.about.__type\"},{\"kind\":1024,\"name\":\"ROCrate_Specification_Identifier\",\"url\":\"classes/ROCrate.html#defaults.__type-2.ROCrate_Specification_Identifier\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCratePreviewFileName\",\"url\":\"classes/ROCrate.html#defaults.__type-2.roCratePreviewFileName\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"pageSize\",\"url\":\"classes/ROCrate.html#defaults.__type-2.pageSize\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"__nodeById\",\"url\":\"classes/ROCrate.html#__nodeById\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"__handler\",\"url\":\"classes/ROCrate.html#__handler\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"__handlerReverse\",\"url\":\"classes/ROCrate.html#__handlerReverse\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__handlerReverse.__type\",\"classes\":\"\",\"parent\":\"ROCrate.__handlerReverse\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/ROCrate.html#__handlerReverse.__type.get\",\"classes\":\"\",\"parent\":\"ROCrate.__handlerReverse.__type\"},{\"kind\":1024,\"name\":\"__context\",\"url\":\"classes/ROCrate.html#__context\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"__contextTermIndex\",\"url\":\"classes/ROCrate.html#__contextTermIndex\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"__contextDefinitionIndex\",\"url\":\"classes/ROCrate.html#__contextDefinitionIndex\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"utils\",\"url\":\"classes/ROCrate.html#utils\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"config\",\"url\":\"classes/ROCrate.html#config\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#config.__type-1\",\"classes\":\"\",\"parent\":\"ROCrate.config\"},{\"kind\":2048,\"name\":\"__getNode\",\"url\":\"classes/ROCrate.html#__getNode\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"__getNodeProxy\",\"url\":\"classes/ROCrate.html#__getNodeProxy\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"__toNode\",\"url\":\"classes/ROCrate.html#__toNode\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"__updateNode\",\"url\":\"classes/ROCrate.html#__updateNode\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"__addValues\",\"url\":\"classes/ROCrate.html#__addValues\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"__setProperty\",\"url\":\"classes/ROCrate.html#__setProperty\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#_context\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"context\",\"url\":\"classes/ROCrate.html#context-2\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#_graph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"graph\",\"url\":\"classes/ROCrate.html#graph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"graphSize\",\"url\":\"classes/ROCrate.html#graphSize\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"metadataFileEntity\",\"url\":\"classes/ROCrate.html#metadataFileEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"rootDataset\",\"url\":\"classes/ROCrate.html#rootDataset\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"rootId\",\"url\":\"classes/ROCrate.html#rootId\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addContext\",\"url\":\"classes/ROCrate.html#addContext\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addTermDefinition\",\"url\":\"classes/ROCrate.html#addTermDefinition\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addEntity\",\"url\":\"classes/ROCrate.html#addEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addIdentifier\",\"url\":\"classes/ROCrate.html#addIdentifier\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addProfile\",\"url\":\"classes/ROCrate.html#addProfile\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addProvenance\",\"url\":\"classes/ROCrate.html#addProvenance\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addValues\",\"url\":\"classes/ROCrate.html#addValues\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteEntity\",\"url\":\"classes/ROCrate.html#deleteEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteProperty\",\"url\":\"classes/ROCrate.html#deleteProperty\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteValues\",\"url\":\"classes/ROCrate.html#deleteValues\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"setProperty\",\"url\":\"classes/ROCrate.html#setProperty\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"updateEntity\",\"url\":\"classes/ROCrate.html#updateEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"updateEntityId\",\"url\":\"classes/ROCrate.html#updateEntityId\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"clone\",\"url\":\"classes/ROCrate.html#clone\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"entities\",\"url\":\"classes/ROCrate.html#entities\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities\"},{\"kind\":2048,\"name\":\"[iterator]\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12._iterator_\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities.__type\"},{\"kind\":2048,\"name\":\"next\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12.next\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12.next.next-1.__type-13\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities.__type.next.next\"},{\"kind\":1024,\"name\":\"done\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12.next.next-1.__type-13.done\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities.__type.next.next.__type\"},{\"kind\":1024,\"name\":\"value\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12.next.next-1.__type-13.value\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities.__type.next.next.__type\"},{\"kind\":2048,\"name\":\"getConfig\",\"url\":\"classes/ROCrate.html#getConfig\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getDefinition\",\"url\":\"classes/ROCrate.html#getDefinition\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getTerm\",\"url\":\"classes/ROCrate.html#getTerm\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getEntity\",\"url\":\"classes/ROCrate.html#getEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"hasEntity\",\"url\":\"classes/ROCrate.html#hasEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getGraph\",\"url\":\"classes/ROCrate.html#getGraph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getIdentifier\",\"url\":\"classes/ROCrate.html#getIdentifier\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getProperty\",\"url\":\"classes/ROCrate.html#getProperty\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getTree\",\"url\":\"classes/ROCrate.html#getTree\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"hasType\",\"url\":\"classes/ROCrate.html#hasType\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"indexOf\",\"url\":\"classes/ROCrate.html#indexOf\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolve\",\"url\":\"classes/ROCrate.html#resolve\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveContext\",\"url\":\"classes/ROCrate.html#resolveContext\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveAll\",\"url\":\"classes/ROCrate.html#resolveAll\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveTerm\",\"url\":\"classes/ROCrate.html#resolveTerm\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"toJSON\",\"url\":\"classes/ROCrate.html#toJSON\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-15\",\"classes\":\"\",\"parent\":\"ROCrate.toJSON.toJSON\"},{\"kind\":1024,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-15._context-3\",\"classes\":\"\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":1024,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-15._graph-3\",\"classes\":\"\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":2048,\"name\":\"uniqueId\",\"url\":\"classes/ROCrate.html#uniqueId\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"flatify\",\"url\":\"classes/ROCrate.html#flatify\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addItem\",\"url\":\"classes/ROCrate.html#addItem\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteItem\",\"url\":\"classes/ROCrate.html#deleteItem\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addBackLinks\",\"url\":\"classes/ROCrate.html#addBackLinks\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"dedupeSubgraphs\",\"url\":\"classes/ROCrate.html#dedupeSubgraphs\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"index\",\"url\":\"classes/ROCrate.html#index\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"pushValue\",\"url\":\"classes/ROCrate.html#pushValue\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"changeGraphId\",\"url\":\"classes/ROCrate.html#changeGraphId\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getItem\",\"url\":\"classes/ROCrate.html#getItem\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getFlatGraph\",\"url\":\"classes/ROCrate.html#getFlatGraph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getRootDataset\",\"url\":\"classes/ROCrate.html#getRootDataset\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getRootId\",\"url\":\"classes/ROCrate.html#getRootId\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getJson\",\"url\":\"classes/ROCrate.html#getJson\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14\",\"classes\":\"\",\"parent\":\"ROCrate.getJson.getJson\"},{\"kind\":1024,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14._context-2\",\"classes\":\"\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":1024,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14._graph-2\",\"classes\":\"\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":2048,\"name\":\"getNamedIdentifier\",\"url\":\"classes/ROCrate.html#getNamedIdentifier\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"serializeGraph\",\"url\":\"classes/ROCrate.html#serializeGraph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"toGraph\",\"url\":\"classes/ROCrate.html#toGraph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getNormalizedTree\",\"url\":\"classes/ROCrate.html#getNormalizedTree\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"objectify\",\"url\":\"classes/ROCrate.html#objectify\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":128,\"name\":\"Checker\",\"url\":\"classes/Checker.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Checker.html#constructor\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"crate\",\"url\":\"classes/Checker.html#crate\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"checklist\",\"url\":\"classes/Checker.html#checklist\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasContext\",\"url\":\"classes/Checker.html#hasContext\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasRootDataset\",\"url\":\"classes/Checker.html#hasRootDataset\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasRootDatasetWithProperID\",\"url\":\"classes/Checker.html#hasRootDatasetWithProperID\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasName\",\"url\":\"classes/Checker.html#hasName\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasDescription\",\"url\":\"classes/Checker.html#hasDescription\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasAuthor\",\"url\":\"classes/Checker.html#hasAuthor\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasLicense\",\"url\":\"classes/Checker.html#hasLicense\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasDatePublished\",\"url\":\"classes/Checker.html#hasDatePublished\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasContactPoint\",\"url\":\"classes/Checker.html#hasContactPoint\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"check\",\"url\":\"classes/Checker.html#check\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"isROCrate\",\"url\":\"classes/Checker.html#isROCrate\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"summarize\",\"url\":\"classes/Checker.html#summarize\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"report\",\"url\":\"classes/Checker.html#report\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"validate\",\"url\":\"classes/Checker.html#validate\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":128,\"name\":\"CheckItem\",\"url\":\"classes/CheckItem.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/CheckItem.html#constructor\",\"classes\":\"\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"classes/CheckItem.html#name\",\"classes\":\"\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"message\",\"url\":\"classes/CheckItem.html#message\",\"classes\":\"\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/CheckItem.html#status\",\"classes\":\"\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"diagnostics\",\"url\":\"classes/CheckItem.html#diagnostics\",\"classes\":\"\",\"parent\":\"CheckItem\"},{\"kind\":128,\"name\":\"Utils\",\"url\":\"classes/Utils.html\",\"classes\":\"\"},{\"kind\":2048,\"name\":\"hasType\",\"url\":\"classes/Utils.html#hasType\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/Utils.html#has\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"asArray\",\"url\":\"classes/Utils.html#asArray\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"asArrayRef\",\"url\":\"classes/Utils.html#asArrayRef\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"addType\",\"url\":\"classes/Utils.html#addType\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/Utils.html#add\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"union\",\"url\":\"classes/Utils.html#union\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"clone\",\"url\":\"classes/Utils.html#clone\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"countProp\",\"url\":\"classes/Utils.html#countProp\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"isEqual\",\"url\":\"classes/Utils.html#isEqual\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"isEqualRef\",\"url\":\"classes/Utils.html#isEqualRef\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"exists\",\"url\":\"classes/Utils.html#exists\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Utils.html#constructor\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":4194304,\"name\":\"NodeRef\",\"url\":\"types/NodeRef.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/NodeRef.html#__type\",\"classes\":\"\",\"parent\":\"NodeRef\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/NodeRef.html#__type._id\",\"classes\":\"\",\"parent\":\"NodeRef.__type\"},{\"kind\":1024,\"name\":\"@reverse\",\"url\":\"types/NodeRef.html#__type._reverse\",\"classes\":\"\",\"parent\":\"NodeRef.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/NodeRef.html#__type._reverse.__type-1\",\"classes\":\"\",\"parent\":\"NodeRef.__type.@reverse\"},{\"kind\":4194304,\"name\":\"RawEntity\",\"url\":\"types/RawEntity.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/RawEntity.html#__type\",\"classes\":\"\",\"parent\":\"RawEntity\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/RawEntity.html#__type._id\",\"classes\":\"\",\"parent\":\"RawEntity.__type\"},{\"kind\":4194304,\"name\":\"Entity\",\"url\":\"types/Entity.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Entity.html#__type\",\"classes\":\"\",\"parent\":\"Entity\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/Entity.html#__type._id\",\"classes\":\"\",\"parent\":\"Entity.__type\"},{\"kind\":1024,\"name\":\"@reverse\",\"url\":\"types/Entity.html#__type._reverse\",\"classes\":\"\",\"parent\":\"Entity.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Entity.html#__type._reverse.__type-1\",\"classes\":\"\",\"parent\":\"Entity.__type.@reverse\"},{\"kind\":2048,\"name\":\"toJSON\",\"url\":\"types/Entity.html#__type.toJSON\",\"classes\":\"\",\"parent\":\"Entity.__type\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,48.52]],[\"comment/0\",[]],[\"name/1\",[1,43.412]],[\"comment/1\",[]],[\"name/2\",[2,21.894]],[\"comment/2\",[]],[\"name/3\",[3,43.412]],[\"comment/3\",[]],[\"name/4\",[4,43.412]],[\"comment/4\",[]],[\"name/5\",[5,43.412]],[\"comment/5\",[]],[\"name/6\",[6,33.857]],[\"comment/6\",[]],[\"name/7\",[7,43.412]],[\"comment/7\",[]],[\"name/8\",[8,43.412]],[\"comment/8\",[]],[\"name/9\",[2,21.894]],[\"comment/9\",[]],[\"name/10\",[9,43.412]],[\"comment/10\",[]],[\"name/11\",[10,43.412]],[\"comment/11\",[]],[\"name/12\",[2,21.894]],[\"comment/12\",[]],[\"name/13\",[11,37.534]],[\"comment/13\",[]],[\"name/14\",[12,30.062]],[\"comment/14\",[]],[\"name/15\",[13,43.412]],[\"comment/15\",[]],[\"name/16\",[2,21.894]],[\"comment/16\",[]],[\"name/17\",[11,37.534]],[\"comment/17\",[]],[\"name/18\",[12,30.062]],[\"comment/18\",[]],[\"name/19\",[14,43.412]],[\"comment/19\",[]],[\"name/20\",[15,43.412]],[\"comment/20\",[]],[\"name/21\",[2,21.894]],[\"comment/21\",[]],[\"name/22\",[12,30.062]],[\"comment/22\",[]],[\"name/23\",[16,43.412]],[\"comment/23\",[]],[\"name/24\",[17,43.412]],[\"comment/24\",[]],[\"name/25\",[18,43.412]],[\"comment/25\",[]],[\"name/26\",[19,37.534]],[\"comment/26\",[]],[\"name/27\",[1,43.412]],[\"comment/27\",[]],[\"name/28\",[2,21.894]],[\"comment/28\",[]],[\"name/29\",[3,43.412]],[\"comment/29\",[]],[\"name/30\",[4,43.412]],[\"comment/30\",[]],[\"name/31\",[5,43.412]],[\"comment/31\",[]],[\"name/32\",[6,33.857]],[\"comment/32\",[]],[\"name/33\",[7,43.412]],[\"comment/33\",[]],[\"name/34\",[8,43.412]],[\"comment/34\",[]],[\"name/35\",[2,21.894]],[\"comment/35\",[]],[\"name/36\",[9,43.412]],[\"comment/36\",[]],[\"name/37\",[10,43.412]],[\"comment/37\",[]],[\"name/38\",[2,21.894]],[\"comment/38\",[]],[\"name/39\",[11,37.534]],[\"comment/39\",[]],[\"name/40\",[12,30.062]],[\"comment/40\",[]],[\"name/41\",[13,43.412]],[\"comment/41\",[]],[\"name/42\",[2,21.894]],[\"comment/42\",[]],[\"name/43\",[11,37.534]],[\"comment/43\",[]],[\"name/44\",[12,30.062]],[\"comment/44\",[]],[\"name/45\",[14,43.412]],[\"comment/45\",[]],[\"name/46\",[15,43.412]],[\"comment/46\",[]],[\"name/47\",[2,21.894]],[\"comment/47\",[]],[\"name/48\",[12,30.062]],[\"comment/48\",[]],[\"name/49\",[16,43.412]],[\"comment/49\",[]],[\"name/50\",[17,43.412]],[\"comment/50\",[]],[\"name/51\",[18,43.412]],[\"comment/51\",[]],[\"name/52\",[20,48.52]],[\"comment/52\",[]],[\"name/53\",[21,48.52]],[\"comment/53\",[]],[\"name/54\",[22,48.52]],[\"comment/54\",[]],[\"name/55\",[2,21.894]],[\"comment/55\",[]],[\"name/56\",[23,48.52]],[\"comment/56\",[]],[\"name/57\",[24,48.52]],[\"comment/57\",[]],[\"name/58\",[25,48.52]],[\"comment/58\",[]],[\"name/59\",[26,48.52]],[\"comment/59\",[]],[\"name/60\",[27,43.412]],[\"comment/60\",[]],[\"name/61\",[28,48.52]],[\"comment/61\",[]],[\"name/62\",[2,21.894]],[\"comment/62\",[]],[\"name/63\",[29,48.52]],[\"comment/63\",[]],[\"name/64\",[30,48.52]],[\"comment/64\",[]],[\"name/65\",[31,48.52]],[\"comment/65\",[]],[\"name/66\",[32,48.52]],[\"comment/66\",[]],[\"name/67\",[33,48.52]],[\"comment/67\",[]],[\"name/68\",[34,48.52]],[\"comment/68\",[]],[\"name/69\",[6,33.857]],[\"comment/69\",[]],[\"name/70\",[6,33.857]],[\"comment/70\",[]],[\"name/71\",[35,37.534]],[\"comment/71\",[]],[\"name/72\",[35,37.534]],[\"comment/72\",[]],[\"name/73\",[36,48.52]],[\"comment/73\",[]],[\"name/74\",[37,48.52]],[\"comment/74\",[]],[\"name/75\",[38,48.52]],[\"comment/75\",[]],[\"name/76\",[39,48.52]],[\"comment/76\",[]],[\"name/77\",[40,48.52]],[\"comment/77\",[]],[\"name/78\",[41,48.52]],[\"comment/78\",[]],[\"name/79\",[42,48.52]],[\"comment/79\",[]],[\"name/80\",[43,48.52]],[\"comment/80\",[]],[\"name/81\",[44,48.52]],[\"comment/81\",[]],[\"name/82\",[45,48.52]],[\"comment/82\",[]],[\"name/83\",[46,48.52]],[\"comment/83\",[]],[\"name/84\",[47,48.52]],[\"comment/84\",[]],[\"name/85\",[48,48.52]],[\"comment/85\",[]],[\"name/86\",[49,48.52]],[\"comment/86\",[]],[\"name/87\",[50,48.52]],[\"comment/87\",[]],[\"name/88\",[51,48.52]],[\"comment/88\",[]],[\"name/89\",[52,48.52]],[\"comment/89\",[]],[\"name/90\",[53,43.412]],[\"comment/90\",[]],[\"name/91\",[54,48.52]],[\"comment/91\",[]],[\"name/92\",[2,21.894]],[\"comment/92\",[]],[\"name/93\",[55,48.52]],[\"comment/93\",[]],[\"name/94\",[56,48.52]],[\"comment/94\",[]],[\"name/95\",[2,21.894]],[\"comment/95\",[]],[\"name/96\",[57,48.52]],[\"comment/96\",[]],[\"name/97\",[58,48.52]],[\"comment/97\",[]],[\"name/98\",[59,48.52]],[\"comment/98\",[]],[\"name/99\",[60,48.52]],[\"comment/99\",[]],[\"name/100\",[61,48.52]],[\"comment/100\",[]],[\"name/101\",[62,48.52]],[\"comment/101\",[]],[\"name/102\",[63,48.52]],[\"comment/102\",[]],[\"name/103\",[64,48.52]],[\"comment/103\",[]],[\"name/104\",[65,48.52]],[\"comment/104\",[]],[\"name/105\",[66,48.52]],[\"comment/105\",[]],[\"name/106\",[67,48.52]],[\"comment/106\",[]],[\"name/107\",[68,43.412]],[\"comment/107\",[]],[\"name/108\",[69,48.52]],[\"comment/108\",[]],[\"name/109\",[70,48.52]],[\"comment/109\",[]],[\"name/110\",[71,48.52]],[\"comment/110\",[]],[\"name/111\",[72,48.52]],[\"comment/111\",[]],[\"name/112\",[73,48.52]],[\"comment/112\",[]],[\"name/113\",[74,43.412]],[\"comment/113\",[]],[\"name/114\",[2,21.894]],[\"comment/114\",[]],[\"name/115\",[6,33.857]],[\"comment/115\",[]],[\"name/116\",[35,37.534]],[\"comment/116\",[]],[\"name/117\",[75,48.52]],[\"comment/117\",[]],[\"name/118\",[76,48.52]],[\"comment/118\",[]],[\"name/119\",[77,48.52]],[\"comment/119\",[]],[\"name/120\",[78,48.52]],[\"comment/120\",[]],[\"name/121\",[79,48.52]],[\"comment/121\",[]],[\"name/122\",[80,48.52]],[\"comment/122\",[]],[\"name/123\",[81,48.52]],[\"comment/123\",[]],[\"name/124\",[82,48.52]],[\"comment/124\",[]],[\"name/125\",[83,48.52]],[\"comment/125\",[]],[\"name/126\",[84,48.52]],[\"comment/126\",[]],[\"name/127\",[85,48.52]],[\"comment/127\",[]],[\"name/128\",[86,48.52]],[\"comment/128\",[]],[\"name/129\",[87,48.52]],[\"comment/129\",[]],[\"name/130\",[88,48.52]],[\"comment/130\",[]],[\"name/131\",[2,21.894]],[\"comment/131\",[]],[\"name/132\",[6,33.857]],[\"comment/132\",[]],[\"name/133\",[35,37.534]],[\"comment/133\",[]],[\"name/134\",[89,48.52]],[\"comment/134\",[]],[\"name/135\",[90,48.52]],[\"comment/135\",[]],[\"name/136\",[91,48.52]],[\"comment/136\",[]],[\"name/137\",[92,48.52]],[\"comment/137\",[]],[\"name/138\",[93,48.52]],[\"comment/138\",[]],[\"name/139\",[94,48.52]],[\"comment/139\",[]],[\"name/140\",[19,37.534]],[\"comment/140\",[]],[\"name/141\",[95,48.52]],[\"comment/141\",[]],[\"name/142\",[96,48.52]],[\"comment/142\",[]],[\"name/143\",[97,48.52]],[\"comment/143\",[]],[\"name/144\",[98,48.52]],[\"comment/144\",[]],[\"name/145\",[99,48.52]],[\"comment/145\",[]],[\"name/146\",[100,48.52]],[\"comment/146\",[]],[\"name/147\",[101,48.52]],[\"comment/147\",[]],[\"name/148\",[102,48.52]],[\"comment/148\",[]],[\"name/149\",[103,48.52]],[\"comment/149\",[]],[\"name/150\",[104,48.52]],[\"comment/150\",[]],[\"name/151\",[105,48.52]],[\"comment/151\",[]],[\"name/152\",[106,48.52]],[\"comment/152\",[]],[\"name/153\",[107,48.52]],[\"comment/153\",[]],[\"name/154\",[108,48.52]],[\"comment/154\",[]],[\"name/155\",[109,48.52]],[\"comment/155\",[]],[\"name/156\",[110,48.52]],[\"comment/156\",[]],[\"name/157\",[111,48.52]],[\"comment/157\",[]],[\"name/158\",[19,37.534]],[\"comment/158\",[]],[\"name/159\",[112,48.52]],[\"comment/159\",[]],[\"name/160\",[113,48.52]],[\"comment/160\",[]],[\"name/161\",[114,48.52]],[\"comment/161\",[]],[\"name/162\",[115,48.52]],[\"comment/162\",[]],[\"name/163\",[27,43.412]],[\"comment/163\",[]],[\"name/164\",[68,43.412]],[\"comment/164\",[]],[\"name/165\",[116,48.52]],[\"comment/165\",[]],[\"name/166\",[117,48.52]],[\"comment/166\",[]],[\"name/167\",[118,48.52]],[\"comment/167\",[]],[\"name/168\",[119,48.52]],[\"comment/168\",[]],[\"name/169\",[120,48.52]],[\"comment/169\",[]],[\"name/170\",[121,48.52]],[\"comment/170\",[]],[\"name/171\",[53,43.412]],[\"comment/171\",[]],[\"name/172\",[122,48.52]],[\"comment/172\",[]],[\"name/173\",[123,48.52]],[\"comment/173\",[]],[\"name/174\",[124,48.52]],[\"comment/174\",[]],[\"name/175\",[125,48.52]],[\"comment/175\",[]],[\"name/176\",[19,37.534]],[\"comment/176\",[]],[\"name/177\",[126,48.52]],[\"comment/177\",[]],[\"name/178\",[2,21.894]],[\"comment/178\",[]],[\"name/179\",[12,30.062]],[\"comment/179\",[]],[\"name/180\",[127,43.412]],[\"comment/180\",[]],[\"name/181\",[2,21.894]],[\"comment/181\",[]],[\"name/182\",[128,48.52]],[\"comment/182\",[]],[\"name/183\",[2,21.894]],[\"comment/183\",[]],[\"name/184\",[12,30.062]],[\"comment/184\",[]],[\"name/185\",[129,48.52]],[\"comment/185\",[]],[\"name/186\",[2,21.894]],[\"comment/186\",[]],[\"name/187\",[12,30.062]],[\"comment/187\",[]],[\"name/188\",[127,43.412]],[\"comment/188\",[]],[\"name/189\",[2,21.894]],[\"comment/189\",[]],[\"name/190\",[74,43.412]],[\"comment/190\",[]]],\"invertedIndex\":[[\"__addvalues\",{\"_index\":33,\"name\":{\"67\":{}},\"comment\":{}}],[\"__context\",{\"_index\":24,\"name\":{\"57\":{}},\"comment\":{}}],[\"__contextdefinitionindex\",{\"_index\":26,\"name\":{\"59\":{}},\"comment\":{}}],[\"__contexttermindex\",{\"_index\":25,\"name\":{\"58\":{}},\"comment\":{}}],[\"__getnode\",{\"_index\":29,\"name\":{\"63\":{}},\"comment\":{}}],[\"__getnodeproxy\",{\"_index\":30,\"name\":{\"64\":{}},\"comment\":{}}],[\"__handler\",{\"_index\":21,\"name\":{\"53\":{}},\"comment\":{}}],[\"__handlerreverse\",{\"_index\":22,\"name\":{\"54\":{}},\"comment\":{}}],[\"__nodebyid\",{\"_index\":20,\"name\":{\"52\":{}},\"comment\":{}}],[\"__setproperty\",{\"_index\":34,\"name\":{\"68\":{}},\"comment\":{}}],[\"__tonode\",{\"_index\":31,\"name\":{\"65\":{}},\"comment\":{}}],[\"__type\",{\"_index\":2,\"name\":{\"2\":{},\"9\":{},\"12\":{},\"16\":{},\"21\":{},\"28\":{},\"35\":{},\"38\":{},\"42\":{},\"47\":{},\"55\":{},\"62\":{},\"92\":{},\"95\":{},\"114\":{},\"131\":{},\"178\":{},\"181\":{},\"183\":{},\"186\":{},\"189\":{}},\"comment\":{}}],[\"__updatenode\",{\"_index\":32,\"name\":{\"66\":{}},\"comment\":{}}],[\"about\",{\"_index\":15,\"name\":{\"20\":{},\"46\":{}},\"comment\":{}}],[\"add\",{\"_index\":120,\"name\":{\"169\":{}},\"comment\":{}}],[\"addbacklinks\",{\"_index\":79,\"name\":{\"121\":{}},\"comment\":{}}],[\"addcontext\",{\"_index\":40,\"name\":{\"77\":{}},\"comment\":{}}],[\"addentity\",{\"_index\":42,\"name\":{\"79\":{}},\"comment\":{}}],[\"addidentifier\",{\"_index\":43,\"name\":{\"80\":{}},\"comment\":{}}],[\"additem\",{\"_index\":77,\"name\":{\"119\":{}},\"comment\":{}}],[\"addprofile\",{\"_index\":44,\"name\":{\"81\":{}},\"comment\":{}}],[\"addprovenance\",{\"_index\":45,\"name\":{\"82\":{}},\"comment\":{}}],[\"addtermdefinition\",{\"_index\":41,\"name\":{\"78\":{}},\"comment\":{}}],[\"addtype\",{\"_index\":119,\"name\":{\"168\":{}},\"comment\":{}}],[\"addvalues\",{\"_index\":46,\"name\":{\"83\":{}},\"comment\":{}}],[\"asarray\",{\"_index\":117,\"name\":{\"166\":{}},\"comment\":{}}],[\"asarrayref\",{\"_index\":118,\"name\":{\"167\":{}},\"comment\":{}}],[\"back_back_links\",{\"_index\":9,\"name\":{\"10\":{},\"36\":{}},\"comment\":{}}],[\"back_links\",{\"_index\":8,\"name\":{\"8\":{},\"34\":{}},\"comment\":{}}],[\"changegraphid\",{\"_index\":83,\"name\":{\"125\":{}},\"comment\":{}}],[\"check\",{\"_index\":106,\"name\":{\"152\":{}},\"comment\":{}}],[\"checker\",{\"_index\":94,\"name\":{\"139\":{}},\"comment\":{}}],[\"checkitem\",{\"_index\":111,\"name\":{\"157\":{}},\"comment\":{}}],[\"checklist\",{\"_index\":96,\"name\":{\"142\":{}},\"comment\":{}}],[\"clone\",{\"_index\":53,\"name\":{\"90\":{},\"171\":{}},\"comment\":{}}],[\"config\",{\"_index\":28,\"name\":{\"61\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":19,\"name\":{\"26\":{},\"140\":{},\"158\":{},\"176\":{}},\"comment\":{}}],[\"context\",{\"_index\":6,\"name\":{\"6\":{},\"32\":{},\"69\":{},\"70\":{},\"115\":{},\"132\":{}},\"comment\":{}}],[\"countprop\",{\"_index\":122,\"name\":{\"172\":{}},\"comment\":{}}],[\"crate\",{\"_index\":95,\"name\":{\"141\":{}},\"comment\":{}}],[\"datasettemplate\",{\"_index\":10,\"name\":{\"11\":{},\"37\":{}},\"comment\":{}}],[\"dedupesubgraphs\",{\"_index\":80,\"name\":{\"122\":{}},\"comment\":{}}],[\"defaults\",{\"_index\":1,\"name\":{\"1\":{},\"27\":{}},\"comment\":{}}],[\"deleteentity\",{\"_index\":47,\"name\":{\"84\":{}},\"comment\":{}}],[\"deleteitem\",{\"_index\":78,\"name\":{\"120\":{}},\"comment\":{}}],[\"deleteproperty\",{\"_index\":48,\"name\":{\"85\":{}},\"comment\":{}}],[\"deletevalues\",{\"_index\":49,\"name\":{\"86\":{}},\"comment\":{}}],[\"diagnostics\",{\"_index\":115,\"name\":{\"162\":{}},\"comment\":{}}],[\"done\",{\"_index\":57,\"name\":{\"96\":{}},\"comment\":{}}],[\"entities\",{\"_index\":54,\"name\":{\"91\":{}},\"comment\":{}}],[\"entity\",{\"_index\":129,\"name\":{\"185\":{}},\"comment\":{}}],[\"exists\",{\"_index\":125,\"name\":{\"175\":{}},\"comment\":{}}],[\"flatify\",{\"_index\":76,\"name\":{\"118\":{}},\"comment\":{}}],[\"get\",{\"_index\":23,\"name\":{\"56\":{}},\"comment\":{}}],[\"getconfig\",{\"_index\":59,\"name\":{\"98\":{}},\"comment\":{}}],[\"getdefinition\",{\"_index\":60,\"name\":{\"99\":{}},\"comment\":{}}],[\"getentity\",{\"_index\":62,\"name\":{\"101\":{}},\"comment\":{}}],[\"getflatgraph\",{\"_index\":85,\"name\":{\"127\":{}},\"comment\":{}}],[\"getgraph\",{\"_index\":64,\"name\":{\"103\":{}},\"comment\":{}}],[\"getidentifier\",{\"_index\":65,\"name\":{\"104\":{}},\"comment\":{}}],[\"getitem\",{\"_index\":84,\"name\":{\"126\":{}},\"comment\":{}}],[\"getjson\",{\"_index\":88,\"name\":{\"130\":{}},\"comment\":{}}],[\"getnamedidentifier\",{\"_index\":89,\"name\":{\"134\":{}},\"comment\":{}}],[\"getnormalizedtree\",{\"_index\":92,\"name\":{\"137\":{}},\"comment\":{}}],[\"getproperty\",{\"_index\":66,\"name\":{\"105\":{}},\"comment\":{}}],[\"getrootdataset\",{\"_index\":86,\"name\":{\"128\":{}},\"comment\":{}}],[\"getrootid\",{\"_index\":87,\"name\":{\"129\":{}},\"comment\":{}}],[\"getterm\",{\"_index\":61,\"name\":{\"100\":{}},\"comment\":{}}],[\"gettree\",{\"_index\":67,\"name\":{\"106\":{}},\"comment\":{}}],[\"graph\",{\"_index\":35,\"name\":{\"71\":{},\"72\":{},\"116\":{},\"133\":{}},\"comment\":{}}],[\"graphsize\",{\"_index\":36,\"name\":{\"73\":{}},\"comment\":{}}],[\"has\",{\"_index\":116,\"name\":{\"165\":{}},\"comment\":{}}],[\"hasauthor\",{\"_index\":102,\"name\":{\"148\":{}},\"comment\":{}}],[\"hascontactpoint\",{\"_index\":105,\"name\":{\"151\":{}},\"comment\":{}}],[\"hascontext\",{\"_index\":97,\"name\":{\"143\":{}},\"comment\":{}}],[\"hasdatepublished\",{\"_index\":104,\"name\":{\"150\":{}},\"comment\":{}}],[\"hasdescription\",{\"_index\":101,\"name\":{\"147\":{}},\"comment\":{}}],[\"hasentity\",{\"_index\":63,\"name\":{\"102\":{}},\"comment\":{}}],[\"haslicense\",{\"_index\":103,\"name\":{\"149\":{}},\"comment\":{}}],[\"hasname\",{\"_index\":100,\"name\":{\"146\":{}},\"comment\":{}}],[\"hasrootdataset\",{\"_index\":98,\"name\":{\"144\":{}},\"comment\":{}}],[\"hasrootdatasetwithproperid\",{\"_index\":99,\"name\":{\"145\":{}},\"comment\":{}}],[\"hastype\",{\"_index\":68,\"name\":{\"107\":{},\"164\":{}},\"comment\":{}}],[\"id\",{\"_index\":12,\"name\":{\"14\":{},\"18\":{},\"22\":{},\"40\":{},\"44\":{},\"48\":{},\"179\":{},\"184\":{},\"187\":{}},\"comment\":{}}],[\"identifier\",{\"_index\":14,\"name\":{\"19\":{},\"45\":{}},\"comment\":{}}],[\"index\",{\"_index\":81,\"name\":{\"123\":{}},\"comment\":{}}],[\"indexof\",{\"_index\":69,\"name\":{\"108\":{}},\"comment\":{}}],[\"isequal\",{\"_index\":123,\"name\":{\"173\":{}},\"comment\":{}}],[\"isequalref\",{\"_index\":124,\"name\":{\"174\":{}},\"comment\":{}}],[\"isrocrate\",{\"_index\":107,\"name\":{\"153\":{}},\"comment\":{}}],[\"iterator\",{\"_index\":55,\"name\":{\"93\":{}},\"comment\":{}}],[\"message\",{\"_index\":113,\"name\":{\"160\":{}},\"comment\":{}}],[\"metadatafiledescriptortemplate\",{\"_index\":13,\"name\":{\"15\":{},\"41\":{}},\"comment\":{}}],[\"metadatafileentity\",{\"_index\":37,\"name\":{\"74\":{}},\"comment\":{}}],[\"name\",{\"_index\":112,\"name\":{\"159\":{}},\"comment\":{}}],[\"next\",{\"_index\":56,\"name\":{\"94\":{}},\"comment\":{}}],[\"noderef\",{\"_index\":126,\"name\":{\"177\":{}},\"comment\":{}}],[\"objectify\",{\"_index\":93,\"name\":{\"138\":{}},\"comment\":{}}],[\"pagesize\",{\"_index\":18,\"name\":{\"25\":{},\"51\":{}},\"comment\":{}}],[\"pushvalue\",{\"_index\":82,\"name\":{\"124\":{}},\"comment\":{}}],[\"rawentity\",{\"_index\":128,\"name\":{\"182\":{}},\"comment\":{}}],[\"render_script\",{\"_index\":7,\"name\":{\"7\":{},\"33\":{}},\"comment\":{}}],[\"report\",{\"_index\":109,\"name\":{\"155\":{}},\"comment\":{}}],[\"resolve\",{\"_index\":70,\"name\":{\"109\":{}},\"comment\":{}}],[\"resolveall\",{\"_index\":72,\"name\":{\"111\":{}},\"comment\":{}}],[\"resolvecontext\",{\"_index\":71,\"name\":{\"110\":{}},\"comment\":{}}],[\"resolveterm\",{\"_index\":73,\"name\":{\"112\":{}},\"comment\":{}}],[\"reverse\",{\"_index\":127,\"name\":{\"180\":{},\"188\":{}},\"comment\":{}}],[\"ro_crate_name\",{\"_index\":3,\"name\":{\"3\":{},\"29\":{}},\"comment\":{}}],[\"rocrate\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"rocrate_specification_identifier\",{\"_index\":16,\"name\":{\"23\":{},\"49\":{}},\"comment\":{}}],[\"rocratemetadataid\",{\"_index\":4,\"name\":{\"4\":{},\"30\":{}},\"comment\":{}}],[\"rocratemetadataids\",{\"_index\":5,\"name\":{\"5\":{},\"31\":{}},\"comment\":{}}],[\"rocratepreviewfilename\",{\"_index\":17,\"name\":{\"24\":{},\"50\":{}},\"comment\":{}}],[\"rootdataset\",{\"_index\":38,\"name\":{\"75\":{}},\"comment\":{}}],[\"rootid\",{\"_index\":39,\"name\":{\"76\":{}},\"comment\":{}}],[\"serializegraph\",{\"_index\":90,\"name\":{\"135\":{}},\"comment\":{}}],[\"setproperty\",{\"_index\":50,\"name\":{\"87\":{}},\"comment\":{}}],[\"status\",{\"_index\":114,\"name\":{\"161\":{}},\"comment\":{}}],[\"summarize\",{\"_index\":108,\"name\":{\"154\":{}},\"comment\":{}}],[\"tograph\",{\"_index\":91,\"name\":{\"136\":{}},\"comment\":{}}],[\"tojson\",{\"_index\":74,\"name\":{\"113\":{},\"190\":{}},\"comment\":{}}],[\"type\",{\"_index\":11,\"name\":{\"13\":{},\"17\":{},\"39\":{},\"43\":{}},\"comment\":{}}],[\"union\",{\"_index\":121,\"name\":{\"170\":{}},\"comment\":{}}],[\"uniqueid\",{\"_index\":75,\"name\":{\"117\":{}},\"comment\":{}}],[\"updateentity\",{\"_index\":51,\"name\":{\"88\":{}},\"comment\":{}}],[\"updateentityid\",{\"_index\":52,\"name\":{\"89\":{}},\"comment\":{}}],[\"utils\",{\"_index\":27,\"name\":{\"60\":{},\"163\":{}},\"comment\":{}}],[\"validate\",{\"_index\":110,\"name\":{\"156\":{}},\"comment\":{}}],[\"value\",{\"_index\":58,\"name\":{\"97\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/v3.3/assets/style.css b/docs/v3.3/assets/style.css new file mode 100644 index 0000000..18b4f8f --- /dev/null +++ b/docs/v3.3/assets/style.css @@ -0,0 +1,1367 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: var(--light-color-ts-type-alias); + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + /* object literal not included as it is not used and will be removed in 0.25 */ + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + /* object literal not included as it is not used and will be removed in 0.25 */ + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 > a, +h2 > a, +h3 > a, +h4 > a, +h5 > a, +h6 > a { + text-decoration: none; + color: var(--color-text); +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} + +.tsd-generator > p { + margin-top: 0; + margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography h4, +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; + margin: 0; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.5rem); +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: inline-flex; + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-nested-navigation { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; +} +.tsd-small-nested-navigation { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; +} + +.tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: calc(100% - 1.75rem - 0.5rem); +} + +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + cursor: pointer; +} +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: var(--color-background); +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current, +#tsd-search .results li:hover { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); +} +.tsd-kind-parameter { + color: var(--color-ts-parameter); +} +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); +} +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); +} +.tsd-kind-accessor { + color: var(--color-ts-accessor); +} +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/docs/v3.3/classes/CheckItem.html b/docs/v3.3/classes/CheckItem.html new file mode 100644 index 0000000..c589af3 --- /dev/null +++ b/docs/v3.3/classes/CheckItem.html @@ -0,0 +1,111 @@ +CheckItem | ro-crate - v3.3.11
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      + +

                                      Class CheckItem

                                      +
                                      +

                                      Hierarchy

                                      +
                                        +
                                      • CheckItem
                                      +
                                      +
                                      +
                                      + +
                                      +
                                      +

                                      Constructors

                                      +
                                      +
                                      +

                                      Properties

                                      +
                                      +
                                      +

                                      Constructors

                                      +
                                      + +
                                      +
                                      +

                                      Properties

                                      +
                                      + +
                                      diagnostics: any
                                      +
                                      + +
                                      message: any
                                      +
                                      + +
                                      name: any
                                      +
                                      + +
                                      status: any
                                      +
                                      + +
                                      +
                                      +

                                      Generated using TypeDoc

                                      +
                                      \ No newline at end of file diff --git a/docs/v3.3/classes/Checker.html b/docs/v3.3/classes/Checker.html new file mode 100644 index 0000000..79b4741 --- /dev/null +++ b/docs/v3.3/classes/Checker.html @@ -0,0 +1,242 @@ +Checker | ro-crate - v3.3.11
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      + +

                                      Class Checker

                                      +
                                      +

                                      Hierarchy

                                      +
                                        +
                                      • Checker
                                      +
                                      +
                                      +
                                      + +
                                      +
                                      +

                                      Constructors

                                      +
                                      + +
                                      +
                                      +

                                      Properties

                                      +
                                      + +
                                      checklist: any[]
                                      +
                                      + +
                                      crate: ROCrate
                                      +
                                      + +
                                      isROCrate: boolean
                                      +
                                      +

                                      Methods

                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                        + +
                                      • +

                                        Returns "This is a valid RO-Crate" | "This is not a valid RO-Crate"

                                      +
                                      + +
                                      +
                                      +
                                      +

                                      Generated using TypeDoc

                                      +
                                      \ No newline at end of file diff --git a/docs/v3.3/classes/ROCrate.html b/docs/v3.3/classes/ROCrate.html new file mode 100644 index 0000000..f10a5ed --- /dev/null +++ b/docs/v3.3/classes/ROCrate.html @@ -0,0 +1,1767 @@ +ROCrate | ro-crate - v3.3.11
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      + +

                                      Class ROCrate

                                      +
                                      +

                                      Class for building, navigating, testing and rendering ROCrates

                                      +
                                      +
                                      +

                                      Todo

                                      import validation and rendering from Calcyte

                                      +
                                      +
                                      +

                                      Hierarchy

                                      +
                                        +
                                      • ROCrate
                                      +
                                      +
                                      +
                                      + +
                                      +
                                      +

                                      Constructors

                                      +
                                      + +
                                        + +
                                      • +

                                        Create a new ROCrate object using a default template or from a valid jsonld object.

                                        +
                                        +
                                        +

                                        Parameters

                                        +
                                          +
                                        • +
                                          json: any = {}
                                          +

                                          a valid jsonld object

                                          +
                                          +
                                        • +
                                        • +
                                          Optional config: {
                                              array: boolean;
                                              defaultType: string;
                                              duplicate: boolean;
                                              link: boolean;
                                              merge: boolean;
                                              replace: boolean;
                                          }
                                          +
                                          +
                                            +
                                          • +
                                            array: boolean
                                            +

                                            Always return property of an Entity as an array (eg when using getEntity() method)

                                            +
                                            +
                                          • +
                                          • +
                                            defaultType: string
                                            +

                                            The default value for @type to be used when adding a new entity and the property is not specified. Default to 'Thing'

                                            +
                                            +
                                          • +
                                          • +
                                            duplicate: boolean
                                            +

                                            Allow duplicate values in a property that has multiple values

                                            +
                                            +
                                          • +
                                          • +
                                            link: boolean
                                            +

                                            Resolve linked node as nested object

                                            +
                                            +
                                          • +
                                          • +
                                            merge: boolean
                                            +

                                            When replacing or updating an entity, merge the values and the properties instead of full replace

                                            +
                                            +
                                          • +
                                          • +
                                            replace: boolean
                                            +

                                            When importing from json, a subsequent duplicate entity always replaces the existing one

                                            +
                                            +
                                        +

                                        Returns ROCrate

                                        +
                                      +
                                      +

                                      Properties

                                      +
                                      + +
                                      __context: Set<any> = ...
                                      +

                                      Internal representation of the context

                                      +
                                      +
                                      +
                                      + +
                                      __contextDefinitionIndex: Map<any, any> = ...
                                      +
                                      + +
                                      __contextTermIndex: Map<any, any> = ...
                                      +

                                      Index of all context contents or terms

                                      +
                                      +
                                      +
                                      + +
                                      __handler: Handler
                                      +

                                      Lookup table to index nodes by their properties

                                      +
                                      +
                                      +
                                      + +
                                      __handlerReverse: {
                                          get(target, prop) => any;
                                      }
                                      +
                                      +

                                      Type declaration

                                      +
                                        +
                                      • +
                                        get:function
                                        +
                                          + +
                                        • +
                                          +

                                          Parameters

                                          +
                                            +
                                          • +
                                            target: any
                                          • +
                                          • +
                                            prop: any
                                          +

                                          Returns any

                                      +
                                      + +
                                      __nodeById: Map<string, Node> = ...
                                      +

                                      Lookup table to get a reference to existing and non-existing nodes. +This is needed to avoid searching for the whole graph for every "@reverse" lookup +as an entity referenced by other entities may not exist yet in the graph.

                                      +
                                      +
                                      +
                                      + +
                                      config: {}
                                      +
                                      +

                                      Type declaration

                                      +
                                        +
                                        + +
                                        defaults: {
                                            ROCrate_Specification_Identifier: string;
                                            back_back_links: Set<any>;
                                            back_links: {};
                                            context: (string | {
                                                @vocab: string;
                                            })[];
                                            datasetTemplate: {
                                                @id: string;
                                                @type: string;
                                            };
                                            metadataFileDescriptorTemplate: {
                                                @id: string;
                                                @type: string;
                                                about: {
                                                    @id: string;
                                                };
                                                identifier: string;
                                            };
                                            pageSize: number;
                                            render_script: string;
                                            roCrateMetadataID: string;
                                            roCrateMetadataIDs: string[];
                                            roCratePreviewFileName: string;
                                            ro_crate_name: string;
                                        } = defaults
                                        +
                                        +

                                        Type declaration

                                        +
                                          +
                                        • +
                                          ROCrate_Specification_Identifier: string
                                        • +
                                        • +
                                          back_back_links: Set<any>
                                        • +
                                        • +
                                          back_links: {}
                                          +
                                          • +
                                          • +
                                            context: (string | {
                                                @vocab: string;
                                            })[]
                                          • +
                                          • +
                                            datasetTemplate: {
                                                @id: string;
                                                @type: string;
                                            }
                                            +
                                              +
                                            • +
                                              @id: string
                                            • +
                                            • +
                                              @type: string
                                          • +
                                          • +
                                            metadataFileDescriptorTemplate: {
                                                @id: string;
                                                @type: string;
                                                about: {
                                                    @id: string;
                                                };
                                                identifier: string;
                                            }
                                            +
                                              +
                                            • +
                                              @id: string
                                            • +
                                            • +
                                              @type: string
                                            • +
                                            • +
                                              about: {
                                                  @id: string;
                                              }
                                              +
                                                +
                                              • +
                                                @id: string
                                            • +
                                            • +
                                              identifier: string
                                          • +
                                          • +
                                            pageSize: number
                                          • +
                                          • +
                                            render_script: string
                                          • +
                                          • +
                                            roCrateMetadataID: string
                                          • +
                                          • +
                                            roCrateMetadataIDs: string[]
                                          • +
                                          • +
                                            roCratePreviewFileName: string
                                          • +
                                          • +
                                            ro_crate_name: string
                                          +
                                          + +
                                          utils: typeof Utils = Utils
                                          +
                                          +

                                          Deprecated

                                          Import Utils class directly

                                          +
                                          +
                                          + +
                                          defaults: {
                                              ROCrate_Specification_Identifier: string;
                                              back_back_links: Set<any>;
                                              back_links: {};
                                              context: (string | {
                                                  @vocab: string;
                                              })[];
                                              datasetTemplate: {
                                                  @id: string;
                                                  @type: string;
                                              };
                                              metadataFileDescriptorTemplate: {
                                                  @id: string;
                                                  @type: string;
                                                  about: {
                                                      @id: string;
                                                  };
                                                  identifier: string;
                                              };
                                              pageSize: number;
                                              render_script: string;
                                              roCrateMetadataID: string;
                                              roCrateMetadataIDs: string[];
                                              roCratePreviewFileName: string;
                                              ro_crate_name: string;
                                          } = defaults
                                          +
                                          +

                                          Type declaration

                                          +
                                            +
                                          • +
                                            ROCrate_Specification_Identifier: string
                                          • +
                                          • +
                                            back_back_links: Set<any>
                                          • +
                                          • +
                                            back_links: {}
                                            +
                                            • +
                                            • +
                                              context: (string | {
                                                  @vocab: string;
                                              })[]
                                            • +
                                            • +
                                              datasetTemplate: {
                                                  @id: string;
                                                  @type: string;
                                              }
                                              +
                                                +
                                              • +
                                                @id: string
                                              • +
                                              • +
                                                @type: string
                                            • +
                                            • +
                                              metadataFileDescriptorTemplate: {
                                                  @id: string;
                                                  @type: string;
                                                  about: {
                                                      @id: string;
                                                  };
                                                  identifier: string;
                                              }
                                              +
                                                +
                                              • +
                                                @id: string
                                              • +
                                              • +
                                                @type: string
                                              • +
                                              • +
                                                about: {
                                                    @id: string;
                                                }
                                                +
                                                  +
                                                • +
                                                  @id: string
                                              • +
                                              • +
                                                identifier: string
                                            • +
                                            • +
                                              pageSize: number
                                            • +
                                            • +
                                              render_script: string
                                            • +
                                            • +
                                              roCrateMetadataID: string
                                            • +
                                            • +
                                              roCrateMetadataIDs: string[]
                                            • +
                                            • +
                                              roCratePreviewFileName: string
                                            • +
                                            • +
                                              ro_crate_name: string
                                            +
                                            +

                                            Accessors

                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                              +
                                            • get context(): any
                                            • +
                                            • +

                                              The context part of the crate. An alias for '@context'. +This returns the original context information.

                                              +
                                              +

                                              Returns any

                                              +
                                            +
                                            + +
                                              +
                                            • get graph(): any[]
                                            • +
                                            • +

                                              An array of all nodes in the graph. An alias for '@graph'

                                              +
                                              +

                                              Returns any[]

                                              +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                              +
                                            • get rootId(): string
                                            • +
                                            • +

                                              The root identifier of the RO Crate

                                              +
                                              +

                                              Returns string

                                              +
                                            • +
                                            • set rootId(newId): void
                                            • +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                newId: string
                                              +

                                              Returns void

                                            +
                                            +

                                            Methods

                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                ref: any
                                              • +
                                              • +
                                                prop: any
                                              • +
                                              • +
                                                oldValues_: any
                                              • +
                                              • +
                                                values: any
                                              • +
                                              • +
                                                __namedParameters: Object
                                              +

                                              Returns any

                                            +
                                            + +
                                              + +
                                            • +

                                              Create a new node or return an existing node with the given data

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                id: string
                                                +

                                                Identifier of the node (@id)

                                                +
                                                +
                                              • +
                                              • +
                                                Optional ref: NodeRef
                                                +

                                                An immutable and unique reference to node that contains id and reverse information only

                                                +
                                                +
                                              +

                                              Returns Node

                                              a newly created or existing node that matches the id

                                              + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Return a proxy that wraps a node as an entity object supporting linked objects capability.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                n: Node
                                                +
                                              +

                                              Returns any

                                              +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                entity: Node
                                                +
                                              • +
                                              • +
                                                prop: string
                                                +
                                              • +
                                              • +
                                                values: any
                                                +
                                              • +
                                              • +
                                                opt: {
                                                    duplicate: boolean;
                                                    merge: boolean;
                                                    recurse: boolean;
                                                    replace: boolean;
                                                    seen: WeakSet<any>;
                                                }
                                                +
                                                +
                                                  +
                                                • +
                                                  duplicate: boolean
                                                  +
                                                • +
                                                • +
                                                  merge: boolean
                                                  +
                                                • +
                                                • +
                                                  recurse: boolean
                                                  +
                                                • +
                                                • +
                                                  replace: boolean
                                                  +
                                                • +
                                                • +
                                                  seen: WeakSet<any>
                                                  +
                                              +

                                              Returns boolean

                                              +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                idOrEntity: any
                                                +
                                              +

                                              Returns Node

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Init a new node or update existing one

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                node: Node
                                                +
                                              • +
                                              • +
                                                data: any
                                                +

                                                Update the node with the given data

                                                +
                                                +
                                              • +
                                              • +
                                                opt: {
                                                    add: boolean;
                                                    merge: boolean;
                                                    recurse: boolean;
                                                    replace: boolean;
                                                    seen: WeakSet<any>;
                                                }
                                                +
                                                +
                                                  +
                                                • +
                                                  add: boolean
                                                  +

                                                  If true, create an entity even if the data is empty

                                                  +
                                                  +
                                                • +
                                                • +
                                                  merge: boolean
                                                  +

                                                  If false and if node already exists, remove all existing properties not in the specified data

                                                  +
                                                  +
                                                • +
                                                • +
                                                  recurse: boolean
                                                  +

                                                  Process nested objects recursively

                                                  +
                                                  +
                                                • +
                                                • +
                                                  replace: boolean
                                                  +

                                                  If false and if node already exists, do nothing to the node

                                                  +
                                                  +
                                                • +
                                                • +
                                                  seen: WeakSet<any>
                                                  +

                                                  A set to keep track of cyclic reference in the input

                                                  +
                                                  +
                                              +

                                              Returns boolean

                                              Return true if node is changed

                                              + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Returns void

                                              +
                                              +

                                              Deprecated

                                              Not required anymore. Calling this method will do nothing.

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Append the specified string or object directly as an entry into the RO-Crate JSON-LD Context array. +It does not check for duplicates or overlapping content if the context is an object.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                context: any
                                                +

                                                A URL or an Object that contains the context mapping

                                                +
                                                +
                                              +

                                              Returns void

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Add an entity to the crate.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                data: any
                                                +

                                                A valid RO-Crate entity described in plain object.

                                                +
                                                +
                                              • +
                                              • +
                                                opt: {
                                                    recurse: boolean;
                                                    replace: boolean;
                                                } = {}
                                                +
                                                +
                                                  +
                                                • +
                                                  recurse: boolean
                                                  +

                                                  If true, nested entities will be added as well.

                                                  +
                                                  +
                                                • +
                                                • +
                                                  replace: boolean
                                                  +

                                                  If true, replace existing entity with the same id.

                                                  +
                                                  +
                                              +

                                              Returns boolean

                                              true if the entity is successfully added.

                                              + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Add a new identifier as a PropertyValue to the root DataSet. +identifier and name are required parameters

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                options: {
                                                    description: string;
                                                    identifier: string;
                                                    name: string;
                                                }
                                                +
                                                +
                                                  +
                                                • +
                                                  description: string
                                                  +
                                                • +
                                                • +
                                                  identifier: string
                                                  +
                                                • +
                                                • +
                                                  name: string
                                                  +
                                              +

                                              Returns string

                                              The added identifier or undefined

                                              + +
                                            +
                                            + +
                                              + +
                                            • +

                                              This silently fails if the item has no

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                item: any
                                                +
                                              +

                                              Returns boolean

                                              +
                                              +

                                              Id

                                              or already exists - this is probably sub-optimal

                                              + +

                                              Deprecated

                                              Use addEntity

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Add a Profile URI to the crate

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                uri: string
                                                +

                                                A valid Profile URI

                                                +
                                                +
                                              +

                                              Returns void

                                              +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                prov: any
                                              +

                                              Returns void

                                            +
                                            + +
                                              + +
                                            • +

                                              Add the term and its definition to the first context definition (a map) found from the @context entries. +If no existing context definition found, a new one will be created.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                term: string
                                                +
                                              • +
                                              • +
                                                definition: any
                                                +
                                              +

                                              Returns void

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Add one or more value to a property of an entity. +If the specified property does not exists, a new one will be set. +If the property already exists, the new value will be added to the property array.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                idOrEntity: any
                                                +

                                                The id or the entity to add the property to

                                                +
                                                +
                                              • +
                                              • +
                                                prop: string
                                                +

                                                The name of the property

                                                +
                                                +
                                              • +
                                              • +
                                                values: any
                                                +

                                                The value of the property

                                                +
                                                +
                                              • +
                                              • +
                                                opt: {
                                                    duplicate: boolean;
                                                } = {}
                                                +
                                                +
                                                  +
                                                • +
                                                  duplicate: boolean
                                                  +

                                                  If true, allow a property to have duplicate values in the array

                                                  +
                                                  +
                                              +

                                              Returns boolean

                                              +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                item: any
                                              • +
                                              • +
                                                newId: any
                                              +

                                              Returns boolean

                                              +
                                              +

                                              Deprecated

                                              Use updateEntityId

                                              +
                                            +
                                            + +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                subgraphs: any
                                              +

                                              Returns any[]

                                              +
                                              +

                                              Deprecated

                                              Use union, eg: union([sg1, sg2])

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Delete an entity from the graph

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                id_or_entity: string | Entity
                                                +

                                                Entity Identifier or the entity object itself

                                                +
                                                +
                                              • +
                                              • +
                                                opt: {
                                                    references: boolean;
                                                } = {}
                                                +
                                                +
                                                  +
                                                • +
                                                  references: boolean
                                                  +

                                                  Set true to delete all references to the deleted entity

                                                  +
                                                  +
                                              +

                                              Returns boolean

                                              True if any existing entity was deleted

                                              + +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                id: string
                                                +
                                              +

                                              Returns any

                                              The raw data of deleted entity

                                              + +
                                              +

                                              Deprecated

                                              Use deleteEntity

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Delete a property of an Entity

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                idOrEntity: any
                                                +

                                                The id of the entity to add the property to

                                                +
                                                +
                                              • +
                                              • +
                                                prop: string
                                                +

                                                The name of the property

                                                +
                                                +
                                              +

                                              Returns boolean

                                                +
                                              • True, if the property has been deleted
                                              • +
                                              + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Delete one or more values from a property.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                idOrEntity: string | Entity
                                                +
                                              • +
                                              • +
                                                prop: string
                                                +
                                              • +
                                              • +
                                                values: any
                                                +
                                              +

                                              Returns void

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Returns a new iterator object that contains the entities in the graph.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                p: {
                                                    filter: any;
                                                    flat: boolean;
                                                } = {}
                                                +
                                                +
                                                  +
                                                • +
                                                  filter: any
                                                  +

                                                  Filter the result based on the values of the properties defined in this object.

                                                  +
                                                  +
                                                • +
                                                • +
                                                  flat: boolean
                                                  +

                                                  If true, return the copy of entity as a plain object.

                                                  +
                                                  +
                                              +

                                              Returns {
                                                  [iterator]() => { [Symbol.iterator](): ...; next(): { done: boolean; value: any; }; };
                                                  next() => {
                                                      done: boolean;
                                                      value: any;
                                                  };
                                              }

                                              +
                                                +
                                              • +
                                                [iterator]:function
                                                +
                                                  + +
                                                • +

                                                  Returns { [Symbol.iterator](): ...; next(): { done: boolean; value: any; }; }

                                              • +
                                              • +
                                                next:function
                                                +
                                                  + +
                                                • +

                                                  Returns {
                                                      done: boolean;
                                                      value: any;
                                                  }

                                                  +
                                                    +
                                                  • +
                                                    done: boolean
                                                  • +
                                                  • +
                                                    value: any
                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Experimental method to turn a graph into a flat dictionary eg for turning it into a table

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                item: any
                                              • +
                                              • +
                                                depth: any
                                              • +
                                              • +
                                                flatItem: any
                                              • +
                                              • +
                                                propPath: any
                                              • +
                                              • +
                                                seen: any
                                              +

                                              Returns any

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Get configuration value

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                key: "replace" | "link" | "array" | "merge" | "duplicate"
                                                +

                                                Name of the config parameter

                                                +
                                                +
                                              +

                                              Returns any

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Get the context term definition. This method will also search for term defined locally in the graph. +Make sure resolveContext() has been called prior calling this method.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                term: string
                                                +
                                              +

                                              Returns any

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Get an entity from the graph. +If config.link is true, any reference (object with just "@id" property) +is resolved as a nested object.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                id: string
                                                +

                                                An entity identifier

                                                +
                                                +
                                              +

                                              Returns Entity

                                              A wrapper for entity that resolves properties as linked objects

                                              + +
                                            +
                                            + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Get an array of all nodes in the graph. Each node in the array is an Entity instance. +If config.link is true, any link to other node will be made into nested object.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                flat: boolean = false
                                                +

                                                If true, return the copy of entity as a plain object.

                                                +
                                                +
                                              +

                                              Returns any[]

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Get named identifier

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                name: string
                                                +
                                              +

                                              Returns string

                                              the identifier

                                              + +
                                            +
                                            + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Returns {
                                                  @context: any[];
                                                  @graph: any[];
                                              }

                                              +
                                                +
                                              • +
                                                @context: any[]
                                              • +
                                              • +
                                                @graph: any[]
                                              +
                                              +

                                              Deprecated

                                              Use toJSON

                                              +
                                            +
                                            + +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                root: any
                                              • +
                                              • +
                                                depth: number = 1
                                              +

                                              Returns any

                                              +
                                              +

                                              Deprecated

                                              Use getTree with the following argument: { root, depth, allowCycle: true }

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Get the property of an entity

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                idOrEntity: any
                                                +
                                              • +
                                              • +
                                                prop: string
                                                +
                                              +

                                              Returns any

                                              the value of the property

                                              + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Get the context term name from it's definition id. +Make sure resolveContext() has been called prior calling this method.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                definition: any
                                                +
                                              +

                                              Returns any

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Return a JSON.stringify-ready tree structure starting from the specified item +with all values (apart from @id) as arrays +and string-values expressed like: {"@value": "string-value"}

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                opt: {
                                                    allowCycle: boolean;
                                                    depth: number;
                                                    root: any;
                                                    valueObject: boolean;
                                                } = {}
                                                +
                                                +
                                                  +
                                                • +
                                                  allowCycle: boolean
                                                  +
                                                • +
                                                • +
                                                  depth: number
                                                  +

                                                  The number of nesting the tree will have. Must be 0 or positive integer.

                                                  +
                                                  +
                                                • +
                                                • +
                                                  root: any
                                                  +
                                                • +
                                                • +
                                                  valueObject: boolean
                                                  +
                                              +

                                              Returns any

                                              the root entity

                                              + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Check if entity exists in the graph

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                id: string
                                                +

                                                An entity identifier

                                                +
                                                +
                                              +

                                              Returns boolean

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Check if an entity has a type

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                item: any
                                                +
                                              • +
                                              • +
                                                type: string
                                                +
                                              +

                                              Returns boolean

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Returns void

                                              +
                                              +

                                              Deprecated

                                              Not required anymore. Calling this method will do nothing.

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Get the index of the entity in the graph array. This is an O(n) operation.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                entityId: string
                                                +
                                              +

                                              Returns number

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Create a simple tree-like object - but don't make circular structures

                                              +
                                              +

                                              Returns any

                                              +
                                              +

                                              Deprecated

                                              Use getTree with the valueObject argument set to false`

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Add a value to an item's property array

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                item: any
                                                +
                                              • +
                                              • +
                                                prop: string
                                                +
                                              • +
                                              • +
                                                val: any
                                                +
                                              • +
                                              • +
                                                allowDuplicates: boolean = false
                                                +
                                              +

                                              Returns void

                                              +
                                              +

                                              Deprecated

                                              Use addValues

                                              +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                items: any
                                                +

                                                A JSON-LD item or array of [item]

                                                +
                                                +
                                              • +
                                              • +
                                                pathArray: any[]
                                                +

                                                An array of objects that represents a 'path' through the graph. + Object must have a "property" to follow, eg: + resolve(item, {"property": "miltaryService"}); + and optionally a condition "includes", eg: + "includes": {"@type", "Action"}} + and optionally, a function "matchFn" which takes an item + as argument and returns a boolean, eg: + "matchFn": (item) => item['@id'].match(/anzsrc-for/)

                                                +
                                                +
                                              • +
                                              • +
                                                Optional subgraph: any[]
                                                +

                                                If present and true, all intervening items during + the traversal will be stored. If an array is passed, the intervening items will be + stored in the array.

                                                +
                                                +
                                              +

                                              Returns any[]

                                              null, or an array of items

                                              + +
                                            +
                                            + +
                                              + +
                                            • +

                                              resolveAll does a resolve but collects and deduplicates intermediate items. +Its first returned value is the final items (ie what resolve(..)) would have returned.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                items: any
                                                +
                                              • +
                                              • +
                                                pathArray: any
                                                +
                                              +

                                              Returns any[][]

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Generate a local flat lookup table for context terms

                                              +
                                              +

                                              Returns Promise<{
                                                  getDefinition(term) => any;
                                                  getTerm(definition) => any;
                                              }>

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Expand a term into the IRI, which is the same as the @id of the term definition. +Make sure resolveContext() has been called prior calling this method.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                term: string
                                                +

                                                a short word defined in the context

                                                +
                                                +
                                              +

                                              Returns string

                                              +
                                            +
                                            + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Set a property of an entity with the given value. +If a property with the same name exists, its existing value will be replaced with the specified value. +If values contain nested non-empty entities, they will be processed recursively.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                idOrEntity: any
                                                +

                                                The id of the entity to add the property to

                                                +
                                                +
                                              • +
                                              • +
                                                prop: string
                                                +

                                                The name of the property

                                                +
                                                +
                                              • +
                                              • +
                                                values: any
                                                +

                                                A value or an array of values

                                                +
                                                +
                                              • +
                                              • +
                                                opt: {
                                                    duplicate: boolean;
                                                } = {}
                                                +
                                                +
                                                  +
                                                • +
                                                  duplicate: boolean
                                                  +

                                                  If true, allow a property to have duplicate values

                                                  +
                                                  +
                                              +

                                              Returns boolean

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Returns boolean

                                              +
                                              +

                                              Deprecated

                                              Specify {array: true, link: true} in the options when creating the ROCrate instance

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Convert the rocrate into plain JSON object. +The value returned by this method is used when JSON.stringify() is used on the ROCrate object.

                                              +
                                              +

                                              Returns {
                                                  @context: any[];
                                                  @graph: any[];
                                              }

                                              plain JSON object

                                              + +
                                                +
                                              • +
                                                @context: any[]
                                              • +
                                              • +
                                                @graph: any[]
                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Generate a new unique id that does not match any existing id in the graph.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                base: string
                                                +

                                                The base string of the id.

                                                +
                                                +
                                              +

                                              Returns string

                                              The base suffixed with the incremental number.

                                              + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Update an entity by replacing the object with the same id. +This operations will remove all properties of the existing entity and +add the new ones contained in data, unless merge argument is true.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                data: any
                                                +
                                              • +
                                              • +
                                                opt: {
                                                    merge: boolean;
                                                    recurse: boolean;
                                                } = {}
                                                +
                                                +
                                                  +
                                                • +
                                                  merge: boolean
                                                  +

                                                  If true, new properties will be merged. Defaults to config.merge.

                                                  +
                                                  +
                                                • +
                                                • +
                                                  recurse: boolean
                                                  +

                                                  If true, nested entities will be updated as well.

                                                  +
                                                  +
                                              +

                                              Returns boolean

                                              false if there is no existing entity with the same id or data is empty.

                                              + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Change the identifier of an entity node

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                idOrEntity: any
                                                +
                                              • +
                                              • +
                                                newId: string
                                                +
                                              +

                                              Returns boolean

                                              +
                                            +
                                            +
                                            +

                                            Generated using TypeDoc

                                            +
                                            \ No newline at end of file diff --git a/docs/v3.3/classes/Utils.html b/docs/v3.3/classes/Utils.html new file mode 100644 index 0000000..ccb795b --- /dev/null +++ b/docs/v3.3/classes/Utils.html @@ -0,0 +1,328 @@ +Utils | ro-crate - v3.3.11
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            + +

                                            Class Utils

                                            +
                                            +

                                            Utility functions for JSON-LD

                                            +
                                            +
                                            +
                                            +

                                            Hierarchy

                                            +
                                              +
                                            • Utils
                                            +
                                            +
                                            +
                                            + +
                                            +
                                            +

                                            Constructors

                                            +
                                            + +
                                            +
                                            +

                                            Methods

                                            +
                                            + +
                                              + +
                                            • +

                                              Add a property to an item

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                item: any
                                                +
                                              • +
                                              • +
                                                prop: any
                                                +
                                              • +
                                              • +
                                                value: any
                                                +
                                              +

                                              Returns void

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Add a type to a JSON-LD item

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                item: any
                                                +
                                              • +
                                              • +
                                                type: any
                                                +
                                              +

                                              Returns void

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Normalise a value to be an array. +Always return a new instance of the array to maintain consistency

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                value: any
                                                +
                                              +

                                              Returns any[]

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Return the current value if it is already an array, else return a new array

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                value: any
                                                +
                                              +

                                              Returns any[]

                                              +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Type Parameters

                                              +
                                                +
                                              • +

                                                T

                                                +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                data: T
                                                +
                                              +

                                              Returns T

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Count the number of properties in an object

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                obj: any
                                              +

                                              Returns number

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Find if a value (can be primitives, object, or an entity) exists in a list of values

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                values: any[]
                                                +
                                              • +
                                              • +
                                                val: any
                                                +
                                              +

                                              Returns boolean

                                              +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                item: any
                                                +
                                              • +
                                              • +
                                                prop: string
                                                +
                                              • +
                                              • +
                                                val: any
                                                +
                                              +

                                              Returns boolean

                                              +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                item: any
                                                +
                                              • +
                                              • +
                                                type: string
                                                +
                                              +

                                              Returns boolean

                                              +
                                            +
                                            + +
                                              + +
                                            • +

                                              Deep comparison for JSON-serializable plain object

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                a: any
                                              • +
                                              • +
                                                b: any
                                              • +
                                              • +
                                                equalFn: any
                                              +

                                              Returns any

                                              +
                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                a: any
                                              • +
                                              • +
                                                b: any
                                              +

                                              Returns any

                                            +
                                            + +
                                              + +
                                            • +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                Rest ...subgraphs: any[]
                                              +

                                              Returns any[]

                                            +
                                            + +
                                            +
                                            +

                                            Generated using TypeDoc

                                            +
                                            \ No newline at end of file diff --git a/docs/v3.3/index.html b/docs/v3.3/index.html new file mode 100644 index 0000000..7b06ddd --- /dev/null +++ b/docs/v3.3/index.html @@ -0,0 +1,98 @@ +ro-crate - v3.3.11
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            +

                                            ro-crate - v3.3.11

                                            +

                                            Research Object Crate (RO-Crate) JavaScript Library

                                            This is a JavaScript library to create and manipulate Research Object Crate.

                                            +

                                            Install

                                            Install the library:

                                            +
                                            npm install ro-crate
                                            +
                                            +

                                            Note: The minimum Node.js version is 16.11.0.

                                            +

                                            Docs & Other Resources

                                            +

                                            Usage

                                            Import the ROCrate class and create a new empty crate with default configurations:

                                            +
                                            const {ROCrate} = require('ro-crate');
                                            const crate = new ROCrate(); +
                                            +

                                            The ROCrate constructor accepts two optional arguments:

                                            +
                                            const fs = require('fs');

                                            // load existing metadata
                                            const data = JSON.parse(fs.readFileSync('ro-crate-metadata.json', 'utf8'));

                                            // create a crate using the existing data and
                                            // configure the crate to return a property of an Entity as an array and resolve linked entity as nested object
                                            const crate = new ROCrate(data, { array: true, link: true }); +
                                            +

                                            To add an Entity to the crate:

                                            +
                                            // A license
                                            const license = {
                                            '@id': 'https://creativecommons.org/licenses/by/4.0/',
                                            '@type': 'CreativeWork',
                                            'description': 'Attribution 4.0 International (CC BY 4.0) ...',
                                            'name': 'CC BY 4.0'
                                            };
                                            // add the license as an unconnected Entity
                                            crate.addEntity(license);

                                            // add the license to the root dataset
                                            crate.rootDataset.license = {'@id': license['@id']};
                                            // or alternatively, add a new entity directly into a property of other entity :
                                            crate.rootDataset.license = license; +
                                            +

                                            Use an entity just like a normal object:

                                            +
                                            let lic = create.getEntity(license['@id']);
                                            console.log(lic.name); // prints 'CC BY 4.0';
                                            // set a property directly
                                            lic.name = 'CC BY 4.0 dummy';
                                            // or with the setProperty method
                                            crate.setProperty(license['@id'], 'name', 'CC BY 4.0 dummy');

                                            console.log(lic.name); // prints 'CC BY 4.0 dummy'; +
                                            +

                                            Modifying an array of values in the property is not supported yet:

                                            +
                                            lic.test = [1,2,3];
                                            lic.test.push(4); // this does not work
                                            console.log(lic.test); // prints '[1,2,3]';
                                            // use this instead
                                            lic.test = lic.test.concat(4);
                                            // or this
                                            crate.addValues(license['@id'], 'test', 4); +
                                            +

                                            Root Dataset is a special entity that is mandated by the standard:

                                            +
                                            const rootDataset = crate.rootDataset;
                                            rootDataset.name = 'Tutorial Crate';
                                            rootDataset.description = 'This is an example crate for educational purposes.'
                                            const today = new Date().toISOString().split('T')[0]
                                            rootDataset.datePublished = today; +
                                            +

                                            The value of the returned property can be set to be always as an array:

                                            +
                                            const crate1 = new ROCrate();
                                            const crate2 = new ROCrate({array: true});
                                            crate1.rootDataset.name = 'Tutorial Crate';
                                            crate1.rootDataset.test = ['test1', 'test2'];
                                            crate2.rootDataset.name = 'Tutorial Crate';
                                            crate2.rootDataset.test = ['test1', 'test2'];
                                            console.log(crate1.rootDataset.name); // return 'Tutorial Crate'
                                            console.log(crate1.rootDataset.name); // return ['test1', 'test2']
                                            console.log(crate2.rootDataset.name); // return ['Tutorial Crate']
                                            console.log(crate2.rootDataset.name); // return ['test1', 'test2'] +
                                            +

                                            Linked entities can be automatically resolved as nested objects:

                                            +
                                            const crate1 = new ROCrate();
                                            const crate2 = new ROCrate({link: true});
                                            const crate3 = new ROCrate({link: true, array: true});
                                            crate1.rootDataset.license = license;
                                            crate2.rootDataset.license = license;
                                            crate3.rootDataset.license = license;
                                            console.log(crate1.rootDataset.license.name); // return undefined
                                            console.log(crate1.rootDataset.license); // return {'@id': 'https://creativecommons.org/licenses/by/4.0/'}
                                            console.log(crate2.rootDataset.license.name); // return 'CC BY 4.0'
                                            console.log(crate3.rootDataset.license.name); // return undefined, property license is a array
                                            console.log(crate3.rootDataset.license[0].name); // return 'CC BY 4.0' +
                                            +

                                            To save the rocrate data to a file, use JSON.stringify:

                                            +
                                            // Write pretty-printed JSONLD into the directory
                                            fs.writeFileSync('ro-crate-metadata.json', JSON.stringify(crate, null, 2)); +
                                            +

                                            For more usage examples, see the test files under the test directory.

                                            +

                                            For more details, refer to the full API documentation.

                                            +

                                            HTML Rendering

                                            Use the RO-Crate-HTML to generate a HTML preview from the RO-Crate Metadata File ro-crate-metadata.json.

                                            +

                                            Simple crate checker

                                            There is a script included with this library that can check crates.

                                            +

                                            Check a crate:

                                            +

                                            roccheck /path/to/crate/directory

                                            +

                                            This is produce a simple report.

                                            +
                                            +
                                            + +
                                            +
                                            +

                                            Generated using TypeDoc

                                            +
                                            \ No newline at end of file diff --git a/docs/v3.3/modules.html b/docs/v3.3/modules.html new file mode 100644 index 0000000..ffaa56f --- /dev/null +++ b/docs/v3.3/modules.html @@ -0,0 +1,56 @@ +ro-crate - v3.3.11
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            +

                                            ro-crate - v3.3.11

                                            +
                                            +
                                            +

                                            Index

                                            +
                                            +

                                            Classes

                                            +
                                            +
                                            +

                                            Type Aliases

                                            +
                                            +
                                            + +
                                            +
                                            +

                                            Generated using TypeDoc

                                            +
                                            \ No newline at end of file diff --git a/docs/v3.3/types/Entity.html b/docs/v3.3/types/Entity.html new file mode 100644 index 0000000..588e90e --- /dev/null +++ b/docs/v3.3/types/Entity.html @@ -0,0 +1,66 @@ +Entity | ro-crate - v3.3.11
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            + +

                                            Type alias Entity

                                            +
                                            Entity: {
                                                @id: string;
                                                @reverse: {
                                                    [key: string]: any;
                                                };
                                                toJSON() => RawEntity;
                                                [key: string]: any;
                                            }
                                            +
                                            +

                                            Type declaration

                                            +
                                              +
                                            • +
                                              [key: string]: any
                                            • +
                                            • +
                                              @id: string
                                            • +
                                            • +
                                              @reverse: {
                                                  [key: string]: any;
                                              }
                                              +
                                                +
                                              • +
                                                [key: string]: any
                                            • +
                                            • +
                                              toJSON:function
                                              +
                                            +
                                            + +
                                            +
                                            +

                                            Generated using TypeDoc

                                            +
                                            \ No newline at end of file diff --git a/docs/v3.3/types/NodeRef.html b/docs/v3.3/types/NodeRef.html new file mode 100644 index 0000000..d64b777 --- /dev/null +++ b/docs/v3.3/types/NodeRef.html @@ -0,0 +1,56 @@ +NodeRef | ro-crate - v3.3.11
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            + +

                                            Type alias NodeRef

                                            +
                                            NodeRef: {
                                                @id: string;
                                                @reverse: {
                                                    [key: string]: any;
                                                };
                                            }
                                            +
                                            +

                                            Type declaration

                                            +
                                              +
                                            • +
                                              @id: string
                                            • +
                                            • +
                                              @reverse: {
                                                  [key: string]: any;
                                              }
                                              +
                                                +
                                              • +
                                                [key: string]: any
                                            +
                                            + +
                                            +
                                            +

                                            Generated using TypeDoc

                                            +
                                            \ No newline at end of file diff --git a/docs/v3.3/types/RawEntity.html b/docs/v3.3/types/RawEntity.html new file mode 100644 index 0000000..965fbed --- /dev/null +++ b/docs/v3.3/types/RawEntity.html @@ -0,0 +1,53 @@ +RawEntity | ro-crate - v3.3.11
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            + +

                                            Type alias RawEntity

                                            +
                                            RawEntity: {
                                                @id: string;
                                                [key: string]: any;
                                            }
                                            +
                                            +

                                            Type declaration

                                            +
                                              +
                                            • +
                                              [key: string]: any
                                            • +
                                            • +
                                              @id: string
                                            +
                                            + +
                                            +
                                            +

                                            Generated using TypeDoc

                                            +
                                            \ No newline at end of file diff --git a/docs/v3.4/.nojekyll b/docs/v3.4/.nojekyll new file mode 100644 index 0000000..e2ac661 --- /dev/null +++ b/docs/v3.4/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/v3.4/assets/highlight.css b/docs/v3.4/assets/highlight.css new file mode 100644 index 0000000..e40c908 --- /dev/null +++ b/docs/v3.4/assets/highlight.css @@ -0,0 +1,78 @@ +:root { + --light-hl-0: #001080; + --dark-hl-0: #9CDCFE; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #0000FF; + --dark-hl-2: #569CD6; + --light-hl-3: #0070C1; + --dark-hl-3: #4FC1FF; + --light-hl-4: #795E26; + --dark-hl-4: #DCDCAA; + --light-hl-5: #A31515; + --dark-hl-5: #CE9178; + --light-hl-6: #008000; + --dark-hl-6: #6A9955; + --light-hl-7: #098658; + --dark-hl-7: #B5CEA8; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +pre, code { background: var(--code-background); } diff --git a/docs/v3.4/assets/main.js b/docs/v3.4/assets/main.js new file mode 100644 index 0000000..4c8fa61 --- /dev/null +++ b/docs/v3.4/assets/main.js @@ -0,0 +1,58 @@ +"use strict"; +"use strict";(()=>{var Se=Object.create;var re=Object.defineProperty;var we=Object.getOwnPropertyDescriptor;var Te=Object.getOwnPropertyNames;var ke=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Te(e))!Qe.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=we(e,i))||n.enumerable});return t};var Ce=(t,e,r)=>(r=t!=null?Se(ke(t)):{},Ie(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t));var ae=Pe((se,oe)=>{(function(){var t=function(e){var r=new t.Builder;return r.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),r.searchPipeline.add(t.stemmer),e.call(r,r),r.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(r){e.console&&console.warn&&console.warn(r)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var r=Object.create(null),n=Object.keys(e),i=0;i0){var d=t.utils.clone(r)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(n.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,r){r in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+r),e.label=r,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var r=e.label&&e.label in this.registeredFunctions;r||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var r=new t.Pipeline;return e.forEach(function(n){var i=t.Pipeline.registeredFunctions[n];if(i)r.add(i);else throw new Error("Cannot load unregistered function: "+n)}),r},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(r){t.Pipeline.warnIfFunctionNotRegistered(r),this._stack.push(r)},this)},t.Pipeline.prototype.after=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");n=n+1,this._stack.splice(n,0,r)},t.Pipeline.prototype.before=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");this._stack.splice(n,0,r)},t.Pipeline.prototype.remove=function(e){var r=this._stack.indexOf(e);r!=-1&&this._stack.splice(r,1)},t.Pipeline.prototype.run=function(e){for(var r=this._stack.length,n=0;n1&&(oe&&(n=s),o!=e);)i=n-r,s=r+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(r+=n[u+1]*i[d+1],u+=2,d+=2);return r},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),r=1,n=0;r0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),y;m in s.node.edges?y=s.node.edges[m]:(y=new t.TokenSet,s.node.edges[m]=y),s.str.length==1&&(y.final=!0),i.push({node:y,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return n},t.TokenSet.fromString=function(e){for(var r=new t.TokenSet,n=r,i=0,s=e.length;i=e;r--){var n=this.uncheckedNodes[r],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(r){var n=new t.QueryParser(e,r);n.parse()})},t.Index.prototype.query=function(e){for(var r=new t.Query(this.fields),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,r){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,r;do e=this.next(),r=e.charCodeAt(0);while(r>47&&r<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var r=e.next();if(r==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(r.charCodeAt(0)==92){e.escapeCharacter();continue}if(r==":")return t.QueryLexer.lexField;if(r=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(r=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(r=="+"&&e.width()===1||r=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(r.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,r){this.lexer=new t.QueryLexer(e),this.query=r,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var r=e.peekLexeme();if(r!=null)switch(r.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(n+=" with value '"+r.str+"'"),new t.QueryParseError(n,r.start,r.end)}},t.QueryParser.parsePresence=function(e){var r=e.consumeLexeme();if(r!=null){switch(r.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+r.str+"'";throw new t.QueryParseError(n,r.start,r.end)}var i=e.peekLexeme();if(i==null){var n="expecting term or field, found nothing";throw new t.QueryParseError(n,r.start,r.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(n,i.start,i.end)}}},t.QueryParser.parseField=function(e){var r=e.consumeLexeme();if(r!=null){if(e.query.allFields.indexOf(r.str)==-1){var n=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+r.str+"', possible fields: "+n;throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.fields=[r.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,r.start,r.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var r=e.consumeLexeme();if(r!=null){e.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(n==null){e.nextClause();return}switch(n.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new t.QueryParseError(i,n.start,n.end)}}},t.QueryParser.parseEditDistance=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.editDistance=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="boost must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.boost=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,r){typeof define=="function"&&define.amd?define(r):typeof se=="object"?oe.exports=r():e.lunr=r()}(this,function(){return t})})()});var ne=[];function G(t,e){ne.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){ne.forEach(r=>{e.querySelectorAll(r.selector).forEach(n=>{n.dataset.hasInstance||(new r.constructor({el:n,app:this}),n.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),r=e?.parentElement;for(;r&&!r.classList.contains(".tsd-navigation");)r instanceof HTMLDetailsElement&&(r.open=!0),r=r.parentElement;if(e){let n=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=n}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let r=e.parentElement;for(;r&&r.tagName!=="SECTION";)r=r.parentElement;if(r&&r.offsetParent==null){this.alwaysVisibleMember=r,r.classList.add("always-visible");let n=document.createElement("p");n.classList.add("warning"),n.textContent="This member is normally hidden due to your filter settings.",r.prepend(n)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let r;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(r),r=setTimeout(()=>{e.classList.remove("visible"),r=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let r;return()=>{clearTimeout(r),r=setTimeout(()=>t(),e)}};var ce=Ce(ae());function de(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("tsd-search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),n=document.querySelector("#tsd-search .results");if(!r||!n)throw new Error("The input field or the result list wrapper was not found");let i=!1;n.addEventListener("mousedown",()=>i=!0),n.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Oe(t,n,r,s)}function Oe(t,e,r,n){r.addEventListener("input",ie(()=>{Re(t,e,r,n)},200));let i=!1;r.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Fe(e,r):s.key=="Escape"?r.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),r.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!r.matches(":focus")&&s.key==="/"&&(r.focus(),s.preventDefault())})}function _e(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=ce.Index.load(window.searchData.index))}function Re(t,e,r,n){if(_e(n,t),!n.index||!n.data)return;e.textContent="";let i=r.value.trim(),s=i?n.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${le(l.parent,i)}.${u}`);let d=document.createElement("li");d.classList.value=l.classes??"";let m=document.createElement("a");m.href=n.base+l.url,m.innerHTML=u,d.append(m),e.appendChild(d)}}function ue(t,e){let r=t.querySelector(".current");if(!r)r=t.querySelector(e==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let n=r;if(e===1)do n=n.nextElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);else do n=n.previousElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);n&&(r.classList.remove("current"),n.classList.add("current"))}}function Fe(t,e){let r=t.querySelector(".current");if(r||(r=t.querySelector("li:first-child")),r){let n=r.querySelector("a");n&&(window.location.href=n.href),e.blur()}}function le(t,e){if(e==="")return t;let r=t.toLocaleLowerCase(),n=e.toLocaleLowerCase(),i=[],s=0,o=r.indexOf(n);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+n.length))}`),s=o+n.length,o=r.indexOf(n,s);return i.push(K(t.substring(s))),i.join("")}var Me={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Me[e])}var P=class{constructor(e){this.el=e.el,this.app=e.app}};var M="mousedown",fe="mousemove",N="mouseup",J={x:0,y:0},he=!1,ee=!1,De=!1,D=!1,pe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(pe?"is-mobile":"not-mobile");pe&&"ontouchstart"in document.documentElement&&(De=!0,M="touchstart",fe="touchmove",N="touchend");document.addEventListener(M,t=>{ee=!0,D=!1;let e=M=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=M=="touchstart"?t.targetTouches[0]:t,r=J.x-(e.pageX||0),n=J.y-(e.pageY||0);D=Math.sqrt(r*r+n*n)>10}});document.addEventListener(N,()=>{ee=!1});document.addEventListener("click",t=>{he&&(t.preventDefault(),t.stopImmediatePropagation(),he=!1)});var X=class extends P{constructor(r){super(r);this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(M,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,n=>this.onDocumentPointerUp(n))}setActive(r){if(this.active==r)return;this.active=r,document.documentElement.classList.toggle("has-"+this.className,r),this.el.classList.toggle("active",r);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(r){D||(this.setActive(!0),r.preventDefault())}onDocumentPointerDown(r){if(this.active){if(r.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(r){if(!D&&this.active&&r.target.closest(".col-sidebar")){let n=r.target.closest("a");if(n){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),n.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var me=document.head.appendChild(document.createElement("style"));me.dataset.for="filters";var Y=class extends P{constructor(r){super(r);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),me.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let r=Q.getItem(this.key);return r?r==="true":this.el.checked}setLocalStorage(r){Q.setItem(this.key,r.toString()),this.value=r,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let n=Array.from(r.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);r.style.display=n?"none":"block"})}};var Z=class extends P{constructor(r){super(r);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update()),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ve(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}de();G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var ge=document.getElementById("tsd-theme");ge&&ve(ge);var Ae=new U;Object.defineProperty(window,"app",{value:Ae});document.querySelectorAll("summary a").forEach(t=>{t.addEventListener("click",()=>{location.assign(t.href)})});})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/docs/v3.4/assets/search.js b/docs/v3.4/assets/search.js new file mode 100644 index 0000000..bb86e0a --- /dev/null +++ b/docs/v3.4/assets/search.js @@ -0,0 +1 @@ +window.searchData = JSON.parse("{\"rows\":[{\"kind\":128,\"name\":\"ROCrate\",\"url\":\"classes/ROCrate.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"defaults\",\"url\":\"classes/ROCrate.html#defaults-1\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7\",\"classes\":\"\",\"parent\":\"ROCrate.defaults\"},{\"kind\":1024,\"name\":\"ro_crate_name\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.ro_crate_name-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataID\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.roCrateMetadataID-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataIDs\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.roCrateMetadataIDs-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"context\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.context-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"render_script\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.render_script-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"back_links\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.back_links-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.back_links-1.__type-8\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.back_links\"},{\"kind\":1024,\"name\":\"back_back_links\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.back_back_links-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"datasetTemplate\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.datasetTemplate-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.datasetTemplate-1.__type-9\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.datasetTemplate-1.__type-9._type-2\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.datasetTemplate-1.__type-9._id-3\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate.__type\"},{\"kind\":1024,\"name\":\"metadataFileDescriptorTemplate\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10._type-3\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10._id-4\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"identifier\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10.identifier-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"about\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10.about-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10.about-1.__type-11\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type.about\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.metadataFileDescriptorTemplate-1.__type-10.about-1.__type-11._id-5\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type.about.__type\"},{\"kind\":1024,\"name\":\"ROCrate_Specification_Identifier\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.ROCrate_Specification_Identifier-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCratePreviewFileName\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.roCratePreviewFileName-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"pageSize\",\"url\":\"classes/ROCrate.html#defaults-1.__type-7.pageSize-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ROCrate.html#constructor\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"defaults\",\"url\":\"classes/ROCrate.html#defaults\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults.__type-2\",\"classes\":\"\",\"parent\":\"ROCrate.defaults\"},{\"kind\":1024,\"name\":\"ro_crate_name\",\"url\":\"classes/ROCrate.html#defaults.__type-2.ro_crate_name\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataID\",\"url\":\"classes/ROCrate.html#defaults.__type-2.roCrateMetadataID\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCrateMetadataIDs\",\"url\":\"classes/ROCrate.html#defaults.__type-2.roCrateMetadataIDs\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"context\",\"url\":\"classes/ROCrate.html#defaults.__type-2.context\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"render_script\",\"url\":\"classes/ROCrate.html#defaults.__type-2.render_script\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"back_links\",\"url\":\"classes/ROCrate.html#defaults.__type-2.back_links\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.back_links.__type-3\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.back_links\"},{\"kind\":1024,\"name\":\"back_back_links\",\"url\":\"classes/ROCrate.html#defaults.__type-2.back_back_links\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"datasetTemplate\",\"url\":\"classes/ROCrate.html#defaults.__type-2.datasetTemplate\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.datasetTemplate.__type-4\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.datasetTemplate.__type-4._type\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults.__type-2.datasetTemplate.__type-4._id\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.datasetTemplate.__type\"},{\"kind\":1024,\"name\":\"metadataFileDescriptorTemplate\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate\"},{\"kind\":1024,\"name\":\"@type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5._type-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5._id-1\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"identifier\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5.identifier\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":1024,\"name\":\"about\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5.about\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5.about.__type-6\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type.about\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"classes/ROCrate.html#defaults.__type-2.metadataFileDescriptorTemplate.__type-5.about.__type-6._id-2\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type.metadataFileDescriptorTemplate.__type.about.__type\"},{\"kind\":1024,\"name\":\"ROCrate_Specification_Identifier\",\"url\":\"classes/ROCrate.html#defaults.__type-2.ROCrate_Specification_Identifier\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"roCratePreviewFileName\",\"url\":\"classes/ROCrate.html#defaults.__type-2.roCratePreviewFileName\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"pageSize\",\"url\":\"classes/ROCrate.html#defaults.__type-2.pageSize\",\"classes\":\"\",\"parent\":\"ROCrate.defaults.__type\"},{\"kind\":1024,\"name\":\"__nodeById\",\"url\":\"classes/ROCrate.html#__nodeById\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"__handler\",\"url\":\"classes/ROCrate.html#__handler\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"__handlerReverse\",\"url\":\"classes/ROCrate.html#__handlerReverse\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#__handlerReverse.__type\",\"classes\":\"\",\"parent\":\"ROCrate.__handlerReverse\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/ROCrate.html#__handlerReverse.__type.get\",\"classes\":\"\",\"parent\":\"ROCrate.__handlerReverse.__type\"},{\"kind\":1024,\"name\":\"__context\",\"url\":\"classes/ROCrate.html#__context\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"__contextTermIndex\",\"url\":\"classes/ROCrate.html#__contextTermIndex\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"__contextDefinitionIndex\",\"url\":\"classes/ROCrate.html#__contextDefinitionIndex\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"utils\",\"url\":\"classes/ROCrate.html#utils\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":1024,\"name\":\"config\",\"url\":\"classes/ROCrate.html#config\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#config.__type-1\",\"classes\":\"\",\"parent\":\"ROCrate.config\"},{\"kind\":2048,\"name\":\"__getNode\",\"url\":\"classes/ROCrate.html#__getNode\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"__getNodeProxy\",\"url\":\"classes/ROCrate.html#__getNodeProxy\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"__toNode\",\"url\":\"classes/ROCrate.html#__toNode\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"__updateNode\",\"url\":\"classes/ROCrate.html#__updateNode\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"__addValues\",\"url\":\"classes/ROCrate.html#__addValues\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"__setProperty\",\"url\":\"classes/ROCrate.html#__setProperty\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#_context\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"context\",\"url\":\"classes/ROCrate.html#context-2\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#_graph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"graph\",\"url\":\"classes/ROCrate.html#graph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"graphSize\",\"url\":\"classes/ROCrate.html#graphSize\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"metadataFileEntity\",\"url\":\"classes/ROCrate.html#metadataFileEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"rootDataset\",\"url\":\"classes/ROCrate.html#rootDataset\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":262144,\"name\":\"rootId\",\"url\":\"classes/ROCrate.html#rootId\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addContext\",\"url\":\"classes/ROCrate.html#addContext\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addTermDefinition\",\"url\":\"classes/ROCrate.html#addTermDefinition\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addEntity\",\"url\":\"classes/ROCrate.html#addEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addIdentifier\",\"url\":\"classes/ROCrate.html#addIdentifier\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addProfile\",\"url\":\"classes/ROCrate.html#addProfile\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addProvenance\",\"url\":\"classes/ROCrate.html#addProvenance\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addValues\",\"url\":\"classes/ROCrate.html#addValues\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteEntity\",\"url\":\"classes/ROCrate.html#deleteEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteProperty\",\"url\":\"classes/ROCrate.html#deleteProperty\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteValues\",\"url\":\"classes/ROCrate.html#deleteValues\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"setProperty\",\"url\":\"classes/ROCrate.html#setProperty\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"updateEntity\",\"url\":\"classes/ROCrate.html#updateEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"updateEntityId\",\"url\":\"classes/ROCrate.html#updateEntityId\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"clone\",\"url\":\"classes/ROCrate.html#clone\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"entities\",\"url\":\"classes/ROCrate.html#entities\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities\"},{\"kind\":2048,\"name\":\"[iterator]\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12._iterator_\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities.__type\"},{\"kind\":2048,\"name\":\"next\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12.next\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12.next.next-1.__type-13\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities.__type.next.next\"},{\"kind\":1024,\"name\":\"done\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12.next.next-1.__type-13.done\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities.__type.next.next.__type\"},{\"kind\":1024,\"name\":\"value\",\"url\":\"classes/ROCrate.html#entities.entities-1.__type-12.next.next-1.__type-13.value\",\"classes\":\"\",\"parent\":\"ROCrate.entities.entities.__type.next.next.__type\"},{\"kind\":2048,\"name\":\"getConfig\",\"url\":\"classes/ROCrate.html#getConfig\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getDefinition\",\"url\":\"classes/ROCrate.html#getDefinition\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getTerm\",\"url\":\"classes/ROCrate.html#getTerm\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getEntity\",\"url\":\"classes/ROCrate.html#getEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"hasEntity\",\"url\":\"classes/ROCrate.html#hasEntity\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getGraph\",\"url\":\"classes/ROCrate.html#getGraph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getIdentifier\",\"url\":\"classes/ROCrate.html#getIdentifier\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getProperty\",\"url\":\"classes/ROCrate.html#getProperty\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getTree\",\"url\":\"classes/ROCrate.html#getTree\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"hasType\",\"url\":\"classes/ROCrate.html#hasType\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"indexOf\",\"url\":\"classes/ROCrate.html#indexOf\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolve\",\"url\":\"classes/ROCrate.html#resolve\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveContext\",\"url\":\"classes/ROCrate.html#resolveContext\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveAll\",\"url\":\"classes/ROCrate.html#resolveAll\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"resolveTerm\",\"url\":\"classes/ROCrate.html#resolveTerm\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"toJSON\",\"url\":\"classes/ROCrate.html#toJSON\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-15\",\"classes\":\"\",\"parent\":\"ROCrate.toJSON.toJSON\"},{\"kind\":1024,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-15._context-3\",\"classes\":\"\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":1024,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#toJSON.toJSON-1.__type-15._graph-3\",\"classes\":\"\",\"parent\":\"ROCrate.toJSON.toJSON.__type\"},{\"kind\":2048,\"name\":\"uniqueId\",\"url\":\"classes/ROCrate.html#uniqueId\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"flatify\",\"url\":\"classes/ROCrate.html#flatify\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addItem\",\"url\":\"classes/ROCrate.html#addItem\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"deleteItem\",\"url\":\"classes/ROCrate.html#deleteItem\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"addBackLinks\",\"url\":\"classes/ROCrate.html#addBackLinks\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"dedupeSubgraphs\",\"url\":\"classes/ROCrate.html#dedupeSubgraphs\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"index\",\"url\":\"classes/ROCrate.html#index\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"pushValue\",\"url\":\"classes/ROCrate.html#pushValue\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"changeGraphId\",\"url\":\"classes/ROCrate.html#changeGraphId\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getItem\",\"url\":\"classes/ROCrate.html#getItem\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getFlatGraph\",\"url\":\"classes/ROCrate.html#getFlatGraph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getRootDataset\",\"url\":\"classes/ROCrate.html#getRootDataset\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getRootId\",\"url\":\"classes/ROCrate.html#getRootId\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getJson\",\"url\":\"classes/ROCrate.html#getJson\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14\",\"classes\":\"\",\"parent\":\"ROCrate.getJson.getJson\"},{\"kind\":1024,\"name\":\"@context\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14._context-2\",\"classes\":\"\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":1024,\"name\":\"@graph\",\"url\":\"classes/ROCrate.html#getJson.getJson-1.__type-14._graph-2\",\"classes\":\"\",\"parent\":\"ROCrate.getJson.getJson.__type\"},{\"kind\":2048,\"name\":\"getNamedIdentifier\",\"url\":\"classes/ROCrate.html#getNamedIdentifier\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"serializeGraph\",\"url\":\"classes/ROCrate.html#serializeGraph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"toGraph\",\"url\":\"classes/ROCrate.html#toGraph\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"getNormalizedTree\",\"url\":\"classes/ROCrate.html#getNormalizedTree\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":2048,\"name\":\"objectify\",\"url\":\"classes/ROCrate.html#objectify\",\"classes\":\"\",\"parent\":\"ROCrate\"},{\"kind\":128,\"name\":\"Checker\",\"url\":\"classes/Checker.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Checker.html#constructor\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"crate\",\"url\":\"classes/Checker.html#crate\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"checklist\",\"url\":\"classes/Checker.html#checklist\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"validator\",\"url\":\"classes/Checker.html#validator\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasContext\",\"url\":\"classes/Checker.html#hasContext\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasRootDataset\",\"url\":\"classes/Checker.html#hasRootDataset\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasRootDatasetWithProperID\",\"url\":\"classes/Checker.html#hasRootDatasetWithProperID\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasName\",\"url\":\"classes/Checker.html#hasName\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasDescription\",\"url\":\"classes/Checker.html#hasDescription\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasAuthor\",\"url\":\"classes/Checker.html#hasAuthor\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasLicense\",\"url\":\"classes/Checker.html#hasLicense\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasDatePublished\",\"url\":\"classes/Checker.html#hasDatePublished\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"hasContactPoint\",\"url\":\"classes/Checker.html#hasContactPoint\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"check\",\"url\":\"classes/Checker.html#check\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":1024,\"name\":\"isROCrate\",\"url\":\"classes/Checker.html#isROCrate\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"summarize\",\"url\":\"classes/Checker.html#summarize\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"report\",\"url\":\"classes/Checker.html#report\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":2048,\"name\":\"validate\",\"url\":\"classes/Checker.html#validate\",\"classes\":\"\",\"parent\":\"Checker\"},{\"kind\":128,\"name\":\"CheckItem\",\"url\":\"classes/CheckItem.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/CheckItem.html#constructor\",\"classes\":\"\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"classes/CheckItem.html#name\",\"classes\":\"\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"message\",\"url\":\"classes/CheckItem.html#message\",\"classes\":\"\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/CheckItem.html#status\",\"classes\":\"\",\"parent\":\"CheckItem\"},{\"kind\":1024,\"name\":\"diagnostics\",\"url\":\"classes/CheckItem.html#diagnostics\",\"classes\":\"\",\"parent\":\"CheckItem\"},{\"kind\":128,\"name\":\"Utils\",\"url\":\"classes/Utils.html\",\"classes\":\"\"},{\"kind\":2048,\"name\":\"hasType\",\"url\":\"classes/Utils.html#hasType\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/Utils.html#has\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"asArray\",\"url\":\"classes/Utils.html#asArray\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"asArrayRef\",\"url\":\"classes/Utils.html#asArrayRef\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"addType\",\"url\":\"classes/Utils.html#addType\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/Utils.html#add\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"union\",\"url\":\"classes/Utils.html#union\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"clone\",\"url\":\"classes/Utils.html#clone\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"countProp\",\"url\":\"classes/Utils.html#countProp\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"isEqual\",\"url\":\"classes/Utils.html#isEqual\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"isEqualRef\",\"url\":\"classes/Utils.html#isEqualRef\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":2048,\"name\":\"exists\",\"url\":\"classes/Utils.html#exists\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Utils.html#constructor\",\"classes\":\"\",\"parent\":\"Utils\"},{\"kind\":4194304,\"name\":\"NodeRef\",\"url\":\"types/NodeRef.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/NodeRef.html#__type\",\"classes\":\"\",\"parent\":\"NodeRef\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/NodeRef.html#__type._id\",\"classes\":\"\",\"parent\":\"NodeRef.__type\"},{\"kind\":1024,\"name\":\"@reverse\",\"url\":\"types/NodeRef.html#__type._reverse\",\"classes\":\"\",\"parent\":\"NodeRef.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/NodeRef.html#__type._reverse.__type-1\",\"classes\":\"\",\"parent\":\"NodeRef.__type.@reverse\"},{\"kind\":4194304,\"name\":\"RawEntity\",\"url\":\"types/RawEntity.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/RawEntity.html#__type\",\"classes\":\"\",\"parent\":\"RawEntity\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/RawEntity.html#__type._id\",\"classes\":\"\",\"parent\":\"RawEntity.__type\"},{\"kind\":4194304,\"name\":\"Entity\",\"url\":\"types/Entity.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Entity.html#__type\",\"classes\":\"\",\"parent\":\"Entity\"},{\"kind\":1024,\"name\":\"@id\",\"url\":\"types/Entity.html#__type._id\",\"classes\":\"\",\"parent\":\"Entity.__type\"},{\"kind\":1024,\"name\":\"@reverse\",\"url\":\"types/Entity.html#__type._reverse\",\"classes\":\"\",\"parent\":\"Entity.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Entity.html#__type._reverse.__type-1\",\"classes\":\"\",\"parent\":\"Entity.__type.@reverse\"},{\"kind\":2048,\"name\":\"toJSON\",\"url\":\"types/Entity.html#__type.toJSON\",\"classes\":\"\",\"parent\":\"Entity.__type\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,48.572]],[\"comment/0\",[]],[\"name/1\",[1,43.464]],[\"comment/1\",[]],[\"name/2\",[2,21.946]],[\"comment/2\",[]],[\"name/3\",[3,43.464]],[\"comment/3\",[]],[\"name/4\",[4,43.464]],[\"comment/4\",[]],[\"name/5\",[5,43.464]],[\"comment/5\",[]],[\"name/6\",[6,33.909]],[\"comment/6\",[]],[\"name/7\",[7,43.464]],[\"comment/7\",[]],[\"name/8\",[8,43.464]],[\"comment/8\",[]],[\"name/9\",[2,21.946]],[\"comment/9\",[]],[\"name/10\",[9,43.464]],[\"comment/10\",[]],[\"name/11\",[10,43.464]],[\"comment/11\",[]],[\"name/12\",[2,21.946]],[\"comment/12\",[]],[\"name/13\",[11,37.586]],[\"comment/13\",[]],[\"name/14\",[12,30.114]],[\"comment/14\",[]],[\"name/15\",[13,43.464]],[\"comment/15\",[]],[\"name/16\",[2,21.946]],[\"comment/16\",[]],[\"name/17\",[11,37.586]],[\"comment/17\",[]],[\"name/18\",[12,30.114]],[\"comment/18\",[]],[\"name/19\",[14,43.464]],[\"comment/19\",[]],[\"name/20\",[15,43.464]],[\"comment/20\",[]],[\"name/21\",[2,21.946]],[\"comment/21\",[]],[\"name/22\",[12,30.114]],[\"comment/22\",[]],[\"name/23\",[16,43.464]],[\"comment/23\",[]],[\"name/24\",[17,43.464]],[\"comment/24\",[]],[\"name/25\",[18,43.464]],[\"comment/25\",[]],[\"name/26\",[19,37.586]],[\"comment/26\",[]],[\"name/27\",[1,43.464]],[\"comment/27\",[]],[\"name/28\",[2,21.946]],[\"comment/28\",[]],[\"name/29\",[3,43.464]],[\"comment/29\",[]],[\"name/30\",[4,43.464]],[\"comment/30\",[]],[\"name/31\",[5,43.464]],[\"comment/31\",[]],[\"name/32\",[6,33.909]],[\"comment/32\",[]],[\"name/33\",[7,43.464]],[\"comment/33\",[]],[\"name/34\",[8,43.464]],[\"comment/34\",[]],[\"name/35\",[2,21.946]],[\"comment/35\",[]],[\"name/36\",[9,43.464]],[\"comment/36\",[]],[\"name/37\",[10,43.464]],[\"comment/37\",[]],[\"name/38\",[2,21.946]],[\"comment/38\",[]],[\"name/39\",[11,37.586]],[\"comment/39\",[]],[\"name/40\",[12,30.114]],[\"comment/40\",[]],[\"name/41\",[13,43.464]],[\"comment/41\",[]],[\"name/42\",[2,21.946]],[\"comment/42\",[]],[\"name/43\",[11,37.586]],[\"comment/43\",[]],[\"name/44\",[12,30.114]],[\"comment/44\",[]],[\"name/45\",[14,43.464]],[\"comment/45\",[]],[\"name/46\",[15,43.464]],[\"comment/46\",[]],[\"name/47\",[2,21.946]],[\"comment/47\",[]],[\"name/48\",[12,30.114]],[\"comment/48\",[]],[\"name/49\",[16,43.464]],[\"comment/49\",[]],[\"name/50\",[17,43.464]],[\"comment/50\",[]],[\"name/51\",[18,43.464]],[\"comment/51\",[]],[\"name/52\",[20,48.572]],[\"comment/52\",[]],[\"name/53\",[21,48.572]],[\"comment/53\",[]],[\"name/54\",[22,48.572]],[\"comment/54\",[]],[\"name/55\",[2,21.946]],[\"comment/55\",[]],[\"name/56\",[23,48.572]],[\"comment/56\",[]],[\"name/57\",[24,48.572]],[\"comment/57\",[]],[\"name/58\",[25,48.572]],[\"comment/58\",[]],[\"name/59\",[26,48.572]],[\"comment/59\",[]],[\"name/60\",[27,43.464]],[\"comment/60\",[]],[\"name/61\",[28,48.572]],[\"comment/61\",[]],[\"name/62\",[2,21.946]],[\"comment/62\",[]],[\"name/63\",[29,48.572]],[\"comment/63\",[]],[\"name/64\",[30,48.572]],[\"comment/64\",[]],[\"name/65\",[31,48.572]],[\"comment/65\",[]],[\"name/66\",[32,48.572]],[\"comment/66\",[]],[\"name/67\",[33,48.572]],[\"comment/67\",[]],[\"name/68\",[34,48.572]],[\"comment/68\",[]],[\"name/69\",[6,33.909]],[\"comment/69\",[]],[\"name/70\",[6,33.909]],[\"comment/70\",[]],[\"name/71\",[35,37.586]],[\"comment/71\",[]],[\"name/72\",[35,37.586]],[\"comment/72\",[]],[\"name/73\",[36,48.572]],[\"comment/73\",[]],[\"name/74\",[37,48.572]],[\"comment/74\",[]],[\"name/75\",[38,48.572]],[\"comment/75\",[]],[\"name/76\",[39,48.572]],[\"comment/76\",[]],[\"name/77\",[40,48.572]],[\"comment/77\",[]],[\"name/78\",[41,48.572]],[\"comment/78\",[]],[\"name/79\",[42,48.572]],[\"comment/79\",[]],[\"name/80\",[43,48.572]],[\"comment/80\",[]],[\"name/81\",[44,48.572]],[\"comment/81\",[]],[\"name/82\",[45,48.572]],[\"comment/82\",[]],[\"name/83\",[46,48.572]],[\"comment/83\",[]],[\"name/84\",[47,48.572]],[\"comment/84\",[]],[\"name/85\",[48,48.572]],[\"comment/85\",[]],[\"name/86\",[49,48.572]],[\"comment/86\",[]],[\"name/87\",[50,48.572]],[\"comment/87\",[]],[\"name/88\",[51,48.572]],[\"comment/88\",[]],[\"name/89\",[52,48.572]],[\"comment/89\",[]],[\"name/90\",[53,43.464]],[\"comment/90\",[]],[\"name/91\",[54,48.572]],[\"comment/91\",[]],[\"name/92\",[2,21.946]],[\"comment/92\",[]],[\"name/93\",[55,48.572]],[\"comment/93\",[]],[\"name/94\",[56,48.572]],[\"comment/94\",[]],[\"name/95\",[2,21.946]],[\"comment/95\",[]],[\"name/96\",[57,48.572]],[\"comment/96\",[]],[\"name/97\",[58,48.572]],[\"comment/97\",[]],[\"name/98\",[59,48.572]],[\"comment/98\",[]],[\"name/99\",[60,48.572]],[\"comment/99\",[]],[\"name/100\",[61,48.572]],[\"comment/100\",[]],[\"name/101\",[62,48.572]],[\"comment/101\",[]],[\"name/102\",[63,48.572]],[\"comment/102\",[]],[\"name/103\",[64,48.572]],[\"comment/103\",[]],[\"name/104\",[65,48.572]],[\"comment/104\",[]],[\"name/105\",[66,48.572]],[\"comment/105\",[]],[\"name/106\",[67,48.572]],[\"comment/106\",[]],[\"name/107\",[68,43.464]],[\"comment/107\",[]],[\"name/108\",[69,48.572]],[\"comment/108\",[]],[\"name/109\",[70,48.572]],[\"comment/109\",[]],[\"name/110\",[71,48.572]],[\"comment/110\",[]],[\"name/111\",[72,48.572]],[\"comment/111\",[]],[\"name/112\",[73,48.572]],[\"comment/112\",[]],[\"name/113\",[74,43.464]],[\"comment/113\",[]],[\"name/114\",[2,21.946]],[\"comment/114\",[]],[\"name/115\",[6,33.909]],[\"comment/115\",[]],[\"name/116\",[35,37.586]],[\"comment/116\",[]],[\"name/117\",[75,48.572]],[\"comment/117\",[]],[\"name/118\",[76,48.572]],[\"comment/118\",[]],[\"name/119\",[77,48.572]],[\"comment/119\",[]],[\"name/120\",[78,48.572]],[\"comment/120\",[]],[\"name/121\",[79,48.572]],[\"comment/121\",[]],[\"name/122\",[80,48.572]],[\"comment/122\",[]],[\"name/123\",[81,48.572]],[\"comment/123\",[]],[\"name/124\",[82,48.572]],[\"comment/124\",[]],[\"name/125\",[83,48.572]],[\"comment/125\",[]],[\"name/126\",[84,48.572]],[\"comment/126\",[]],[\"name/127\",[85,48.572]],[\"comment/127\",[]],[\"name/128\",[86,48.572]],[\"comment/128\",[]],[\"name/129\",[87,48.572]],[\"comment/129\",[]],[\"name/130\",[88,48.572]],[\"comment/130\",[]],[\"name/131\",[2,21.946]],[\"comment/131\",[]],[\"name/132\",[6,33.909]],[\"comment/132\",[]],[\"name/133\",[35,37.586]],[\"comment/133\",[]],[\"name/134\",[89,48.572]],[\"comment/134\",[]],[\"name/135\",[90,48.572]],[\"comment/135\",[]],[\"name/136\",[91,48.572]],[\"comment/136\",[]],[\"name/137\",[92,48.572]],[\"comment/137\",[]],[\"name/138\",[93,48.572]],[\"comment/138\",[]],[\"name/139\",[94,48.572]],[\"comment/139\",[]],[\"name/140\",[19,37.586]],[\"comment/140\",[]],[\"name/141\",[95,48.572]],[\"comment/141\",[]],[\"name/142\",[96,48.572]],[\"comment/142\",[]],[\"name/143\",[97,48.572]],[\"comment/143\",[]],[\"name/144\",[98,48.572]],[\"comment/144\",[]],[\"name/145\",[99,48.572]],[\"comment/145\",[]],[\"name/146\",[100,48.572]],[\"comment/146\",[]],[\"name/147\",[101,48.572]],[\"comment/147\",[]],[\"name/148\",[102,48.572]],[\"comment/148\",[]],[\"name/149\",[103,48.572]],[\"comment/149\",[]],[\"name/150\",[104,48.572]],[\"comment/150\",[]],[\"name/151\",[105,48.572]],[\"comment/151\",[]],[\"name/152\",[106,48.572]],[\"comment/152\",[]],[\"name/153\",[107,48.572]],[\"comment/153\",[]],[\"name/154\",[108,48.572]],[\"comment/154\",[]],[\"name/155\",[109,48.572]],[\"comment/155\",[]],[\"name/156\",[110,48.572]],[\"comment/156\",[]],[\"name/157\",[111,48.572]],[\"comment/157\",[]],[\"name/158\",[112,48.572]],[\"comment/158\",[]],[\"name/159\",[19,37.586]],[\"comment/159\",[]],[\"name/160\",[113,48.572]],[\"comment/160\",[]],[\"name/161\",[114,48.572]],[\"comment/161\",[]],[\"name/162\",[115,48.572]],[\"comment/162\",[]],[\"name/163\",[116,48.572]],[\"comment/163\",[]],[\"name/164\",[27,43.464]],[\"comment/164\",[]],[\"name/165\",[68,43.464]],[\"comment/165\",[]],[\"name/166\",[117,48.572]],[\"comment/166\",[]],[\"name/167\",[118,48.572]],[\"comment/167\",[]],[\"name/168\",[119,48.572]],[\"comment/168\",[]],[\"name/169\",[120,48.572]],[\"comment/169\",[]],[\"name/170\",[121,48.572]],[\"comment/170\",[]],[\"name/171\",[122,48.572]],[\"comment/171\",[]],[\"name/172\",[53,43.464]],[\"comment/172\",[]],[\"name/173\",[123,48.572]],[\"comment/173\",[]],[\"name/174\",[124,48.572]],[\"comment/174\",[]],[\"name/175\",[125,48.572]],[\"comment/175\",[]],[\"name/176\",[126,48.572]],[\"comment/176\",[]],[\"name/177\",[19,37.586]],[\"comment/177\",[]],[\"name/178\",[127,48.572]],[\"comment/178\",[]],[\"name/179\",[2,21.946]],[\"comment/179\",[]],[\"name/180\",[12,30.114]],[\"comment/180\",[]],[\"name/181\",[128,43.464]],[\"comment/181\",[]],[\"name/182\",[2,21.946]],[\"comment/182\",[]],[\"name/183\",[129,48.572]],[\"comment/183\",[]],[\"name/184\",[2,21.946]],[\"comment/184\",[]],[\"name/185\",[12,30.114]],[\"comment/185\",[]],[\"name/186\",[130,48.572]],[\"comment/186\",[]],[\"name/187\",[2,21.946]],[\"comment/187\",[]],[\"name/188\",[12,30.114]],[\"comment/188\",[]],[\"name/189\",[128,43.464]],[\"comment/189\",[]],[\"name/190\",[2,21.946]],[\"comment/190\",[]],[\"name/191\",[74,43.464]],[\"comment/191\",[]]],\"invertedIndex\":[[\"__addvalues\",{\"_index\":33,\"name\":{\"67\":{}},\"comment\":{}}],[\"__context\",{\"_index\":24,\"name\":{\"57\":{}},\"comment\":{}}],[\"__contextdefinitionindex\",{\"_index\":26,\"name\":{\"59\":{}},\"comment\":{}}],[\"__contexttermindex\",{\"_index\":25,\"name\":{\"58\":{}},\"comment\":{}}],[\"__getnode\",{\"_index\":29,\"name\":{\"63\":{}},\"comment\":{}}],[\"__getnodeproxy\",{\"_index\":30,\"name\":{\"64\":{}},\"comment\":{}}],[\"__handler\",{\"_index\":21,\"name\":{\"53\":{}},\"comment\":{}}],[\"__handlerreverse\",{\"_index\":22,\"name\":{\"54\":{}},\"comment\":{}}],[\"__nodebyid\",{\"_index\":20,\"name\":{\"52\":{}},\"comment\":{}}],[\"__setproperty\",{\"_index\":34,\"name\":{\"68\":{}},\"comment\":{}}],[\"__tonode\",{\"_index\":31,\"name\":{\"65\":{}},\"comment\":{}}],[\"__type\",{\"_index\":2,\"name\":{\"2\":{},\"9\":{},\"12\":{},\"16\":{},\"21\":{},\"28\":{},\"35\":{},\"38\":{},\"42\":{},\"47\":{},\"55\":{},\"62\":{},\"92\":{},\"95\":{},\"114\":{},\"131\":{},\"179\":{},\"182\":{},\"184\":{},\"187\":{},\"190\":{}},\"comment\":{}}],[\"__updatenode\",{\"_index\":32,\"name\":{\"66\":{}},\"comment\":{}}],[\"about\",{\"_index\":15,\"name\":{\"20\":{},\"46\":{}},\"comment\":{}}],[\"add\",{\"_index\":121,\"name\":{\"170\":{}},\"comment\":{}}],[\"addbacklinks\",{\"_index\":79,\"name\":{\"121\":{}},\"comment\":{}}],[\"addcontext\",{\"_index\":40,\"name\":{\"77\":{}},\"comment\":{}}],[\"addentity\",{\"_index\":42,\"name\":{\"79\":{}},\"comment\":{}}],[\"addidentifier\",{\"_index\":43,\"name\":{\"80\":{}},\"comment\":{}}],[\"additem\",{\"_index\":77,\"name\":{\"119\":{}},\"comment\":{}}],[\"addprofile\",{\"_index\":44,\"name\":{\"81\":{}},\"comment\":{}}],[\"addprovenance\",{\"_index\":45,\"name\":{\"82\":{}},\"comment\":{}}],[\"addtermdefinition\",{\"_index\":41,\"name\":{\"78\":{}},\"comment\":{}}],[\"addtype\",{\"_index\":120,\"name\":{\"169\":{}},\"comment\":{}}],[\"addvalues\",{\"_index\":46,\"name\":{\"83\":{}},\"comment\":{}}],[\"asarray\",{\"_index\":118,\"name\":{\"167\":{}},\"comment\":{}}],[\"asarrayref\",{\"_index\":119,\"name\":{\"168\":{}},\"comment\":{}}],[\"back_back_links\",{\"_index\":9,\"name\":{\"10\":{},\"36\":{}},\"comment\":{}}],[\"back_links\",{\"_index\":8,\"name\":{\"8\":{},\"34\":{}},\"comment\":{}}],[\"changegraphid\",{\"_index\":83,\"name\":{\"125\":{}},\"comment\":{}}],[\"check\",{\"_index\":107,\"name\":{\"153\":{}},\"comment\":{}}],[\"checker\",{\"_index\":94,\"name\":{\"139\":{}},\"comment\":{}}],[\"checkitem\",{\"_index\":112,\"name\":{\"158\":{}},\"comment\":{}}],[\"checklist\",{\"_index\":96,\"name\":{\"142\":{}},\"comment\":{}}],[\"clone\",{\"_index\":53,\"name\":{\"90\":{},\"172\":{}},\"comment\":{}}],[\"config\",{\"_index\":28,\"name\":{\"61\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":19,\"name\":{\"26\":{},\"140\":{},\"159\":{},\"177\":{}},\"comment\":{}}],[\"context\",{\"_index\":6,\"name\":{\"6\":{},\"32\":{},\"69\":{},\"70\":{},\"115\":{},\"132\":{}},\"comment\":{}}],[\"countprop\",{\"_index\":123,\"name\":{\"173\":{}},\"comment\":{}}],[\"crate\",{\"_index\":95,\"name\":{\"141\":{}},\"comment\":{}}],[\"datasettemplate\",{\"_index\":10,\"name\":{\"11\":{},\"37\":{}},\"comment\":{}}],[\"dedupesubgraphs\",{\"_index\":80,\"name\":{\"122\":{}},\"comment\":{}}],[\"defaults\",{\"_index\":1,\"name\":{\"1\":{},\"27\":{}},\"comment\":{}}],[\"deleteentity\",{\"_index\":47,\"name\":{\"84\":{}},\"comment\":{}}],[\"deleteitem\",{\"_index\":78,\"name\":{\"120\":{}},\"comment\":{}}],[\"deleteproperty\",{\"_index\":48,\"name\":{\"85\":{}},\"comment\":{}}],[\"deletevalues\",{\"_index\":49,\"name\":{\"86\":{}},\"comment\":{}}],[\"diagnostics\",{\"_index\":116,\"name\":{\"163\":{}},\"comment\":{}}],[\"done\",{\"_index\":57,\"name\":{\"96\":{}},\"comment\":{}}],[\"entities\",{\"_index\":54,\"name\":{\"91\":{}},\"comment\":{}}],[\"entity\",{\"_index\":130,\"name\":{\"186\":{}},\"comment\":{}}],[\"exists\",{\"_index\":126,\"name\":{\"176\":{}},\"comment\":{}}],[\"flatify\",{\"_index\":76,\"name\":{\"118\":{}},\"comment\":{}}],[\"get\",{\"_index\":23,\"name\":{\"56\":{}},\"comment\":{}}],[\"getconfig\",{\"_index\":59,\"name\":{\"98\":{}},\"comment\":{}}],[\"getdefinition\",{\"_index\":60,\"name\":{\"99\":{}},\"comment\":{}}],[\"getentity\",{\"_index\":62,\"name\":{\"101\":{}},\"comment\":{}}],[\"getflatgraph\",{\"_index\":85,\"name\":{\"127\":{}},\"comment\":{}}],[\"getgraph\",{\"_index\":64,\"name\":{\"103\":{}},\"comment\":{}}],[\"getidentifier\",{\"_index\":65,\"name\":{\"104\":{}},\"comment\":{}}],[\"getitem\",{\"_index\":84,\"name\":{\"126\":{}},\"comment\":{}}],[\"getjson\",{\"_index\":88,\"name\":{\"130\":{}},\"comment\":{}}],[\"getnamedidentifier\",{\"_index\":89,\"name\":{\"134\":{}},\"comment\":{}}],[\"getnormalizedtree\",{\"_index\":92,\"name\":{\"137\":{}},\"comment\":{}}],[\"getproperty\",{\"_index\":66,\"name\":{\"105\":{}},\"comment\":{}}],[\"getrootdataset\",{\"_index\":86,\"name\":{\"128\":{}},\"comment\":{}}],[\"getrootid\",{\"_index\":87,\"name\":{\"129\":{}},\"comment\":{}}],[\"getterm\",{\"_index\":61,\"name\":{\"100\":{}},\"comment\":{}}],[\"gettree\",{\"_index\":67,\"name\":{\"106\":{}},\"comment\":{}}],[\"graph\",{\"_index\":35,\"name\":{\"71\":{},\"72\":{},\"116\":{},\"133\":{}},\"comment\":{}}],[\"graphsize\",{\"_index\":36,\"name\":{\"73\":{}},\"comment\":{}}],[\"has\",{\"_index\":117,\"name\":{\"166\":{}},\"comment\":{}}],[\"hasauthor\",{\"_index\":103,\"name\":{\"149\":{}},\"comment\":{}}],[\"hascontactpoint\",{\"_index\":106,\"name\":{\"152\":{}},\"comment\":{}}],[\"hascontext\",{\"_index\":98,\"name\":{\"144\":{}},\"comment\":{}}],[\"hasdatepublished\",{\"_index\":105,\"name\":{\"151\":{}},\"comment\":{}}],[\"hasdescription\",{\"_index\":102,\"name\":{\"148\":{}},\"comment\":{}}],[\"hasentity\",{\"_index\":63,\"name\":{\"102\":{}},\"comment\":{}}],[\"haslicense\",{\"_index\":104,\"name\":{\"150\":{}},\"comment\":{}}],[\"hasname\",{\"_index\":101,\"name\":{\"147\":{}},\"comment\":{}}],[\"hasrootdataset\",{\"_index\":99,\"name\":{\"145\":{}},\"comment\":{}}],[\"hasrootdatasetwithproperid\",{\"_index\":100,\"name\":{\"146\":{}},\"comment\":{}}],[\"hastype\",{\"_index\":68,\"name\":{\"107\":{},\"165\":{}},\"comment\":{}}],[\"id\",{\"_index\":12,\"name\":{\"14\":{},\"18\":{},\"22\":{},\"40\":{},\"44\":{},\"48\":{},\"180\":{},\"185\":{},\"188\":{}},\"comment\":{}}],[\"identifier\",{\"_index\":14,\"name\":{\"19\":{},\"45\":{}},\"comment\":{}}],[\"index\",{\"_index\":81,\"name\":{\"123\":{}},\"comment\":{}}],[\"indexof\",{\"_index\":69,\"name\":{\"108\":{}},\"comment\":{}}],[\"isequal\",{\"_index\":124,\"name\":{\"174\":{}},\"comment\":{}}],[\"isequalref\",{\"_index\":125,\"name\":{\"175\":{}},\"comment\":{}}],[\"isrocrate\",{\"_index\":108,\"name\":{\"154\":{}},\"comment\":{}}],[\"iterator\",{\"_index\":55,\"name\":{\"93\":{}},\"comment\":{}}],[\"message\",{\"_index\":114,\"name\":{\"161\":{}},\"comment\":{}}],[\"metadatafiledescriptortemplate\",{\"_index\":13,\"name\":{\"15\":{},\"41\":{}},\"comment\":{}}],[\"metadatafileentity\",{\"_index\":37,\"name\":{\"74\":{}},\"comment\":{}}],[\"name\",{\"_index\":113,\"name\":{\"160\":{}},\"comment\":{}}],[\"next\",{\"_index\":56,\"name\":{\"94\":{}},\"comment\":{}}],[\"noderef\",{\"_index\":127,\"name\":{\"178\":{}},\"comment\":{}}],[\"objectify\",{\"_index\":93,\"name\":{\"138\":{}},\"comment\":{}}],[\"pagesize\",{\"_index\":18,\"name\":{\"25\":{},\"51\":{}},\"comment\":{}}],[\"pushvalue\",{\"_index\":82,\"name\":{\"124\":{}},\"comment\":{}}],[\"rawentity\",{\"_index\":129,\"name\":{\"183\":{}},\"comment\":{}}],[\"render_script\",{\"_index\":7,\"name\":{\"7\":{},\"33\":{}},\"comment\":{}}],[\"report\",{\"_index\":110,\"name\":{\"156\":{}},\"comment\":{}}],[\"resolve\",{\"_index\":70,\"name\":{\"109\":{}},\"comment\":{}}],[\"resolveall\",{\"_index\":72,\"name\":{\"111\":{}},\"comment\":{}}],[\"resolvecontext\",{\"_index\":71,\"name\":{\"110\":{}},\"comment\":{}}],[\"resolveterm\",{\"_index\":73,\"name\":{\"112\":{}},\"comment\":{}}],[\"reverse\",{\"_index\":128,\"name\":{\"181\":{},\"189\":{}},\"comment\":{}}],[\"ro_crate_name\",{\"_index\":3,\"name\":{\"3\":{},\"29\":{}},\"comment\":{}}],[\"rocrate\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"rocrate_specification_identifier\",{\"_index\":16,\"name\":{\"23\":{},\"49\":{}},\"comment\":{}}],[\"rocratemetadataid\",{\"_index\":4,\"name\":{\"4\":{},\"30\":{}},\"comment\":{}}],[\"rocratemetadataids\",{\"_index\":5,\"name\":{\"5\":{},\"31\":{}},\"comment\":{}}],[\"rocratepreviewfilename\",{\"_index\":17,\"name\":{\"24\":{},\"50\":{}},\"comment\":{}}],[\"rootdataset\",{\"_index\":38,\"name\":{\"75\":{}},\"comment\":{}}],[\"rootid\",{\"_index\":39,\"name\":{\"76\":{}},\"comment\":{}}],[\"serializegraph\",{\"_index\":90,\"name\":{\"135\":{}},\"comment\":{}}],[\"setproperty\",{\"_index\":50,\"name\":{\"87\":{}},\"comment\":{}}],[\"status\",{\"_index\":115,\"name\":{\"162\":{}},\"comment\":{}}],[\"summarize\",{\"_index\":109,\"name\":{\"155\":{}},\"comment\":{}}],[\"tograph\",{\"_index\":91,\"name\":{\"136\":{}},\"comment\":{}}],[\"tojson\",{\"_index\":74,\"name\":{\"113\":{},\"191\":{}},\"comment\":{}}],[\"type\",{\"_index\":11,\"name\":{\"13\":{},\"17\":{},\"39\":{},\"43\":{}},\"comment\":{}}],[\"union\",{\"_index\":122,\"name\":{\"171\":{}},\"comment\":{}}],[\"uniqueid\",{\"_index\":75,\"name\":{\"117\":{}},\"comment\":{}}],[\"updateentity\",{\"_index\":51,\"name\":{\"88\":{}},\"comment\":{}}],[\"updateentityid\",{\"_index\":52,\"name\":{\"89\":{}},\"comment\":{}}],[\"utils\",{\"_index\":27,\"name\":{\"60\":{},\"164\":{}},\"comment\":{}}],[\"validate\",{\"_index\":111,\"name\":{\"157\":{}},\"comment\":{}}],[\"validator\",{\"_index\":97,\"name\":{\"143\":{}},\"comment\":{}}],[\"value\",{\"_index\":58,\"name\":{\"97\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/v3.4/assets/style.css b/docs/v3.4/assets/style.css new file mode 100644 index 0000000..18b4f8f --- /dev/null +++ b/docs/v3.4/assets/style.css @@ -0,0 +1,1367 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: var(--light-color-ts-type-alias); + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + /* object literal not included as it is not used and will be removed in 0.25 */ + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + /* object literal not included as it is not used and will be removed in 0.25 */ + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 > a, +h2 > a, +h3 > a, +h4 > a, +h5 > a, +h6 > a { + text-decoration: none; + color: var(--color-text); +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} + +.tsd-generator > p { + margin-top: 0; + margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography h4, +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; + margin: 0; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.5rem); +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: inline-flex; + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-nested-navigation { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; +} +.tsd-small-nested-navigation { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; +} + +.tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: calc(100% - 1.75rem - 0.5rem); +} + +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + cursor: pointer; +} +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: var(--color-background); +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current, +#tsd-search .results li:hover { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); +} +.tsd-kind-parameter { + color: var(--color-ts-parameter); +} +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); +} +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); +} +.tsd-kind-accessor { + color: var(--color-ts-accessor); +} +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/docs/v3.4/classes/CheckItem.html b/docs/v3.4/classes/CheckItem.html new file mode 100644 index 0000000..158b06f --- /dev/null +++ b/docs/v3.4/classes/CheckItem.html @@ -0,0 +1,111 @@ +CheckItem | ro-crate - v3.4.1
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            + +

                                            Class CheckItem

                                            +
                                            +

                                            Hierarchy

                                            +
                                              +
                                            • CheckItem
                                            +
                                            +
                                            +
                                            + +
                                            +
                                            +

                                            Constructors

                                            +
                                            +
                                            +

                                            Properties

                                            +
                                            +
                                            +

                                            Constructors

                                            +
                                            + +
                                            +
                                            +

                                            Properties

                                            +
                                            + +
                                            diagnostics: any
                                            +
                                            + +
                                            message: any
                                            +
                                            + +
                                            name: any
                                            +
                                            + +
                                            status: any
                                            +
                                            + +
                                            +
                                            +

                                            Generated using TypeDoc

                                            +
                                            \ No newline at end of file diff --git a/docs/v3.4/classes/Checker.html b/docs/v3.4/classes/Checker.html new file mode 100644 index 0000000..b3f0c0f --- /dev/null +++ b/docs/v3.4/classes/Checker.html @@ -0,0 +1,249 @@ +Checker | ro-crate - v3.4.1
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            + +

                                            Class Checker

                                            +
                                            +

                                            Hierarchy

                                            +
                                              +
                                            • Checker
                                            +
                                            +
                                            +
                                            + +
                                            +
                                            +

                                            Constructors

                                            +
                                            + +
                                            +
                                            +

                                            Properties

                                            +
                                            + +
                                            checklist: any[]
                                            +
                                            + +
                                            crate: ROCrate
                                            +
                                            + +
                                            isROCrate: boolean
                                            +
                                            + +
                                            validator: Validator
                                            +
                                            +

                                            Methods

                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                              + +
                                            • +

                                              Returns "This is not a valid RO-Crate" | "This is a valid RO-Crate"

                                            +
                                            + +
                                            +
                                            +
                                            +

                                            Generated using TypeDoc

                                            +
                                            \ No newline at end of file diff --git a/docs/v3.4/classes/ROCrate.html b/docs/v3.4/classes/ROCrate.html new file mode 100644 index 0000000..ea36286 --- /dev/null +++ b/docs/v3.4/classes/ROCrate.html @@ -0,0 +1,1767 @@ +ROCrate | ro-crate - v3.4.1
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            + +

                                            Class ROCrate

                                            +
                                            +

                                            Class for building, navigating, testing and rendering ROCrates

                                            +
                                            +
                                            +

                                            Todo

                                            import validation and rendering from Calcyte

                                            +
                                            +
                                            +

                                            Hierarchy

                                            +
                                              +
                                            • ROCrate
                                            +
                                            +
                                            +
                                            + +
                                            +
                                            +

                                            Constructors

                                            +
                                            + +
                                              + +
                                            • +

                                              Create a new ROCrate object using a default template or from a valid jsonld object.

                                              +
                                              +
                                              +

                                              Parameters

                                              +
                                                +
                                              • +
                                                json: any = {}
                                                +

                                                a valid jsonld object

                                                +
                                                +
                                              • +
                                              • +
                                                Optional config: {
                                                    array: boolean;
                                                    defaultType: string;
                                                    duplicate: boolean;
                                                    link: boolean;
                                                    merge: boolean;
                                                    replace: boolean;
                                                }
                                                +
                                                +
                                                  +
                                                • +
                                                  array: boolean
                                                  +

                                                  Always return property of an Entity as an array (eg when using getEntity() method)

                                                  +
                                                  +
                                                • +
                                                • +
                                                  defaultType: string
                                                  +

                                                  The default value for @type to be used when adding a new entity and the property is not specified. Default to 'Thing'

                                                  +
                                                  +
                                                • +
                                                • +
                                                  duplicate: boolean
                                                  +

                                                  Allow duplicate values in a property that has multiple values

                                                  +
                                                  +
                                                • +
                                                • +
                                                  link: boolean
                                                  +

                                                  Resolve linked node as nested object

                                                  +
                                                  +
                                                • +
                                                • +
                                                  merge: boolean
                                                  +

                                                  When replacing or updating an entity, merge the values and the properties instead of full replace

                                                  +
                                                  +
                                                • +
                                                • +
                                                  replace: boolean
                                                  +

                                                  When importing from json, a subsequent duplicate entity always replaces the existing one

                                                  +
                                                  +
                                              +

                                              Returns ROCrate

                                              +
                                            +
                                            +

                                            Properties

                                            +
                                            + +
                                            __context: Set<any> = ...
                                            +

                                            Internal representation of the context

                                            +
                                            +
                                            +
                                            + +
                                            __contextDefinitionIndex: Map<any, any> = ...
                                            +
                                            + +
                                            __contextTermIndex: Map<any, any> = ...
                                            +

                                            Index of all context contents or terms

                                            +
                                            +
                                            +
                                            + +
                                            __handler: Handler
                                            +

                                            Lookup table to index nodes by their properties

                                            +
                                            +
                                            +
                                            + +
                                            __handlerReverse: {
                                                get(target, prop) => any;
                                            }
                                            +
                                            +

                                            Type declaration

                                            +
                                              +
                                            • +
                                              get:function
                                              +
                                                + +
                                              • +
                                                +

                                                Parameters

                                                +
                                                  +
                                                • +
                                                  target: any
                                                • +
                                                • +
                                                  prop: any
                                                +

                                                Returns any

                                            +
                                            + +
                                            __nodeById: Map<string, Node> = ...
                                            +

                                            Lookup table to get a reference to existing and non-existing nodes. +This is needed to avoid searching for the whole graph for every "@reverse" lookup +as an entity referenced by other entities may not exist yet in the graph.

                                            +
                                            +
                                            +
                                            + +
                                            config: {}
                                            +
                                            +

                                            Type declaration

                                            +
                                              +
                                              + +
                                              defaults: {
                                                  ROCrate_Specification_Identifier: string;
                                                  back_back_links: Set<any>;
                                                  back_links: {};
                                                  context: (string | {
                                                      @vocab: string;
                                                  })[];
                                                  datasetTemplate: {
                                                      @id: string;
                                                      @type: string;
                                                  };
                                                  metadataFileDescriptorTemplate: {
                                                      @id: string;
                                                      @type: string;
                                                      about: {
                                                          @id: string;
                                                      };
                                                      identifier: string;
                                                  };
                                                  pageSize: number;
                                                  render_script: string;
                                                  roCrateMetadataID: string;
                                                  roCrateMetadataIDs: string[];
                                                  roCratePreviewFileName: string;
                                                  ro_crate_name: string;
                                              } = defaults
                                              +
                                              +

                                              Type declaration

                                              +
                                                +
                                              • +
                                                ROCrate_Specification_Identifier: string
                                              • +
                                              • +
                                                back_back_links: Set<any>
                                              • +
                                              • +
                                                back_links: {}
                                                +
                                                • +
                                                • +
                                                  context: (string | {
                                                      @vocab: string;
                                                  })[]
                                                • +
                                                • +
                                                  datasetTemplate: {
                                                      @id: string;
                                                      @type: string;
                                                  }
                                                  +
                                                    +
                                                  • +
                                                    @id: string
                                                  • +
                                                  • +
                                                    @type: string
                                                • +
                                                • +
                                                  metadataFileDescriptorTemplate: {
                                                      @id: string;
                                                      @type: string;
                                                      about: {
                                                          @id: string;
                                                      };
                                                      identifier: string;
                                                  }
                                                  +
                                                    +
                                                  • +
                                                    @id: string
                                                  • +
                                                  • +
                                                    @type: string
                                                  • +
                                                  • +
                                                    about: {
                                                        @id: string;
                                                    }
                                                    +
                                                      +
                                                    • +
                                                      @id: string
                                                  • +
                                                  • +
                                                    identifier: string
                                                • +
                                                • +
                                                  pageSize: number
                                                • +
                                                • +
                                                  render_script: string
                                                • +
                                                • +
                                                  roCrateMetadataID: string
                                                • +
                                                • +
                                                  roCrateMetadataIDs: string[]
                                                • +
                                                • +
                                                  roCratePreviewFileName: string
                                                • +
                                                • +
                                                  ro_crate_name: string
                                                +
                                                + +
                                                utils: typeof Utils = Utils
                                                +
                                                +

                                                Deprecated

                                                Import Utils class directly

                                                +
                                                +
                                                + +
                                                defaults: {
                                                    ROCrate_Specification_Identifier: string;
                                                    back_back_links: Set<any>;
                                                    back_links: {};
                                                    context: (string | {
                                                        @vocab: string;
                                                    })[];
                                                    datasetTemplate: {
                                                        @id: string;
                                                        @type: string;
                                                    };
                                                    metadataFileDescriptorTemplate: {
                                                        @id: string;
                                                        @type: string;
                                                        about: {
                                                            @id: string;
                                                        };
                                                        identifier: string;
                                                    };
                                                    pageSize: number;
                                                    render_script: string;
                                                    roCrateMetadataID: string;
                                                    roCrateMetadataIDs: string[];
                                                    roCratePreviewFileName: string;
                                                    ro_crate_name: string;
                                                } = defaults
                                                +
                                                +

                                                Type declaration

                                                +
                                                  +
                                                • +
                                                  ROCrate_Specification_Identifier: string
                                                • +
                                                • +
                                                  back_back_links: Set<any>
                                                • +
                                                • +
                                                  back_links: {}
                                                  +
                                                  • +
                                                  • +
                                                    context: (string | {
                                                        @vocab: string;
                                                    })[]
                                                  • +
                                                  • +
                                                    datasetTemplate: {
                                                        @id: string;
                                                        @type: string;
                                                    }
                                                    +
                                                      +
                                                    • +
                                                      @id: string
                                                    • +
                                                    • +
                                                      @type: string
                                                  • +
                                                  • +
                                                    metadataFileDescriptorTemplate: {
                                                        @id: string;
                                                        @type: string;
                                                        about: {
                                                            @id: string;
                                                        };
                                                        identifier: string;
                                                    }
                                                    +
                                                      +
                                                    • +
                                                      @id: string
                                                    • +
                                                    • +
                                                      @type: string
                                                    • +
                                                    • +
                                                      about: {
                                                          @id: string;
                                                      }
                                                      +
                                                        +
                                                      • +
                                                        @id: string
                                                    • +
                                                    • +
                                                      identifier: string
                                                  • +
                                                  • +
                                                    pageSize: number
                                                  • +
                                                  • +
                                                    render_script: string
                                                  • +
                                                  • +
                                                    roCrateMetadataID: string
                                                  • +
                                                  • +
                                                    roCrateMetadataIDs: string[]
                                                  • +
                                                  • +
                                                    roCratePreviewFileName: string
                                                  • +
                                                  • +
                                                    ro_crate_name: string
                                                  +
                                                  +

                                                  Accessors

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    +
                                                  • get context(): any
                                                  • +
                                                  • +

                                                    The context part of the crate. An alias for '@context'. +This returns the original context information.

                                                    +
                                                    +

                                                    Returns any

                                                    +
                                                  +
                                                  + +
                                                    +
                                                  • get graph(): any[]
                                                  • +
                                                  • +

                                                    An array of all nodes in the graph. An alias for '@graph'

                                                    +
                                                    +

                                                    Returns any[]

                                                    +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    +
                                                  • get rootId(): string
                                                  • +
                                                  • +

                                                    The root identifier of the RO Crate

                                                    +
                                                    +

                                                    Returns string

                                                    +
                                                  • +
                                                  • set rootId(newId): void
                                                  • +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      newId: string
                                                    +

                                                    Returns void

                                                  +
                                                  +

                                                  Methods

                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      ref: any
                                                    • +
                                                    • +
                                                      prop: any
                                                    • +
                                                    • +
                                                      oldValues_: any
                                                    • +
                                                    • +
                                                      values: any
                                                    • +
                                                    • +
                                                      __namedParameters: Object
                                                    +

                                                    Returns any

                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Create a new node or return an existing node with the given data

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      id: string
                                                      +

                                                      Identifier of the node (@id)

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      Optional ref: NodeRef
                                                      +

                                                      An immutable and unique reference to node that contains id and reverse information only

                                                      +
                                                      +
                                                    +

                                                    Returns Node

                                                    a newly created or existing node that matches the id

                                                    + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Return a proxy that wraps a node as an entity object supporting linked objects capability.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      n: Node
                                                      +
                                                    +

                                                    Returns any

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      entity: Node
                                                      +
                                                    • +
                                                    • +
                                                      prop: string
                                                      +
                                                    • +
                                                    • +
                                                      values: any
                                                      +
                                                    • +
                                                    • +
                                                      opt: {
                                                          duplicate: boolean;
                                                          merge: boolean;
                                                          recurse: boolean;
                                                          replace: boolean;
                                                          seen: WeakSet<any>;
                                                      }
                                                      +
                                                      +
                                                        +
                                                      • +
                                                        duplicate: boolean
                                                        +
                                                      • +
                                                      • +
                                                        merge: boolean
                                                        +
                                                      • +
                                                      • +
                                                        recurse: boolean
                                                        +
                                                      • +
                                                      • +
                                                        replace: boolean
                                                        +
                                                      • +
                                                      • +
                                                        seen: WeakSet<any>
                                                        +
                                                    +

                                                    Returns boolean

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      idOrEntity: any
                                                      +
                                                    +

                                                    Returns Node

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Init a new node or update existing one

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      node: Node
                                                      +
                                                    • +
                                                    • +
                                                      data: any
                                                      +

                                                      Update the node with the given data

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      opt: {
                                                          add: boolean;
                                                          merge: boolean;
                                                          recurse: boolean;
                                                          replace: boolean;
                                                          seen: WeakSet<any>;
                                                      }
                                                      +
                                                      +
                                                        +
                                                      • +
                                                        add: boolean
                                                        +

                                                        If true, create an entity even if the data is empty

                                                        +
                                                        +
                                                      • +
                                                      • +
                                                        merge: boolean
                                                        +

                                                        If false and if node already exists, remove all existing properties not in the specified data

                                                        +
                                                        +
                                                      • +
                                                      • +
                                                        recurse: boolean
                                                        +

                                                        Process nested objects recursively

                                                        +
                                                        +
                                                      • +
                                                      • +
                                                        replace: boolean
                                                        +

                                                        If false and if node already exists, do nothing to the node

                                                        +
                                                        +
                                                      • +
                                                      • +
                                                        seen: WeakSet<any>
                                                        +

                                                        A set to keep track of cyclic reference in the input

                                                        +
                                                        +
                                                    +

                                                    Returns boolean

                                                    Return true if node is changed

                                                    + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Returns void

                                                    +
                                                    +

                                                    Deprecated

                                                    Not required anymore. Calling this method will do nothing.

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Append the specified string or object directly as an entry into the RO-Crate JSON-LD Context array. +It does not check for duplicates or overlapping content if the context is an object.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      context: any
                                                      +

                                                      A URL or an Object that contains the context mapping

                                                      +
                                                      +
                                                    +

                                                    Returns void

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Add an entity to the crate.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      data: any
                                                      +

                                                      A valid RO-Crate entity described in plain object.

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      opt: {
                                                          recurse: boolean;
                                                          replace: boolean;
                                                      } = {}
                                                      +
                                                      +
                                                        +
                                                      • +
                                                        recurse: boolean
                                                        +

                                                        If true, nested entities will be added as well.

                                                        +
                                                        +
                                                      • +
                                                      • +
                                                        replace: boolean
                                                        +

                                                        If true, replace existing entity with the same id.

                                                        +
                                                        +
                                                    +

                                                    Returns boolean

                                                    true if the entity is successfully added.

                                                    + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Add a new identifier as a PropertyValue to the root DataSet. +identifier and name are required parameters

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      options: {
                                                          description: string;
                                                          identifier: string;
                                                          name: string;
                                                      }
                                                      +
                                                      +
                                                        +
                                                      • +
                                                        description: string
                                                        +
                                                      • +
                                                      • +
                                                        identifier: string
                                                        +
                                                      • +
                                                      • +
                                                        name: string
                                                        +
                                                    +

                                                    Returns string

                                                    The added identifier or undefined

                                                    + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    This silently fails if the item has no

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      item: any
                                                      +
                                                    +

                                                    Returns boolean

                                                    +
                                                    +

                                                    Id

                                                    or already exists - this is probably sub-optimal

                                                    + +

                                                    Deprecated

                                                    Use addEntity

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Add a Profile URI to the crate

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      uri: string
                                                      +

                                                      A valid Profile URI

                                                      +
                                                      +
                                                    +

                                                    Returns void

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      prov: any
                                                    +

                                                    Returns void

                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Add the term and its definition to the first context definition (a map) found from the @context entries. +If no existing context definition found, a new one will be created.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      term: string
                                                      +
                                                    • +
                                                    • +
                                                      definition: any
                                                      +
                                                    +

                                                    Returns void

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Add one or more value to a property of an entity. +If the specified property does not exists, a new one will be set. +If the property already exists, the new value will be added to the property array.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      idOrEntity: any
                                                      +

                                                      The id or the entity to add the property to

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      prop: string
                                                      +

                                                      The name of the property

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      values: any
                                                      +

                                                      The value of the property

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      opt: {
                                                          duplicate: boolean;
                                                      } = {}
                                                      +
                                                      +
                                                        +
                                                      • +
                                                        duplicate: boolean
                                                        +

                                                        If true, allow a property to have duplicate values in the array

                                                        +
                                                        +
                                                    +

                                                    Returns boolean

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      item: any
                                                    • +
                                                    • +
                                                      newId: any
                                                    +

                                                    Returns boolean

                                                    +
                                                    +

                                                    Deprecated

                                                    Use updateEntityId

                                                    +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      subgraphs: any
                                                    +

                                                    Returns any[]

                                                    +
                                                    +

                                                    Deprecated

                                                    Use union, eg: union([sg1, sg2])

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Delete an entity from the graph

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      id_or_entity: string | Entity
                                                      +

                                                      Entity Identifier or the entity object itself

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      opt: {
                                                          references: boolean;
                                                      } = {}
                                                      +
                                                      +
                                                        +
                                                      • +
                                                        references: boolean
                                                        +

                                                        Set true to delete all references to the deleted entity

                                                        +
                                                        +
                                                    +

                                                    Returns boolean

                                                    True if any existing entity was deleted

                                                    + +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      id: string
                                                      +
                                                    +

                                                    Returns any

                                                    The raw data of deleted entity

                                                    + +
                                                    +

                                                    Deprecated

                                                    Use deleteEntity

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Delete a property of an Entity

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      idOrEntity: any
                                                      +

                                                      The id of the entity to add the property to

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      prop: string
                                                      +

                                                      The name of the property

                                                      +
                                                      +
                                                    +

                                                    Returns boolean

                                                      +
                                                    • True, if the property has been deleted
                                                    • +
                                                    + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Delete one or more values from a property.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      idOrEntity: string | Entity
                                                      +
                                                    • +
                                                    • +
                                                      prop: string
                                                      +
                                                    • +
                                                    • +
                                                      values: any
                                                      +
                                                    +

                                                    Returns void

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Returns a new iterator object that contains the entities in the graph.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      p: {
                                                          filter: any;
                                                          flat: boolean;
                                                      } = {}
                                                      +
                                                      +
                                                        +
                                                      • +
                                                        filter: any
                                                        +

                                                        Filter the result based on the values of the properties defined in this object.

                                                        +
                                                        +
                                                      • +
                                                      • +
                                                        flat: boolean
                                                        +

                                                        If true, return the copy of entity as a plain object.

                                                        +
                                                        +
                                                    +

                                                    Returns {
                                                        [iterator]() => { [Symbol.iterator](): ...; next(): { done: boolean; value: any; }; };
                                                        next() => {
                                                            done: boolean;
                                                            value: any;
                                                        };
                                                    }

                                                    +
                                                      +
                                                    • +
                                                      [iterator]:function
                                                      +
                                                        + +
                                                      • +

                                                        Returns { [Symbol.iterator](): ...; next(): { done: boolean; value: any; }; }

                                                    • +
                                                    • +
                                                      next:function
                                                      +
                                                        + +
                                                      • +

                                                        Returns {
                                                            done: boolean;
                                                            value: any;
                                                        }

                                                        +
                                                          +
                                                        • +
                                                          done: boolean
                                                        • +
                                                        • +
                                                          value: any
                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Experimental method to turn a graph into a flat dictionary eg for turning it into a table

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      item: any
                                                    • +
                                                    • +
                                                      depth: any
                                                    • +
                                                    • +
                                                      flatItem: any
                                                    • +
                                                    • +
                                                      propPath: any
                                                    • +
                                                    • +
                                                      seen: any
                                                    +

                                                    Returns any

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Get configuration value

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      key: "replace" | "link" | "array" | "merge" | "duplicate"
                                                      +

                                                      Name of the config parameter

                                                      +
                                                      +
                                                    +

                                                    Returns any

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Get the context term definition. This method will also search for term defined locally in the graph. +Make sure resolveContext() has been called prior calling this method.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      term: string
                                                      +
                                                    +

                                                    Returns any

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Get an entity from the graph. +If config.link is true, any reference (object with just "@id" property) +is resolved as a nested object.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      id: string
                                                      +

                                                      An entity identifier

                                                      +
                                                      +
                                                    +

                                                    Returns Entity

                                                    A wrapper for entity that resolves properties as linked objects

                                                    + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Get an array of all nodes in the graph. Each node in the array is an Entity instance. +If config.link is true, any link to other node will be made into nested object.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      flat: boolean = false
                                                      +

                                                      If true, return the copy of entity as a plain object.

                                                      +
                                                      +
                                                    +

                                                    Returns any[]

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Get named identifier

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      name: string
                                                      +
                                                    +

                                                    Returns string

                                                    the identifier

                                                    + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Returns {
                                                        @context: any[];
                                                        @graph: any[];
                                                    }

                                                    +
                                                      +
                                                    • +
                                                      @context: any[]
                                                    • +
                                                    • +
                                                      @graph: any[]
                                                    +
                                                    +

                                                    Deprecated

                                                    Use toJSON

                                                    +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      root: any
                                                    • +
                                                    • +
                                                      depth: number = 1
                                                    +

                                                    Returns any

                                                    +
                                                    +

                                                    Deprecated

                                                    Use getTree with the following argument: { root, depth, allowCycle: true }

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Get the property of an entity

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      idOrEntity: any
                                                      +
                                                    • +
                                                    • +
                                                      prop: string
                                                      +
                                                    +

                                                    Returns any

                                                    the value of the property

                                                    + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Get the context term name from it's definition id. +Make sure resolveContext() has been called prior calling this method.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      definition: any
                                                      +
                                                    +

                                                    Returns any

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Return a JSON.stringify-ready tree structure starting from the specified item +with all values (apart from @id) as arrays +and string-values expressed like: {"@value": "string-value"}

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      opt: {
                                                          allowCycle: boolean;
                                                          depth: number;
                                                          root: any;
                                                          valueObject: boolean;
                                                      } = {}
                                                      +
                                                      +
                                                        +
                                                      • +
                                                        allowCycle: boolean
                                                        +
                                                      • +
                                                      • +
                                                        depth: number
                                                        +

                                                        The number of nesting the tree will have. Must be 0 or positive integer.

                                                        +
                                                        +
                                                      • +
                                                      • +
                                                        root: any
                                                        +
                                                      • +
                                                      • +
                                                        valueObject: boolean
                                                        +
                                                    +

                                                    Returns any

                                                    the root entity

                                                    + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Check if entity exists in the graph

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      id: string
                                                      +

                                                      An entity identifier

                                                      +
                                                      +
                                                    +

                                                    Returns boolean

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Check if an entity has a type

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      item: any
                                                      +
                                                    • +
                                                    • +
                                                      type: string
                                                      +
                                                    +

                                                    Returns boolean

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Returns void

                                                    +
                                                    +

                                                    Deprecated

                                                    Not required anymore. Calling this method will do nothing.

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Get the index of the entity in the graph array. This is an O(n) operation.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      entityId: string
                                                      +
                                                    +

                                                    Returns number

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Create a simple tree-like object - but don't make circular structures

                                                    +
                                                    +

                                                    Returns any

                                                    +
                                                    +

                                                    Deprecated

                                                    Use getTree with the valueObject argument set to false`

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Add a value to an item's property array

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      item: any
                                                      +
                                                    • +
                                                    • +
                                                      prop: string
                                                      +
                                                    • +
                                                    • +
                                                      val: any
                                                      +
                                                    • +
                                                    • +
                                                      allowDuplicates: boolean = false
                                                      +
                                                    +

                                                    Returns void

                                                    +
                                                    +

                                                    Deprecated

                                                    Use addValues

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      items: any
                                                      +

                                                      A JSON-LD item or array of [item]

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      pathArray: any[]
                                                      +

                                                      An array of objects that represents a 'path' through the graph. + Object must have a "property" to follow, eg: + resolve(item, {"property": "miltaryService"}); + and optionally a condition "includes", eg: + "includes": {"@type", "Action"}} + and optionally, a function "matchFn" which takes an item + as argument and returns a boolean, eg: + "matchFn": (item) => item['@id'].match(/anzsrc-for/)

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      Optional subgraph: any[]
                                                      +

                                                      If present and true, all intervening items during + the traversal will be stored. If an array is passed, the intervening items will be + stored in the array.

                                                      +
                                                      +
                                                    +

                                                    Returns any[]

                                                    null, or an array of items

                                                    + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    resolveAll does a resolve but collects and deduplicates intermediate items. +Its first returned value is the final items (ie what resolve(..)) would have returned.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      items: any
                                                      +
                                                    • +
                                                    • +
                                                      pathArray: any
                                                      +
                                                    +

                                                    Returns any[][]

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Generate a local flat lookup table for context terms

                                                    +
                                                    +

                                                    Returns Promise<{
                                                        getDefinition(term) => any;
                                                        getTerm(definition) => any;
                                                    }>

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Expand a term into the IRI, which is the same as the @id of the term definition. +Make sure resolveContext() has been called prior calling this method.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      term: string
                                                      +

                                                      a short word defined in the context

                                                      +
                                                      +
                                                    +

                                                    Returns string

                                                    +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Set a property of an entity with the given value. +If a property with the same name exists, its existing value will be replaced with the specified value. +If values contain nested non-empty entities, they will be processed recursively.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      idOrEntity: any
                                                      +

                                                      The id of the entity to add the property to

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      prop: string
                                                      +

                                                      The name of the property

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      values: any
                                                      +

                                                      A value or an array of values

                                                      +
                                                      +
                                                    • +
                                                    • +
                                                      opt: {
                                                          duplicate: boolean;
                                                      } = {}
                                                      +
                                                      +
                                                        +
                                                      • +
                                                        duplicate: boolean
                                                        +

                                                        If true, allow a property to have duplicate values

                                                        +
                                                        +
                                                    +

                                                    Returns boolean

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Returns boolean

                                                    +
                                                    +

                                                    Deprecated

                                                    Specify {array: true, link: true} in the options when creating the ROCrate instance

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Convert the rocrate into plain JSON object. +The value returned by this method is used when JSON.stringify() is used on the ROCrate object.

                                                    +
                                                    +

                                                    Returns {
                                                        @context: any[];
                                                        @graph: any[];
                                                    }

                                                    plain JSON object

                                                    + +
                                                      +
                                                    • +
                                                      @context: any[]
                                                    • +
                                                    • +
                                                      @graph: any[]
                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Generate a new unique id that does not match any existing id in the graph.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      base: string
                                                      +

                                                      The base string of the id.

                                                      +
                                                      +
                                                    +

                                                    Returns string

                                                    The base suffixed with the incremental number.

                                                    + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Update an entity by replacing the object with the same id. +This operations will remove all properties of the existing entity and +add the new ones contained in data, unless merge argument is true.

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      data: any
                                                      +
                                                    • +
                                                    • +
                                                      opt: {
                                                          merge: boolean;
                                                          recurse: boolean;
                                                      } = {}
                                                      +
                                                      +
                                                        +
                                                      • +
                                                        merge: boolean
                                                        +

                                                        If true, new properties will be merged. Defaults to config.merge.

                                                        +
                                                        +
                                                      • +
                                                      • +
                                                        recurse: boolean
                                                        +

                                                        If true, nested entities will be updated as well.

                                                        +
                                                        +
                                                    +

                                                    Returns boolean

                                                    false if there is no existing entity with the same id or data is empty.

                                                    + +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Change the identifier of an entity node

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      idOrEntity: any
                                                      +
                                                    • +
                                                    • +
                                                      newId: string
                                                      +
                                                    +

                                                    Returns boolean

                                                    +
                                                  +
                                                  +
                                                  +

                                                  Generated using TypeDoc

                                                  +
                                                  \ No newline at end of file diff --git a/docs/v3.4/classes/Utils.html b/docs/v3.4/classes/Utils.html new file mode 100644 index 0000000..1e1fa41 --- /dev/null +++ b/docs/v3.4/classes/Utils.html @@ -0,0 +1,328 @@ +Utils | ro-crate - v3.4.1
                                                  +
                                                  + +
                                                  +
                                                  +
                                                  +
                                                  + +

                                                  Class Utils

                                                  +
                                                  +

                                                  Utility functions for JSON-LD

                                                  +
                                                  +
                                                  +
                                                  +

                                                  Hierarchy

                                                  +
                                                    +
                                                  • Utils
                                                  +
                                                  +
                                                  +
                                                  + +
                                                  +
                                                  +

                                                  Constructors

                                                  +
                                                  + +
                                                  +
                                                  +

                                                  Methods

                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Add a property to an item

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      item: any
                                                      +
                                                    • +
                                                    • +
                                                      prop: any
                                                      +
                                                    • +
                                                    • +
                                                      value: any
                                                      +
                                                    +

                                                    Returns void

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Add a type to a JSON-LD item

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      item: any
                                                      +
                                                    • +
                                                    • +
                                                      type: any
                                                      +
                                                    +

                                                    Returns void

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Normalise a value to be an array. +Always return a new instance of the array to maintain consistency

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      value: any
                                                      +
                                                    +

                                                    Returns any[]

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Return the current value if it is already an array, else return a new array

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      value: any
                                                      +
                                                    +

                                                    Returns any[]

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Type Parameters

                                                    +
                                                      +
                                                    • +

                                                      T

                                                      +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      data: T
                                                      +
                                                    +

                                                    Returns T

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Count the number of properties in an object

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      obj: any
                                                    +

                                                    Returns number

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Find if a value (can be primitives, object, or an entity) exists in a list of values

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      values: any[]
                                                      +
                                                    • +
                                                    • +
                                                      val: any
                                                      +
                                                    +

                                                    Returns boolean

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      item: any
                                                      +
                                                    • +
                                                    • +
                                                      prop: string
                                                      +
                                                    • +
                                                    • +
                                                      val: any
                                                      +
                                                    +

                                                    Returns boolean

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      item: any
                                                      +
                                                    • +
                                                    • +
                                                      type: string
                                                      +
                                                    +

                                                    Returns boolean

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +

                                                    Deep comparison for JSON-serializable plain object

                                                    +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      a: any
                                                    • +
                                                    • +
                                                      b: any
                                                    • +
                                                    • +
                                                      equalFn: any
                                                    +

                                                    Returns any

                                                    +
                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      a: any
                                                    • +
                                                    • +
                                                      b: any
                                                    +

                                                    Returns any

                                                  +
                                                  + +
                                                    + +
                                                  • +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • +
                                                      Rest ...subgraphs: any[]
                                                    +

                                                    Returns any[]

                                                  +
                                                  + +
                                                  +
                                                  +

                                                  Generated using TypeDoc

                                                  +
                                                  \ No newline at end of file diff --git a/docs/v3.4/index.html b/docs/v3.4/index.html new file mode 100644 index 0000000..db67c91 --- /dev/null +++ b/docs/v3.4/index.html @@ -0,0 +1,99 @@ +ro-crate - v3.4.1
                                                  +
                                                  + +
                                                  +
                                                  +
                                                  +
                                                  +

                                                  ro-crate - v3.4.1

                                                  +

                                                  Research Object Crate (RO-Crate) JavaScript Library

                                                  This is a JavaScript library to create and manipulate Research Object Crate.

                                                  +

                                                  Install

                                                  Install the library:

                                                  +
                                                  npm install ro-crate
                                                  +
                                                  +

                                                  Note: The minimum Node.js version is 16.11.0.

                                                  +

                                                  Docs & Other Resources

                                                  +

                                                  Usage

                                                  Import the ROCrate class and create a new empty crate with default configurations:

                                                  +
                                                  const {ROCrate} = require('ro-crate');
                                                  const crate = new ROCrate(); +
                                                  +

                                                  The ROCrate constructor accepts two optional arguments:

                                                  +
                                                  const fs = require('fs');

                                                  // load existing metadata
                                                  const data = JSON.parse(fs.readFileSync('ro-crate-metadata.json', 'utf8'));

                                                  // create a crate using the existing data and
                                                  // configure the crate to return a property of an Entity as an array and resolve linked entity as nested object
                                                  const crate = new ROCrate(data, { array: true, link: true }); +
                                                  +

                                                  To add an Entity to the crate:

                                                  +
                                                  // A license
                                                  const license = {
                                                  '@id': 'https://creativecommons.org/licenses/by/4.0/',
                                                  '@type': 'CreativeWork',
                                                  'description': 'Attribution 4.0 International (CC BY 4.0) ...',
                                                  'name': 'CC BY 4.0'
                                                  };
                                                  // add the license as an unconnected Entity
                                                  crate.addEntity(license);

                                                  // add the license to the root dataset
                                                  crate.rootDataset.license = {'@id': license['@id']};
                                                  // or alternatively, add a new entity directly into a property of other entity :
                                                  crate.rootDataset.license = license; +
                                                  +

                                                  Use an entity just like a normal object:

                                                  +
                                                  let lic = create.getEntity(license['@id']);
                                                  console.log(lic.name); // prints 'CC BY 4.0';
                                                  // set a property directly
                                                  lic.name = 'CC BY 4.0 dummy';
                                                  // or with the setProperty method
                                                  crate.setProperty(license['@id'], 'name', 'CC BY 4.0 dummy');

                                                  console.log(lic.name); // prints 'CC BY 4.0 dummy'; +
                                                  +

                                                  Modifying an array of values in the property is not supported yet:

                                                  +
                                                  lic.test = [1,2,3];
                                                  lic.test.push(4); // this does not work
                                                  console.log(lic.test); // prints '[1,2,3]';
                                                  // use this instead
                                                  lic.test = lic.test.concat(4);
                                                  // or this
                                                  crate.addValues(license['@id'], 'test', 4); +
                                                  +

                                                  Root Dataset is a special entity that is mandated by the standard:

                                                  +
                                                  const rootDataset = crate.rootDataset;
                                                  rootDataset.name = 'Tutorial Crate';
                                                  rootDataset.description = 'This is an example crate for educational purposes.'
                                                  const today = new Date().toISOString().split('T')[0]
                                                  rootDataset.datePublished = today; +
                                                  +

                                                  The value of the returned property can be set to be always as an array:

                                                  +
                                                  const crate1 = new ROCrate();
                                                  const crate2 = new ROCrate({array: true});
                                                  crate1.rootDataset.name = 'Tutorial Crate';
                                                  crate1.rootDataset.test = ['test1', 'test2'];
                                                  crate2.rootDataset.name = 'Tutorial Crate';
                                                  crate2.rootDataset.test = ['test1', 'test2'];
                                                  console.log(crate1.rootDataset.name); // return 'Tutorial Crate'
                                                  console.log(crate1.rootDataset.name); // return ['test1', 'test2']
                                                  console.log(crate2.rootDataset.name); // return ['Tutorial Crate']
                                                  console.log(crate2.rootDataset.name); // return ['test1', 'test2'] +
                                                  +

                                                  Linked entities can be automatically resolved as nested objects:

                                                  +
                                                  const crate1 = new ROCrate();
                                                  const crate2 = new ROCrate({link: true});
                                                  const crate3 = new ROCrate({link: true, array: true});
                                                  crate1.rootDataset.license = license;
                                                  crate2.rootDataset.license = license;
                                                  crate3.rootDataset.license = license;
                                                  console.log(crate1.rootDataset.license.name); // return undefined
                                                  console.log(crate1.rootDataset.license); // return {'@id': 'https://creativecommons.org/licenses/by/4.0/'}
                                                  console.log(crate2.rootDataset.license.name); // return 'CC BY 4.0'
                                                  console.log(crate3.rootDataset.license.name); // return undefined, property license is a array
                                                  console.log(crate3.rootDataset.license[0].name); // return 'CC BY 4.0' +
                                                  +

                                                  To save the rocrate data to a file, use JSON.stringify:

                                                  +
                                                  // Write pretty-printed JSONLD into the directory
                                                  fs.writeFileSync('ro-crate-metadata.json', JSON.stringify(crate, null, 2)); +
                                                  +

                                                  For more usage examples, see the test files under the test directory.

                                                  +

                                                  For more details, refer to the full API documentation.

                                                  +

                                                  HTML Rendering

                                                  Use the RO-Crate-HTML to generate a HTML preview from the RO-Crate Metadata File ro-crate-metadata.json.

                                                  +

                                                  Simple crate checker

                                                  There is a script included with this library that can check crates.

                                                  +

                                                  Check a crate:

                                                  +

                                                  roccheck /path/to/crate/directory

                                                  +

                                                  This is produce a simple report.

                                                  +
                                                  +
                                                  + +
                                                  +
                                                  +

                                                  Generated using TypeDoc

                                                  +
                                                  \ No newline at end of file diff --git a/docs/v3.4/modules.html b/docs/v3.4/modules.html new file mode 100644 index 0000000..a5ac6c8 --- /dev/null +++ b/docs/v3.4/modules.html @@ -0,0 +1,56 @@ +ro-crate - v3.4.1
                                                  +
                                                  + +
                                                  +
                                                  +
                                                  +
                                                  +

                                                  ro-crate - v3.4.1

                                                  +
                                                  +
                                                  +

                                                  Index

                                                  +
                                                  +

                                                  Classes

                                                  +
                                                  +
                                                  +

                                                  Type Aliases

                                                  +
                                                  +
                                                  + +
                                                  +
                                                  +

                                                  Generated using TypeDoc

                                                  +
                                                  \ No newline at end of file diff --git a/docs/v3.4/types/Entity.html b/docs/v3.4/types/Entity.html new file mode 100644 index 0000000..0f4649c --- /dev/null +++ b/docs/v3.4/types/Entity.html @@ -0,0 +1,66 @@ +Entity | ro-crate - v3.4.1
                                                  +
                                                  + +
                                                  +
                                                  +
                                                  +
                                                  + +

                                                  Type alias Entity

                                                  +
                                                  Entity: {
                                                      @id: string;
                                                      @reverse: {
                                                          [key: string]: any;
                                                      };
                                                      toJSON() => RawEntity;
                                                      [key: string]: any;
                                                  }
                                                  +
                                                  +

                                                  Type declaration

                                                  +
                                                    +
                                                  • +
                                                    [key: string]: any
                                                  • +
                                                  • +
                                                    @id: string
                                                  • +
                                                  • +
                                                    @reverse: {
                                                        [key: string]: any;
                                                    }
                                                    +
                                                      +
                                                    • +
                                                      [key: string]: any
                                                  • +
                                                  • +
                                                    toJSON:function
                                                    +
                                                  +
                                                  + +
                                                  +
                                                  +

                                                  Generated using TypeDoc

                                                  +
                                                  \ No newline at end of file diff --git a/docs/v3.4/types/NodeRef.html b/docs/v3.4/types/NodeRef.html new file mode 100644 index 0000000..682e3c5 --- /dev/null +++ b/docs/v3.4/types/NodeRef.html @@ -0,0 +1,56 @@ +NodeRef | ro-crate - v3.4.1
                                                  +
                                                  + +
                                                  +
                                                  +
                                                  +
                                                  + +

                                                  Type alias NodeRef

                                                  +
                                                  NodeRef: {
                                                      @id: string;
                                                      @reverse: {
                                                          [key: string]: any;
                                                      };
                                                  }
                                                  +
                                                  +

                                                  Type declaration

                                                  +
                                                    +
                                                  • +
                                                    @id: string
                                                  • +
                                                  • +
                                                    @reverse: {
                                                        [key: string]: any;
                                                    }
                                                    +
                                                      +
                                                    • +
                                                      [key: string]: any
                                                  +
                                                  + +
                                                  +
                                                  +

                                                  Generated using TypeDoc

                                                  +
                                                  \ No newline at end of file diff --git a/docs/v3.4/types/RawEntity.html b/docs/v3.4/types/RawEntity.html new file mode 100644 index 0000000..c148941 --- /dev/null +++ b/docs/v3.4/types/RawEntity.html @@ -0,0 +1,53 @@ +RawEntity | ro-crate - v3.4.1
                                                  +
                                                  + +
                                                  +
                                                  +
                                                  +
                                                  + +

                                                  Type alias RawEntity

                                                  +
                                                  RawEntity: {
                                                      @id: string;
                                                      [key: string]: any;
                                                  }
                                                  +
                                                  +

                                                  Type declaration

                                                  +
                                                    +
                                                  • +
                                                    [key: string]: any
                                                  • +
                                                  • +
                                                    @id: string
                                                  +
                                                  + +
                                                  +
                                                  +

                                                  Generated using TypeDoc

                                                  +
                                                  \ No newline at end of file