diff --git a/assets/main.js b/assets/main.js index 1daeb6900..d6f138860 100644 --- a/assets/main.js +++ b/assets/main.js @@ -1,7 +1,7 @@ "use strict"; "use strict";(()=>{var Ce=Object.create;var ne=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Fe=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!Re.call(t,i)&&i!==n&&ne(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Ce(_e(t)):{},Fe(e||!t||!t.__esModule?ne(n,"default",{value:t,enumerable:!0}):n,t));var ae=Me((se,oe)=>{(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 d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.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,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(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=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 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),y=s.str.charAt(1),p;y in s.node.edges?p=s.node.edges[y]:(p=new t.TokenSet,s.node.edges[y]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+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),l=0;l1?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 se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.scrollToHash(),this.updateIndexVisibility())}createComponents(e){re.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.scrollToHash(),this.updateIndexVisibility())}scrollToHash(){if(location.hash){let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!e.checkVisibility()){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=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 n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ne(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"?ue(e,-1):s.key==="ArrowDown"?ue(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 Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` - ${ce(l.parent,i)}.${d}`);let y=document.createElement("li");y.classList.value=l.classes??"";let p=document.createElement("a");p.href=r.base+l.url,p.innerHTML=u+d,y.append(p),e.appendChild(y)}}function ue(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 ce(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(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var He={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>He[e])}var I=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",fe="mousemove",H="mouseup",J={x:0,y:0},pe=!1,ee=!1,Be=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(Be=!0,F="touchstart",fe="touchmove",H="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(H,()=>{ee=!1});document.addEventListener("click",t=>{pe&&(t.preventDefault(),t.stopImmediatePropagation(),pe=!1)});var X=class extends I{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(H,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(H,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){D||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!D&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ye=document.head.appendChild(document.createElement("style"));ye.dataset.for="filters";var Y=class extends I{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ye.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`,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(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=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 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),y=s.str.charAt(1),p;y in s.node.edges?p=s.node.edges[y]:(p=new t.TokenSet,s.node.edges[y]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+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),l=0;l1?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 se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){re.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(console.log("Show page"),document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){console.log("Scorlling");let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!e.checkVisibility()){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=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 n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ve(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ne(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(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 Ve(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` + ${ce(l.parent,i)}.${d}`);let y=document.createElement("li");y.classList.value=l.classes??"";let p=document.createElement("a");p.href=r.base+l.url,p.innerHTML=u+d,y.append(p),e.appendChild(y)}}function ue(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 Ne(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 ce(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(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var He={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>He[e])}var I=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",fe="mousemove",H="mouseup",J={x:0,y:0},pe=!1,ee=!1,Be=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(Be=!0,F="touchstart",fe="touchmove",H="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(H,()=>{ee=!1});document.addEventListener("click",t=>{pe&&(t.preventDefault(),t.stopImmediatePropagation(),pe=!1)});var X=class extends I{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(H,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(H,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){D||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!D&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ye=document.head.appendChild(document.createElement("style"));ye.dataset.for="filters";var Y=class extends I{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ye.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } `,this.app.updateIndexVisibility()}fromLocalStorage(){let e=Q.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){Q.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),this.app.updateIndexVisibility()}};var Z=class extends I{constructor(e){super(e),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());let r=this.summary.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ge(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ve(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ve(t.value)})}function ve(t){document.documentElement.dataset.theme=t}var Le;function be(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",xe),xe())}async function xe(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();Le=t.dataset.base+"/",t.innerHTML="";for(let s of i)we(s,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function we(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-index-accordion`:"tsd-index-accordion",s.dataset.key=i.join("$");let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.innerHTML='',Ee(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)we(u,l,i)}else Ee(t,r,t.class)}function Ee(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=Le+t.path,n&&(r.className=n),location.pathname===r.pathname&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("tsd-theme");Se&&ge(Se);var je=new U;Object.defineProperty(window,"app",{value:je});he();be();})(); /*! Bundled license information: diff --git a/assets/navigation.js b/assets/navigation.js index 87d3825ba..07da6052b 100644 --- a/assets/navigation.js +++ b/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA62aXW/bNhSG/4uu423p2m7L1RynQbO1axA37UVRBDR5bAumSY2knBhD//sgyZJJieaXfBcjfN+H5OHHEclv/2UKXlR2lf2JSsW3IFaQXWR4nVMigGVX37oC3f8nAgqeXWQFUuvsKttyUlKQPz91BbS/qqI/rdWWZhfZJmcku3pld5/xkikQR1tMkZRO24PEtL989ftFo82uMiXJJJcTeFEgGKLZj4uOd8Pxe8QIhRhiJxowNed/QD1zsZkSVEQ2yFS6GA/oea5EzlYx9p0orccejKgH4AahN9swV1ygFST0k6l0tIZAIQAjBcQIPVBQcMNxuQWm7tGeckSO/LwaVEuE3SPB5tEb6G/e2sbbbI3YChKpVpMgbFPhkVjDJAj7jmFOgJyl0TavsEoUa9iCQPQjSInG18NuF1aVHTAlk8m1Ogj0qVQLXjJy5rZ7bIOq9gBbruA9ICJH1mbo5KnAmBkfPtc/IrGZg4oEHFQD46DF2d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bq5m4yN+ALSLPqe3IHUf77kYnKV3NZuAkzjFMadfQEjjYyqBaloFky+jjj5c4OFJiGMhFYCwmqw538iYJbSWPdWyoMXzUcI150oqgYpBmhC0r+hEi5vrDv1RwgeOEZ0+IwEMpKyOUkfyLYaeKjTPlM5ZB5ujqxLvAQm1AKQiUjQdedSHzOD6WC6RdNT7z53r1yHK+EYJmUA6TjNxnCKW2qiL+jwxWLrL6U8W+5vVUnaPTUdVoDVxfWkeS8UdqJ1iDQ7XTFj/GXYCyfYou48xp+0onGnlxvZm6ihuz8sH1p9rJ9H677ffvnbtJ7K5VZjkjMALELKI2VUO4qdOHLS33DWlb66T35JbwCdMh8lwQF8wTmAZtb229WmUQb1QZe638/FdcEDa7OIavwOqoO4DiGp6raur00/b7A0nSSuigSH+9bC5Jqh+xE8pg2UauU4zz0WUbqIeQyyguktrPrE5gQkqCmfwGsEhJeUEnlDRv6Qe2u9yFexclbWZfv/x/X/UQh81tjQAAA==" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA62aXW/bNhSG/4uu423p2mzL1RynQbMlSxA37UVRBDR5bBOWSY2knBhD//sgyZJJmeaXfBcjfN/n8PuQ4rf/MgVvKrvM/kSl4msQC8jOMrykORHAsstvXYHu/yMBBc/OsgKpZXaZrTkpc5A/v3QFtL+qoj8t1TrPzrIVZSS7fGd3n/CSKRB7W5wjKZ22O4lpf/7u97NGm11mSpIRlSN4UyAYyrMfZx3vmuNPiJEcYoid6ICpOf8D6pWL1ZigIrJCptLFeEKvUyUoW8TYd6K0Fnsyej0Ad9D1Zh2migu0gIR2MpWO2hAoBGCkgBhdDzkouOa4XANTj2ibc0T2fFoNqjnC7pFg8+gN9A8XtvE2WSK2gESq1SQI2wQ8EGuYBGE/MswJkJNU2uYVFkSxhDUIlN+DlGh4HHa7sFA2wJRMJtfqINBDqWa8ZOTEdffYBoX2BGuu4BMgIgdGc+jkCWDIjA+f6/dIrKagIgE71YFx0OJsbh1Jo8xm4aq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gVkIvWmeE9ENMx/9L07ZCbiajY94B2gT/Q3CgtR9vHd+cJLW1WwCbhkVxzz/AkIa57YEqmkVTD6PutZxgQ9veRwLqQCE1WjJ+UrGLKG17KWWBS2ezxKuOFdSCVQcpAlB+4pOtLi53gc8S7jjGOXjVySAgZTVNfFAvsXQE0LzBOuUMdgcXUF8AiTUDJCKSNF05F4fMoPrK8dE0l7vv1OvX74o44wSMoF0nGbiuCEttVEXdTwxWLrL8SOL/T1uKbuHtIMCaE1cJ819qbi7u2Osg3s8E9Z/Yp5Asj0472PMaTsIZ1q5sb2ZOojb8/KB9afoSbT+2/SL9679RDZfTEaUEXgDQmYxu8pO/NKJg/aW26b09VXyO3kL+IjpYTIc0BaME5hHba9tPI0yqBWqzP1mOrwJdkibXVzlN5ArqNsAoqpe6+pw+mmbveIkaUU0MMS/HjZfJKof8VPKYJlGrtvMUxGlm6j3IRZQfSdsjticwAgVhbPzGsEuJeUEXlDR/wB/aL+hKti5Kmsz/f7j+/86ybyikjUAAA==" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js index 3124c7fe6..9f7904373 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA919bZPbNrLuf5G/arQCwFd/uo7ts+t7skmunWzqlivloiXOjE5mSB1SM16fVP77LYAE1Wh1UyIJzjj3k5UM0Xi6G+huPADIPxZV+aVevPz4x+L3XbFdvJTLRZHd54uXi/+VPRzK+7y6yf/W/bqq8n25WC4eqrvFy8V9uX24y+u/fer+Dn7pJ1e3h/u7xXKxucvqOq8XLxeLP5e2JyGTrq835eYfWbG9yzvZbZMe2V0bopflYp9VeXHoVQNAWcugw7ItNw/3eXF4tx0N5oUjYyCuoyyAUEZSBEeMGtZocE1jL6jWwdGHn6sy226y+jAeGRThHd/mNituxg+wF137mZC9mmA4IME7um1+lx8m2K1r7x9ZuZk0RWfC9OFrMQ1XK8A7tpv88D6/Lw/5P/JsW4+HeCLHO9L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/2ZtbxG/cNta7YsPZGxr8q9KwieHZLscTjNw5tAwqCBSZrdZTsVQsCB+Y8flFoSKhTgwk6xu2bUhgIszthq96HOv+TZ71V+7WZ6aD42julPxrk8r3NcgWvWHcZ2u4R8BUuTf7nNi9ONRVgPkZH/t+Viv9vnmphdvPz4259//j/ZIfTqkWgBAA=="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA919bZPbNrLuf5G/arQCwFd/uo7ts+t7skmunWzqlivloiXOjE5mSB1SM16fVP77LYAE1Wh1UyIJzjj3UxQP0Xi6G+huPADIPxZV+aVevPz4x+L3XbFdvJTLRZHd54uXi/+VPRzK+7y6yf/W/bqq8n25WC4eqrvFy8V9uX24y+u/fer+Dn7pJ1e3h/u7xXKxucvqOq8XLxeLP5e2JyGTrq835eYfWbG9yzvZbZMe2V0bopflYp9VeXHoVQNAWcugw7ItNw/3eXF4tx0N5oUjYyCuoyyAUEZSBEeMGtZocE1jL6jWwdGHn6sy226y+jAeGRThHd/mNituxg+wF137mZC9mmA4IME7um1+lx8m2K1r7x9ZuZk0RWfC9OFrMQ1XK8A7tpv88D6/Lw/5P/JsW4+HeCLHO9LbaQBv58K1Kz4csimT4SjAP7b6jZlpE9IWFDEDvvd5tv06BZ0VMAO2X4rsMdvdZZ8n1CAvsBjvOM2z4/HZ5t5xfbnNi4nehSJ84IPl5Q/54UtZ/f5qm+0PeTUAo9tweqEZimN9vSmL+lA9bA7lREQvXElHdId6e7Wrr3bFbV7tmll9gTGRsZgqeZ/n1aAKmQLeCRnq8Msx/jM/ZNvskHlACkR5w+vWgWVR5JshZSAzGlop86Dc7mo/QB1B82Ct82LqGG1F+BuhIC69h6vp8/De00vqJ49BHQ428lxmo/cuMLTGvTURfUgVeMR1bOsXkw4D4xDZllPxOPHiriyGVAPAb21Lr2iqfFhpDODYpj7xDF63HvGMXrL24cn/vS+rITHziKdr6hPP9W5QbDyiaRv6xHKTHz4cyiq7yd9tf7z+KR9UpB2RkWJ84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qKvLcXIw1qYXQpX+X8/5PXhZNUH10osO9c2pubGGkLvGduH6qspnh9d7kY4JxRYUrr5fhgYg2DQ2O1bobqFZrf3xOGp87sm0fVFKzjrWV6ozt1CR8IUY5Gt7fAVXSqw/xLaYwrs4l/3gGNCCPSPumOK7dQWoc2v9tikiG12SroDh10K6k4e2sTFroXqvNZWQgyGw0PZdMjuQNb8/gScBSrgBnJ9m+mWd7uNE+xjSKRYMwuW7K53/+OegoCTiI0bzdEtd/zC3MSDNg3dZAxZE8luS7crOEdViFVYmgXFQV4UsYyDCU5xQcBtTq6E4ZpWsGvKbn/IgQDDZzs2uzO1ojtcy3qmkYkIP/0iJcATcDVW+zVAuDgGYZE/D1ofql1xs7v+yq9Z4GqLTQrgE2UQQwIxsF6xbbUOuoBwBhlcRCh2iD3s9W7ISTR0hys8KiJjdoyZr1m5ekQX2fJrsSHzCxxSbBQ+ZNVNjqlVuPQJbZC0xJ6IulDVBYvuKJmN0uwxqpPjeTALdkWRLRVFF6Lt+XVh9xqFrWOkxSNtrJaJ/VPCeY7ZGgjhma7uEFdXAXPDEA1eOCFbIGxgfKjzz2V5qA9V5h7xhkcJFbtpDJtTR2xhupPsduhDnZNcCVyQK/bgL2iNFk0wFrBl4UOdn+4+C3hATLH7Wg91bijw7Iv+XFxeo/7h1je7z3QiY1+Ve2RFGIxYolLz8CaQ0Ggg2anYfadTIQQcaBt2t9BIwgcZIGfIMvzEhgJchyn2CMVDnX/Js9+r/NrN9M6xQs6X+tN3blUD5xF7HaA7F+52CYtJlib/cpsXp5uTsB4i48dvy8V+t881Mbt4+fG3P//8fypq7lOXagEA"; \ No newline at end of file diff --git a/assets/style.css b/assets/style.css index 072daed85..778b94927 100644 --- a/assets/style.css +++ b/assets/style.css @@ -327,17 +327,14 @@ dd { } /* Footer */ -.tsd-generator { +footer { 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; +.tsd-generator { + margin: 0 1em; } .container-main { diff --git a/classes/_automerge_automerge_repo.Counter.html b/classes/_automerge_automerge_repo.Counter.html index be31dd4f0..f8d63393e 100644 --- a/classes/_automerge_automerge_repo.Counter.html +++ b/classes/_automerge_automerge_repo.Counter.html @@ -1,28 +1,28 @@ -Counter | Automerge Repo - v1.1.12

The most basic CRDT: an integer value that can be changed only by +Counter | Automerge Repo - v1.2.0-alpha.0

The most basic CRDT: an integer value that can be changed only by incrementing and decrementing. Since addition of integers is commutative, the value trivially converges.

-

Constructors

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optional value: number

    Returns Counter

Properties

value: number

Methods

  • Decreases the value of the counter by delta. If delta is not given, +

Constructors

  • Parameters

    • Optional value: number

    Returns Counter

Properties

value: number

Methods

  • Decreases the value of the counter by delta. If delta is not given, decreases the value of the counter by 1.

    Will throw an error if used outside of a change callback.

    -

    Parameters

    • _delta: number

    Returns number

  • Increases the value of the counter by delta. If delta is not given, +

    Parameters

    • _delta: number

    Returns number

  • Increases the value of the counter by delta. If delta is not given, increases the value of the counter by 1.

    Will throw an error if used outside of a change callback.

    -

    Parameters

    • _delta: number

    Returns number

  • Returns the counter value, so that a JSON serialization of an Automerge +

    Parameters

    • _delta: number

    Returns number

  • Returns the counter value, so that a JSON serialization of an Automerge document represents the counter simply as an integer.

    -

    Returns number

  • Returns the counter value as a decimal string. If x is a counter object, +

    Returns number

  • Returns the counter value as a decimal string. If x is a counter object, this method is called e.g. when you do ['value: ', x].join('') or when you use string interpolation: value: ${x}.

    -

    Returns string

  • A peculiar JavaScript language feature from its early days: if the object +

    Returns string

  • A peculiar JavaScript language feature from its early days: if the object x has a valueOf() method that returns a number, you can use numerical operators on the object x directly, such as x + 1 or x < 4. This method is also called when coercing a value to a string by concatenating it with another string, as in x + ''. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/valueOf

    -

    Returns number

Generated using TypeDoc

\ No newline at end of file +

Returns number

\ No newline at end of file diff --git a/classes/_automerge_automerge_repo.DocHandle.html b/classes/_automerge_automerge_repo.DocHandle.html index 474a7164d..84fec1584 100644 --- a/classes/_automerge_automerge_repo.DocHandle.html +++ b/classes/_automerge_automerge_repo.DocHandle.html @@ -1,4 +1,4 @@ -DocHandle | Automerge Repo - v1.1.12

A DocHandle is a wrapper around a single Automerge document that lets us listen for changes and +DocHandle | Automerge Repo - v1.2.0-alpha.0

A DocHandle is a wrapper around a single Automerge document that lets us listen for changes and notify the network and storage of new changes.

Remarks

A DocHandle represents a document which is being managed by a Repo. You shouldn't ever instantiate this yourself. To obtain DocHandle use Repo.find or Repo.create.

@@ -6,7 +6,7 @@ DocHandle.changeAt. These methods will notify the Repo that some change has occured and the Repo will save any new changes to the attached StorageAdapter and send sync messages to connected peers.

-

Type Parameters

  • T

Hierarchy

Properties

Type Parameters

  • T

Hierarchy

Properties

Accessors

Methods

Properties

documentId: DocumentId
prefixed: string | boolean

Accessors

Methods

  • Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
    • Optional context: any

    Returns this

  • Sends an arbitrary ephemeral message out to all reachable peers who would receive sync messages +

Properties

documentId: DocumentId
prefixed: string | boolean

Accessors

Methods

  • Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
    • Optional context: any

    Returns this

  • Sends an arbitrary ephemeral message out to all reachable peers who would receive sync messages from you. It has no guarantee of delivery, and is not persisted to the underlying automerge doc in any way. Messages will have a sending PeerId but this is not a useful user identifier (a user could have multiple tabs open and would appear as multiple PeerIds). Every message source must have a unique PeerId.

    -

    Parameters

    • message: unknown

    Returns void

  • All changes to an Automerge document should be made through this method. Inside the callback, the document should be treated as mutable: all edits will be recorded using a Proxy and translated into operations as part of a single recorded "change".

    Note that assignment via ES6 spread operators will result in replacing the object @@ -48,14 +48,14 @@

    Local changes will be stored (by the StorageSubsystem) and synchronized (by the DocSynchronizer) to any peers you are sharing it with.

    Parameters

    • callback: ChangeFn<T>

      A function that takes the current document and mutates it.

      -
    • options: ChangeOptions<T> = {}

    Returns void

  • Makes a change as if the document were at heads.

    +
  • options: ChangeOptions<T> = {}

Returns void

  • Makes a change as if the document were at heads.

    Parameters

    Returns undefined | string[]

    A set of heads representing the concurrent change that was made.

    -
  • Parameters

    • awaitStates: HandleState[] = ...

      states to wait for, such as "LOADING". mostly for internal use.

    Returns Promise<undefined | Doc<T>>

    the current state of this handle's Automerge document.

    This is the recommended way to access a handle's document. Note that this waits for the handle to be ready if necessary. If loading (or synchronization) fails, this will never resolve.

    -
  • Synchronously returns the current state of the Automerge document this handle manages, or undefined. Consider using await handle.doc() instead. Check isReady(), or use whenReady() if you want to make sure loading is complete first.

    Not to be confused with the SyncState of the document, which describes the state of the @@ -63,30 +63,30 @@

    Note that undefined is not a valid Automerge document, so the return from this function is unambigous.

    Returns undefined | Doc<T>

    the current document, or undefined if the document is not ready.

    -
  • Calls each of the listeners registered for a given event.

    Type Parameters

    Parameters

    Returns boolean

  • Return an array listing the events for which the emitter has registered listeners.

    Returns (keyof DocHandleEvents<T>)[]

  • Returns the current "heads" of the document, akin to a git commit. This precisely defines the state of a document.

    Returns undefined | Heads

    the current document's heads, or undefined if the document is not ready

    -
  • Returns boolean

    true if the document has been marked as deleted.

    Deleted documents are removed from local storage and the sync process. It's not currently possible at runtime to undelete a document.

    -
  • Returns boolean

    true if the document is ready for accessing or changes.

    Note that for documents already stored locally this occurs before synchronization with any peers. We do not currently have an equivalent whenSynced().

    -
  • Returns boolean

    true if the document is currently unavailable.

    This will be the case if the document is not found in storage and no peers have shared it with us.

    -
  • Return the number of listeners listening to a given event.

    Parameters

    Returns number

  • Return the listeners registered for a given event.

    Type Parameters

    Parameters

    • event: T

    Returns ((...args) => void)[]

  • Merges another document into this document. Any peers we are sharing changes with will be notified of the changes resulting from the merge.

    Parameters

    • otherHandle: DocHandle<T>

      the handle of the document to merge into this one

    Returns void

    the merged document.

    Throws

    if either document is not ready or if otherHandle is unavailable.

    -
  • Type Parameters

    Parameters

    • event: T
    • Optional fn: ((...args) => void)
    • Optional context: any
    • Optional once: boolean

    Returns this

  • Type Parameters

    Parameters

    • event: T
    • Optional fn: ((...args) => void)
    • Optional context: any
    • Optional once: boolean

    Returns this

  • Add a listener for a given event.

    Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
    • Optional context: any

    Returns this

  • Add a one-time listener for a given event.

    Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
    • Optional context: any

    Returns this

  • Remove all listeners, or those of the specified event.

    Parameters

    • Optional event: keyof DocHandleEvents<T>

    Returns this

  • Remove the listeners of a given event.

    @@ -94,4 +94,4 @@ are passed, when the document is ready)

    Use this to block until the document handle has finished loading. The async equivalent to checking inState().

    -

Generated using TypeDoc

\ No newline at end of file +
\ No newline at end of file diff --git a/classes/_automerge_automerge_repo.NetworkAdapter.html b/classes/_automerge_automerge_repo.NetworkAdapter.html index 2ea8c600f..0f052f79e 100644 --- a/classes/_automerge_automerge_repo.NetworkAdapter.html +++ b/classes/_automerge_automerge_repo.NetworkAdapter.html @@ -1,10 +1,10 @@ -NetworkAdapter | Automerge Repo - v1.1.12

An interface representing some way to connect to other peers

+NetworkAdapter | Automerge Repo - v1.2.0-alpha.0

An interface representing some way to connect to other peers

Remarks

The Repo uses one or more NetworkAdapters to connect to other peers. Because the network may take some time to be ready the Repo will wait until the adapter emits a ready event before it starts trying to use it

This utility class can be used as a base to build a custom network adapter. It is most useful as a simple way to add the necessary event emitter functionality

-

Hierarchy

Implements

Constructors

Hierarchy

Implements

Constructors

Properties

Constructors

Properties

peerId?: PeerId
peerMetadata?: PeerMetadata
prefixed: string | boolean

Methods

  • Called by the Repo to start the connection process

    +

Constructors

Properties

peerId?: PeerId
peerMetadata?: PeerMetadata
prefixed: string | boolean

Methods

  • Return the number of listeners listening to a given event.

    @@ -36,4 +36,4 @@

    Argument

    peerMetadata - how this adapter should present itself to oth

    Parameters

    • Optional event: keyof NetworkAdapterEvents

    Returns this

  • Remove the listeners of a given event.

    Type Parameters

    Parameters

    Returns this

Generated using TypeDoc

\ No newline at end of file +
\ No newline at end of file diff --git a/classes/_automerge_automerge_repo.RawString.html b/classes/_automerge_automerge_repo.RawString.html index 5ab705b25..5960b83fa 100644 --- a/classes/_automerge_automerge_repo.RawString.html +++ b/classes/_automerge_automerge_repo.RawString.html @@ -1,5 +1,6 @@ -RawString | Automerge Repo - v1.1.12

Constructors

constructor +RawString | Automerge Repo - v1.2.0-alpha.0

Constructors

Properties

val -

Methods

Constructors

  • Parameters

    • val: string

    Returns RawString

Properties

val: string

Methods

  • Returns the content of the RawString object as a simple string

    -

    Returns string

Generated using TypeDoc

\ No newline at end of file +

Methods

Constructors

  • Parameters

    • val: string

    Returns RawString

Properties

val: string

Methods

  • Returns string

  • Returns the content of the RawString object as a simple string

    +

    Returns string

\ No newline at end of file diff --git a/classes/_automerge_automerge_repo.Repo.html b/classes/_automerge_automerge_repo.Repo.html index 696fe66ca..3b087a540 100644 --- a/classes/_automerge_automerge_repo.Repo.html +++ b/classes/_automerge_automerge_repo.Repo.html @@ -1,8 +1,8 @@ -Repo | Automerge Repo - v1.1.12

The Repo is the main entry point of this library

+Repo | Automerge Repo - v1.2.0-alpha.0

The Repo is the main entry point of this library

Remarks

To construct a Repo you will need an StorageAdapter and one or more NetworkAdapters. Once you have a Repo you can use it to obtain DocHandles.

-

Hierarchy

Constructors

Hierarchy

Constructors

Properties

Accessors

Constructors

Properties

prefixed: string | boolean

Accessors

Methods

  • Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
    • Optional context: any

    Returns this

  • Create a new DocHandle by cloning the history of an existing DocHandle.

    +

Constructors

Properties

prefixed: string | boolean

Accessors

Methods

  • Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
    • Optional context: any

    Returns this

  • Create a new DocHandle by cloning the history of an existing DocHandle.

    Type Parameters

    • T

    Parameters

    Returns DocHandle<T>

    Remarks

    This is a wrapper around the clone function in the Automerge library. The new DocHandle will have a new URL but will share history with the original, @@ -37,26 +37,26 @@ be notified of the newly created DocHandle.

    Throws

    if the cloned handle is not yet ready or if clonedHandle.docSync() returns undefined (i.e. the handle is unavailable).

    -
  • Creates a new document and returns a handle to it. The initial value of the document is an empty object {} unless an initial value is provided. Its documentId is generated by the system. we emit a document event to advertise interest in the document.

    -

    Type Parameters

    • T

    Parameters

    • Optional initialValue: T

    Returns DocHandle<T>

  • Calls each of the listeners registered for a given event.

    Type Parameters

    Parameters

    Returns boolean

  • Return an array listing the events for which the emitter has registered listeners.

    Returns (keyof RepoEvents)[]

  • Exports a document to a binary format.

    Parameters

    Returns Promise<undefined | Uint8Array>

    Promise<Uint8Array | undefined> - A Promise containing the binary document, or undefined if the document is unavailable.

    -
  • Imports document binary into the repo.

    +

Returns DocHandle<T>

  • Return the number of listeners listening to a given event.

    +

Returns DocHandle<T>

  • Return the number of listeners listening to a given event.

    Parameters

    Returns number

  • Return the listeners registered for a given event.

    Type Parameters

    Parameters

    • event: T

    Returns ((...args) => void)[]

  • Type Parameters

    Parameters

    • event: T
    • Optional fn: ((...args) => void)
    • Optional context: any
    • Optional once: boolean

    Returns this

  • Add a listener for a given event.

    Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
    • Optional context: any

    Returns this

  • Add a one-time listener for a given event.

    Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
    • Optional context: any

    Returns this

  • Remove all listeners, or those of the specified event.

    Parameters

    • Optional event: keyof RepoEvents

    Returns this

  • Remove the listeners of a given event.

    -

    Type Parameters

    Parameters

    • event: T
    • Optional fn: ((...args) => void)
    • Optional context: any
    • Optional once: boolean

    Returns this

Generated using TypeDoc

\ No newline at end of file +

Type Parameters

Parameters

  • event: T
  • Optional fn: ((...args) => void)
  • Optional context: any
  • Optional once: boolean

Returns this

\ No newline at end of file diff --git a/classes/_automerge_automerge_repo.StorageAdapter.html b/classes/_automerge_automerge_repo.StorageAdapter.html index d4a0675e0..806348aa5 100644 --- a/classes/_automerge_automerge_repo.StorageAdapter.html +++ b/classes/_automerge_automerge_repo.StorageAdapter.html @@ -1,15 +1,15 @@ -StorageAdapter | Automerge Repo - v1.1.12

A storage adapter represents some way of storing binary data for a Repo

+StorageAdapter | Automerge Repo - v1.2.0-alpha.0

A storage adapter represents some way of storing binary data for a Repo

Deprecated

use StorageAdapterInterface

Remarks

StorageAdapters provide a key/value storage interface. The keys are arrays of strings (StorageKey) and the values are binary blobs.

-

Implements

Constructors

Implements

Constructors

Methods

  • Load all values with keys that start with keyPrefix.

    Parameters

    Returns Promise<Chunk[]>

    Remarks

    The keyprefix will match any key that starts with the given array. For example:

    • [documentId, "incremental"] will match all incremental saves
    • @@ -17,7 +17,7 @@

      Remarks

      StorageAdapters provide a key/value storage inte

    Be careful! [documentId] would also match something like [documentId, "syncState"]! We aren't using this yet but keep it in mind.)

    -

Generated using TypeDoc

\ No newline at end of file +
\ No newline at end of file diff --git a/classes/_automerge_automerge_repo_network_broadcastchannel.BroadcastChannelNetworkAdapter.html b/classes/_automerge_automerge_repo_network_broadcastchannel.BroadcastChannelNetworkAdapter.html index 69f909a5b..e68c9606a 100644 --- a/classes/_automerge_automerge_repo_network_broadcastchannel.BroadcastChannelNetworkAdapter.html +++ b/classes/_automerge_automerge_repo_network_broadcastchannel.BroadcastChannelNetworkAdapter.html @@ -1,10 +1,10 @@ -BroadcastChannelNetworkAdapter | Automerge Repo - v1.1.12

An interface representing some way to connect to other peers

+BroadcastChannelNetworkAdapter | Automerge Repo - v1.2.0-alpha.0

An interface representing some way to connect to other peers

Remarks

The Repo uses one or more NetworkAdapters to connect to other peers. Because the network may take some time to be ready the Repo will wait until the adapter emits a ready event before it starts trying to use it

This utility class can be used as a base to build a custom network adapter. It is most useful as a simple way to add the necessary event emitter functionality

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

peerId?: PeerId
peerMetadata?: PeerMetadata
prefixed: string | boolean

Methods

  • Called by the Repo to start the connection process

    +

Constructors

Properties

peerId?: PeerId
peerMetadata?: PeerMetadata
prefixed: string | boolean

Methods

  • Return the number of listeners listening to a given event.

    @@ -36,4 +36,4 @@

    Argument

    peerMetadata - how this adapter should present itself to oth

    Parameters

    • Optional event: keyof NetworkAdapterEvents

    Returns this

  • Remove the listeners of a given event.

    Type Parameters

    Parameters

    Returns this

Generated using TypeDoc

\ No newline at end of file +
\ No newline at end of file diff --git a/classes/_automerge_automerge_repo_network_messagechannel.MessageChannelNetworkAdapter.html b/classes/_automerge_automerge_repo_network_messagechannel.MessageChannelNetworkAdapter.html index 3ba7d4438..c70dba7bf 100644 --- a/classes/_automerge_automerge_repo_network_messagechannel.MessageChannelNetworkAdapter.html +++ b/classes/_automerge_automerge_repo_network_messagechannel.MessageChannelNetworkAdapter.html @@ -1,10 +1,10 @@ -MessageChannelNetworkAdapter | Automerge Repo - v1.1.12

An interface representing some way to connect to other peers

+MessageChannelNetworkAdapter | Automerge Repo - v1.2.0-alpha.0

An interface representing some way to connect to other peers

Remarks

The Repo uses one or more NetworkAdapters to connect to other peers. Because the network may take some time to be ready the Repo will wait until the adapter emits a ready event before it starts trying to use it

This utility class can be used as a base to build a custom network adapter. It is most useful as a simple way to add the necessary event emitter functionality

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

channels: {} = {}

Type declaration

    peerId?: PeerId
    peerMetadata?: PeerMetadata
    prefixed: string | boolean

    Methods

    • Called by the Repo to start the connection process

      +

    Constructors

    Properties

    channels: {} = {}

    Type declaration

      peerId?: PeerId
      peerMetadata?: PeerMetadata
      prefixed: string | boolean

      Methods

      • Return the number of listeners listening to a given event.

        @@ -38,4 +38,4 @@

        Argument

        peerMetadata - how this adapter should present itself to oth

        Parameters

        • Optional event: keyof NetworkAdapterEvents

        Returns this

      • Remove the listeners of a given event.

        Type Parameters

        Parameters

        Returns this

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/classes/_automerge_automerge_repo_network_websocket.BrowserWebSocketClientAdapter.html b/classes/_automerge_automerge_repo_network_websocket.BrowserWebSocketClientAdapter.html index 63d398cc0..bd84984cb 100644 --- a/classes/_automerge_automerge_repo_network_websocket.BrowserWebSocketClientAdapter.html +++ b/classes/_automerge_automerge_repo_network_websocket.BrowserWebSocketClientAdapter.html @@ -1,4 +1,4 @@ -BrowserWebSocketClientAdapter | Automerge Repo - v1.1.12

      Hierarchy

      • WebSocketNetworkAdapter
        • BrowserWebSocketClientAdapter

      Constructors

      constructor +BrowserWebSocketClientAdapter | Automerge Repo - v1.2.0-alpha.0

      Hierarchy

      • WebSocketNetworkAdapter
        • BrowserWebSocketClientAdapter

      Constructors

      Properties

      peerId?: PeerId
      peerMetadata?: PeerMetadata
      remotePeerId?: PeerId
      retryInterval: number = 5000
      socket?: WebSocket
      url: string
      prefixed: string | boolean

      Methods

      • Type Parameters

        Parameters

        Returns this

      • Calls each of the listeners registered for a given event.

        +

      Constructors

      Properties

      peerId?: PeerId
      peerMetadata?: PeerMetadata
      remotePeerId?: PeerId
      retryInterval: number = 5000
      socket?: WebSocket
      url: string
      prefixed: string | boolean

      Methods

      • Type Parameters

        Parameters

        Returns this

      • Calls each of the listeners registered for a given event.

        Type Parameters

        Parameters

        Returns boolean

      • Return an array listing the events for which the emitter has registered listeners.

        -

        Returns (keyof NetworkAdapterEvents)[]

      • Return the number of listeners listening to a given event.

        +

        Returns (keyof NetworkAdapterEvents)[]

      • Return the number of listeners listening to a given event.

        Parameters

        Returns number

      • Return the listeners registered for a given event.

        Type Parameters

        Parameters

        • event: T

        Returns ((...args) => void)[]

      • Type Parameters

        Parameters

        Returns this

      • Add a listener for a given event.

        -

        Type Parameters

        Parameters

        Returns this

      • Add a one-time listener for a given event.

        -

        Type Parameters

        Parameters

        Returns this

      • Remove all listeners, or those of the specified event.

        +

        Type Parameters

        Parameters

        Returns this

      • Add a one-time listener for a given event.

        +

        Type Parameters

        Parameters

        Returns this

      • Remove all listeners, or those of the specified event.

        Parameters

        • Optional event: keyof NetworkAdapterEvents

        Returns this

      • Remove the listeners of a given event.

        -

        Type Parameters

        Parameters

        Returns this

      Generated using TypeDoc

      \ No newline at end of file +

      Type Parameters

      Parameters

      Returns this

      \ No newline at end of file diff --git a/classes/_automerge_automerge_repo_network_websocket.NodeWSServerAdapter.html b/classes/_automerge_automerge_repo_network_websocket.NodeWSServerAdapter.html index 853d85bb3..df8904d8a 100644 --- a/classes/_automerge_automerge_repo_network_websocket.NodeWSServerAdapter.html +++ b/classes/_automerge_automerge_repo_network_websocket.NodeWSServerAdapter.html @@ -1,10 +1,10 @@ -NodeWSServerAdapter | Automerge Repo - v1.1.12

      An interface representing some way to connect to other peers

      +NodeWSServerAdapter | Automerge Repo - v1.2.0-alpha.0

      An interface representing some way to connect to other peers

      Remarks

      The Repo uses one or more NetworkAdapters to connect to other peers. Because the network may take some time to be ready the Repo will wait until the adapter emits a ready event before it starts trying to use it

      This utility class can be used as a base to build a custom network adapter. It is most useful as a simple way to add the necessary event emitter functionality

      -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Constructors

      Properties

      peerId?: PeerId
      peerMetadata?: PeerMetadata
      sockets: {
          [peerId: PeerId]: WebSocket;
      } = {}

      Type declaration

      prefixed: string | boolean

      Methods

      • Called by the Repo to start the connection process

        +

      Constructors

      Properties

      peerId?: PeerId
      peerMetadata?: PeerMetadata
      sockets: {
          [peerId: PeerId]: WebSocket;
      } = {}

      Type declaration

      prefixed: string | boolean

      Methods

      • Return the number of listeners listening to a given event.

        Parameters

        Returns number

      • Return the listeners registered for a given event.

        Type Parameters

        Parameters

        • event: T

        Returns ((...args) => void)[]

      • Type Parameters

        Parameters

        Returns this

      • Add a listener for a given event.

        Type Parameters

        Parameters

        Returns this

      • Add a one-time listener for a given event.

        -

        Type Parameters

        Parameters

        Returns this

      • Remove all listeners, or those of the specified event.

        +

        Type Parameters

        Parameters

        Returns this

      • Remove all listeners, or those of the specified event.

        Parameters

        • Optional event: keyof NetworkAdapterEvents

        Returns this

      • Remove the listeners of a given event.

        Type Parameters

        Parameters

        Returns this

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/classes/_automerge_automerge_repo_storage_indexeddb.IndexedDBStorageAdapter.html b/classes/_automerge_automerge_repo_storage_indexeddb.IndexedDBStorageAdapter.html index b85618681..8b9625e1a 100644 --- a/classes/_automerge_automerge_repo_storage_indexeddb.IndexedDBStorageAdapter.html +++ b/classes/_automerge_automerge_repo_storage_indexeddb.IndexedDBStorageAdapter.html @@ -1,7 +1,7 @@ -IndexedDBStorageAdapter | Automerge Repo - v1.1.12

      A storage adapter represents some way of storing binary data for a Repo

      +IndexedDBStorageAdapter | Automerge Repo - v1.2.0-alpha.0

      A storage adapter represents some way of storing binary data for a Repo

      Remarks

      StorageAdapters provide a key/value storage interface. The keys are arrays of strings (StorageKey) and the values are binary blobs.

      -

      Implements

      Constructors

      Implements

      Constructors

      Methods

      load loadRange remove @@ -10,8 +10,8 @@

      Constructors

      Methods

      • Load the single value corresponding to key

        -

        Parameters

        • keyArray: string[]

        Returns Promise<undefined | Uint8Array>

      • Load all values with keys that start with keyPrefix.

        +

      Returns IndexedDBStorageAdapter

      Methods

      • Load the single value corresponding to key

        +

        Parameters

        • keyArray: string[]

        Returns Promise<undefined | Uint8Array>

      • Load all values with keys that start with keyPrefix.

        Parameters

        • keyPrefix: string[]

        Returns Promise<Chunk[]>

        Remarks

        The keyprefix will match any key that starts with the given array. For example:

        • [documentId, "incremental"] will match all incremental saves
        • @@ -19,7 +19,7 @@

        Be careful! [documentId] would also match something like [documentId, "syncState"]! We aren't using this yet but keep it in mind.)

        -
      • Save the value data to the key key

        -

        Parameters

        • keyArray: string[]
        • binary: Uint8Array

        Returns Promise<void>

      Generated using TypeDoc

      \ No newline at end of file +
      • Save the value data to the key key

        +

        Parameters

        • keyArray: string[]
        • binary: Uint8Array

        Returns Promise<void>

      \ No newline at end of file diff --git a/classes/_automerge_automerge_repo_storage_nodefs.NodeFSStorageAdapter.html b/classes/_automerge_automerge_repo_storage_nodefs.NodeFSStorageAdapter.html index c527059c0..c983dfd65 100644 --- a/classes/_automerge_automerge_repo_storage_nodefs.NodeFSStorageAdapter.html +++ b/classes/_automerge_automerge_repo_storage_nodefs.NodeFSStorageAdapter.html @@ -1,15 +1,15 @@ -NodeFSStorageAdapter | Automerge Repo - v1.1.12

      A storage adapter represents some way of storing binary data for a Repo

      +NodeFSStorageAdapter | Automerge Repo - v1.2.0-alpha.0

      A storage adapter represents some way of storing binary data for a Repo

      Remarks

      StorageAdapters provide a key/value storage interface. The keys are arrays of strings (StorageKey) and the values are binary blobs.

      -

      Implements

      Constructors

      Implements

      Constructors

      Methods

      • Load all values with keys that start with keyPrefix.

        +

      Returns NodeFSStorageAdapter

      Methods

      • Load all values with keys that start with keyPrefix.

        Parameters

        Returns Promise<Chunk[]>

        Remarks

        The keyprefix will match any key that starts with the given array. For example:

        • [documentId, "incremental"] will match all incremental saves
        • @@ -17,7 +17,7 @@

        Be careful! [documentId] would also match something like [documentId, "syncState"]! We aren't using this yet but keep it in mind.)

        -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.applyChanges.html b/functions/_automerge_automerge_repo.applyChanges.html index d3e39d701..61f2882ca 100644 --- a/functions/_automerge_automerge_repo.applyChanges.html +++ b/functions/_automerge_automerge_repo.applyChanges.html @@ -1,7 +1,7 @@ -applyChanges | Automerge Repo - v1.1.12
      • Apply changes received from another document

        +applyChanges | Automerge Repo - v1.2.0-alpha.0
        • Apply changes received from another document

          doc will be updated to reflect the changes. If there are changes which we do not have dependencies for yet those will be stored in the document and applied when the depended on changes arrive.

          You can use the ApplyOptions to pass a patchcallback which will be informed of any changes which occur as a result of applying the changes

          -

          Type Parameters

          • T

          Parameters

          • doc: Doc<T>
          • changes: Uint8Array[]
          • Optional opts: ApplyOptions<T>

          Returns [Doc<T>]

        Generated using TypeDoc

        \ No newline at end of file +

        Type Parameters

        • T

        Parameters

        • doc: Doc<T>
        • changes: Uint8Array[]
        • Optional opts: ApplyOptions<T>

        Returns [Doc<T>]

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.deleteAt.html b/functions/_automerge_automerge_repo.deleteAt.html index 9f4af17f3..a100134ba 100644 --- a/functions/_automerge_automerge_repo.deleteAt.html +++ b/functions/_automerge_automerge_repo.deleteAt.html @@ -1,2 +1,2 @@ -deleteAt | Automerge Repo - v1.1.12
      • Function for use in change which deletes values from a list at a given index

        -

        Type Parameters

        • T

        Parameters

        • list: T[]
        • index: number
        • Optional numDelete: number

        Returns void

      Generated using TypeDoc

      \ No newline at end of file +deleteAt | Automerge Repo - v1.2.0-alpha.0
      • Function for use in change which deletes values from a list at a given index

        +

        Type Parameters

        • T

        Parameters

        • list: T[]
        • index: number
        • Optional numDelete: number

        Returns void

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.generateAutomergeUrl.html b/functions/_automerge_automerge_repo.generateAutomergeUrl.html new file mode 100644 index 000000000..d8bab23ee --- /dev/null +++ b/functions/_automerge_automerge_repo.generateAutomergeUrl.html @@ -0,0 +1,2 @@ +generateAutomergeUrl | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.getAllChanges.html b/functions/_automerge_automerge_repo.getAllChanges.html index 32a058ae2..0a259f2f2 100644 --- a/functions/_automerge_automerge_repo.getAllChanges.html +++ b/functions/_automerge_automerge_repo.getAllChanges.html @@ -1,4 +1,4 @@ -getAllChanges | Automerge Repo - v1.1.12
      • Get all the changes in a document

        +getAllChanges | Automerge Repo - v1.2.0-alpha.0
        • Get all the changes in a document

          This is different to save because the output is an array of changes which can be individually applied via applyChanges`

          -

          Type Parameters

          • T

          Parameters

          Returns Change[]

        Generated using TypeDoc

        \ No newline at end of file +

        Type Parameters

        • T

        Parameters

        Returns Change[]

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.getChanges.html b/functions/_automerge_automerge_repo.getChanges.html index f30dc9df1..6821926cd 100644 --- a/functions/_automerge_automerge_repo.getChanges.html +++ b/functions/_automerge_automerge_repo.getChanges.html @@ -1,4 +1,4 @@ -getChanges | Automerge Repo - v1.1.12
      • Get the changes which are in newState but not in oldState. The returned +getChanges | Automerge Repo - v1.2.0-alpha.0

        • Get the changes which are in newState but not in oldState. The returned changes can be loaded in oldState via applyChanges.

          Note that this will crash if there are changes in oldState which are not in newState.

          -

          Type Parameters

          • T

          Parameters

          Returns Change[]

        Generated using TypeDoc

        \ No newline at end of file +

        Type Parameters

        • T

        Parameters

        Returns Change[]

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.getConflicts.html b/functions/_automerge_automerge_repo.getConflicts.html index 2ea7a2c42..544062717 100644 --- a/functions/_automerge_automerge_repo.getConflicts.html +++ b/functions/_automerge_automerge_repo.getConflicts.html @@ -1,4 +1,4 @@ -getConflicts | Automerge Repo - v1.1.12
      • Get the conflicts associated with a property

        +getConflicts | Automerge Repo - v1.2.0-alpha.0
        • Get the conflicts associated with a property

          The values of properties in a map in automerge can be conflicted if there are concurrent "put" operations to the same key. Automerge chooses one value arbitrarily (but deterministically, any two nodes who have the same set of @@ -8,4 +8,4 @@ getConflicts to get the conflicts for the key.

          Type Parameters

          • T

          Parameters

          Returns Conflicts | undefined

          Example

          import * as automerge from "@automerge/automerge"

          type Profile = {
          pets: Array<{name: string, type: string}>
          }

          let doc1 = automerge.init<Profile>("aaaa")
          doc1 = automerge.change(doc1, d => {
          d.pets = [{name: "Lassie", type: "dog"}]
          })
          let doc2 = automerge.init<Profile>("bbbb")
          doc2 = automerge.merge(doc2, automerge.clone(doc1))

          doc2 = automerge.change(doc2, d => {
          d.pets[0].name = "Beethoven"
          })

          doc1 = automerge.change(doc1, d => {
          d.pets[0].name = "Babe"
          })

          const doc3 = automerge.merge(doc1, doc2)

          // Note that here we pass `doc3.pets`, not `doc3`
          let conflicts = automerge.getConflicts(doc3.pets[0], "name")

          // The two conflicting values are the keys of the conflicts object
          assert.deepEqual(Object.values(conflicts), ["Babe", "Beethoven"])
          -

        Generated using TypeDoc

        \ No newline at end of file +
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.getCursor.html b/functions/_automerge_automerge_repo.getCursor.html index 6441972c0..ec7cdfac7 100644 --- a/functions/_automerge_automerge_repo.getCursor.html +++ b/functions/_automerge_automerge_repo.getCursor.html @@ -1,4 +1,4 @@ -getCursor | Automerge Repo - v1.1.12
      • Returns a cursor for the given position in a string.

        +getCursor | Automerge Repo - v1.2.0-alpha.0
        • Returns a cursor for the given position in a string.

          Type Parameters

          • T

            The type of the value contained in the document

          Parameters

          • doc: Doc<T>

            The document

          • path: Prop[]

            The path to the string

            @@ -10,4 +10,4 @@

            The string representation is shareable, and so you can use this both to edit the document yourself (using splice) or to share multiple collaborator's current cursor positions over the network.

            -

        Generated using TypeDoc

        \ No newline at end of file +
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.getCursorPosition.html b/functions/_automerge_automerge_repo.getCursorPosition.html index 4c0c05fdb..65169319b 100644 --- a/functions/_automerge_automerge_repo.getCursorPosition.html +++ b/functions/_automerge_automerge_repo.getCursorPosition.html @@ -1,5 +1,5 @@ -getCursorPosition | Automerge Repo - v1.1.12
      • Returns the current index of the cursor.

        +getCursorPosition | Automerge Repo - v1.2.0-alpha.0
        • Returns the current index of the cursor.

          Type Parameters

          • T

            The type of the value contained in the document

          Parameters

          • doc: Doc<T>

            The document

          • path: Prop[]

            The path to the string

            -
          • cursor: string

          Returns number

        Generated using TypeDoc

        \ No newline at end of file +
      • cursor: string

      Returns number

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.insertAt.html b/functions/_automerge_automerge_repo.insertAt.html index f17245326..6052caff1 100644 --- a/functions/_automerge_automerge_repo.insertAt.html +++ b/functions/_automerge_automerge_repo.insertAt.html @@ -1,2 +1,2 @@ -insertAt | Automerge Repo - v1.1.12
      • Function for use in change which inserts values into a list at a given index

        -

        Type Parameters

        • T

        Parameters

        • list: T[]
        • index: number
        • Rest ...values: T[]

        Returns void

      Generated using TypeDoc

      \ No newline at end of file +insertAt | Automerge Repo - v1.2.0-alpha.0
      • Function for use in change which inserts values into a list at a given index

        +

        Type Parameters

        • T

        Parameters

        • list: T[]
        • index: number
        • Rest ...values: T[]

        Returns void

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.interpretAsDocumentId.html b/functions/_automerge_automerge_repo.interpretAsDocumentId.html index 545bb5842..3433b848c 100644 --- a/functions/_automerge_automerge_repo.interpretAsDocumentId.html +++ b/functions/_automerge_automerge_repo.interpretAsDocumentId.html @@ -1,4 +1,4 @@ -interpretAsDocumentId | Automerge Repo - v1.1.12
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.isRepoMessage.html b/functions/_automerge_automerge_repo.isRepoMessage.html index b8c742f93..0f0597b0c 100644 --- a/functions/_automerge_automerge_repo.isRepoMessage.html +++ b/functions/_automerge_automerge_repo.isRepoMessage.html @@ -1 +1 @@ -isRepoMessage | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +isRepoMessage | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.isValidAutomergeUrl.html b/functions/_automerge_automerge_repo.isValidAutomergeUrl.html index 7a313191c..afa39a2c0 100644 --- a/functions/_automerge_automerge_repo.isValidAutomergeUrl.html +++ b/functions/_automerge_automerge_repo.isValidAutomergeUrl.html @@ -1,3 +1,3 @@ -isValidAutomergeUrl | Automerge Repo - v1.1.12
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.isValidDocumentId.html b/functions/_automerge_automerge_repo.isValidDocumentId.html new file mode 100644 index 000000000..1c487edc5 --- /dev/null +++ b/functions/_automerge_automerge_repo.isValidDocumentId.html @@ -0,0 +1 @@ +isValidDocumentId | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.mark-1.html b/functions/_automerge_automerge_repo.mark-1.html index bbe31984c..39ba49e3b 100644 --- a/functions/_automerge_automerge_repo.mark-1.html +++ b/functions/_automerge_automerge_repo.mark-1.html @@ -1 +1 @@ -mark | Automerge Repo - v1.1.12
      • Type Parameters

        • T

        Parameters

        Returns void

      Generated using TypeDoc

      \ No newline at end of file +mark | Automerge Repo - v1.2.0-alpha.0
      • Type Parameters

        • T

        Parameters

        Returns void

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.parseAutomergeUrl.html b/functions/_automerge_automerge_repo.parseAutomergeUrl.html index ca8f361ff..92062e6c3 100644 --- a/functions/_automerge_automerge_repo.parseAutomergeUrl.html +++ b/functions/_automerge_automerge_repo.parseAutomergeUrl.html @@ -1,2 +1,2 @@ -parseAutomergeUrl | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +parseAutomergeUrl | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.splice.html b/functions/_automerge_automerge_repo.splice.html index 669248a02..5afb9e91b 100644 --- a/functions/_automerge_automerge_repo.splice.html +++ b/functions/_automerge_automerge_repo.splice.html @@ -1,4 +1,4 @@ -splice | Automerge Repo - v1.1.12
      • Modify a string

        +splice | Automerge Repo - v1.2.0-alpha.0
        • Modify a string

          Type Parameters

          • T

            The type of the value contained in the document

          Parameters

          • doc: Doc<T>

            The document to modify

          • path: Prop[]

            The path to the string to modify

            @@ -10,4 +10,4 @@ deletes N characters after the cursor, a negative number deletes N characters before the cursor.

          • Optional newText: string

            The string to insert (if any).

            -

          Returns void

        Generated using TypeDoc

        \ No newline at end of file +

      Returns void

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.stringifyAutomergeUrl.html b/functions/_automerge_automerge_repo.stringifyAutomergeUrl.html index 7762024f6..dc2a7c9eb 100644 --- a/functions/_automerge_automerge_repo.stringifyAutomergeUrl.html +++ b/functions/_automerge_automerge_repo.stringifyAutomergeUrl.html @@ -1,3 +1,3 @@ -stringifyAutomergeUrl | Automerge Repo - v1.1.12
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.unmark.html b/functions/_automerge_automerge_repo.unmark.html index cbfc09225..e8595c2b5 100644 --- a/functions/_automerge_automerge_repo.unmark.html +++ b/functions/_automerge_automerge_repo.unmark.html @@ -1 +1 @@ -unmark | Automerge Repo - v1.1.12
      • Type Parameters

        • T

        Parameters

        Returns void

      Generated using TypeDoc

      \ No newline at end of file +unmark | Automerge Repo - v1.2.0-alpha.0
      • Type Parameters

        • T

        Parameters

        Returns void

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.updateText.html b/functions/_automerge_automerge_repo.updateText.html index c1648adac..1a8b5ab1c 100644 --- a/functions/_automerge_automerge_repo.updateText.html +++ b/functions/_automerge_automerge_repo.updateText.html @@ -1,4 +1,4 @@ -updateText | Automerge Repo - v1.1.12
      • Beta

        Update the value of a string

        +updateText | Automerge Repo - v1.2.0-alpha.0
        • Beta

          Update the value of a string

          Parameters

          • doc: Doc<unknown>

            The document to modify

          • path: Prop[]

            The path to the string to modify

          • newText: string

            The new text to update the value to

            @@ -8,4 +8,4 @@ sometimes it's not possible to capture user input and this is the best you can do.

            This is an experimental API and may change in the future.

            -

        Generated using TypeDoc

        \ No newline at end of file +
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo.view.html b/functions/_automerge_automerge_repo.view.html index fe3335572..4b4b5f04d 100644 --- a/functions/_automerge_automerge_repo.view.html +++ b/functions/_automerge_automerge_repo.view.html @@ -1,4 +1,4 @@ -view | Automerge Repo - v1.1.12
      • Make an immutable view of an automerge document as at heads

        +view | Automerge Repo - v1.2.0-alpha.0
        • Make an immutable view of an automerge document as at heads

          Type Parameters

          • T

            The type of the value contained in the document

          Parameters

          • doc: Doc<T>

            The document to create a view of

          • heads: Heads

            The hashes of the heads to create a view at

            @@ -7,4 +7,4 @@ consequently a very cheap copy.

            Note that this function will throw an error if any of the hashes in heads are not in the document.

            -

        Generated using TypeDoc

        \ No newline at end of file +
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo_react_hooks.useBootstrap.html b/functions/_automerge_automerge_repo_react_hooks.useBootstrap.html index 4daf704ce..e9aa49332 100644 --- a/functions/_automerge_automerge_repo_react_hooks.useBootstrap.html +++ b/functions/_automerge_automerge_repo_react_hooks.useBootstrap.html @@ -1,4 +1,4 @@ -useBootstrap | Automerge Repo - v1.1.12
      • Type Parameters

        • T

        Parameters

        Returns DocHandle<T>

        The document handle

        +useBootstrap | Automerge Repo - v1.2.0-alpha.0
        • Type Parameters

          • T

          Parameters

          Returns DocHandle<T>

          The document handle

          Deprecated

          Use the simpler example code in the README instead. This hook is used to set up a single document as the base of an app session. This is a common pattern for simple multiplayer apps with shareable URLs.

          @@ -8,4 +8,4 @@ Failing that, it will call onNoDocument, expecting a handle to be returned.

          The URL and localStorage will then be updated. Finally, it will return the Automerge document's URL.

          -

        Generated using TypeDoc

        \ No newline at end of file +
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo_react_hooks.useDocument.html b/functions/_automerge_automerge_repo_react_hooks.useDocument.html index c1216483b..6a29681c4 100644 --- a/functions/_automerge_automerge_repo_react_hooks.useDocument.html +++ b/functions/_automerge_automerge_repo_react_hooks.useDocument.html @@ -1,5 +1,5 @@ -useDocument | Automerge Repo - v1.1.12
      • A hook which returns a document identified by a URL and a function to change the document.

        +useDocument | Automerge Repo - v1.2.0-alpha.0
        • A hook which returns a document identified by a URL and a function to change the document.

          Type Parameters

          • T

          Parameters

          Returns [Doc<T> | undefined, ((changeFn, options?) => void)]

          a tuple of the document and a function to change the document. The document will be undefined if the document is not available in storage or from any peers

          Remarks

          This requires a RepoContext to be provided by a parent component.

          -

        Generated using TypeDoc

        \ No newline at end of file +
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo_react_hooks.useDocuments.html b/functions/_automerge_automerge_repo_react_hooks.useDocuments.html index f127d9944..9d0e8b598 100644 --- a/functions/_automerge_automerge_repo_react_hooks.useDocuments.html +++ b/functions/_automerge_automerge_repo_react_hooks.useDocuments.html @@ -1,5 +1,5 @@ -useDocuments | Automerge Repo - v1.1.12
      • Maintains a map of document states, keyed by DocumentId. Useful for collections of related +useDocuments | Automerge Repo - v1.2.0-alpha.0

        • Maintains a map of document states, keyed by DocumentId. Useful for collections of related documents. Accepts either URLs or document IDs in the input array, but all get converted to IDs for the output map.

          -

          Type Parameters

          • T

          Parameters

          • Optional idsOrUrls: DocId[]

          Returns Record<DocumentId, T>

        Generated using TypeDoc

        \ No newline at end of file +

        Type Parameters

        • T

        Parameters

        • Optional idsOrUrls: DocId[]

        Returns Record<DocumentId, T>

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo_react_hooks.useHandle.html b/functions/_automerge_automerge_repo_react_hooks.useHandle.html index 414123c15..5d9d5c36a 100644 --- a/functions/_automerge_automerge_repo_react_hooks.useHandle.html +++ b/functions/_automerge_automerge_repo_react_hooks.useHandle.html @@ -1,3 +1,3 @@ -useHandle | Automerge Repo - v1.1.12
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo_react_hooks.useLocalAwareness.html b/functions/_automerge_automerge_repo_react_hooks.useLocalAwareness.html index cadd0d321..1e55fe1ee 100644 --- a/functions/_automerge_automerge_repo_react_hooks.useLocalAwareness.html +++ b/functions/_automerge_automerge_repo_react_hooks.useLocalAwareness.html @@ -1,8 +1,8 @@ -useLocalAwareness | Automerge Repo - v1.1.12
      • This hook maintains state for the local client. +useLocalAwareness | Automerge Repo - v1.2.0-alpha.0

        • This hook maintains state for the local client. Like React.useState, it returns a [state, setState] array. It is intended to be used alongside useRemoteAwareness.

          When state is changed it is broadcast to all clients. It also broadcasts a heartbeat to let other clients know it is online.

          Note that userIds aren't secure (yet). Any client can lie about theirs.

          Parameters

          Returns any[]

          [state, setState]

          -

        Generated using TypeDoc

        \ No newline at end of file +
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo_react_hooks.useRemoteAwareness.html b/functions/_automerge_automerge_repo_react_hooks.useRemoteAwareness.html index d30e8cf96..9257cbe01 100644 --- a/functions/_automerge_automerge_repo_react_hooks.useRemoteAwareness.html +++ b/functions/_automerge_automerge_repo_react_hooks.useRemoteAwareness.html @@ -1,5 +1,5 @@ -useRemoteAwareness | Automerge Repo - v1.1.12
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo_react_hooks.useRepo.html b/functions/_automerge_automerge_repo_react_hooks.useRepo.html index e59451d18..cf16fd0d5 100644 --- a/functions/_automerge_automerge_repo_react_hooks.useRepo.html +++ b/functions/_automerge_automerge_repo_react_hooks.useRepo.html @@ -1,2 +1,2 @@ -useRepo | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +useRepo | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo_svelte_store.document.html b/functions/_automerge_automerge_repo_svelte_store.document.html index d049c490a..731a3f2c3 100644 --- a/functions/_automerge_automerge_repo_svelte_store.document.html +++ b/functions/_automerge_automerge_repo_svelte_store.document.html @@ -1,8 +1,8 @@ -document | Automerge Repo - v1.1.12
      • A Svelte store for an Automerge document.

        +document | Automerge Repo - v1.2.0-alpha.0
        • A Svelte store for an Automerge document.

          Type Parameters

          • T

          Parameters

          • documentId: AutomergeUrl

            The Automerge document ID

          • Optional repo: Repo

            (Optional) The Automerge repo to use. If not provided, the repo will be retrieved from context.

          Returns {
              change: ((fn) => void);
              subscribe: ((this, run, invalidate?) => Unsubscriber);
          }

          A Svelte store for the Automerge document.

          • change: ((fn) => void)
              • (fn): void
              • Parameters

                Returns void

          • subscribe: ((this, run, invalidate?) => Unsubscriber)
              • (this, run, invalidate?): Unsubscriber
              • Subscribe on value changes.

                Parameters

                • this: void
                • run: Subscriber<Doc<T>>

                  subscription callback

                • Optional invalidate: Invalidator<Doc<T>>

                  cleanup callback

                  -

                Returns Unsubscriber

        Generated using TypeDoc

        \ No newline at end of file +

      Returns Unsubscriber

      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo_svelte_store.getContextRepo.html b/functions/_automerge_automerge_repo_svelte_store.getContextRepo.html index 8e3f0a6bb..b4c7b51d2 100644 --- a/functions/_automerge_automerge_repo_svelte_store.getContextRepo.html +++ b/functions/_automerge_automerge_repo_svelte_store.getContextRepo.html @@ -1 +1 @@ -getContextRepo | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +getContextRepo | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/functions/_automerge_automerge_repo_svelte_store.setContextRepo.html b/functions/_automerge_automerge_repo_svelte_store.setContextRepo.html index 471c72604..34ff0f039 100644 --- a/functions/_automerge_automerge_repo_svelte_store.setContextRepo.html +++ b/functions/_automerge_automerge_repo_svelte_store.setContextRepo.html @@ -1 +1 @@ -setContextRepo | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +setContextRepo | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/hierarchy.html b/hierarchy.html index 84f5c5f8e..8a5a52715 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -1 +1 @@ -Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/index.html b/index.html index 21f1c0a1c..945810530 100644 --- a/index.html +++ b/index.html @@ -1,3 +1,3 @@ -Automerge Repo - v1.1.12

      Automerge Repo - v1.1.12

      Automerge Repo

      Automerge Repo is a wrapper for the Automerge CRDT library which provides facilities to support working with many documents at once, as well as pluggable networking and storage.

      +Automerge Repo - v1.2.0-alpha.0

      Automerge Repo - v1.2.0-alpha.0

      Automerge Repo

      Automerge Repo is a wrapper for the Automerge CRDT library which provides facilities to support working with many documents at once, as well as pluggable networking and storage.

      The core types of this library are in the automerge-repo package. The various automerge-repo-network-* packages contain network adapters for use with various transports whilst the automerge-repo-storage-* packages contain storage adapters. Check the documentation of automerge-repo for more info about network and storage adapters.

      -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.DeleteDocumentPayload.html b/interfaces/_automerge_automerge_repo.DeleteDocumentPayload.html index 703faee04..8228773d0 100644 --- a/interfaces/_automerge_automerge_repo.DeleteDocumentPayload.html +++ b/interfaces/_automerge_automerge_repo.DeleteDocumentPayload.html @@ -1,2 +1,2 @@ -DeleteDocumentPayload | Automerge Repo - v1.1.12
      interface DeleteDocumentPayload {
          documentId: DocumentId;
      }

      Properties

      Properties

      documentId: DocumentId

      Generated using TypeDoc

      \ No newline at end of file +DeleteDocumentPayload | Automerge Repo - v1.2.0-alpha.0
      interface DeleteDocumentPayload {
          documentId: DocumentId;
      }

      Properties

      Properties

      documentId: DocumentId
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.DocHandleChangePayload.html b/interfaces/_automerge_automerge_repo.DocHandleChangePayload.html index 133f307ab..232eb88cf 100644 --- a/interfaces/_automerge_automerge_repo.DocHandleChangePayload.html +++ b/interfaces/_automerge_automerge_repo.DocHandleChangePayload.html @@ -1,10 +1,10 @@ -DocHandleChangePayload | Automerge Repo - v1.1.12

      Emitted when this document has changed

      -
      interface DocHandleChangePayload<T> {
          doc: Doc<T>;
          handle: DocHandle<T>;
          patchInfo: PatchInfo<T>;
          patches: Patch[];
      }

      Type Parameters

      • T

      Properties

      doc +DocHandleChangePayload | Automerge Repo - v1.2.0-alpha.0

      Emitted when this document has changed

      +
      interface DocHandleChangePayload<T> {
          doc: Doc<T>;
          handle: DocHandle<T>;
          patchInfo: PatchInfo<T>;
          patches: Patch[];
      }

      Type Parameters

      • T

      Properties

      doc: Doc<T>

      The value of the document after the change

      -
      handle: DocHandle<T>

      The handle that changed

      -
      patchInfo: PatchInfo<T>

      Information about the change

      -
      patches: Patch[]

      The patches representing the change that occurred

      -

      Generated using TypeDoc

      \ No newline at end of file +
      handle: DocHandle<T>

      The handle that changed

      +
      patchInfo: PatchInfo<T>

      Information about the change

      +
      patches: Patch[]

      The patches representing the change that occurred

      +
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.DocHandleDeletePayload.html b/interfaces/_automerge_automerge_repo.DocHandleDeletePayload.html index e52c7cc98..b8b37ec7d 100644 --- a/interfaces/_automerge_automerge_repo.DocHandleDeletePayload.html +++ b/interfaces/_automerge_automerge_repo.DocHandleDeletePayload.html @@ -1,3 +1,3 @@ -DocHandleDeletePayload | Automerge Repo - v1.1.12

      Emitted when this document is deleted

      -
      interface DocHandleDeletePayload<T> {
          handle: DocHandle<T>;
      }

      Type Parameters

      • T

      Properties

      Properties

      handle: DocHandle<T>

      Generated using TypeDoc

      \ No newline at end of file +DocHandleDeletePayload | Automerge Repo - v1.2.0-alpha.0

      Emitted when this document is deleted

      +
      interface DocHandleDeletePayload<T> {
          handle: DocHandle<T>;
      }

      Type Parameters

      • T

      Properties

      Properties

      handle: DocHandle<T>
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.DocHandleEncodedChangePayload.html b/interfaces/_automerge_automerge_repo.DocHandleEncodedChangePayload.html index 5c57e58de..54f8f290f 100644 --- a/interfaces/_automerge_automerge_repo.DocHandleEncodedChangePayload.html +++ b/interfaces/_automerge_automerge_repo.DocHandleEncodedChangePayload.html @@ -1,4 +1,4 @@ -DocHandleEncodedChangePayload | Automerge Repo - v1.1.12

      Emitted when this document's heads have changed

      -
      interface DocHandleEncodedChangePayload<T> {
          doc: Doc<T>;
          handle: DocHandle<T>;
      }

      Type Parameters

      • T

      Properties

      doc +DocHandleEncodedChangePayload | Automerge Repo - v1.2.0-alpha.0

      Emitted when this document's heads have changed

      +
      interface DocHandleEncodedChangePayload<T> {
          doc: Doc<T>;
          handle: DocHandle<T>;
      }

      Type Parameters

      • T

      Properties

      Properties

      doc: Doc<T>
      handle: DocHandle<T>

      Generated using TypeDoc

      \ No newline at end of file +

      Properties

      doc: Doc<T>
      handle: DocHandle<T>
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.DocHandleEphemeralMessagePayload.html b/interfaces/_automerge_automerge_repo.DocHandleEphemeralMessagePayload.html index 32f38464b..80572d50f 100644 --- a/interfaces/_automerge_automerge_repo.DocHandleEphemeralMessagePayload.html +++ b/interfaces/_automerge_automerge_repo.DocHandleEphemeralMessagePayload.html @@ -1,5 +1,5 @@ -DocHandleEphemeralMessagePayload | Automerge Repo - v1.1.12

      Emitted when an ephemeral message is received for the document

      -
      interface DocHandleEphemeralMessagePayload<T> {
          handle: DocHandle<T>;
          message: unknown;
          senderId: PeerId;
      }

      Type Parameters

      • T

      Properties

      handle +DocHandleEphemeralMessagePayload | Automerge Repo - v1.2.0-alpha.0

      Emitted when an ephemeral message is received for the document

      +
      interface DocHandleEphemeralMessagePayload<T> {
          handle: DocHandle<T>;
          message: unknown;
          senderId: PeerId;
      }

      Type Parameters

      • T

      Properties

      Properties

      handle: DocHandle<T>
      message: unknown
      senderId: PeerId

      Generated using TypeDoc

      \ No newline at end of file +

      Properties

      handle: DocHandle<T>
      message: unknown
      senderId: PeerId
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.DocHandleEvents.html b/interfaces/_automerge_automerge_repo.DocHandleEvents.html index 467ed7b20..bed47f4d4 100644 --- a/interfaces/_automerge_automerge_repo.DocHandleEvents.html +++ b/interfaces/_automerge_automerge_repo.DocHandleEvents.html @@ -1,9 +1,9 @@ -DocHandleEvents | Automerge Repo - v1.1.12

      These are the events that this DocHandle emits to external listeners

      -
      interface DocHandleEvents<T> {
          change: ((payload) => void);
          delete: ((payload) => void);
          ephemeral-message: ((payload) => void);
          ephemeral-message-outbound: ((payload) => void);
          heads-changed: ((payload) => void);
          remote-heads: ((payload) => void);
          unavailable: ((payload) => void);
      }

      Type Parameters

      • T

      Properties

      change +DocHandleEvents | Automerge Repo - v1.2.0-alpha.0

      These are the events that this DocHandle emits to external listeners

      +
      interface DocHandleEvents<T> {
          change: ((payload) => void);
          delete: ((payload) => void);
          ephemeral-message: ((payload) => void);
          ephemeral-message-outbound: ((payload) => void);
          heads-changed: ((payload) => void);
          remote-heads: ((payload) => void);
          unavailable: ((payload) => void);
      }

      Type Parameters

      • T

      Properties

      change: ((payload) => void)

      Type declaration

      delete: ((payload) => void)

      Type declaration

      ephemeral-message: ((payload) => void)

      Type declaration

      ephemeral-message-outbound: ((payload) => void)

      Type declaration

      heads-changed: ((payload) => void)

      Type declaration

      remote-heads: ((payload) => void)

      Type declaration

      unavailable: ((payload) => void)

      Type declaration

        • (payload): void
        • Parameters

          • payload: DocHandleUnavailablePayload<T>

          Returns void

      Generated using TypeDoc

      \ No newline at end of file +

      Properties

      change: ((payload) => void)

      Type declaration

      delete: ((payload) => void)

      Type declaration

      ephemeral-message: ((payload) => void)

      Type declaration

      ephemeral-message-outbound: ((payload) => void)

      Type declaration

      heads-changed: ((payload) => void)

      Type declaration

      remote-heads: ((payload) => void)

      Type declaration

      unavailable: ((payload) => void)

      Type declaration

        • (payload): void
        • Parameters

          • payload: DocHandleUnavailablePayload<T>

          Returns void

      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.DocHandleOutboundEphemeralMessagePayload.html b/interfaces/_automerge_automerge_repo.DocHandleOutboundEphemeralMessagePayload.html index 276224782..2d3ceb5af 100644 --- a/interfaces/_automerge_automerge_repo.DocHandleOutboundEphemeralMessagePayload.html +++ b/interfaces/_automerge_automerge_repo.DocHandleOutboundEphemeralMessagePayload.html @@ -1,4 +1,4 @@ -DocHandleOutboundEphemeralMessagePayload | Automerge Repo - v1.1.12

      Interface DocHandleOutboundEphemeralMessagePayload<T>

      Emitted when an ephemeral message is sent for this document

      -
      interface DocHandleOutboundEphemeralMessagePayload<T> {
          data: Uint8Array;
          handle: DocHandle<T>;
      }

      Type Parameters

      • T

      Properties

      data +DocHandleOutboundEphemeralMessagePayload | Automerge Repo - v1.2.0-alpha.0

      Interface DocHandleOutboundEphemeralMessagePayload<T>

      Emitted when an ephemeral message is sent for this document

      +
      interface DocHandleOutboundEphemeralMessagePayload<T> {
          data: Uint8Array;
          handle: DocHandle<T>;
      }

      Type Parameters

      • T

      Properties

      Properties

      data: Uint8Array
      handle: DocHandle<T>

      Generated using TypeDoc

      \ No newline at end of file +

      Properties

      data: Uint8Array
      handle: DocHandle<T>
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.DocHandleRemoteHeadsPayload.html b/interfaces/_automerge_automerge_repo.DocHandleRemoteHeadsPayload.html index b105c9667..2a4fbd267 100644 --- a/interfaces/_automerge_automerge_repo.DocHandleRemoteHeadsPayload.html +++ b/interfaces/_automerge_automerge_repo.DocHandleRemoteHeadsPayload.html @@ -1,4 +1,4 @@ -DocHandleRemoteHeadsPayload | Automerge Repo - v1.1.12

      Emitted when we have new remote heads for this document

      -
      interface DocHandleRemoteHeadsPayload {
          heads: Heads;
          storageId: StorageId;
      }

      Properties

      heads +DocHandleRemoteHeadsPayload | Automerge Repo - v1.2.0-alpha.0

      Emitted when we have new remote heads for this document

      +
      interface DocHandleRemoteHeadsPayload {
          heads: Heads;
          storageId: StorageId;
      }

      Properties

      Properties

      heads: Heads
      storageId: StorageId

      Generated using TypeDoc

      \ No newline at end of file +

      Properties

      heads: Heads
      storageId: StorageId
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.DocumentPayload.html b/interfaces/_automerge_automerge_repo.DocumentPayload.html index a46be0d42..d42538110 100644 --- a/interfaces/_automerge_automerge_repo.DocumentPayload.html +++ b/interfaces/_automerge_automerge_repo.DocumentPayload.html @@ -1,3 +1,3 @@ -DocumentPayload | Automerge Repo - v1.1.12
      interface DocumentPayload {
          handle: DocHandle<any>;
          isNew: boolean;
      }

      Properties

      handle +DocumentPayload | Automerge Repo - v1.2.0-alpha.0
      interface DocumentPayload {
          handle: DocHandle<any>;
          isNew: boolean;
      }

      Properties

      Properties

      handle: DocHandle<any>
      isNew: boolean

      Generated using TypeDoc

      \ No newline at end of file +

      Properties

      handle: DocHandle<any>
      isNew: boolean
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.MarkSet.html b/interfaces/_automerge_automerge_repo.MarkSet.html index 4fc7593c2..fc3a722de 100644 --- a/interfaces/_automerge_automerge_repo.MarkSet.html +++ b/interfaces/_automerge_automerge_repo.MarkSet.html @@ -1 +1 @@ -MarkSet | Automerge Repo - v1.1.12
      interface MarkSet {
          [name: string]: Value;
      }

      Indexable

      [name: string]: Value

      Generated using TypeDoc

      \ No newline at end of file +MarkSet | Automerge Repo - v1.2.0-alpha.0
      interface MarkSet {
          [name: string]: ScalarValue;
      }

      Indexable

      [name: string]: ScalarValue
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.NetworkAdapterEvents.html b/interfaces/_automerge_automerge_repo.NetworkAdapterEvents.html index 8647e77ef..89f854431 100644 --- a/interfaces/_automerge_automerge_repo.NetworkAdapterEvents.html +++ b/interfaces/_automerge_automerge_repo.NetworkAdapterEvents.html @@ -1,11 +1,11 @@ -NetworkAdapterEvents | Automerge Repo - v1.1.12
      interface NetworkAdapterEvents {
          close: (() => void);
          message: ((payload) => void);
          peer-candidate: ((payload) => void);
          peer-disconnected: ((payload) => void);
          ready: ((payload) => void);
      }

      Properties

      close +NetworkAdapterEvents | Automerge Repo - v1.2.0-alpha.0
      interface NetworkAdapterEvents {
          close: (() => void);
          message: ((payload) => void);
          peer-candidate: ((payload) => void);
          peer-disconnected: ((payload) => void);
          ready: ((payload) => void);
      }

      Properties

      close: (() => void)

      Emitted when the network is closed

      -

      Type declaration

        • (): void
        • Returns void

      message: ((payload) => void)

      Emitted when the network adapter receives a message from a peer

      -

      Type declaration

        • (payload): void
        • Parameters

          Returns void

      peer-candidate: ((payload) => void)

      Emitted when the network adapter learns about a new peer

      -

      Type declaration

      peer-disconnected: ((payload) => void)

      Emitted when the network adapter learns that a peer has disconnected

      -

      Type declaration

      ready: ((payload) => void)

      Emitted when the network is ready to be used

      -

      Type declaration

        • (payload): void
        • Parameters

          Returns void

      Generated using TypeDoc

      \ No newline at end of file +

      Type declaration

        • (): void
        • Returns void

      message: ((payload) => void)

      Emitted when the network adapter receives a message from a peer

      +

      Type declaration

        • (payload): void
        • Parameters

          Returns void

      peer-candidate: ((payload) => void)

      Emitted when the network adapter learns about a new peer

      +

      Type declaration

      peer-disconnected: ((payload) => void)

      Emitted when the network adapter learns that a peer has disconnected

      +

      Type declaration

      ready: ((payload) => void)

      Emitted when the network is ready to be used

      +

      Type declaration

        • (payload): void
        • Parameters

          Returns void

      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.NetworkAdapterInterface.html b/interfaces/_automerge_automerge_repo.NetworkAdapterInterface.html index 654b8f08c..ea7f3a35d 100644 --- a/interfaces/_automerge_automerge_repo.NetworkAdapterInterface.html +++ b/interfaces/_automerge_automerge_repo.NetworkAdapterInterface.html @@ -1,11 +1,11 @@ -NetworkAdapterInterface | Automerge Repo - v1.1.12

      An interface representing some way to connect to other peers

      +NetworkAdapterInterface | Automerge Repo - v1.2.0-alpha.0

      An interface representing some way to connect to other peers

      Remarks

      The Repo uses one or more NetworkAdapters to connect to other peers. Because the network may take some time to be ready the Repo will wait until the adapter emits a ready event before it starts trying to use it

      The NetworkAdapter is an abstract class that can be used as a base to build a custom network adapter. It is most useful as a simple way to add the necessary event emitter functionality

      -
      interface NetworkAdapterInterface {
          peerId?: PeerId;
          peerMetadata?: PeerMetadata;
          addListener<T>(event, fn, context?): this;
          connect(peerId, peerMetadata?): void;
          disconnect(): void;
          emit<T>(event, ...args): boolean;
          eventNames(): (keyof NetworkAdapterEvents)[];
          listenerCount(event): number;
          listeners<T>(event): ((...args) => void)[];
          off<T>(event, fn?, context?, once?): this;
          on<T>(event, fn, context?): this;
          once<T>(event, fn, context?): this;
          removeAllListeners(event?): this;
          removeListener<T>(event, fn?, context?, once?): this;
          send(message): void;
      }

      Hierarchy

      Implemented by

      Properties

      interface NetworkAdapterInterface {
          peerId?: PeerId;
          peerMetadata?: PeerMetadata;
          addListener<T>(event, fn, context?): this;
          connect(peerId, peerMetadata?): void;
          disconnect(): void;
          emit<T>(event, ...args): boolean;
          eventNames(): (keyof NetworkAdapterEvents)[];
          listenerCount(event): number;
          listeners<T>(event): ((...args) => void)[];
          off<T>(event, fn?, context?, once?): this;
          on<T>(event, fn, context?): this;
          once<T>(event, fn, context?): this;
          removeAllListeners(event?): this;
          removeListener<T>(event, fn?, context?, once?): this;
          send(message): void;
      }

      Hierarchy

      Implemented by

      Properties

      peerId?: PeerId
      peerMetadata?: PeerMetadata

      Methods

      • Type Parameters

        Parameters

        Returns this

      • Called by the Repo to start the connection process

        +

      Properties

      peerId?: PeerId
      peerMetadata?: PeerMetadata

      Methods

      • Type Parameters

        Parameters

        Returns this

      • Calls each of the listeners registered for a given event.

        Type Parameters

        Parameters

        Returns boolean

      • Return an array listing the events for which the emitter has registered listeners.

        Returns (keyof NetworkAdapterEvents)[]

      • Return the number of listeners listening to a given event.

        @@ -35,4 +35,4 @@

        Argument

        peerMetadata - how this adapter should present itself to oth

        Parameters

        • Optional event: keyof NetworkAdapterEvents

        Returns this

      • Remove the listeners of a given event.

        Type Parameters

        Parameters

        Returns this

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.OpenPayload.html b/interfaces/_automerge_automerge_repo.OpenPayload.html index 732d3abe9..78bb49f30 100644 --- a/interfaces/_automerge_automerge_repo.OpenPayload.html +++ b/interfaces/_automerge_automerge_repo.OpenPayload.html @@ -1,2 +1,2 @@ -OpenPayload | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +OpenPayload | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.PeerCandidatePayload.html b/interfaces/_automerge_automerge_repo.PeerCandidatePayload.html index 45c13b769..2e4e18e08 100644 --- a/interfaces/_automerge_automerge_repo.PeerCandidatePayload.html +++ b/interfaces/_automerge_automerge_repo.PeerCandidatePayload.html @@ -1,3 +1,3 @@ -PeerCandidatePayload | Automerge Repo - v1.1.12
      interface PeerCandidatePayload {
          peerId: PeerId;
          peerMetadata: PeerMetadata;
      }

      Properties

      peerId +PeerCandidatePayload | Automerge Repo - v1.2.0-alpha.0

      Generated using TypeDoc

      \ No newline at end of file +

      Properties

      peerId: PeerId
      peerMetadata: PeerMetadata
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.PeerDisconnectedPayload.html b/interfaces/_automerge_automerge_repo.PeerDisconnectedPayload.html index b7e5e6fec..315b82c76 100644 --- a/interfaces/_automerge_automerge_repo.PeerDisconnectedPayload.html +++ b/interfaces/_automerge_automerge_repo.PeerDisconnectedPayload.html @@ -1,2 +1,2 @@ -PeerDisconnectedPayload | Automerge Repo - v1.1.12
      interface PeerDisconnectedPayload {
          peerId: PeerId;
      }

      Properties

      Properties

      peerId: PeerId

      Generated using TypeDoc

      \ No newline at end of file +PeerDisconnectedPayload | Automerge Repo - v1.2.0-alpha.0
      interface PeerDisconnectedPayload {
          peerId: PeerId;
      }

      Properties

      Properties

      peerId: PeerId
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.PeerMetadata.html b/interfaces/_automerge_automerge_repo.PeerMetadata.html index 151c4c48d..74af3e23e 100644 --- a/interfaces/_automerge_automerge_repo.PeerMetadata.html +++ b/interfaces/_automerge_automerge_repo.PeerMetadata.html @@ -1,6 +1,6 @@ -PeerMetadata | Automerge Repo - v1.1.12

      Describes a peer intent to the system +PeerMetadata | Automerge Repo - v1.2.0-alpha.0

      Describes a peer intent to the system storageId: the key for syncState to decide what the other peer already has isEphemeral: to decide if we bother recording this peer's sync state

      -
      interface PeerMetadata {
          isEphemeral?: boolean;
          storageId?: StorageId;
      }

      Properties

      interface PeerMetadata {
          isEphemeral?: boolean;
          storageId?: StorageId;
      }

      Properties

      isEphemeral?: boolean
      storageId?: StorageId

      Generated using TypeDoc

      \ No newline at end of file +

      Properties

      isEphemeral?: boolean
      storageId?: StorageId
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.RepoConfig.html b/interfaces/_automerge_automerge_repo.RepoConfig.html index c308b74be..83b934b78 100644 --- a/interfaces/_automerge_automerge_repo.RepoConfig.html +++ b/interfaces/_automerge_automerge_repo.RepoConfig.html @@ -1,15 +1,15 @@ -RepoConfig | Automerge Repo - v1.1.12
      interface RepoConfig {
          enableRemoteHeadsGossiping?: boolean;
          isEphemeral?: boolean;
          network?: NetworkAdapterInterface[];
          peerId?: PeerId;
          sharePolicy?: SharePolicy;
          storage?: StorageAdapterInterface;
      }

      Properties

      enableRemoteHeadsGossiping? +RepoConfig | Automerge Repo - v1.2.0-alpha.0
      interface RepoConfig {
          enableRemoteHeadsGossiping?: boolean;
          isEphemeral?: boolean;
          network?: NetworkAdapterInterface[];
          peerId?: PeerId;
          sharePolicy?: SharePolicy;
          storage?: StorageAdapterInterface;
      }

      Properties

      enableRemoteHeadsGossiping?: boolean

      Whether to enable the experimental remote heads gossiping feature

      -
      isEphemeral?: boolean

      Indicates whether other peers should persist the sync state of this peer. +

      isEphemeral?: boolean

      Indicates whether other peers should persist the sync state of this peer. Sync state is only persisted for non-ephemeral peers

      -

      A list of network adapters (more can be added at runtime).

      -
      peerId?: PeerId

      Our unique identifier

      -
      sharePolicy?: SharePolicy

      Normal peers typically share generously with everyone (meaning we sync all our documents with +

      A list of network adapters (more can be added at runtime).

      +
      peerId?: PeerId

      Our unique identifier

      +
      sharePolicy?: SharePolicy

      Normal peers typically share generously with everyone (meaning we sync all our documents with all peers). A server only syncs documents that a peer explicitly requests by ID.

      -

      A storage adapter can be provided, or not

      -

      Generated using TypeDoc

      \ No newline at end of file +

      A storage adapter can be provided, or not

      +
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.RepoEvents.html b/interfaces/_automerge_automerge_repo.RepoEvents.html index c49670042..20b96ef75 100644 --- a/interfaces/_automerge_automerge_repo.RepoEvents.html +++ b/interfaces/_automerge_automerge_repo.RepoEvents.html @@ -1,7 +1,7 @@ -RepoEvents | Automerge Repo - v1.1.12
      interface RepoEvents {
          delete-document: ((arg) => void);
          document: ((arg) => void);
          unavailable-document: ((arg) => void);
      }

      Properties

      delete-document +RepoEvents | Automerge Repo - v1.2.0-alpha.0
      interface RepoEvents {
          delete-document: ((arg) => void);
          document: ((arg) => void);
          unavailable-document: ((arg) => void);
      }

      Properties

      delete-document: ((arg) => void)

      A document was deleted

      -

      Type declaration

      document: ((arg) => void)

      A new document was created or discovered

      -

      Type declaration

      unavailable-document: ((arg) => void)

      A document was marked as unavailable (we don't have it and none of our peers have it)

      -

      Type declaration

      Generated using TypeDoc

      \ No newline at end of file +

      Type declaration

      document: ((arg) => void)

      A new document was created or discovered

      +

      Type declaration

      unavailable-document: ((arg) => void)

      A document was marked as unavailable (we don't have it and none of our peers have it)

      +

      Type declaration

      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo.StorageAdapterInterface.html b/interfaces/_automerge_automerge_repo.StorageAdapterInterface.html index e51e3ec4d..68cf27b4a 100644 --- a/interfaces/_automerge_automerge_repo.StorageAdapterInterface.html +++ b/interfaces/_automerge_automerge_repo.StorageAdapterInterface.html @@ -1,13 +1,13 @@ -StorageAdapterInterface | Automerge Repo - v1.1.12

      A storage adapter represents some way of storing binary data for a Repo

      +StorageAdapterInterface | Automerge Repo - v1.2.0-alpha.0

      A storage adapter represents some way of storing binary data for a Repo

      Remarks

      StorageAdapters provide a key/value storage interface. The keys are arrays of strings (StorageKey) and the values are binary blobs.

      -
      interface StorageAdapterInterface {
          load(key): Promise<undefined | Uint8Array>;
          loadRange(keyPrefix): Promise<Chunk[]>;
          remove(key): Promise<void>;
          removeRange(keyPrefix): Promise<void>;
          save(key, data): Promise<void>;
      }

      Implemented by

      Methods

      interface StorageAdapterInterface {
          load(key): Promise<undefined | Uint8Array>;
          loadRange(keyPrefix): Promise<Chunk[]>;
          remove(key): Promise<void>;
          removeRange(keyPrefix): Promise<void>;
          save(key, data): Promise<void>;
      }

      Implemented by

      Methods

      • Load all values with keys that start with keyPrefix.

        Parameters

        Returns Promise<Chunk[]>

        Remarks

        The keyprefix will match any key that starts with the given array. For example:

        • [documentId, "incremental"] will match all incremental saves
        • @@ -15,7 +15,7 @@

        Be careful! [documentId] would also match something like [documentId, "syncState"]! We aren't using this yet but keep it in mind.)

        -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo_network_messagechannel.MessageChannelNetworkAdapterConfig.html b/interfaces/_automerge_automerge_repo_network_messagechannel.MessageChannelNetworkAdapterConfig.html index c6d3228a9..f9418be40 100644 --- a/interfaces/_automerge_automerge_repo_network_messagechannel.MessageChannelNetworkAdapterConfig.html +++ b/interfaces/_automerge_automerge_repo_network_messagechannel.MessageChannelNetworkAdapterConfig.html @@ -1,8 +1,8 @@ -MessageChannelNetworkAdapterConfig | Automerge Repo - v1.1.12
      interface MessageChannelNetworkAdapterConfig {
          useWeakRef?: boolean;
      }

      Properties

      useWeakRef? +MessageChannelNetworkAdapterConfig | Automerge Repo - v1.2.0-alpha.0
      interface MessageChannelNetworkAdapterConfig {
          useWeakRef?: boolean;
      }

      Properties

      Properties

      useWeakRef?: boolean

      This is an optional parameter to use a weak ref to reference the message port that is passed to the adapter. This option is useful when using a message channel with a shared worker. If you use a network adapter with useWeakRef = true in the shared worker and in the main thread network adapters with strong refs the network adapter will be automatically garbage collected if you close a page. The garbage collection doesn't happen immediately; there might be some time in between when the page is closed and when the port is garbage collected

      -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo_react_hooks.UseBootstrapOptions.html b/interfaces/_automerge_automerge_repo_react_hooks.UseBootstrapOptions.html index c2c67b154..196b983f5 100644 --- a/interfaces/_automerge_automerge_repo_react_hooks.UseBootstrapOptions.html +++ b/interfaces/_automerge_automerge_repo_react_hooks.UseBootstrapOptions.html @@ -1,7 +1,7 @@ -UseBootstrapOptions | Automerge Repo - v1.1.12
      interface UseBootstrapOptions<T> {
          key?: string;
          onNoDocument?: ((repo) => DocHandle<T>);
          onInvalidAutomergeUrl?(repo, error): DocHandle<T>;
      }

      Type Parameters

      • T

      Properties

      key? +UseBootstrapOptions | Automerge Repo - v1.2.0-alpha.0
      interface UseBootstrapOptions<T> {
          key?: string;
          onNoDocument?: ((repo) => DocHandle<T>);
          onInvalidAutomergeUrl?(repo, error): DocHandle<T>;
      }

      Type Parameters

      • T

      Properties

      key?: string

      Key to use for the URL hash and localStorage

      -
      onNoDocument?: ((repo) => DocHandle<T>)

      Function returning a document handle called if lookup fails. Defaults to repo.create()

      -

      Type declaration

      Methods

      Generated using TypeDoc

      \ No newline at end of file +
      onNoDocument?: ((repo) => DocHandle<T>)

      Function returning a document handle called if lookup fails. Defaults to repo.create()

      +

      Type declaration

      Methods

      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo_react_hooks.UseLocalAwarenessProps.html b/interfaces/_automerge_automerge_repo_react_hooks.UseLocalAwarenessProps.html index d954592f1..904f5552a 100644 --- a/interfaces/_automerge_automerge_repo_react_hooks.UseLocalAwarenessProps.html +++ b/interfaces/_automerge_automerge_repo_react_hooks.UseLocalAwarenessProps.html @@ -1,9 +1,9 @@ -UseLocalAwarenessProps | Automerge Repo - v1.1.12
      interface UseLocalAwarenessProps {
          handle: DocHandle<unknown>;
          heartbeatTime?: number;
          initialState: any;
          userId: string;
      }

      Properties

      handle +UseLocalAwarenessProps | Automerge Repo - v1.2.0-alpha.0
      interface UseLocalAwarenessProps {
          handle: DocHandle<unknown>;
          heartbeatTime?: number;
          initialState: any;
          userId: string;
      }

      Properties

      handle: DocHandle<unknown>

      The document handle to send ephemeral state on

      -
      heartbeatTime?: number

      How frequently to send heartbeats

      -
      initialState: any

      The initial state object/primitive we should advertise

      -
      userId: string

      Our user ID *

      -

      Generated using TypeDoc

      \ No newline at end of file +
      heartbeatTime?: number

      How frequently to send heartbeats

      +
      initialState: any

      The initial state object/primitive we should advertise

      +
      userId: string

      Our user ID *

      +
      \ No newline at end of file diff --git a/interfaces/_automerge_automerge_repo_react_hooks.UseRemoteAwarenessProps.html b/interfaces/_automerge_automerge_repo_react_hooks.UseRemoteAwarenessProps.html index 9c241e46a..5ad1e4705 100644 --- a/interfaces/_automerge_automerge_repo_react_hooks.UseRemoteAwarenessProps.html +++ b/interfaces/_automerge_automerge_repo_react_hooks.UseRemoteAwarenessProps.html @@ -1,9 +1,9 @@ -UseRemoteAwarenessProps | Automerge Repo - v1.1.12
      interface UseRemoteAwarenessProps<T> {
          getTime?: (() => number);
          handle: DocHandle<T>;
          localUserId?: string;
          offlineTimeout?: number;
      }

      Type Parameters

      • T

      Properties

      getTime? +UseRemoteAwarenessProps | Automerge Repo - v1.2.0-alpha.0
      interface UseRemoteAwarenessProps<T> {
          getTime?: (() => number);
          handle: DocHandle<T>;
          localUserId?: string;
          offlineTimeout?: number;
      }

      Type Parameters

      • T

      Properties

      getTime?: (() => number)

      Function to provide current epoch time

      -

      Type declaration

        • (): number
        • Returns number

      handle: DocHandle<T>

      The handle to receive ephemeral state on

      -
      localUserId?: string

      Our user ID

      -
      offlineTimeout?: number

      How long to wait (in ms) before marking a peer as offline

      -

      Generated using TypeDoc

      \ No newline at end of file +

      Type declaration

        • (): number
        • Returns number

      handle: DocHandle<T>

      The handle to receive ephemeral state on

      +
      localUserId?: string

      Our user ID

      +
      offlineTimeout?: number

      How long to wait (in ms) before marking a peer as offline

      +
      \ No newline at end of file diff --git a/modules/_automerge_automerge_repo.html b/modules/_automerge_automerge_repo.html index 932b8f6e6..cf6d4453a 100644 --- a/modules/_automerge_automerge_repo.html +++ b/modules/_automerge_automerge_repo.html @@ -1,4 +1,4 @@ -@automerge/automerge-repo - v1.1.11 | Automerge Repo - v1.1.12

      Module @automerge/automerge-repo - v1.1.11

      The automerge CRDT +@automerge/automerge-repo - v1.1.12 | Automerge Repo - v1.2.0-alpha.0

      Module @automerge/automerge-repo - v1.1.12

      The automerge CRDT provides a core CRDT data structure and an implementation of a storage format and sync protocol but doesn't provide the plumbing to use these tools in a JS application. automerge-repo provides the plumbing.

      @@ -70,6 +70,7 @@

      Variables

      Functions

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/modules/_automerge_automerge_repo_network_broadcastchannel.html b/modules/_automerge_automerge_repo_network_broadcastchannel.html index cd594af24..fcd69e4f1 100644 --- a/modules/_automerge_automerge_repo_network_broadcastchannel.html +++ b/modules/_automerge_automerge_repo_network_broadcastchannel.html @@ -1,4 +1,4 @@ -@automerge/automerge-repo-network-broadcastchannel - v1.1.11 | Automerge Repo - v1.1.12

      Module @automerge/automerge-repo-network-broadcastchannel - v1.1.11

      A NetworkAdapter which uses BroadcastChannel +@automerge/automerge-repo-network-broadcastchannel - v1.1.12 | Automerge Repo - v1.2.0-alpha.0

      Module @automerge/automerge-repo-network-broadcastchannel - v1.1.12

      A NetworkAdapter which uses BroadcastChannel to communicate with other peers in the same browser tab. This is a bit of a hack because NetworkAdapters are supposed to be used as point to point communication channels. To get around this the BroadcastChannelNetworkAdapter @@ -9,4 +9,4 @@ automerge-repo-network-messagechannel.

      Index

      Classes

      Type Aliases

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/modules/_automerge_automerge_repo_network_messagechannel.html b/modules/_automerge_automerge_repo_network_messagechannel.html index 42f7e5889..f9c4a1012 100644 --- a/modules/_automerge_automerge_repo_network_messagechannel.html +++ b/modules/_automerge_automerge_repo_network_messagechannel.html @@ -1,6 +1,6 @@ -@automerge/automerge-repo-network-messagechannel - v1.1.11 | Automerge Repo - v1.1.12

      Module @automerge/automerge-repo-network-messagechannel - v1.1.11

      A NetworkAdapter which uses MessageChannel +@automerge/automerge-repo-network-messagechannel - v1.1.12 | Automerge Repo - v1.2.0-alpha.0

      Module @automerge/automerge-repo-network-messagechannel - v1.1.12

      A NetworkAdapter which uses MessageChannel to communicate with other peers. This is useful for communicating between browser tabs and web workers (including shared workers).

      Index

      Classes

      Interfaces

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/modules/_automerge_automerge_repo_network_websocket.html b/modules/_automerge_automerge_repo_network_websocket.html index b7f95eeda..2a9bae8ac 100644 --- a/modules/_automerge_automerge_repo_network_websocket.html +++ b/modules/_automerge_automerge_repo_network_websocket.html @@ -1,4 +1,4 @@ -@automerge/automerge-repo-network-websocket - v1.1.11 | Automerge Repo - v1.1.12

      Module @automerge/automerge-repo-network-websocket - v1.1.11

      A NetworkAdapter which connects to a remote host via WebSockets

      +@automerge/automerge-repo-network-websocket - v1.1.12 | Automerge Repo - v1.2.0-alpha.0

      Module @automerge/automerge-repo-network-websocket - v1.1.12

      A NetworkAdapter which connects to a remote host via WebSockets

      The websocket protocol requires a server to be listening and a client to connect to the server. To that end the NodeWSServerAdapter does not make outbound connections and instead listens on the provided socket for @@ -16,4 +16,4 @@ PeerMessage ProtocolVersion

      Variables

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/modules/_automerge_automerge_repo_react_hooks.html b/modules/_automerge_automerge_repo_react_hooks.html index ea1af2180..d1e5f4181 100644 --- a/modules/_automerge_automerge_repo_react_hooks.html +++ b/modules/_automerge_automerge_repo_react_hooks.html @@ -1,4 +1,4 @@ -@automerge/automerge-repo-react-hooks - v1.1.11 | Automerge Repo - v1.1.12

      Module @automerge/automerge-repo-react-hooks - v1.1.11

      React Hooks for Automerge Repo

      These hooks are provided as helpers for using Automerge in your React project.

      +@automerge/automerge-repo-react-hooks - v1.1.12 | Automerge Repo - v1.2.0-alpha.0

      Module @automerge/automerge-repo-react-hooks - v1.1.12

      React Hooks for Automerge Repo

      These hooks are provided as helpers for using Automerge in your React project.

      useRepo/RepoContext

      Use RepoContext to set up react context for an Automerge repo. Use useRepo to lookup the repo from context. Most hooks depend on RepoContext being available.

      @@ -20,4 +20,4 @@ useLocalAwareness useRemoteAwareness useRepo -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/modules/_automerge_automerge_repo_storage_indexeddb.html b/modules/_automerge_automerge_repo_storage_indexeddb.html index 2d8dbc8e0..853880a38 100644 --- a/modules/_automerge_automerge_repo_storage_indexeddb.html +++ b/modules/_automerge_automerge_repo_storage_indexeddb.html @@ -1,3 +1,3 @@ -@automerge/automerge-repo-storage-indexeddb - v1.1.11 | Automerge Repo - v1.1.12

      Module @automerge/automerge-repo-storage-indexeddb - v1.1.11

      This module provides a storage adapter for IndexedDB.

      +@automerge/automerge-repo-storage-indexeddb - v1.1.12 | Automerge Repo - v1.2.0-alpha.0

      Module @automerge/automerge-repo-storage-indexeddb - v1.1.12

      This module provides a storage adapter for IndexedDB.

      Index

      Classes

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/modules/_automerge_automerge_repo_storage_nodefs.html b/modules/_automerge_automerge_repo_storage_nodefs.html index c4b606c86..81fbd06c2 100644 --- a/modules/_automerge_automerge_repo_storage_nodefs.html +++ b/modules/_automerge_automerge_repo_storage_nodefs.html @@ -1,3 +1,3 @@ -@automerge/automerge-repo-storage-nodefs - v1.1.11 | Automerge Repo - v1.1.12

      Module @automerge/automerge-repo-storage-nodefs - v1.1.11

      A StorageAdapter which stores data in the local filesystem

      +@automerge/automerge-repo-storage-nodefs - v1.1.12 | Automerge Repo - v1.2.0-alpha.0

      Module @automerge/automerge-repo-storage-nodefs - v1.1.12

      A StorageAdapter which stores data in the local filesystem

      Index

      Classes

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/modules/_automerge_automerge_repo_svelte_store.html b/modules/_automerge_automerge_repo_svelte_store.html index 1cbfd95d5..a1aff3de7 100644 --- a/modules/_automerge_automerge_repo_svelte_store.html +++ b/modules/_automerge_automerge_repo_svelte_store.html @@ -1,4 +1,4 @@ -@automerge/automerge-repo-svelte-store - v1.1.11 | Automerge Repo - v1.1.12

      Module @automerge/automerge-repo-svelte-store - v1.1.11

      Svelte store for Automerge Repo

      Example Usage

      For a working example, see the Svelte counter demo.

      +@automerge/automerge-repo-svelte-store - v1.1.12 | Automerge Repo - v1.2.0-alpha.0

      Module @automerge/automerge-repo-svelte-store - v1.1.12

      Example

      // App.svelte
      <script lang="ts">
      import { Repo } from "@automerge/automerge-repo"
      import Counter from './lib/Counter.svelte'
      import { setContextRepo } from "@automerge/automerge-repo-svelte-store"

      const repo = new Repo({storage: new SomeStorage() })

      // Make the `Repo` available to child components (via Svelte's `setContext`).
      setContextRepo(repo)

      const docId = repo.create()
      </script>

      <main>
      <div class="card">
      <Counter {docId}/>
      </div>
      </main>
      // Counter.svelte`
      <script lang="ts">
      import type { DocumentId } from "@automerge/automerge-repo"
      import { document } from "@automerge/automerge-repo-svelte-store"

      export let docId: DocumentId

      // `document` calls `getContextRepo` internally to access the closest `Repo`.
      // alternatively, you may pass in a specific repo as the second parameter
      const doc = document<{count?: number}>(docId)
      const increment = () => {
      doc.change((d) => d.count = (d.count || 0) + 1)
      }
      </script>

      <button on:click={increment}>
      count is {$doc?.count || 0}
      </button> @@ -8,4 +8,4 @@

      Index

      Functions

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/modules/_automerge_create_repo_node_app.html b/modules/_automerge_create_repo_node_app.html index b03643934..2b2cf7b66 100644 --- a/modules/_automerge_create_repo_node_app.html +++ b/modules/_automerge_create_repo_node_app.html @@ -1,7 +1,7 @@ -@automerge/create-repo-node-app | Automerge Repo - v1.1.12

      Module @automerge/create-repo-node-app

      Scaffolding for a node automerge-repo app

      This generates a simple javascript project with the necessary dependencies for a repo which synchronises over websockets and stores data in the filesystem.

      +@automerge/create-repo-node-app | Automerge Repo - v1.2.0-alpha.0

      Module @automerge/create-repo-node-app

      Scaffolding for a node automerge-repo app

      This generates a simple javascript project with the necessary dependencies for a repo which synchronises over websockets and stores data in the filesystem.

      How to use

      NPM

      npm create @automerge/repo-node-app <your project name>
       

      Yarn

      yarn create @automerge/repo-node-app <your project name>
       

      Now change into the directory and start editing index.js

      -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/modules/_automerge_create_vite_app.html b/modules/_automerge_create_vite_app.html index 78d148054..c1a590c88 100644 --- a/modules/_automerge_create_vite_app.html +++ b/modules/_automerge_create_vite_app.html @@ -1,4 +1,4 @@ -@automerge/create-vite-app | Automerge Repo - v1.1.12

      Module @automerge/create-vite-app

      Automerge Repo

      Automerge Repo is a wrapper for the Automerge CRDT library +@automerge/create-vite-app | Automerge Repo - v1.2.0-alpha.0

      Module @automerge/create-vite-app

      Automerge Repo

      Automerge Repo is a wrapper for the Automerge CRDT library which provides facilities to support working with many documents at once, as well as pluggable networking and storage.

      Getting started

      After cloning this repo, run pnpm install and pnpm build.

      @@ -44,4 +44,4 @@

      Please note that a reference sync-server peer which demonstrates the use of automerge-repo-network-websocket is available at automerge-repo-sync-server (this is different from sync-server).

      -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.ActorId.html b/types/_automerge_automerge_repo.ActorId.html index d78c0e404..22a92c05d 100644 --- a/types/_automerge_automerge_repo.ActorId.html +++ b/types/_automerge_automerge_repo.ActorId.html @@ -1 +1 @@ -ActorId | Automerge Repo - v1.1.12
      ActorId: string

      Generated using TypeDoc

      \ No newline at end of file +ActorId | Automerge Repo - v1.2.0-alpha.0
      ActorId: string
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.AnyDocumentId.html b/types/_automerge_automerge_repo.AnyDocumentId.html index 58ab648de..b22248ae6 100644 --- a/types/_automerge_automerge_repo.AnyDocumentId.html +++ b/types/_automerge_automerge_repo.AnyDocumentId.html @@ -1 +1 @@ -AnyDocumentId | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +AnyDocumentId | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.AutomergeUrl.html b/types/_automerge_automerge_repo.AutomergeUrl.html index 908b4df4d..5c89b9691 100644 --- a/types/_automerge_automerge_repo.AutomergeUrl.html +++ b/types/_automerge_automerge_repo.AutomergeUrl.html @@ -1,2 +1,2 @@ -AutomergeUrl | Automerge Repo - v1.1.12
      AutomergeUrl: string & {
          __documentUrl: true;
      }

      A branded string representing a URL for a document, in the form automerge:<base58check encoded string>; for example, automerge:4NMNnkMhL8jXrdJ9jamS58PAVdXu.

      -

      Type declaration

      • __documentUrl: true

      Generated using TypeDoc

      \ No newline at end of file +AutomergeUrl | Automerge Repo - v1.2.0-alpha.0
      AutomergeUrl: string & {
          __documentUrl: true;
      }

      A branded string representing a URL for a document, in the form automerge:<base58check encoded string>; for example, automerge:4NMNnkMhL8jXrdJ9jamS58PAVdXu.

      +

      Type declaration

      • __documentUrl: true
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.BinaryDocumentId.html b/types/_automerge_automerge_repo.BinaryDocumentId.html index 962dea1aa..e08b42602 100644 --- a/types/_automerge_automerge_repo.BinaryDocumentId.html +++ b/types/_automerge_automerge_repo.BinaryDocumentId.html @@ -1,2 +1,2 @@ -BinaryDocumentId | Automerge Repo - v1.1.12
      BinaryDocumentId: Uint8Array & {
          __binaryDocumentId: true;
      }

      The unencoded UUID of a document. Typically you should use a AutomergeUrl instead.

      -

      Type declaration

      • __binaryDocumentId: true

      Generated using TypeDoc

      \ No newline at end of file +BinaryDocumentId | Automerge Repo - v1.2.0-alpha.0
      BinaryDocumentId: Uint8Array & {
          __binaryDocumentId: true;
      }

      The unencoded UUID of a document. Typically you should use a AutomergeUrl instead.

      +

      Type declaration

      • __binaryDocumentId: true
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.Change.html b/types/_automerge_automerge_repo.Change.html index c9c04ad9c..6647a2bbb 100644 --- a/types/_automerge_automerge_repo.Change.html +++ b/types/_automerge_automerge_repo.Change.html @@ -1 +1 @@ -Change | Automerge Repo - v1.1.12
      Change: Uint8Array

      Generated using TypeDoc

      \ No newline at end of file +Change | Automerge Repo - v1.2.0-alpha.0
      Change: Uint8Array
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.ChangeFn.html b/types/_automerge_automerge_repo.ChangeFn.html index a2e484eb5..1f3789990 100644 --- a/types/_automerge_automerge_repo.ChangeFn.html +++ b/types/_automerge_automerge_repo.ChangeFn.html @@ -1,4 +1,4 @@ -ChangeFn | Automerge Repo - v1.1.12
      ChangeFn<T>: ((doc) => void)

      Function which is called by change when making changes to a Doc<T>

      +ChangeFn | Automerge Repo - v1.2.0-alpha.0
      ChangeFn<T>: ((doc) => void)

      Function which is called by change when making changes to a Doc<T>

      Type Parameters

      • T

        The type of value contained in the document

        This function may mutate doc

        -

      Type declaration

        • (doc): void
        • Parameters

          • doc: T

          Returns void

      Generated using TypeDoc

      \ No newline at end of file +

      Type declaration

        • (doc): void
        • Parameters

          • doc: T

          Returns void

      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.Chunk.html b/types/_automerge_automerge_repo.Chunk.html index 235c6a833..2075c9caf 100644 --- a/types/_automerge_automerge_repo.Chunk.html +++ b/types/_automerge_automerge_repo.Chunk.html @@ -1,2 +1,2 @@ -Chunk | Automerge Repo - v1.1.12
      Chunk: {
          data: Uint8Array | undefined;
          key: StorageKey;
      }

      A chunk is a snapshot or incremental change that is stored in a StorageAdapter.

      -

      Type declaration

      Generated using TypeDoc

      \ No newline at end of file +Chunk | Automerge Repo - v1.2.0-alpha.0
      Chunk: {
          data: Uint8Array | undefined;
          key: StorageKey;
      }

      A chunk is a snapshot or incremental change that is stored in a StorageAdapter.

      +

      Type declaration

      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.ChunkInfo.html b/types/_automerge_automerge_repo.ChunkInfo.html index 43e8fba55..714a04ae8 100644 --- a/types/_automerge_automerge_repo.ChunkInfo.html +++ b/types/_automerge_automerge_repo.ChunkInfo.html @@ -1,3 +1,3 @@ -ChunkInfo | Automerge Repo - v1.1.12
      ChunkInfo: {
          key: StorageKey;
          size: number;
          type: ChunkType;
      }

      Metadata about a chunk of data loaded from storage. This is stored on the StorageSubsystem so +ChunkInfo | Automerge Repo - v1.2.0-alpha.0

      ChunkInfo: {
          key: StorageKey;
          size: number;
          type: ChunkType;
      }

      Metadata about a chunk of data loaded from storage. This is stored on the StorageSubsystem so when we are compacting we know what chunks we can safely delete.

      -

      Type declaration

      Generated using TypeDoc

      \ No newline at end of file +

      Type declaration

      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.ChunkType.html b/types/_automerge_automerge_repo.ChunkType.html index b748ebfd1..869f6d016 100644 --- a/types/_automerge_automerge_repo.ChunkType.html +++ b/types/_automerge_automerge_repo.ChunkType.html @@ -1 +1 @@ -ChunkType | Automerge Repo - v1.1.12
      ChunkType: "snapshot" | "incremental"

      Generated using TypeDoc

      \ No newline at end of file +ChunkType | Automerge Repo - v1.2.0-alpha.0
      ChunkType: "snapshot" | "incremental"
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.Cursor.html b/types/_automerge_automerge_repo.Cursor.html index 3f40fa1db..d466ae437 100644 --- a/types/_automerge_automerge_repo.Cursor.html +++ b/types/_automerge_automerge_repo.Cursor.html @@ -1 +1 @@ -Cursor | Automerge Repo - v1.1.12
      Cursor: string

      Generated using TypeDoc

      \ No newline at end of file +Cursor | Automerge Repo - v1.2.0-alpha.0
      Cursor: string
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.Doc.html b/types/_automerge_automerge_repo.Doc.html index d9cd7ff13..644d68439 100644 --- a/types/_automerge_automerge_repo.Doc.html +++ b/types/_automerge_automerge_repo.Doc.html @@ -1,5 +1,5 @@ -Doc | Automerge Repo - v1.1.12
      Doc<T>: {
          readonly [P in keyof T]: T[P]
      }

      An automerge document.

      +Doc | Automerge Repo - v1.2.0-alpha.0
      Doc<T>: {
          readonly [P in keyof T]: T[P]
      }

      An automerge document.

      Type Parameters

      • T

        The type of the value contained in this document

        Note that this provides read only access to the fields of the value. To modify the value use change

        -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.DocumentId.html b/types/_automerge_automerge_repo.DocumentId.html index ec4434e6b..52cdf23ff 100644 --- a/types/_automerge_automerge_repo.DocumentId.html +++ b/types/_automerge_automerge_repo.DocumentId.html @@ -1,5 +1,5 @@ -DocumentId | Automerge Repo - v1.1.12
      DocumentId: string & {
          __documentId: true;
      }

      The base58check-encoded UUID of a document. This is the string following the automerge: +DocumentId | Automerge Repo - v1.2.0-alpha.0

      DocumentId: string & {
          __documentId: true;
      }

      The base58check-encoded UUID of a document. This is the string following the automerge: protocol prefix in an AutomergeUrl; for example, 4NMNnkMhL8jXrdJ9jamS58PAVdXu. When recording links to an Automerge document in another Automerge document, you should store a AutomergeUrl instead.

      -

      Type declaration

      • __documentId: true

      Generated using TypeDoc

      \ No newline at end of file +

      Type declaration

      • __documentId: true
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.DocumentUnavailableMessage.html b/types/_automerge_automerge_repo.DocumentUnavailableMessage.html index 68a5a71af..65d027b73 100644 --- a/types/_automerge_automerge_repo.DocumentUnavailableMessage.html +++ b/types/_automerge_automerge_repo.DocumentUnavailableMessage.html @@ -1,4 +1,4 @@ -DocumentUnavailableMessage | Automerge Repo - v1.1.12
      DocumentUnavailableMessage: {
          documentId: DocumentId;
          senderId: PeerId;
          targetId: PeerId;
          type: "doc-unavailable";
      }

      Sent by a Repo to indicate that it does not have the document and none of its connected +DocumentUnavailableMessage | Automerge Repo - v1.2.0-alpha.0

      DocumentUnavailableMessage: {
          documentId: DocumentId;
          senderId: PeerId;
          targetId: PeerId;
          type: "doc-unavailable";
      }

      Sent by a Repo to indicate that it does not have the document and none of its connected peers do either.

      Type declaration

      • documentId: DocumentId

        The document which the peer claims it doesn't have

        -
      • senderId: PeerId
      • targetId: PeerId
      • type: "doc-unavailable"

      Generated using TypeDoc

      \ No newline at end of file +
    • senderId: PeerId
    • targetId: PeerId
    • type: "doc-unavailable"
    • \ No newline at end of file diff --git a/types/_automerge_automerge_repo.EphemeralMessage.html b/types/_automerge_automerge_repo.EphemeralMessage.html index 5e95cd619..0636868bd 100644 --- a/types/_automerge_automerge_repo.EphemeralMessage.html +++ b/types/_automerge_automerge_repo.EphemeralMessage.html @@ -1,4 +1,4 @@ -EphemeralMessage | Automerge Repo - v1.1.12
      EphemeralMessage: {
          count: number;
          data: Uint8Array;
          documentId: DocumentId;
          senderId: PeerId;
          sessionId: SessionId;
          targetId: PeerId;
          type: "ephemeral";
      }

      An ephemeral message.

      +EphemeralMessage | Automerge Repo - v1.2.0-alpha.0
      EphemeralMessage: {
          count: number;
          data: Uint8Array;
          documentId: DocumentId;
          senderId: PeerId;
          sessionId: SessionId;
          targetId: PeerId;
          type: "ephemeral";
      }

      An ephemeral message.

      Type declaration

      • count: number

        A sequence number which must be incremented for each message sent by this peer.

      • data: Uint8Array

        The actual data of the message.

      • documentId: DocumentId

        The document ID this message pertains to.

        @@ -8,4 +8,4 @@

        In order to avoid infinite loops of ephemeral messages, every message has (a) a session ID, which is a random number generated by the sender at startup time; and (b) a sequence number. The combination of these two things allows us to discard messages we have already seen.

        -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.HandleState.html b/types/_automerge_automerge_repo.HandleState.html index 0fd3269a5..b0fab6bd0 100644 --- a/types/_automerge_automerge_repo.HandleState.html +++ b/types/_automerge_automerge_repo.HandleState.html @@ -1 +1 @@ -HandleState | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +HandleState | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.Heads.html b/types/_automerge_automerge_repo.Heads.html index 142f80377..1cd144dba 100644 --- a/types/_automerge_automerge_repo.Heads.html +++ b/types/_automerge_automerge_repo.Heads.html @@ -1 +1 @@ -Heads | Automerge Repo - v1.1.12
      Heads: Hash[]

      Generated using TypeDoc

      \ No newline at end of file +Heads | Automerge Repo - v1.2.0-alpha.0
      Heads: Hash[]
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.LegacyDocumentId.html b/types/_automerge_automerge_repo.LegacyDocumentId.html index 90c0596cb..03ffbf33b 100644 --- a/types/_automerge_automerge_repo.LegacyDocumentId.html +++ b/types/_automerge_automerge_repo.LegacyDocumentId.html @@ -1,3 +1,3 @@ -LegacyDocumentId | Automerge Repo - v1.1.12
      LegacyDocumentId: string & {
          __legacyDocumentId: true;
      }

      A UUID encoded as a hex string. As of v1.0, a DocumentID is stored as a base58-encoded string with a checksum. +LegacyDocumentId | Automerge Repo - v1.2.0-alpha.0

      LegacyDocumentId: string & {
          __legacyDocumentId: true;
      }

      A UUID encoded as a hex string. As of v1.0, a DocumentID is stored as a base58-encoded string with a checksum. Support for this format will be removed in a future version.

      -

      Type declaration

      • __legacyDocumentId: true

      Generated using TypeDoc

      \ No newline at end of file +

      Type declaration

      • __legacyDocumentId: true
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.Mark.html b/types/_automerge_automerge_repo.Mark.html index af98207f6..eed1c3719 100644 --- a/types/_automerge_automerge_repo.Mark.html +++ b/types/_automerge_automerge_repo.Mark.html @@ -1 +1 @@ -Mark | Automerge Repo - v1.1.12
      Mark: {
          end: number;
          name: string;
          start: number;
          value: Value;
      }

      Type declaration

      • end: number
      • name: string
      • start: number
      • value: Value

      Generated using TypeDoc

      \ No newline at end of file +Mark | Automerge Repo - v1.2.0-alpha.0
      Mark: {
          end: number;
          name: string;
          start: number;
          value: ScalarValue;
      }

      Type declaration

      • end: number
      • name: string
      • start: number
      • value: ScalarValue
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.MarkRange.html b/types/_automerge_automerge_repo.MarkRange.html index 6b1583645..3ad6f28bd 100644 --- a/types/_automerge_automerge_repo.MarkRange.html +++ b/types/_automerge_automerge_repo.MarkRange.html @@ -1 +1 @@ -MarkRange | Automerge Repo - v1.1.12
      MarkRange: {
          end: number;
          expand?: "before" | "after" | "both" | "none";
          start: number;
      }

      Type declaration

      • end: number
      • Optional expand?: "before" | "after" | "both" | "none"
      • start: number

      Generated using TypeDoc

      \ No newline at end of file +MarkRange | Automerge Repo - v1.2.0-alpha.0
      MarkRange: {
          end: number;
          expand?: "before" | "after" | "both" | "none";
          start: number;
      }

      Type declaration

      • end: number
      • Optional expand?: "before" | "after" | "both" | "none"
      • start: number
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.MarkValue.html b/types/_automerge_automerge_repo.MarkValue.html index 9a529b646..67efe0cb7 100644 --- a/types/_automerge_automerge_repo.MarkValue.html +++ b/types/_automerge_automerge_repo.MarkValue.html @@ -1 +1 @@ -MarkValue | Automerge Repo - v1.1.12
      MarkValue: string | number | null | boolean | Date | Uint8Array

      Generated using TypeDoc

      \ No newline at end of file +MarkValue | Automerge Repo - v1.2.0-alpha.0
      MarkValue: string | number | null | boolean | Date | Uint8Array
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.Message.html b/types/_automerge_automerge_repo.Message.html index 370fd1696..c02e09bfd 100644 --- a/types/_automerge_automerge_repo.Message.html +++ b/types/_automerge_automerge_repo.Message.html @@ -1,3 +1,3 @@ -Message | Automerge Repo - v1.1.12
      Message: {
          data?: Uint8Array;
          documentId?: DocumentId;
          senderId: PeerId;
          targetId: PeerId;
          type: string;
      }

      Type declaration

      • Optional data?: Uint8Array
      • Optional documentId?: DocumentId
      • senderId: PeerId

        The peer ID of the sender of this message

        +Message | Automerge Repo - v1.2.0-alpha.0
        Message: {
            data?: Uint8Array;
            documentId?: DocumentId;
            senderId: PeerId;
            targetId: PeerId;
            type: string;
        }

        Type declaration

        • Optional data?: Uint8Array
        • Optional documentId?: DocumentId
        • senderId: PeerId

          The peer ID of the sender of this message

        • targetId: PeerId

          The peer ID of the recipient of this message

          -
        • type: string

        Generated using TypeDoc

        \ No newline at end of file +
      • type: string
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.Patch.html b/types/_automerge_automerge_repo.Patch.html index 339af7c8f..78d699623 100644 --- a/types/_automerge_automerge_repo.Patch.html +++ b/types/_automerge_automerge_repo.Patch.html @@ -1 +1 @@ -Patch | Automerge Repo - v1.1.12
      Patch: PutPatch | DelPatch | SpliceTextPatch | IncPatch | InsertPatch | MarkPatch | UnmarkPatch | ConflictPatch

      Generated using TypeDoc

      \ No newline at end of file +Patch | Automerge Repo - v1.2.0-alpha.0
      Patch: PutPatch | DelPatch | SpliceTextPatch | IncPatch | InsertPatch | MarkPatch | UnmarkPatch | ConflictPatch
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.PatchCallback.html b/types/_automerge_automerge_repo.PatchCallback.html index 03844a3a6..2f64292b0 100644 --- a/types/_automerge_automerge_repo.PatchCallback.html +++ b/types/_automerge_automerge_repo.PatchCallback.html @@ -1,4 +1,4 @@ -PatchCallback | Automerge Repo - v1.1.12
      PatchCallback<T>: ((patches, info) => void)

      Callback which is called by various methods in this library to notify the +PatchCallback | Automerge Repo - v1.2.0-alpha.0

      PatchCallback<T>: ((patches, info) => void)

      Callback which is called by various methods in this library to notify the user of what changes have been made.

      Type Parameters

      • T

      Type declaration

        • (patches, info): void
        • Parameters

          • patches: Patch[]
          • info: PatchInfo<T>

            An object that has the "before" and "after" document state, and the "from" and "to" heads

            -

          Returns void

      Generated using TypeDoc

      \ No newline at end of file +

      Returns void

      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.PeerId.html b/types/_automerge_automerge_repo.PeerId.html index 7a4c64973..9b77fcca7 100644 --- a/types/_automerge_automerge_repo.PeerId.html +++ b/types/_automerge_automerge_repo.PeerId.html @@ -1,2 +1,2 @@ -PeerId | Automerge Repo - v1.1.12
      PeerId: string & {
          __peerId: true;
      }

      A branded type for peer IDs

      -

      Type declaration

      • __peerId: true

      Generated using TypeDoc

      \ No newline at end of file +PeerId | Automerge Repo - v1.2.0-alpha.0
      PeerId: string & {
          __peerId: true;
      }

      A branded type for peer IDs

      +

      Type declaration

      • __peerId: true
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.Prop.html b/types/_automerge_automerge_repo.Prop.html index 9be07f788..dbd70afd2 100644 --- a/types/_automerge_automerge_repo.Prop.html +++ b/types/_automerge_automerge_repo.Prop.html @@ -1 +1 @@ -Prop | Automerge Repo - v1.1.12
      Prop: string | number

      Generated using TypeDoc

      \ No newline at end of file +Prop | Automerge Repo - v1.2.0-alpha.0
      Prop: string | number
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.RepoMessage.html b/types/_automerge_automerge_repo.RepoMessage.html index 55420c9c2..462453baf 100644 --- a/types/_automerge_automerge_repo.RepoMessage.html +++ b/types/_automerge_automerge_repo.RepoMessage.html @@ -1,2 +1,2 @@ -RepoMessage | Automerge Repo - v1.1.12
      RepoMessage: SyncMessage | EphemeralMessage | RequestMessage | DocumentUnavailableMessage | RemoteSubscriptionControlMessage | RemoteHeadsChanged

      These are message types that a NetworkAdapter surfaces to a Repo.

      -

      Generated using TypeDoc

      \ No newline at end of file +RepoMessage | Automerge Repo - v1.2.0-alpha.0
      RepoMessage: SyncMessage | EphemeralMessage | RequestMessage | DocumentUnavailableMessage | RemoteSubscriptionControlMessage | RemoteHeadsChanged

      These are message types that a NetworkAdapter surfaces to a Repo.

      +
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.RequestMessage.html b/types/_automerge_automerge_repo.RequestMessage.html index f467047dd..a434f8a7a 100644 --- a/types/_automerge_automerge_repo.RequestMessage.html +++ b/types/_automerge_automerge_repo.RequestMessage.html @@ -1,6 +1,6 @@ -RequestMessage | Automerge Repo - v1.1.12
      RequestMessage: {
          data: Uint8Array;
          documentId: DocumentId;
          senderId: PeerId;
          targetId: PeerId;
          type: "request";
      }

      Sent by a Repo to request a document from a peer.

      +RequestMessage | Automerge Repo - v1.2.0-alpha.0
      RequestMessage: {
          data: Uint8Array;
          documentId: DocumentId;
          senderId: PeerId;
          targetId: PeerId;
          type: "request";
      }

      Sent by a Repo to request a document from a peer.

      Type declaration

      • data: Uint8Array

        The automerge sync message

      • documentId: DocumentId

        The document ID of the document this message is for

      • senderId: PeerId
      • targetId: PeerId
      • type: "request"

      Remarks

      This is identical to a SyncMessage except that it is sent by a Repo as the initial sync message when asking the other peer if it has the document.

      -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.SessionId.html b/types/_automerge_automerge_repo.SessionId.html index 368332c79..85111d610 100644 --- a/types/_automerge_automerge_repo.SessionId.html +++ b/types/_automerge_automerge_repo.SessionId.html @@ -1,2 +1,2 @@ -SessionId | Automerge Repo - v1.1.12
      SessionId: string & {
          __SessionId: true;
      }

      A randomly generated string created when the Repo starts up

      -

      Type declaration

      • __SessionId: true

      Generated using TypeDoc

      \ No newline at end of file +SessionId | Automerge Repo - v1.2.0-alpha.0
      SessionId: string & {
          __SessionId: true;
      }

      A randomly generated string created when the Repo starts up

      +

      Type declaration

      • __SessionId: true
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.SharePolicy.html b/types/_automerge_automerge_repo.SharePolicy.html index 695c02cfc..deffd87a3 100644 --- a/types/_automerge_automerge_repo.SharePolicy.html +++ b/types/_automerge_automerge_repo.SharePolicy.html @@ -1,6 +1,6 @@ -SharePolicy | Automerge Repo - v1.1.12
      SharePolicy: ((peerId, documentId?) => Promise<boolean>)

      A function that determines whether we should share a document with a peer

      +SharePolicy | Automerge Repo - v1.2.0-alpha.0
      SharePolicy: ((peerId, documentId?) => Promise<boolean>)

      A function that determines whether we should share a document with a peer

      Type declaration

        • (peerId, documentId?): Promise<boolean>
        • Parameters

          Returns Promise<boolean>

      Remarks

      This function is called by the Repo every time a new document is created or discovered (such as when another peer starts syncing with us). If this function returns true then the Repo will begin sharing the new document with the peer given by peerId.

      -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.StorageId.html b/types/_automerge_automerge_repo.StorageId.html index 71bb30734..56451f2d3 100644 --- a/types/_automerge_automerge_repo.StorageId.html +++ b/types/_automerge_automerge_repo.StorageId.html @@ -1,2 +1,2 @@ -StorageId | Automerge Repo - v1.1.12
      StorageId: string & {
          __storageId: true;
      }

      A branded type for storage IDs

      -

      Type declaration

      • __storageId: true

      Generated using TypeDoc

      \ No newline at end of file +StorageId | Automerge Repo - v1.2.0-alpha.0
      StorageId: string & {
          __storageId: true;
      }

      A branded type for storage IDs

      +

      Type declaration

      • __storageId: true
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.StorageKey.html b/types/_automerge_automerge_repo.StorageKey.html index 65efdca16..23d554f29 100644 --- a/types/_automerge_automerge_repo.StorageKey.html +++ b/types/_automerge_automerge_repo.StorageKey.html @@ -1,4 +1,4 @@ -StorageKey | Automerge Repo - v1.1.12
      StorageKey: string[]

      A storage key is an array of strings that represents a path to a value in a +StorageKey | Automerge Repo - v1.2.0-alpha.0

      StorageKey: string[]

      A storage key is an array of strings that represents a path to a value in a StorageAdapter.

      Remarks

      Storage keys are arrays because they are hierarchical and they allow the storage subsystem to do range queries for all keys that have a particular prefix. For example, incremental changes for a @@ -8,4 +8,4 @@

      However, the storage adapter implementation should be agnostic to the meaning of the key and should not assume any particular structure.

      -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo.SyncMessage.html b/types/_automerge_automerge_repo.SyncMessage.html index 154772729..84e40cd93 100644 --- a/types/_automerge_automerge_repo.SyncMessage.html +++ b/types/_automerge_automerge_repo.SyncMessage.html @@ -1,4 +1,4 @@ -SyncMessage | Automerge Repo - v1.1.12
      SyncMessage: {
          data: Uint8Array;
          documentId: DocumentId;
          senderId: PeerId;
          targetId: PeerId;
          type: "sync";
      }

      A sync message for a particular document

      +SyncMessage | Automerge Repo - v1.2.0-alpha.0
      SyncMessage: {
          data: Uint8Array;
          documentId: DocumentId;
          senderId: PeerId;
          targetId: PeerId;
          type: "sync";
      }

      A sync message for a particular document

      Type declaration

      • data: Uint8Array

        The automerge sync message

      • documentId: DocumentId

        The document ID of the document this message is for

        -
      • senderId: PeerId
      • targetId: PeerId
      • type: "sync"

      Generated using TypeDoc

      \ No newline at end of file +
    • senderId: PeerId
    • targetId: PeerId
    • type: "sync"
    • \ No newline at end of file diff --git a/types/_automerge_automerge_repo_network_broadcastchannel.BroadcastChannelNetworkAdapterOptions.html b/types/_automerge_automerge_repo_network_broadcastchannel.BroadcastChannelNetworkAdapterOptions.html index 1736cfa07..448e40ee3 100644 --- a/types/_automerge_automerge_repo_network_broadcastchannel.BroadcastChannelNetworkAdapterOptions.html +++ b/types/_automerge_automerge_repo_network_broadcastchannel.BroadcastChannelNetworkAdapterOptions.html @@ -1 +1 @@ -BroadcastChannelNetworkAdapterOptions | Automerge Repo - v1.1.12
      BroadcastChannelNetworkAdapterOptions: {
          channelName: string;
      }

      Type declaration

      • channelName: string

      Generated using TypeDoc

      \ No newline at end of file +BroadcastChannelNetworkAdapterOptions | Automerge Repo - v1.2.0-alpha.0
      BroadcastChannelNetworkAdapterOptions: {
          channelName: string;
      }

      Type declaration

      • channelName: string
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo_network_websocket.ErrorMessage.html b/types/_automerge_automerge_repo_network_websocket.ErrorMessage.html index 3a99eeefa..0344b0dbe 100644 --- a/types/_automerge_automerge_repo_network_websocket.ErrorMessage.html +++ b/types/_automerge_automerge_repo_network_websocket.ErrorMessage.html @@ -1,5 +1,5 @@ -ErrorMessage | Automerge Repo - v1.1.12
      ErrorMessage: {
          message: string;
          senderId: PeerId;
          targetId: PeerId;
          type: "error";
      }

      An error occurred. The other end will terminate the connection after sending this message

      +ErrorMessage | Automerge Repo - v1.2.0-alpha.0
      ErrorMessage: {
          message: string;
          senderId: PeerId;
          targetId: PeerId;
          type: "error";
      }

      An error occurred. The other end will terminate the connection after sending this message

      Type declaration

      • message: string

        A description of the error

      • senderId: PeerId

        The peer sending the message

      • targetId: PeerId

        The PeerID of the client

        -
      • type: "error"

      Generated using TypeDoc

      \ No newline at end of file +
    • type: "error"
    • \ No newline at end of file diff --git a/types/_automerge_automerge_repo_network_websocket.FromClientMessage.html b/types/_automerge_automerge_repo_network_websocket.FromClientMessage.html index 7287dba70..ddb1d69a5 100644 --- a/types/_automerge_automerge_repo_network_websocket.FromClientMessage.html +++ b/types/_automerge_automerge_repo_network_websocket.FromClientMessage.html @@ -1,2 +1,2 @@ -FromClientMessage | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +FromClientMessage | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo_network_websocket.FromServerMessage.html b/types/_automerge_automerge_repo_network_websocket.FromServerMessage.html index 6df01ada9..2e134f41b 100644 --- a/types/_automerge_automerge_repo_network_websocket.FromServerMessage.html +++ b/types/_automerge_automerge_repo_network_websocket.FromServerMessage.html @@ -1,2 +1,2 @@ -FromServerMessage | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +FromServerMessage | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo_network_websocket.JoinMessage.html b/types/_automerge_automerge_repo_network_websocket.JoinMessage.html index 9c16582d1..d5586e99b 100644 --- a/types/_automerge_automerge_repo_network_websocket.JoinMessage.html +++ b/types/_automerge_automerge_repo_network_websocket.JoinMessage.html @@ -1,5 +1,5 @@ -JoinMessage | Automerge Repo - v1.1.12
      JoinMessage: {
          peerMetadata: PeerMetadata;
          senderId: PeerId;
          supportedProtocolVersions: ProtocolVersion[];
          type: "join";
      }

      Sent by the client to the server to tell the server the clients PeerID

      +JoinMessage | Automerge Repo - v1.2.0-alpha.0
      JoinMessage: {
          peerMetadata: PeerMetadata;
          senderId: PeerId;
          supportedProtocolVersions: ProtocolVersion[];
          type: "join";
      }

      Sent by the client to the server to tell the server the clients PeerID

      Type declaration

      • peerMetadata: PeerMetadata

        Metadata presented by the peer

      • senderId: PeerId

        The PeerID of the client

      • supportedProtocolVersions: ProtocolVersion[]

        The protocol version the client supports

        -
      • type: "join"

      Generated using TypeDoc

      \ No newline at end of file +
    • type: "join"
    • \ No newline at end of file diff --git a/types/_automerge_automerge_repo_network_websocket.LeaveMessage.html b/types/_automerge_automerge_repo_network_websocket.LeaveMessage.html index 7dc55993d..92dfd8b1d 100644 --- a/types/_automerge_automerge_repo_network_websocket.LeaveMessage.html +++ b/types/_automerge_automerge_repo_network_websocket.LeaveMessage.html @@ -1,2 +1,2 @@ -LeaveMessage | Automerge Repo - v1.1.12
      LeaveMessage: {
          senderId: PeerId;
          type: "leave";
      }

      The sender is disconnecting

      -

      Type declaration

      Generated using TypeDoc

      \ No newline at end of file +LeaveMessage | Automerge Repo - v1.2.0-alpha.0
      LeaveMessage: {
          senderId: PeerId;
          type: "leave";
      }

      The sender is disconnecting

      +

      Type declaration

      \ No newline at end of file diff --git a/types/_automerge_automerge_repo_network_websocket.PeerMessage.html b/types/_automerge_automerge_repo_network_websocket.PeerMessage.html index f83b24f5e..81f1fcd2d 100644 --- a/types/_automerge_automerge_repo_network_websocket.PeerMessage.html +++ b/types/_automerge_automerge_repo_network_websocket.PeerMessage.html @@ -1,6 +1,6 @@ -PeerMessage | Automerge Repo - v1.1.12
      PeerMessage: {
          peerMetadata: PeerMetadata;
          selectedProtocolVersion: ProtocolVersion;
          senderId: PeerId;
          targetId: PeerId;
          type: "peer";
      }

      Sent by the server in response to a "join" message to advertise the servers PeerID

      +PeerMessage | Automerge Repo - v1.2.0-alpha.0
      PeerMessage: {
          peerMetadata: PeerMetadata;
          selectedProtocolVersion: ProtocolVersion;
          senderId: PeerId;
          targetId: PeerId;
          type: "peer";
      }

      Sent by the server in response to a "join" message to advertise the servers PeerID

      Type declaration

      • peerMetadata: PeerMetadata

        Metadata presented by the peer

      • selectedProtocolVersion: ProtocolVersion

        The protocol version the server selected for this connection

      • senderId: PeerId

        The PeerID of the server

      • targetId: PeerId

        The PeerID of the client

        -
      • type: "peer"

      Generated using TypeDoc

      \ No newline at end of file +
    • type: "peer"
    • \ No newline at end of file diff --git a/types/_automerge_automerge_repo_network_websocket.ProtocolVersion.html b/types/_automerge_automerge_repo_network_websocket.ProtocolVersion.html index b253a90ea..f02a7de93 100644 --- a/types/_automerge_automerge_repo_network_websocket.ProtocolVersion.html +++ b/types/_automerge_automerge_repo_network_websocket.ProtocolVersion.html @@ -1,2 +1,2 @@ -ProtocolVersion | Automerge Repo - v1.1.12
      ProtocolVersion: typeof ProtocolV1

      The versions of the websocket protocol

      -

      Generated using TypeDoc

      \ No newline at end of file +ProtocolVersion | Automerge Repo - v1.2.0-alpha.0
      ProtocolVersion: typeof ProtocolV1

      The versions of the websocket protocol

      +
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo_react_hooks.Heartbeats.html b/types/_automerge_automerge_repo_react_hooks.Heartbeats.html index 423ab8610..711d2cf71 100644 --- a/types/_automerge_automerge_repo_react_hooks.Heartbeats.html +++ b/types/_automerge_automerge_repo_react_hooks.Heartbeats.html @@ -1,2 +1,2 @@ -Heartbeats | Automerge Repo - v1.1.12
      Heartbeats: Record<string, number>

      A map from peer ID to their last heartbeat timestamp

      -

      Generated using TypeDoc

      \ No newline at end of file +Heartbeats | Automerge Repo - v1.2.0-alpha.0
      Heartbeats: Record<string, number>

      A map from peer ID to their last heartbeat timestamp

      +
      \ No newline at end of file diff --git a/types/_automerge_automerge_repo_react_hooks.PeerStates.html b/types/_automerge_automerge_repo_react_hooks.PeerStates.html index 90291dcee..d9629122e 100644 --- a/types/_automerge_automerge_repo_react_hooks.PeerStates.html +++ b/types/_automerge_automerge_repo_react_hooks.PeerStates.html @@ -1,2 +1,2 @@ -PeerStates | Automerge Repo - v1.1.12
      PeerStates: Record<string, any>

      A map from peer ID to their state

      -

      Generated using TypeDoc

      \ No newline at end of file +PeerStates | Automerge Repo - v1.2.0-alpha.0
      PeerStates: Record<string, any>

      A map from peer ID to their state

      +
      \ No newline at end of file diff --git a/variables/_automerge_automerge_repo.HandleState-1.html b/variables/_automerge_automerge_repo.HandleState-1.html index f33eaf4c9..3b2a47cc8 100644 --- a/variables/_automerge_automerge_repo.HandleState-1.html +++ b/variables/_automerge_automerge_repo.HandleState-1.html @@ -1,4 +1,4 @@ -HandleState | Automerge Repo - v1.1.12
      HandleState: {
          AWAITING_NETWORK: "awaitingNetwork";
          DELETED: "deleted";
          IDLE: "idle";
          LOADING: "loading";
          READY: "ready";
          REQUESTING: "requesting";
          UNAVAILABLE: "unavailable";
      } = ...

      Possible internal states for a DocHandle

      +HandleState | Automerge Repo - v1.2.0-alpha.0
      HandleState: {
          AWAITING_NETWORK: "awaitingNetwork";
          DELETED: "deleted";
          IDLE: "idle";
          LOADING: "loading";
          READY: "ready";
          REQUESTING: "requesting";
          UNAVAILABLE: "unavailable";
      } = ...

      Possible internal states for a DocHandle

      Type declaration

      • Readonly AWAITING_NETWORK: "awaitingNetwork"

        We are waiting for the network to be come ready

      • Readonly DELETED: "deleted"

        The document has been deleted from the repo

      • Readonly IDLE: "idle"

        The handle has been created but not yet loaded or requested

        @@ -6,4 +6,4 @@
      • Readonly READY: "ready"

        The document is available

      • Readonly REQUESTING: "requesting"

        We are waiting for someone in the network to respond to a sync request

      • Readonly UNAVAILABLE: "unavailable"

        The document was not available in storage or from any connected peers

        -

      Generated using TypeDoc

      \ No newline at end of file +
      \ No newline at end of file diff --git a/variables/_automerge_automerge_repo_network_websocket.ProtocolV1.html b/variables/_automerge_automerge_repo_network_websocket.ProtocolV1.html index 0319039c7..f2dbe7596 100644 --- a/variables/_automerge_automerge_repo_network_websocket.ProtocolV1.html +++ b/variables/_automerge_automerge_repo_network_websocket.ProtocolV1.html @@ -1 +1 @@ -ProtocolV1 | Automerge Repo - v1.1.12

      Generated using TypeDoc

      \ No newline at end of file +ProtocolV1 | Automerge Repo - v1.2.0-alpha.0
      \ No newline at end of file diff --git a/variables/_automerge_automerge_repo_react_hooks.RepoContext.html b/variables/_automerge_automerge_repo_react_hooks.RepoContext.html index a60a9e7fe..2ab6322ee 100644 --- a/variables/_automerge_automerge_repo_react_hooks.RepoContext.html +++ b/variables/_automerge_automerge_repo_react_hooks.RepoContext.html @@ -1,2 +1,2 @@ -RepoContext | Automerge Repo - v1.1.12
      RepoContext: Context<null | Repo> = ...

      A React context which provides access to an Automerge repo.

      -

      Generated using TypeDoc

      \ No newline at end of file +RepoContext | Automerge Repo - v1.2.0-alpha.0
      RepoContext: Context<null | Repo> = ...

      A React context which provides access to an Automerge repo.

      +
      \ No newline at end of file