From a104d26cb24d2392a58d5a9b9f2923beeb72efbe Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 17 Oct 2023 18:29:17 +0000 Subject: [PATCH] 2023-10-17T18:29:17+00:00 Signed-off-by: GitHub Actions --- .nojekyll | 1 + assets/highlight.css | 22 + assets/main.js | 59 + assets/navigation.js | 1 + assets/search.js | 1 + assets/style.css | 1383 +++++++++++++++++++++++ classes/AllowAllTenantGate.html | 116 ++ classes/Cid.html | 181 +++ classes/DataStoreLevel.html | 300 +++++ classes/DataStream.html | 166 +++ classes/DidIonResolver.html | 158 +++ classes/DidKeyResolver.html | 209 ++++ classes/DidResolver.html | 140 +++ classes/Dwn.html | 413 +++++++ classes/DwnConstant.html | 102 ++ classes/DwnError.html | 113 ++ classes/Encoder.html | 214 ++++ classes/Encryption.html | 180 +++ classes/EventLogLevel.html | 251 ++++ classes/EventsGet.html | 417 +++++++ classes/HdKey.html | 136 +++ classes/Jws.html | 225 ++++ classes/Message.html | 390 +++++++ classes/MessageStoreLevel.html | 351 ++++++ classes/MessagesGet.html | 417 +++++++ classes/PermissionsGrant.html | 475 ++++++++ classes/PermissionsRequest.html | 417 +++++++ classes/PermissionsRevoke.html | 432 +++++++ classes/PrivateKeySigner.html | 159 +++ classes/Protocols.html | 118 ++ classes/ProtocolsConfigure.html | 417 +++++++ classes/ProtocolsQuery.html | 434 +++++++ classes/Records.html | 301 +++++ classes/RecordsDelete.html | 435 +++++++ classes/RecordsQuery.html | 417 +++++++ classes/RecordsRead.html | 441 ++++++++ classes/RecordsWrite.html | 489 ++++++++ classes/Secp256k1.html | 352 ++++++ enums/DateSort.html | 101 ++ enums/DwnErrorCode.html | 602 ++++++++++ enums/DwnInterfaceName.html | 108 ++ enums/DwnMethodName.html | 143 +++ enums/EncryptionAlgorithm.html | 87 ++ enums/KeyDerivationScheme.html | 107 ++ enums/SortOrder.html | 87 ++ functions/authenticate.html | 76 ++ functions/executeUnlessAborted.html | 79 ++ index.html | 184 +++ interfaces/DataStore.html | 238 ++++ interfaces/DidMethodResolver.html | 124 ++ interfaces/EventLog.html | 189 ++++ interfaces/MessageStore.html | 222 ++++ interfaces/MessageStoreOptions.html | 84 ++ interfaces/Signer.html | 136 +++ interfaces/TenantGate.html | 102 ++ types/AssociateResult.html | 70 ++ types/CreateFromOptions.html | 79 ++ types/DerivedPrivateJwk.html | 71 ++ types/DidDocument.html | 85 ++ types/DidDocumentMetadata.html | 79 ++ types/DidResolutionMetadata.html | 67 ++ types/DidResolutionResult.html | 71 ++ types/DwnConfig.html | 76 ++ types/DwnServiceEndpoint.html | 65 ++ types/EncryptionInput.html | 87 ++ types/EncryptionProperty.html | 69 ++ types/Event.html | 67 ++ types/EventsGetMessage.html | 67 ++ types/EventsGetOptions.html | 69 ++ types/EventsGetReply.html | 65 ++ types/Filter.html | 65 ++ types/GenericMessage.html | 70 ++ types/GetEventsOptions.html | 65 ++ types/GetResult.html | 72 ++ types/KeyEncryptionInput.html | 87 ++ types/KeyMaterial.html | 75 ++ types/MessageSort.html | 69 ++ types/MessagesGetMessage.html | 67 ++ types/MessagesGetOptions.html | 69 ++ types/MessagesGetReply.html | 65 ++ types/Pagination.html | 67 ++ types/PermissionConditions.html | 70 ++ types/PermissionScope.html | 67 ++ types/PermissionsGrantDescriptor.html | 103 ++ types/PermissionsGrantMessage.html | 67 ++ types/PermissionsGrantOptions.html | 83 ++ types/PermissionsRequestDescriptor.html | 81 ++ types/PermissionsRequestMessage.html | 67 ++ types/PermissionsRequestOptions.html | 79 ++ types/PermissionsRevokeDescriptor.html | 71 ++ types/PermissionsRevokeMessage.html | 67 ++ types/PermissionsRevokeOptions.html | 69 ++ types/PrivateJwk.html | 70 ++ types/ProtocolDefinition.html | 77 ++ types/ProtocolRuleSet.html | 88 ++ types/ProtocolTypes.html | 65 ++ types/ProtocolsConfigureDescriptor.html | 71 ++ types/ProtocolsConfigureMessage.html | 67 ++ types/ProtocolsConfigureOptions.html | 71 ++ types/ProtocolsQueryFilter.html | 65 ++ types/ProtocolsQueryMessage.html | 65 ++ types/ProtocolsQueryOptions.html | 71 ++ types/ProtocolsQueryReply.html | 65 ++ types/PublicJwk.html | 82 ++ types/PutResult.html | 70 ++ types/RecordsDeleteMessage.html | 67 ++ types/RecordsDeleteOptions.html | 69 ++ types/RecordsQueryMessage.html | 65 ++ types/RecordsQueryOptions.html | 73 ++ types/RecordsQueryReply.html | 67 ++ types/RecordsQueryReplyEntry.html | 73 ++ types/RecordsReadOptions.html | 77 ++ types/RecordsReadReply.html | 65 ++ types/RecordsWriteDescriptor.html | 91 ++ types/RecordsWriteMessage.html | 75 ++ types/RecordsWriteOptions.html | 103 ++ types/ServiceEndpoint.html | 71 ++ types/UnionMessageReply.html | 79 ++ types/VerificationMethod.html | 71 ++ 119 files changed, 18157 insertions(+) create mode 100644 .nojekyll create mode 100644 assets/highlight.css create mode 100644 assets/main.js create mode 100644 assets/navigation.js create mode 100644 assets/search.js create mode 100644 assets/style.css create mode 100644 classes/AllowAllTenantGate.html create mode 100644 classes/Cid.html create mode 100644 classes/DataStoreLevel.html create mode 100644 classes/DataStream.html create mode 100644 classes/DidIonResolver.html create mode 100644 classes/DidKeyResolver.html create mode 100644 classes/DidResolver.html create mode 100644 classes/Dwn.html create mode 100644 classes/DwnConstant.html create mode 100644 classes/DwnError.html create mode 100644 classes/Encoder.html create mode 100644 classes/Encryption.html create mode 100644 classes/EventLogLevel.html create mode 100644 classes/EventsGet.html create mode 100644 classes/HdKey.html create mode 100644 classes/Jws.html create mode 100644 classes/Message.html create mode 100644 classes/MessageStoreLevel.html create mode 100644 classes/MessagesGet.html create mode 100644 classes/PermissionsGrant.html create mode 100644 classes/PermissionsRequest.html create mode 100644 classes/PermissionsRevoke.html create mode 100644 classes/PrivateKeySigner.html create mode 100644 classes/Protocols.html create mode 100644 classes/ProtocolsConfigure.html create mode 100644 classes/ProtocolsQuery.html create mode 100644 classes/Records.html create mode 100644 classes/RecordsDelete.html create mode 100644 classes/RecordsQuery.html create mode 100644 classes/RecordsRead.html create mode 100644 classes/RecordsWrite.html create mode 100644 classes/Secp256k1.html create mode 100644 enums/DateSort.html create mode 100644 enums/DwnErrorCode.html create mode 100644 enums/DwnInterfaceName.html create mode 100644 enums/DwnMethodName.html create mode 100644 enums/EncryptionAlgorithm.html create mode 100644 enums/KeyDerivationScheme.html create mode 100644 enums/SortOrder.html create mode 100644 functions/authenticate.html create mode 100644 functions/executeUnlessAborted.html create mode 100644 index.html create mode 100644 interfaces/DataStore.html create mode 100644 interfaces/DidMethodResolver.html create mode 100644 interfaces/EventLog.html create mode 100644 interfaces/MessageStore.html create mode 100644 interfaces/MessageStoreOptions.html create mode 100644 interfaces/Signer.html create mode 100644 interfaces/TenantGate.html create mode 100644 types/AssociateResult.html create mode 100644 types/CreateFromOptions.html create mode 100644 types/DerivedPrivateJwk.html create mode 100644 types/DidDocument.html create mode 100644 types/DidDocumentMetadata.html create mode 100644 types/DidResolutionMetadata.html create mode 100644 types/DidResolutionResult.html create mode 100644 types/DwnConfig.html create mode 100644 types/DwnServiceEndpoint.html create mode 100644 types/EncryptionInput.html create mode 100644 types/EncryptionProperty.html create mode 100644 types/Event.html create mode 100644 types/EventsGetMessage.html create mode 100644 types/EventsGetOptions.html create mode 100644 types/EventsGetReply.html create mode 100644 types/Filter.html create mode 100644 types/GenericMessage.html create mode 100644 types/GetEventsOptions.html create mode 100644 types/GetResult.html create mode 100644 types/KeyEncryptionInput.html create mode 100644 types/KeyMaterial.html create mode 100644 types/MessageSort.html create mode 100644 types/MessagesGetMessage.html create mode 100644 types/MessagesGetOptions.html create mode 100644 types/MessagesGetReply.html create mode 100644 types/Pagination.html create mode 100644 types/PermissionConditions.html create mode 100644 types/PermissionScope.html create mode 100644 types/PermissionsGrantDescriptor.html create mode 100644 types/PermissionsGrantMessage.html create mode 100644 types/PermissionsGrantOptions.html create mode 100644 types/PermissionsRequestDescriptor.html create mode 100644 types/PermissionsRequestMessage.html create mode 100644 types/PermissionsRequestOptions.html create mode 100644 types/PermissionsRevokeDescriptor.html create mode 100644 types/PermissionsRevokeMessage.html create mode 100644 types/PermissionsRevokeOptions.html create mode 100644 types/PrivateJwk.html create mode 100644 types/ProtocolDefinition.html create mode 100644 types/ProtocolRuleSet.html create mode 100644 types/ProtocolTypes.html create mode 100644 types/ProtocolsConfigureDescriptor.html create mode 100644 types/ProtocolsConfigureMessage.html create mode 100644 types/ProtocolsConfigureOptions.html create mode 100644 types/ProtocolsQueryFilter.html create mode 100644 types/ProtocolsQueryMessage.html create mode 100644 types/ProtocolsQueryOptions.html create mode 100644 types/ProtocolsQueryReply.html create mode 100644 types/PublicJwk.html create mode 100644 types/PutResult.html create mode 100644 types/RecordsDeleteMessage.html create mode 100644 types/RecordsDeleteOptions.html create mode 100644 types/RecordsQueryMessage.html create mode 100644 types/RecordsQueryOptions.html create mode 100644 types/RecordsQueryReply.html create mode 100644 types/RecordsQueryReplyEntry.html create mode 100644 types/RecordsReadOptions.html create mode 100644 types/RecordsReadReply.html create mode 100644 types/RecordsWriteDescriptor.html create mode 100644 types/RecordsWriteMessage.html create mode 100644 types/RecordsWriteOptions.html create mode 100644 types/ServiceEndpoint.html create mode 100644 types/UnionMessageReply.html create mode 100644 types/VerificationMethod.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e2ac6616a --- /dev/null +++ b/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/assets/highlight.css b/assets/highlight.css new file mode 100644 index 000000000..5674cf392 --- /dev/null +++ b/assets/highlight.css @@ -0,0 +1,22 @@ +:root { + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --code-background: var(--dark-code-background); +} + +pre, code { background: var(--code-background); } diff --git a/assets/main.js b/assets/main.js new file mode 100644 index 000000000..d0aa8d5f9 --- /dev/null +++ b/assets/main.js @@ -0,0 +1,59 @@ +"use strict"; +"use strict";(()=>{var Pe=Object.create;var ne=Object.defineProperty;var Ie=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=Ie(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Pe(_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),v=s.str.charAt(1),f;v in s.node.edges?f=s.node.edges[v]:(f=new t.TokenSet,s.node.edges[v]=f),s.str.length==1&&(f.final=!0),i.push({node:f,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.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}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()}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){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}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 v=document.createElement("li");v.classList.value=l.classes??"";let f=document.createElement("a");f.href=r.base+l.url,f.innerHTML=u+d,v.append(f),e.appendChild(v)}}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 Be={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Be[e])}var C=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",pe="mousemove",B="mouseup",J={x:0,y:0},fe=!1,ee=!1,He=!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&&(He=!0,F="touchstart",pe="touchmove",B="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(pe,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(B,()=>{ee=!1});document.addEventListener("click",t=>{fe&&(t.preventDefault(),t.stopImmediatePropagation(),fe=!1)});var X=class extends C{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){D||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!D&&this.active&&n.target.closest(".col-sidebar")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ve=document.head.appendChild(document.createElement("style"));ve.dataset.for="filters";var Y=class extends C{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ve.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var Z=class extends C{constructor(n){super(n);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 r=Q.getItem(this.key);this.el.open=r?r==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let i=this.summary.querySelector("a");i&&i.addEventListener("click",()=>{location.assign(i.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,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(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.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.href===r.href&&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: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/assets/navigation.js b/assets/navigation.js new file mode 100644 index 000000000..591aa3b23 --- /dev/null +++ b/assets/navigation.js @@ -0,0 +1 @@ +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA5WYwXLbNhCG30XnTF17mrTNzWM5rtO4SaWkPXR6YMiVhDEFqAAoxdPpuxeESAogFsDiogP/fz+KiwWwwF//LjR804u3i2WlYS2kXrxaHCq9M0+Ad3t1NT7/bqf3rRGfGW8Wb3/679Ul8sTvpRTyTjQQRDtakvDINchNVcNv1R6jeHqS9AR6J5oI5iLGGfe8li8HzQS/bbdCMr3bz0mIJc77FV6WINmx6v3regfhP0MscV4/Gh9lA3JOmYR47G3bipP5+Qy84vrBjO0FUreVUqCuQo/Pu75xiXesCRHmYSrG1FS11kLCBzhCG4b7ep4kodrHKL2WJLDmUfAVKNEe3ZROFE/PkMw4JkmOniElMSTGiSOxJ56JuRNcaTPsaOwoZhh2xqMAq6SizcQSDfbVg5CJHSYlGj5oScIRuP4gtpGy9OQsRz0AksVJSsX/0hdKGGsfp+Len1QYZR6mYp5AqWqLLAODQIhNTeXAQuDhmXPEFOMTyD1Tyoy0epBoIc8dRNoK/ulApXmDh0w8imck84ElybPbBpjKWLMtx6bO3JGmCS1q0SJ1NEmkeLNUbNi2k9jnBR4S8fcOJDIpfD1FWkEtZIN82SAQYpfQArZlejKBE/kWVyVQVlAhe68jEhh/muYl/kFWTVHWUB9uXr95vg4Rk0TqBC7xbOz0nD7ARxiqv1meu7pwy3RRc1cKOS70KGkUUwB31UMhroEK+mj3L5XlDb4Udr5UOCRsjfCDsd7RAcTaRh9yq5SomTGZ8ehaZ1XVL4e+B/XlGen7n3+8fn3jNqGmy9PwTop9kKQzLzDkiLYdh2ZYO9+fnufEwJAlsmYp6m4PPPhaRyqgmHquGjNDErTRQqDaedH1uUlwQ1MRGR9rxJKl2l7UbB4BaxQIhDXII6vhnjcHwZBBCRw55qXJfOSHLgDOZDrNbHEHkPolDhwdWeYRqT77kBTZ915Bv+hAHJ3Mi0zYuU7mreDQhpny1BzrHWu1uzqeGeenudgHMKsnqyNZ8tU8S5//eCRHc53Aw2fgJOQIpofMFHnoIDCfzAoqWdUisFHKUcYN0LvBOlMciUhJ1HnoKGBGxjF0FDDRep/rOd6nast45R+dz6SLkmVMpxazAjcM/VLMQ+eua7PKxZFWptPOh78lqFqygxbBfI87S98RKaWIrZQeKaqIrYA+HGZJGQq85e/JZ8k3lr8hnynfWPSG/pxOTJVvLX4LJVGOr5hPSZPjy/KjLTS9dx4P+UvYMM7QdSpwUJmrroU1BLvGTKbSPvfBMZYVqaTL9UiirBLe8vfECitmLH9DrLRiRvIb7JUJ3rdhnjJuLi+uqYycy4drKiOjbQFiyVK7ry2rsck7CnlCpOuchBzBu12LDAbmKeJGhgLzELmp2kEsJdT0ny2pGjcErZnAUEy851rmsdZFZPd3m+kUOI4CZioBk07k2avT+MqNu0rY6cpyLSXUdFpdS46auV4pvFv5wu2lk/0edJgCQ474hzlXblhdDbdZO9HMkaEjx6w6vTMH8j7GGZhNx2ubsitX91lvfnAw8A3qTsMX3prvuf1qDq7QYDjMF2D//h/Kt2xg5CEAAA==" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js new file mode 100644 index 000000000..0e890a9f8 --- /dev/null +++ b/assets/search.js @@ -0,0 +1 @@ +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA8W9W7PcuLGo+V+k8ygvL+LK8tPIrW5P29tunb54YsLhcJSqqKWyalVV10Vqbcf+74cECBaQzMSFpGZebPUqIDPJxPVDJvifF+fj58uLP/zjPy8+7g7bF39gjytdSfbqxWH93Lz4w4s3nw/fHA/vd08vXr24nfftX65fTs3l98PfHz5cn/ftj5v9+nJpWlEvXvzPKydNScnVIOtf/+rqRgW9H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SV5zPh6RBHPff4xcw47bZOVnn1YOBghyDu3nqvBd+LrJkWYUbOdXq1xWYTVcSODynBR5cIXf2uSHp2nyqHyo275K9Jo2FVwDT00f/d1T4Vm9z0Pi9bA7q3xC5AK1qUGx64Ph2OCHKzueodw/tIvGrskYKNOrw0wYf90sSTTiDQehRUEINDWwIIEnfhhyTX51qssDwJIqhL/Qrukm1FZvhx6o2g9CJS9dsDcDUt9D8mUI8ga1QcY4Ctt/b+Q32Ow3IMCJnZ8uW9GP/uWw+XA+HtqF2KkdwZttn8FI5636Qx4ZTIR/49AfZ/s2TY6MyNuo/DUCI9Hg9fjvC8hs8/fHzAWfCxeRKlz4ixw+NuruGJFDvKDLKlAuc0G5VEbtmKkevmNGpu9gH72q/OUUIw8pRl9U9YdsF2FP+mN0suFvdEiMd2vHw/frLun2S9it/EwhMhbqdjCJ/6ZbjrZa3McKklxE2lwMcK7g9QnqgduO6BZy7cDuEiW6oLFwfPdXnWSODS4M4DU/O4WTC7JWlJ08Y1b5iZycDMnCRAGb/Bt2OTlou8WWR4TaZaI9dRh/uGa89OJ+DIcm4y+cmq53IksQ/+C/un9ixuUbDUcV7poYOYQ0DBcouEwH5VZg2uUkaXeJuyZXJs680f0r/jVlZDKCq90392HdGjyif4kiI899nKjRUon7m05JLs5cfSQz2g8nYeQnMOytZhvv3o5woecfIPVuosY7Iwq8z+BWfPIlmIrtYn3dfSXv+H73/Hy7dh2lv7VxB045fasEiVqsVPzrJsF5I3lPDJ7g5edKUU/0ucsvfl6fg1NKn2qrYV6iOupoNmZ+XCfHZ+N/vnpx2p2a/e7QlvrHP//nf/4P2z5NNQK5AgA="; \ No newline at end of file diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 000000000..108428c3f --- /dev/null +++ b/assets/style.css @@ -0,0 +1,1383 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: var(--light-color-ts-type-alias); + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 > a, +h2 > a, +h3 > a, +h4 > a, +h5 > a, +h6 > a { + text-decoration: none; + color: var(--color-text); +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} + +.tsd-generator > p { + margin-top: 0; + margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h4, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} +.tsd-typography table { + border-collapse: collapse; + border: none; +} +.tsd-typography td, +.tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); +} +.tsd-typography thead, +.tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.5rem); +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: inline-flex; + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-nested-navigation { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; +} +.tsd-small-nested-navigation { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; +} + +.tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: calc(100% - 1.75rem - 0.5rem); +} + +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + cursor: pointer; +} +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + background-color: var(--color-background); + line-height: initial; + padding: 4px; +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current:not(.no-results), +#tsd-search .results li:hover:not(.no-results) { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: flex; + align-items: center; + padding: 0.25rem; + box-sizing: border-box; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: + opacity 0.1s, + background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through !important; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); +} +.tsd-kind-parameter { + color: var(--color-ts-parameter); +} +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); +} +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); +} +.tsd-kind-accessor { + color: var(--color-ts-accessor); +} +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/classes/AllowAllTenantGate.html b/classes/AllowAllTenantGate.html new file mode 100644 index 000000000..578dfe433 --- /dev/null +++ b/classes/AllowAllTenantGate.html @@ -0,0 +1,116 @@ +AllowAllTenantGate | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class AllowAllTenantGate

+
+

A tenant gate that treats every DID as a tenant.

+
+
+
+

Hierarchy

+
    +
  • AllowAllTenantGate
+
+

Implements

+
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      _did: string
    +

    Returns Promise<boolean>

    true if the given DID is a tenant of the DWN; false otherwise

    + +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Cid.html b/classes/Cid.html new file mode 100644 index 000000000..fdfedd743 --- /dev/null +++ b/classes/Cid.html @@ -0,0 +1,181 @@ +Cid | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class Cid

+
+

Utility class for creating CIDs. Exported for the convenience of developers.

+
+
+
+

Hierarchy

+
    +
  • Cid
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +

    Returns Cid

+
+

Methods

+
+ +
    + +
  • +

    Computes a V1 CID for the provided payload

    +
    +
    +

    Parameters

    +
      +
    • +
      payload: any
    • +
    • +
      codecCode: number = cbor.code
      +

      the codec to use. Defaults to cbor

      +
      +
    • +
    • +
      multihashCode: number = sha256.code
      +

      the multihasher to use. Defaults to sha256

      +
      +
    +

    Returns Promise<string>

    payload CID

    + +
    +

    Throws

    codec is not supported

    + +

    Throws

    encoding fails

    + +

    Throws

    if hasher is not supported

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      content: Uint8Array
    +

    Returns Promise<string>

    V1 CID of the DAG comprised by chunking data into unixfs DAG-PB encoded blocks

    + +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      dataStream: Readable
    +

    Returns Promise<string>

    V1 CID of the DAG comprised by chunking data into unixfs DAG-PB encoded blocks

    + +
+
+ +
    + +
  • +

    Parses the given CID string into a {CID}.

    +
    +
    +

    Parameters

    +
      +
    • +
      str: string
    +

    Returns CID<unknown, number, number, Version>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/DataStoreLevel.html b/classes/DataStoreLevel.html new file mode 100644 index 000000000..6c0b0f1b3 --- /dev/null +++ b/classes/DataStoreLevel.html @@ -0,0 +1,300 @@ +DataStoreLevel | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class DataStoreLevel

+
+

A simple implementation of DataStore that works in both the browser and server-side. +Leverages LevelDB under the hood.

+

It has the following structure (+ represents a sublevel and -> represents a key->value pair): + 'data' + + -> + 'references' + + + -> PLACEHOLDER_VALUE

+

This allows for the to be shared for everything that uses the same while also making +sure that the can only be deleted if there are no for any still using it.

+
+
+
+

Hierarchy

+
    +
  • DataStoreLevel
+
+

Implements

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
blockstore: BlockstoreLevel
+
+ +
config: DataStoreLevelConfig
+
+

Methods

+
+ +
    + +
  • +

    Associates dataCid of existing data with the given messageCid. +The returned dataCid and returned dataSize will be verified against the given dataCid (and inferred dataSize).

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
      +

      The tenant in which the data must exist under for the association to occur.

      +
      +
    • +
    • +
      messageCid: string
      +

      CID of the message that references the data.

      +
      +
    • +
    • +
      dataCid: string
      +

      The CID of the data stored.

      +
      +
    +

    Returns Promise<undefined | AssociateResult>

    if association succeeds. undefined if data to be associated is not found.

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

    Deletes the specified data.

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      messageCid: string
      +

      CID of the message that references the data.

      +
      +
    • +
    • +
      dataCid: string
    +

    Returns Promise<void>

    +
+
+ +
+
+ +
    + +
  • +

    Fetches the specified data. +The returned dataCid and returned dataSize will be verified against the given dataCid (and inferred dataSize).

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      messageCid: string
      +

      CID of the message that references the data.

      +
      +
    • +
    • +
      dataCid: string
    +

    Returns Promise<undefined | GetResult>

    +
+
+ +
+
+ +
    + +
  • +

    Puts the given data in store. +It is expected that the CID of the dataStream matches the given dataCid. +The returned dataCid and returned dataSize will be verified against the given dataCid (and inferred dataSize).

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      messageCid: string
      +

      CID of the message that references the data.

      +
      +
    • +
    • +
      dataCid: string
    • +
    • +
      dataStream: Readable
    +

    Returns Promise<PutResult>

    The CID and size in number of bytes of the data stored.

    + +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/DataStream.html b/classes/DataStream.html new file mode 100644 index 000000000..a42194a22 --- /dev/null +++ b/classes/DataStream.html @@ -0,0 +1,166 @@ +DataStream | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class DataStream

+
+

Utility class for readable data stream, intentionally named to disambiguate from ReadableStream, readable-stream, Readable etc.

+
+
+
+

Hierarchy

+
    +
  • DataStream
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Creates a readable stream from the bytes given.

    +
    +
    +

    Parameters

    +
      +
    • +
      bytes: Uint8Array
    +

    Returns Readable

    +
+
+ +
    + +
  • +

    Creates a readable stream from the object given.

    +
    +
    +

    Parameters

    +
      +
    • +
      object: Record<string, any>
    +

    Returns Readable

    +
+
+ +
    + +
  • +

    Reads the entire readable stream given into array of bytes.

    +
    +
    +

    Parameters

    +
      +
    • +
      readableStream: Readable
    +

    Returns Promise<Uint8Array>

    +
+
+ +
    + +
  • +

    Reads the entire readable stream and JSON parses it into an object.

    +
    +
    +

    Parameters

    +
      +
    • +
      readableStream: Readable
    +

    Returns Promise<object>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/DidIonResolver.html b/classes/DidIonResolver.html new file mode 100644 index 000000000..b2332fa3a --- /dev/null +++ b/classes/DidIonResolver.html @@ -0,0 +1,158 @@ +DidIonResolver | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class DidIonResolver

+
+

Resolver for ION DIDs.

+
+
+
+

Hierarchy

+
    +
  • DidIonResolver
+
+

Implements

+
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      resolutionEndpoint: string = 'https://discover.did.msidentity.com/1.0/identifiers/'
      +

      optional custom URL to send DID resolution request to

      +
      +
    +

    Returns DidIonResolver

    +
+
+

Methods

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

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/DidKeyResolver.html b/classes/DidKeyResolver.html new file mode 100644 index 000000000..19f0394d5 --- /dev/null +++ b/classes/DidKeyResolver.html @@ -0,0 +1,209 @@ +DidKeyResolver | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class DidKeyResolver

+
+

did:key Resolver.

+
    +
  • NOTE: Key support is limited to Ed25519 and SECP256k1.
  • +
  • NOTE: verificationMethod support is limited to JsonWebKey2020
  • +
+

Helpful Resources:

+ +
+
+
+

Hierarchy

+
    +
  • DidKeyResolver
+
+

Implements

+
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Methods

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

    Generates a new ed25519 public/private key pair. Creates a DID using the private key.

    +
    +

    Returns Promise<{
        did: string;
    } & KeyMaterial>

    DID and its key material.

    + +
+
+ +
    + +
  • +

    Gets the fully qualified key ID of a did:key DID. ie. '#'

    +
    +
    +

    Parameters

    +
      +
    • +
      did: string
    +

    Returns string

    +
+
+ +
    + +
  • +

    Gets the number of bytes of the multicodec header in the did:key DID.

    +
    +
    +

    Parameters

    +
      +
    • +
      did: Uint8Array
      +

      A did:key DID

      +
      +
    +

    Returns number

    size of the multicodec head in number of bytes

    + +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/DidResolver.html b/classes/DidResolver.html new file mode 100644 index 000000000..aaefa86af --- /dev/null +++ b/classes/DidResolver.html @@ -0,0 +1,140 @@ +DidResolver | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class DidResolver

+
+

A DID resolver that by default supports did:key and did:ion DIDs.

+
+
+
+

Hierarchy

+
    +
  • DidResolver
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    attempt to resolve the DID provided

    +
    +
    +

    Parameters

    +
      +
    • +
      did: string
      +

      the DID to resolve

      +
      +
    +

    Returns Promise<DidResolutionResult>

    +
    +

    Throws

    if DID is invalid

    + +

    Throws

    if DID method is not supported

    + +

    Throws

    if resolving DID fails

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Dwn.html b/classes/Dwn.html new file mode 100644 index 000000000..a36e352f0 --- /dev/null +++ b/classes/Dwn.html @@ -0,0 +1,413 @@ +Dwn | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class Dwn

+
+

Hierarchy

+
    +
  • Dwn
+
+
+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Returns Promise<void>

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

    Handles a RecordsRead message.

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      message: RecordsReadMessage
    +

    Returns Promise<RecordsReadReply>

    +
+
+ +
    + +
  • +

    Handles a RecordsWrite message.

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      message: RecordsWriteMessage
    • +
    • +
      Optional dataStream: Readable
    • +
    • +
      Optional options: RecordsWriteHandlerOptions
    +

    Returns Promise<GenericMessageReply>

    +
+
+ +
+
+ +
    + +
  • +

    Privileged method for writing a pruned initial RecordsWrite to a DWN without needing to supply associated data.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<GenericMessageReply>

    +
+
+ +
    + +
  • +

    Validates structure of DWN message

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<undefined | GenericMessageReply>

    GenericMessageReply if the message has an integrity error, otherwise undefined.

    + +
+
+ +
    + +
  • +

    Checks tenant gate to see if tenant is allowed.

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
      +

      The tenant DID to route the given message to.

      +
      +
    +

    Returns Promise<undefined | GenericMessageReply>

    GenericMessageReply if the message has an integrity error, otherwise undefined.

    + +
+
+ +
    + +
  • +

    Creates an instance of the DWN.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<Dwn>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/DwnConstant.html b/classes/DwnConstant.html new file mode 100644 index 000000000..aa9350337 --- /dev/null +++ b/classes/DwnConstant.html @@ -0,0 +1,102 @@ +DwnConstant | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class DwnConstant

+
+

Hierarchy

+
    +
  • DwnConstant
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
maxDataSizeAllowedToBeEncoded: 30000 = 30_000
+

The maximum size of raw data that will be returned as encodedData.

+

We chose 30k, as after encoding it would give plenty of headroom up to the 65k limit in most SQL variants. +We currently encode using base64url which is a 33% increase in size.

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/DwnError.html b/classes/DwnError.html new file mode 100644 index 000000000..d2d839e15 --- /dev/null +++ b/classes/DwnError.html @@ -0,0 +1,113 @@ +DwnError | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class DwnError

+
+

A class that represents a DWN error.

+
+
+
+

Hierarchy

+
    +
  • Error +
      +
    • DwnError
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
code: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Encoder.html b/classes/Encoder.html new file mode 100644 index 000000000..9e15bba5b --- /dev/null +++ b/classes/Encoder.html @@ -0,0 +1,214 @@ +Encoder | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class Encoder

+
+

Utility class for encoding/converting data into various formats.

+
+
+
+

Hierarchy

+
    +
  • Encoder
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      base64urlString: string
    +

    Returns Uint8Array

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      base64urlString: string
    +

    Returns any

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      bytes: Uint8Array
    +

    Returns string

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      content: Uint8Array
    +

    Returns object

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      content: Uint8Array
    +

    Returns string

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      obj: Record<string, any>
    +

    Returns Uint8Array

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      content: string
    +

    Returns string

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      content: string
    +

    Returns Uint8Array

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Encryption.html b/classes/Encryption.html new file mode 100644 index 000000000..a349f29c5 --- /dev/null +++ b/classes/Encryption.html @@ -0,0 +1,180 @@ +Encryption | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class Encryption

+
+

Utility class for performing common, non-DWN specific encryption operations.

+
+
+
+

Hierarchy

+
    +
  • Encryption
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Decrypts the given cipher stream using AES-256-CTR algorithm.

    +
    +
    +

    Parameters

    +
      +
    • +
      key: Uint8Array
    • +
    • +
      initializationVector: Uint8Array
    • +
    • +
      cipherStream: Readable
    +

    Returns Promise<Readable>

    +
+
+ +
    + +
  • +

    Encrypts the given plaintext stream using AES-256-CTR algorithm.

    +
    +
    +

    Parameters

    +
      +
    • +
      key: Uint8Array
    • +
    • +
      initializationVector: Uint8Array
    • +
    • +
      plaintextStream: Readable
    +

    Returns Promise<Readable>

    +
+
+ +
    + +
  • +

    Decrypt the given plaintext using ECIES (Elliptic Curve Integrated Encryption Scheme) +with SECP256K1 for the asymmetric calculations, HKDF as the key-derivation function, +and AES-GCM for the symmetric encryption and MAC algorithms.

    +
    +
    +

    Parameters

    +
      +
    • +
      input: EciesEncryptionInput
    +

    Returns Promise<Uint8Array>

    +
+
+ +
    + +
  • +

    Encrypts the given plaintext using ECIES (Elliptic Curve Integrated Encryption Scheme) +with SECP256K1 for the asymmetric calculations, HKDF as the key-derivation function, +and AES-GCM for the symmetric encryption and MAC algorithms.

    +
    +
    +

    Parameters

    +
      +
    • +
      uncompressedPublicKey: Uint8Array
    • +
    • +
      plaintext: Uint8Array
    +

    Returns Promise<EciesEncryptionOutput>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/EventLogLevel.html b/classes/EventLogLevel.html new file mode 100644 index 000000000..b886e2dba --- /dev/null +++ b/classes/EventLogLevel.html @@ -0,0 +1,251 @@ +EventLogLevel | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class EventLogLevel

+
+

Hierarchy

+
    +
  • EventLogLevel
+
+

Implements

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
config: EventLogLevelConfig
+
+ +
db: LevelWrapper<string>
+
+ +
ulidFactory: ULIDFactory
+
+

Methods

+
+ +
    + +
  • +

    adds an event to a tenant's event log

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
      +

      the tenant's DID

      +
      +
    • +
    • +
      messageCid: string
      +

      the CID of the message

      +
      +
    +

    Returns Promise<string>

    watermark

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

    deletes any events that have any of the cids provided

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      cids: string[]
    +

    Returns Promise<number>

    the number of events deleted

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

    retrieves all of a tenant's events that occurred after the watermark provided. +If no watermark is provided, all events for a given tenant will be returned.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<Event[]>

    +
+
+ +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/EventsGet.html b/classes/EventsGet.html new file mode 100644 index 000000000..3a49c8762 --- /dev/null +++ b/classes/EventsGet.html @@ -0,0 +1,417 @@ +EventsGet | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class EventsGet

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: undefined | string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

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

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

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

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/HdKey.html b/classes/HdKey.html new file mode 100644 index 000000000..49eb20971 --- /dev/null +++ b/classes/HdKey.html @@ -0,0 +1,136 @@ +HdKey | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class HdKey

+
+

Class containing hierarchical deterministic key related utility methods used by the DWN.

+
+
+
+

Hierarchy

+
    +
  • HdKey
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Derives a descendant public key from an ancestor private key. +NOTE: currently only supports SECP256K1 keys.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<PublicJwk>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Jws.html b/classes/Jws.html new file mode 100644 index 000000000..5b4b45216 --- /dev/null +++ b/classes/Jws.html @@ -0,0 +1,225 @@ +Jws | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class Jws

+
+

Utility class for JWS related operations.

+
+
+
+

Hierarchy

+
    +
  • Jws
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +

    Returns Jws

+
+

Methods

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

    Decodes the payload of the given JWS object as a plain object.

    +
    +
    +

    Parameters

    +
      +
    • +
      jws: GeneralJws
    +

    Returns any

    +
+
+ +
    + +
  • +

    Extracts the DID from the given kid string.

    +
    +
    +

    Parameters

    +
      +
    • +
      kid: string
    +

    Returns string

    +
+
+ +
    + +
  • +

    Gets the kid from a general JWS signature entry.

    +
    +
    +

    Parameters

    +
      +
    • +
      signatureEntry: SignatureEntry
    +

    Returns string

    +
+
+ +
    + +
  • +

    Gets the signer DID from a general JWS signature entry.

    +
    +
    +

    Parameters

    +
      +
    • +
      signatureEntry: SignatureEntry
    +

    Returns string

    +
+
+ +
    + +
  • +

    Verifies the signature against the given payload.

    +
    +
    +

    Parameters

    +
      +
    • +
      base64UrlPayload: string
    • +
    • +
      signatureEntry: SignatureEntry
    • +
    • +
      jwkPublic: PublicJwk
    +

    Returns Promise<boolean>

    true if signature is valid; false otherwise

    + +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Message.html b/classes/Message.html new file mode 100644 index 000000000..5e75d4b6e --- /dev/null +++ b/classes/Message.html @@ -0,0 +1,390 @@ +Message | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class Message<M>Abstract

+
+

Type Parameters

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: undefined | string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
message: M
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

    + +
+
+ +
    + +
  • +

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

    +
+
+ +
    + +
  • +

    Gets the CID of the given message.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<string>

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

    Checks if first message is newer than second message.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<boolean>

    true if a is newer than b; false otherwise

    + +
+
+ +
    + +
  • +

    Checks if first message is older than second message.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<boolean>

    true if a is older than b; false otherwise

    + +
+
+ +
    + +
  • +

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/MessageStoreLevel.html b/classes/MessageStoreLevel.html new file mode 100644 index 000000000..8885f4440 --- /dev/null +++ b/classes/MessageStoreLevel.html @@ -0,0 +1,351 @@ +MessageStoreLevel | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class MessageStoreLevel

+
+

A simple implementation of MessageStore that works in both the browser and server-side. +Leverages LevelDB under the hood.

+
+
+
+

Hierarchy

+
    +
  • MessageStoreLevel
+
+

Implements

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
blockstore: BlockstoreLevel
+
+ +
config: MessageStoreLevelConfig
+
+ +
index: IndexLevel
+
+

Methods

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

    adds a message to the underlying store. Uses the message's cid as the key

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      message: GenericMessage
    • +
    • +
      indexes: {
          [key: string]: string | boolean;
      }
      +

      indexes (key-value pairs) to be included as part of this put operation

      +
      +
      +
        +
      • +
        [key: string]: string | boolean
    • +
    • +
      Optional options: MessageStoreOptions
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    Queries the underlying store for messages that matches the provided filters. +Supplying multiple filters establishes an OR condition between the filters.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<{
        messages: GenericMessage[];
        paginationMessageCid?: string;
    }>

    +
+
+ +
    + +
  • +

    Compares the chosen property of two messages in lexicographical order. +When the value is the same between the two objects, messageCid comparison is used to tiebreak. +tiebreaker always compares messageA to messageB

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    if SortOrder is Ascending: + 1 if the chosen property of messageA is larger than of messageB; + -1 if the chosen property messageA is smaller/older than of messageB; + 0 otherwise + if SortOrder is Descending: + 1 if the chosen property of messageB is larger than of messageA; + -1 if the chosen property messageB is smaller/older than of messageA; + 0 otherwise

    + +
+
+ +
    + +
  • +

    This is a temporary naive sort, it will eventually be done within the underlying data store.

    +

    If sorting is based on date published, records that are not published are filtered out.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<GenericMessage[]>

    Sorted Messages

    + +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/MessagesGet.html b/classes/MessagesGet.html new file mode 100644 index 000000000..47de712d8 --- /dev/null +++ b/classes/MessagesGet.html @@ -0,0 +1,417 @@ +MessagesGet | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class MessagesGet

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: undefined | string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

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

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

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

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/PermissionsGrant.html b/classes/PermissionsGrant.html new file mode 100644 index 000000000..3dd5e1aa7 --- /dev/null +++ b/classes/PermissionsGrant.html @@ -0,0 +1,475 @@ +PermissionsGrant | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class PermissionsGrant

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: undefined | string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
+
+

Methods

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

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

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

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    generates a PermissionsGrant using the provided PermissionsRequest

    +
    +
    +

    Parameters

    +
      +
    • +
      permissionsRequest: PermissionsRequest
      +
    • +
    • +
      authorizationSigner: Signer
      +

      the private key and additional signature material of the grantor

      +
      +
    • +
    • +
      overrides: CreateFromPermissionsRequestOverrides
      +

      overrides that will be used instead of the properties in permissionsRequest

      +
      +
    +

    Returns Promise<PermissionsGrant>

    +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

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

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+ +
    + +
  • +

    Validates scope structure for properties beyond interface and method. +Currently only grants for RecordsRead and RecordsWrite have such properties and need validation beyond JSON Schema.

    +
    +
    +

    Parameters

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/PermissionsRequest.html b/classes/PermissionsRequest.html new file mode 100644 index 000000000..592bc9aab --- /dev/null +++ b/classes/PermissionsRequest.html @@ -0,0 +1,417 @@ +PermissionsRequest | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class PermissionsRequest

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: undefined | string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

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

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

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

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/PermissionsRevoke.html b/classes/PermissionsRevoke.html new file mode 100644 index 000000000..ead415297 --- /dev/null +++ b/classes/PermissionsRevoke.html @@ -0,0 +1,432 @@ +PermissionsRevoke | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class PermissionsRevoke

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: undefined | string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
+
+

Methods

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

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

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

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

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

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/PrivateKeySigner.html b/classes/PrivateKeySigner.html new file mode 100644 index 000000000..c53f91c45 --- /dev/null +++ b/classes/PrivateKeySigner.html @@ -0,0 +1,159 @@ +PrivateKeySigner | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class PrivateKeySigner

+
+

A signer that signs using a private key.

+
+
+
+

Hierarchy

+
    +
  • PrivateKeySigner
+
+

Implements

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
algorithm: string
+

The name of the signature algorithm used by this signer. +This value will be used as the "alg" parameter in JWS produced. +This parameter is not used by the DWN but is unfortunately a required header property for a JWS as per: +https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.1 +Valid signature algorithm values can be found at https://www.iana.org/assignments/jose/jose.xhtml

+
+
+
+ +
keyId: string
+

The ID of the key used by this signer. +This needs to be a fully-qualified ID (ie. prefixed with DID) so that author can be parsed out for processing such as recordId computation. +Example: did:example:alice#key1 +This value will be used as the "kid" parameter in JWS produced. +While this property is not a required property per JWS specification, it is required for DWN authentication.

+
+
+
+

Methods

+
+ +
    + +
  • +

    Signs the given content and returns the signature as bytes.

    +
    +
    +

    Parameters

    +
      +
    • +
      content: Uint8Array
    +

    Returns Promise<Uint8Array>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Protocols.html b/classes/Protocols.html new file mode 100644 index 000000000..dcaa2422f --- /dev/null +++ b/classes/Protocols.html @@ -0,0 +1,118 @@ +Protocols | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class Protocols

+
+

Class containing Protocol related utility methods.

+
+
+
+

Hierarchy

+
    +
  • Protocols
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Derives public encryptions keys and inject it in the $encryption property for each protocol path segment of the given Protocol definition, +then returns the final encryption-enabled protocol definition. +NOTE: The original definition passed in is unmodified.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<ProtocolDefinition>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ProtocolsConfigure.html b/classes/ProtocolsConfigure.html new file mode 100644 index 000000000..b7e077daa --- /dev/null +++ b/classes/ProtocolsConfigure.html @@ -0,0 +1,417 @@ +ProtocolsConfigure | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class ProtocolsConfigure

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

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

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

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

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ProtocolsQuery.html b/classes/ProtocolsQuery.html new file mode 100644 index 000000000..98497a5e0 --- /dev/null +++ b/classes/ProtocolsQuery.html @@ -0,0 +1,434 @@ +ProtocolsQuery | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class ProtocolsQuery

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: undefined | string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
+
+

Methods

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

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

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

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

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

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Records.html b/classes/Records.html new file mode 100644 index 000000000..d0e73290c --- /dev/null +++ b/classes/Records.html @@ -0,0 +1,301 @@ +Records | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class Records

+
+

Class containing useful utilities related to the Records interface.

+
+
+
+

Hierarchy

+
    +
  • Records
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Constructs full key derivation path using the specified scheme.

    +
    +
    +

    Parameters

    +
    +

    Returns string[]

    +
+
+ +
    + +
  • +

    Constructs the full key derivation path using dataFormats scheme.

    +
    +
    +

    Parameters

    +
      +
    • +
      schema: undefined | string
    • +
    • +
      dataFormat: string
    +

    Returns string[]

    +
+
+ +
    + +
  • +

    Constructs the full key derivation path using protocolContext scheme.

    +
    +
    +

    Parameters

    +
      +
    • +
      contextId: undefined | string
    +

    Returns string[]

    +
+
+ +
    + +
  • +

    Constructs the full key derivation path using protocolPath scheme.

    +
    +
    +

    Parameters

    +
    +

    Returns string[]

    +
+
+ +
    + +
  • +

    Constructs the full key derivation path using schemas scheme.

    +
    +
    +

    Parameters

    +
      +
    • +
      schema: undefined | string
    +

    Returns string[]

    +
+
+ +
    + +
  • +

    Converts an incoming RecordsFilter into a Filter usable by MessageStore.

    +
    +
    +

    Parameters

    +
      +
    • +
      filter: RecordsFilter
      +

      A RecordsFilter

      +
      +
    +

    Returns Filter

    a generic Filter able to be used with MessageStore.

    + +
+
+ +
    + +
  • +

    Decrypts the encrypted data in a message reply using the given ancestor private key.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<Readable>

    +
+
+ +
    + +
  • +

    Derives a descendant private key given an ancestor private key and the full absolute derivation path. +NOTE: right now only ECIES-ES256K algorithm is supported for asymmetric encryption, + so we will only derive SECP256K1 key without additional conditional checks

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<Uint8Array>

    +
+
+ +
    + +
  • +

    Normalizes the protocol and schema URLs within a provided RecordsFilter and returns a copy of RecordsFilter with the modified values.

    +
    +
    +

    Parameters

    +
      +
    • +
      filter: RecordsFilter
      +

      incoming RecordsFilter to normalize.

      +
      +
    +

    Returns RecordsFilter

    a copy of the incoming RecordsFilter with the normalized properties.

    + +
+
+ +
    + +
  • +

    Validates that ancestor derivation path matches the descendant derivation path completely.

    +
    +
    +

    Parameters

    +
      +
    • +
      ancestorKeyDerivationPath: string[]
    • +
    • +
      descendantKeyDerivationPath: string[]
    +

    Returns void

    +
    +

    Throws

    with DwnErrorCode.RecordsInvalidAncestorKeyDerivationSegment if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/RecordsDelete.html b/classes/RecordsDelete.html new file mode 100644 index 000000000..d6d1d013d --- /dev/null +++ b/classes/RecordsDelete.html @@ -0,0 +1,435 @@ +RecordsDelete | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class RecordsDelete

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: undefined | string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
+
+

Methods

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

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

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

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

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

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/RecordsQuery.html b/classes/RecordsQuery.html new file mode 100644 index 000000000..0903b307c --- /dev/null +++ b/classes/RecordsQuery.html @@ -0,0 +1,417 @@ +RecordsQuery | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class RecordsQuery

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: undefined | string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

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

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

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

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/RecordsRead.html b/classes/RecordsRead.html new file mode 100644 index 000000000..82cef0ebe --- /dev/null +++ b/classes/RecordsRead.html @@ -0,0 +1,441 @@ +RecordsRead | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class RecordsRead

+
+

Hierarchy

+
    +
  • Message<RecordsReadMessage> +
      +
    • RecordsRead
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
author: undefined | string
+
+ +
authorSignaturePayload: undefined | GenericSignaturePayload
+
+ +
message: RecordsReadMessage
+
+

Methods

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

    Compares message CID in lexicographical order according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger than b; -1 if a is smaller/older than b; 0 otherwise (same message)

    + +
+
+ +
    + +
  • +

    Compares the messageTimestamp of the given messages with a fallback to message CID according to the spec.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<number>

    1 if a is larger/newer than b; -1 if a is smaller/older than b; 0 otherwise (same age)

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

    Creates the authorization as the author to be used in a DWN message.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
      +

      Signer as the author

      +
      +
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<AuthorizationModel>

    used as an authorization property.

    + +
+
+ +
    + +
  • +

    Creates a generic signature from the given DWN message descriptor by including descriptorCid as the required property in the signature payload. +NOTE: there is an opportunity to consolidate RecordsWrite.createAuthorSignature() wth this method

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptor: Descriptor
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalPayloadProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message, returned undefined if message is not signed.

    +
    +
    +

    Parameters

    +
    +

    Returns undefined | string

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

    Validates the given message against the corresponding JSON schema.

    +
    +
    +

    Parameters

    +
      +
    • +
      rawMessage: any
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/RecordsWrite.html b/classes/RecordsWrite.html new file mode 100644 index 000000000..b7f894f00 --- /dev/null +++ b/classes/RecordsWrite.html @@ -0,0 +1,489 @@ +RecordsWrite | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class RecordsWrite

+
+

Hierarchy

+
    +
  • RecordsWrite
+
+
+
+ +
+
+

Properties

+
+ +
attesters: string[]
+
+

Accessors

+
+ +
+
+ +
    +
  • get authorSignaturePayload(): undefined | RecordsWriteSignaturePayload
  • +
  • +

    Decoded author signature payload.

    +
    +

    Returns undefined | RecordsWriteSignaturePayload

    +
+
+ +
+
+ +
+
+ +
    +
  • get ownerSignaturePayload(): undefined | GenericSignaturePayload
  • +
  • +

    Decoded owner signature payload.

    +
    +

    Returns undefined | GenericSignaturePayload

    +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Encrypts the symmetric encryption key using the public keys given and attach the resulting encryption property to the RecordsWrite.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    Computes the deterministic Entry ID of this message.

    +
    +

    Returns Promise<string>

    +
+
+ +
    + +
  • +

    Checks if the given message is the initial entry of a record.

    +
    +

    Returns Promise<boolean>

    +
+
+ +
    + +
  • +

    Signs the RecordsWrite as the author.

    +
    +
    +

    Parameters

    +
      +
    • +
      signer: Signer
    • +
    • +
      Optional options: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    Signs the RecordsWrite as the DWN owner. +This is used when the DWN owner wants to retain a copy of a message that the owner did not author. +NOTE: requires the RecordsWrite to already have the author's signature already.

    +
    +
    +

    Parameters

    +
      +
    • +
      signer: Signer
    • +
    • +
      Optional permissionsGrantId: string
    +

    Returns Promise<void>

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

    Creates the attestation property of a RecordsWrite message if given signature inputs; returns undefined otherwise.

    +
    +
    +

    Parameters

    +
      +
    • +
      descriptorCid: string
    • +
    • +
      Optional signers: Signer[]
    +

    Returns Promise<undefined | GeneralJws>

    +
+
+ +
    + +
  • +

    Creates the authorization property of a RecordsWrite message.

    +
    +
    +

    Parameters

    +
      +
    • +
      recordId: string
    • +
    • +
      contextId: undefined | string
    • +
    • +
      descriptorCid: string
    • +
    • +
      attestation: undefined | GeneralJws
    • +
    • +
      encryption: undefined | EncryptionProperty
    • +
    • +
      signer: Signer
    • +
    • +
      Optional additionalProperties: {
          permissionsGrantId?: string;
          protocolRole?: string;
      }
      +
        +
      • +
        Optional permissionsGrantId?: string
      • +
      • +
        Optional protocolRole?: string
    +

    Returns Promise<GeneralJws>

    +
+
+ +
    + +
  • +

    Convenience method that creates a message by:

    +
      +
    1. Copying over immutable properties from the given source message
    2. +
    3. Copying over mutable properties that are not overwritten from the given source message
    4. +
    5. Replace the mutable properties that are given new value
    6. +
    +
    +
    +

    Parameters

    +
    +

    Returns Promise<RecordsWrite>

    +
+
+ +
    + +
  • +

    Gets the DID of the author of the given message.

    +
    +
    +

    Parameters

    +
      +
    • +
      message: InternalRecordsWriteMessage
    +

    Returns string[]

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

    Checks if the given message is the initial entry of a record.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<boolean>

    +
+
+ +
+
+ +
    + +
  • +

    Verifies that immutable properties of the two given messages are identical.

    +
    +
    +

    Parameters

    +
    +

    Returns boolean

    +
    +

    Throws

    if immutable properties between two RecordsWrite message

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Secp256k1.html b/classes/Secp256k1.html new file mode 100644 index 000000000..9ea2ff754 --- /dev/null +++ b/classes/Secp256k1.html @@ -0,0 +1,352 @@ +Secp256k1 | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Class Secp256k1

+
+

Class containing SECP256K1 related utility methods.

+
+
+
+

Hierarchy

+
    +
  • Secp256k1
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Derives a child private key using the given derivation path segment.

    +
    +
    +

    Parameters

    +
      +
    • +
      privateKey: Uint8Array
    • +
    • +
      derivationPathSegment: Uint8Array
    +

    Returns Promise<Uint8Array>

    +
+
+ +
    + +
  • +

    Derives a hardened hierarchical deterministic private key.

    +
    +
    +

    Parameters

    +
      +
    • +
      privateKey: Uint8Array
    • +
    • +
      relativePath: string[]
    +

    Returns Promise<Uint8Array>

    +
+
+ +
    + +
  • +

    Derives a hardened hierarchical deterministic public key.

    +
    +
    +

    Parameters

    +
      +
    • +
      privateKey: Uint8Array
    • +
    • +
      relativePath: string[]
    +

    Returns Promise<Uint8Array>

    uncompressed public key

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

    Generates key pair in raw bytes, where the publicKey is uncompressed.

    +
    +

    Returns Promise<{
        privateKey: Uint8Array;
        publicKey: Uint8Array;
    }>

    +
+
+ +
+
+ +
    + +
  • +

    Gets the uncompressed public key of the given private key.

    +
    +
    +

    Parameters

    +
      +
    • +
      privateKey: Uint8Array
    +

    Returns Promise<Uint8Array>

    +
+
+ +
    + +
  • +

    Creates a private key in raw bytes from the given SECP256K1 JWK.

    +
    +
    +

    Parameters

    +
    +

    Returns Uint8Array

    +
+
+ +
    + +
  • +

    Converts a private key in bytes into a JWK.

    +
    +
    +

    Parameters

    +
      +
    • +
      privateKeyBytes: Uint8Array
    +

    Returns Promise<PrivateJwk>

    +
+
+ +
    + +
  • +

    Creates a uncompressed key in raw bytes from the given SECP256K1 JWK.

    +
    +
    +

    Parameters

    +
    +

    Returns Uint8Array

    +
+
+ +
    + +
  • +

    Converts a public key in bytes into a JWK.

    +
    +
    +

    Parameters

    +
      +
    • +
      publicKeyBytes: Uint8Array
    +

    Returns Promise<PublicJwk>

    +
+
+ +
    + +
  • +

    Signs the provided content using the provided JWK.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<Uint8Array>

    +
+
+ +
    + +
  • +

    Validates the given JWK is a SECP256K1 key.

    +
    +
    +

    Parameters

    +
    +

    Returns void

    +
    +

    Throws

    if fails validation.

    +
+
+ +
    + +
  • +

    Verifies a signature against the provided payload hash and public key.

    +
    +
    +

    Parameters

    +
      +
    • +
      content: Uint8Array
    • +
    • +
      signature: Uint8Array
    • +
    • +
      publicJwk: PublicJwk
    +

    Returns Promise<boolean>

    a boolean indicating whether the signature is valid.

    + +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/DateSort.html b/enums/DateSort.html new file mode 100644 index 000000000..3ab4b5bc3 --- /dev/null +++ b/enums/DateSort.html @@ -0,0 +1,101 @@ +DateSort | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Enumeration DateSort

+
+
+
+ +
+
+

Enumeration Members

+
+ +
CreatedAscending: "createdAscending"
+
+ +
CreatedDescending: "createdDescending"
+
+ +
PublishedAscending: "publishedAscending"
+
+ +
PublishedDescending: "publishedDescending"
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/DwnErrorCode.html b/enums/DwnErrorCode.html new file mode 100644 index 000000000..ffd78d5b4 --- /dev/null +++ b/enums/DwnErrorCode.html @@ -0,0 +1,602 @@ +DwnErrorCode | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Enumeration DwnErrorCode

+
+

DWN SDK error codes.

+
+
+
+
+
+ +
+
+

Enumeration Members

+
AuthenticateJwsMissing +AuthorizationUnknownAuthor +DidMethodNotSupported +DidNotString +DidNotValid +DidResolutionFailed +GeneralJwsVerifierInvalidSignature +GrantAuthorizationGrantExpired +GrantAuthorizationGrantMissing +GrantAuthorizationGrantNotYetActive +GrantAuthorizationGrantRevoked +GrantAuthorizationInterfaceMismatch +GrantAuthorizationMethodMismatch +GrantAuthorizationNotGrantedForTenant +GrantAuthorizationNotGrantedToAuthor +HdKeyDerivationPathInvalid +PermissionsGrantGrantedByMismatch +PermissionsGrantScopeContextIdAndProtocolPath +PermissionsGrantScopeSchemaProhibitedFields +PermissionsGrantUnauthorizedGrant +PermissionsRevokeMissingPermissionsGrant +PermissionsRevokeUnauthorizedRevoke +PrivateKeySignerUnableToDeduceAlgorithm +PrivateKeySignerUnableToDeduceKeyId +PrivateKeySignerUnsupportedCurve +ProtocolAuthorizationActionNotAllowed +ProtocolAuthorizationDuplicateContextRoleRecipient +ProtocolAuthorizationDuplicateGlobalRoleRecipient +ProtocolAuthorizationIncorrectDataFormat +ProtocolAuthorizationIncorrectProtocolPath +ProtocolAuthorizationInvalidSchema +ProtocolAuthorizationInvalidType +ProtocolAuthorizationMissingRole +ProtocolAuthorizationMissingRuleSet +ProtocolAuthorizationNotARole +ProtocolAuthorizationParentlessIncorrectProtocolPath +ProtocolAuthorizationRoleMissingRecipient +ProtocolsConfigureContextRoleAtProhibitedProtocolPath +ProtocolsConfigureGlobalRoleAtProhibitedProtocolPath +ProtocolsConfigureInvalidActionMissingOf +ProtocolsConfigureInvalidActionOfNotAllowed +ProtocolsConfigureInvalidRole +ProtocolsConfigureUnauthorized +ProtocolsQueryUnauthorized +RecordsDecryptNoMatchingKeyEncryptedFound +RecordsDerivePrivateKeyUnSupportedCurve +RecordsGrantAuthorizationConditionPublicationProhibited +RecordsGrantAuthorizationConditionPublicationRequired +RecordsGrantAuthorizationScopeContextIdMismatch +RecordsGrantAuthorizationScopeNotProtocol +RecordsGrantAuthorizationScopeProtocolMismatch +RecordsGrantAuthorizationScopeProtocolPathMismatch +RecordsGrantAuthorizationScopeSchema +RecordsInvalidAncestorKeyDerivationSegment +RecordsProtocolContextDerivationSchemeMissingContextId +RecordsProtocolPathDerivationSchemeMissingProtocol +RecordsReadReturnedMultiple +RecordsSchemasDerivationSchemeMissingSchema +RecordsWriteDataCidMismatch +RecordsWriteDataSizeMismatch +RecordsWriteGetEntryIdUndefinedAuthor +RecordsWriteMissingAuthorizationSigner +RecordsWriteMissingDataAssociation +RecordsWriteMissingDataInPrevious +RecordsWriteMissingDataStream +RecordsWriteMissingProtocol +RecordsWriteMissingSchema +RecordsWriteOwnerAndTenantMismatch +RecordsWriteSignAsOwnerUnknownAuthor +RecordsWriteValidateIntegrityEncryptionCidMismatch +Secp256k1KeyNotValid +UrlProtocolNotNormalizable +UrlProtocolNotNormalized +UrlSchemaNotNormalizable +UrlSchemaNotNormalized +
+
+

Enumeration Members

+
+ +
AuthenticateJwsMissing: "AuthenticateJwsMissing"
+
+ +
AuthorizationUnknownAuthor: "AuthorizationUnknownAuthor"
+
+ +
DidMethodNotSupported: "DidMethodNotSupported"
+
+ +
DidNotString: "DidNotString"
+
+ +
DidNotValid: "DidNotValid"
+
+ +
DidResolutionFailed: "DidResolutionFailed"
+
+ +
GeneralJwsVerifierInvalidSignature: "GeneralJwsVerifierInvalidSignature"
+
+ +
GrantAuthorizationGrantExpired: "GrantAuthorizationGrantExpired"
+
+ +
GrantAuthorizationGrantMissing: "GrantAuthorizationGrantMissing"
+
+ +
GrantAuthorizationGrantNotYetActive: "GrantAuthorizationGrantNotYetActive"
+
+ +
GrantAuthorizationGrantRevoked: "GrantAuthorizationGrantRevoked"
+
+ +
GrantAuthorizationInterfaceMismatch: "GrantAuthorizationInterfaceMismatch"
+
+ +
GrantAuthorizationMethodMismatch: "GrantAuthorizationMethodMismatch"
+
+ +
GrantAuthorizationNotGrantedForTenant: "GrantAuthorizationNotGrantedForTenant"
+
+ +
GrantAuthorizationNotGrantedToAuthor: "GrantAuthorizationNotGrantedToAuthor"
+
+ +
HdKeyDerivationPathInvalid: "HdKeyDerivationPathInvalid"
+
+ +
PermissionsGrantGrantedByMismatch: "PermissionsGrantGrantedByMismatch"
+
+ +
PermissionsGrantScopeContextIdAndProtocolPath: "PermissionsGrantScopeContextIdAndProtocolPath"
+
+ +
PermissionsGrantScopeSchemaProhibitedFields: "PermissionsGrantScopeSchemaProhibitedFields"
+
+ +
PermissionsGrantUnauthorizedGrant: "PermissionsGrantUnauthorizedGrant"
+
+ +
PermissionsRevokeMissingPermissionsGrant: "PermissionsRevokeMissingPermissionsGrant"
+
+ +
PermissionsRevokeUnauthorizedRevoke: "PermissionsRevokeUnauthorizedRevoke"
+
+ +
PrivateKeySignerUnableToDeduceAlgorithm: "PrivateKeySignerUnableToDeduceAlgorithm"
+
+ +
PrivateKeySignerUnableToDeduceKeyId: "PrivateKeySignerUnableToDeduceKeyId"
+
+ +
PrivateKeySignerUnsupportedCurve: "PrivateKeySignerUnsupportedCurve"
+
+ +
ProtocolAuthorizationActionNotAllowed: "ProtocolAuthorizationActionNotAllowed"
+
+ +
ProtocolAuthorizationDuplicateContextRoleRecipient: "ProtocolAuthorizationDuplicateContextRoleRecipient"
+
+ +
ProtocolAuthorizationDuplicateGlobalRoleRecipient: "ProtocolAuthorizationDuplicateGlobalRoleRecipient"
+
+ +
ProtocolAuthorizationIncorrectDataFormat: "ProtocolAuthorizationIncorrectDataFormat"
+
+ +
ProtocolAuthorizationIncorrectProtocolPath: "ProtocolAuthorizationIncorrectProtocolPath"
+
+ +
ProtocolAuthorizationInvalidSchema: "ProtocolAuthorizationInvalidSchema"
+
+ +
ProtocolAuthorizationInvalidType: "ProtocolAuthorizationInvalidType"
+
+ +
ProtocolAuthorizationMissingRole: "ProtocolAuthorizationMissingRole"
+
+ +
ProtocolAuthorizationMissingRuleSet: "ProtocolAuthorizationMissingRuleSet"
+
+ +
ProtocolAuthorizationNotARole: "ProtocolAuthorizationNotARole"
+
+ +
ProtocolAuthorizationParentlessIncorrectProtocolPath: "ProtocolAuthorizationParentlessIncorrectProtocolPath"
+
+ +
ProtocolAuthorizationRoleMissingRecipient: "ProtocolAuthorizationRoleMissingRecipient"
+
+ +
ProtocolsConfigureContextRoleAtProhibitedProtocolPath: "ProtocolsConfigureContextRoleAtProhibitedProtocolPath"
+
+ +
ProtocolsConfigureGlobalRoleAtProhibitedProtocolPath: "ProtocolsConfigureGlobalRoleAtProhibitedProtocolPath"
+
+ +
ProtocolsConfigureInvalidActionMissingOf: "ProtocolsConfigureInvalidActionMissingOf"
+
+ +
ProtocolsConfigureInvalidActionOfNotAllowed: "ProtocolsConfigureInvalidActionOfNotAllowed"
+
+ +
ProtocolsConfigureInvalidRole: "ProtocolsConfigureInvalidRole"
+
+ +
ProtocolsConfigureUnauthorized: "ProtocolsConfigureUnauthorized"
+
+ +
ProtocolsQueryUnauthorized: "ProtocolsQueryUnauthorized"
+
+ +
RecordsDecryptNoMatchingKeyEncryptedFound: "RecordsDecryptNoMatchingKeyEncryptedFound"
+
+ +
RecordsDerivePrivateKeyUnSupportedCurve: "RecordsDerivePrivateKeyUnSupportedCurve"
+
+ +
RecordsGrantAuthorizationConditionPublicationProhibited: "RecordsGrantAuthorizationConditionPublicationProhibited"
+
+ +
RecordsGrantAuthorizationConditionPublicationRequired: "RecordsGrantAuthorizationConditionPublicationRequired"
+
+ +
RecordsGrantAuthorizationScopeContextIdMismatch: "RecordsGrantAuthorizationScopeContextIdMismatch"
+
+ +
RecordsGrantAuthorizationScopeNotProtocol: "RecordsGrantAuthorizationScopeNotProtocol"
+
+ +
RecordsGrantAuthorizationScopeProtocolMismatch: "RecordsGrantAuthorizationScopeProtocolMismatch"
+
+ +
RecordsGrantAuthorizationScopeProtocolPathMismatch: "RecordsGrantAuthorizationScopeProtocolPathMismatch"
+
+ +
RecordsGrantAuthorizationScopeSchema: "RecordsGrantAuthorizationScopeSchema"
+
+ +
RecordsInvalidAncestorKeyDerivationSegment: "RecordsInvalidAncestorKeyDerivationSegment"
+
+ +
RecordsProtocolContextDerivationSchemeMissingContextId: "RecordsProtocolContextDerivationSchemeMissingContextId"
+
+ +
RecordsProtocolPathDerivationSchemeMissingProtocol: "RecordsProtocolPathDerivationSchemeMissingProtocol"
+
+ +
RecordsReadReturnedMultiple: "RecordsReadReturnedMultiple"
+
+ +
RecordsSchemasDerivationSchemeMissingSchema: "RecordsSchemasDerivationSchemeMissingSchema"
+
+ +
RecordsWriteDataCidMismatch: "RecordsWriteDataCidMismatch"
+
+ +
RecordsWriteDataSizeMismatch: "RecordsWriteDataSizeMismatch"
+
+ +
RecordsWriteGetEntryIdUndefinedAuthor: "RecordsWriteGetEntryIdUndefinedAuthor"
+
+ +
RecordsWriteMissingAuthorizationSigner: "RecordsWriteMissingAuthorizationSigner"
+
+ +
RecordsWriteMissingDataAssociation: "RecordsWriteMissingDataAssociation"
+
+ +
RecordsWriteMissingDataInPrevious: "RecordsWriteMissingDataInPrevious"
+
+ +
RecordsWriteMissingDataStream: "RecordsWriteMissingDataStream"
+
+ +
RecordsWriteMissingProtocol: "RecordsWriteMissingProtocol"
+
+ +
RecordsWriteMissingSchema: "RecordsWriteMissingSchema"
+
+ +
RecordsWriteOwnerAndTenantMismatch: "RecordsWriteOwnerAndTenantMismatch"
+
+ +
RecordsWriteSignAsOwnerUnknownAuthor: "RecordsWriteSignAsOwnerUnknownAuthor"
+
+ +
RecordsWriteValidateIntegrityEncryptionCidMismatch: "RecordsWriteValidateIntegrityEncryptionCidMismatch"
+
+ +
Secp256k1KeyNotValid: "Secp256k1KeyNotValid"
+
+ +
UrlProtocolNotNormalizable: "UrlProtocolNotNormalizable"
+
+ +
UrlProtocolNotNormalized: "UrlProtocolNotNormalized"
+
+ +
UrlSchemaNotNormalizable: "UrlSchemaNotNormalizable"
+
+ +
UrlSchemaNotNormalized: "UrlSchemaNotNormalized"
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/DwnInterfaceName.html b/enums/DwnInterfaceName.html new file mode 100644 index 000000000..aa58e4aac --- /dev/null +++ b/enums/DwnInterfaceName.html @@ -0,0 +1,108 @@ +DwnInterfaceName | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Enumeration DwnInterfaceName

+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
Events: "Events"
+
+ +
Messages: "Messages"
+
+ +
Permissions: "Permissions"
+
+ +
Protocols: "Protocols"
+
+ +
Records: "Records"
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/DwnMethodName.html b/enums/DwnMethodName.html new file mode 100644 index 000000000..20f79190c --- /dev/null +++ b/enums/DwnMethodName.html @@ -0,0 +1,143 @@ +DwnMethodName | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Enumeration DwnMethodName

+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
Configure: "Configure"
+
+ +
Create: "Create"
+
+ +
Delete: "Delete"
+
+ +
Get: "Get"
+
+ +
Grant: "Grant"
+
+ +
Query: "Query"
+
+ +
Read: "Read"
+
+ +
Request: "Request"
+
+ +
Revoke: "Revoke"
+
+ +
Write: "Write"
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/EncryptionAlgorithm.html b/enums/EncryptionAlgorithm.html new file mode 100644 index 000000000..04b289679 --- /dev/null +++ b/enums/EncryptionAlgorithm.html @@ -0,0 +1,87 @@ +EncryptionAlgorithm | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Enumeration EncryptionAlgorithm

+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
Aes256Ctr: "A256CTR"
+
+ +
EciesSecp256k1: "ECIES-ES256K"
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/KeyDerivationScheme.html b/enums/KeyDerivationScheme.html new file mode 100644 index 000000000..eebebcfc4 --- /dev/null +++ b/enums/KeyDerivationScheme.html @@ -0,0 +1,107 @@ +KeyDerivationScheme | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Enumeration KeyDerivationScheme

+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
DataFormats: "dataFormats"
+

Key derivation using the dataFormat value for Flat-space records.

+
+
+
+ +
ProtocolContext: "protocolContext"
+
+ +
ProtocolPath: "protocolPath"
+
+ +
Schemas: "schemas"
+

Key derivation using the schema value for Flat-space records.

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/SortOrder.html b/enums/SortOrder.html new file mode 100644 index 000000000..9d5b60127 --- /dev/null +++ b/enums/SortOrder.html @@ -0,0 +1,87 @@ +SortOrder | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Enumeration SortOrder

+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
Ascending: 1
+
+ +
Descending: -1
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/authenticate.html b/functions/authenticate.html new file mode 100644 index 000000000..4e059a2ad --- /dev/null +++ b/functions/authenticate.html @@ -0,0 +1,76 @@ +authenticate | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Function authenticate

+
+
    + +
  • +

    Validates the signature(s) of the given JWS.

    +
    +
    +

    Parameters

    +
      +
    • +
      authorizationModel: undefined | AuthorizationModel
    • +
    • +
      didResolver: DidResolver
    +

    Returns Promise<void>

    +
    +

    Throws

    if fails authentication

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/executeUnlessAborted.html b/functions/executeUnlessAborted.html new file mode 100644 index 000000000..8dc27cca5 --- /dev/null +++ b/functions/executeUnlessAborted.html @@ -0,0 +1,79 @@ +executeUnlessAborted | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Function executeUnlessAborted

+
+
    + +
  • +

    Wraps the given Promise such that it will reject if the AbortSignal is triggered.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      promise: Promise<T>
    • +
    • +
      signal: undefined | AbortSignal
    +

    Returns Promise<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 000000000..73be6d1b4 --- /dev/null +++ b/index.html @@ -0,0 +1,184 @@ +DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+

DWN-SDK Documentation - v0.2.4

+
+
+

Index

+
+

Enumerations

+
+
+

Classes

+
+
+

Interfaces

+
+
+

Type Aliases

+
+
+

Functions

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/interfaces/DataStore.html b/interfaces/DataStore.html new file mode 100644 index 000000000..ae2c99b4e --- /dev/null +++ b/interfaces/DataStore.html @@ -0,0 +1,238 @@ +DataStore | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Interface DataStore

+
+

The interface that defines how to store and fetch data associated with a message

+
+
+
+

Hierarchy

+
    +
  • DataStore
+
+

Implemented by

+
+
+
+
+ +
+
+

Methods

+
+
+

Methods

+
+ +
    + +
  • +

    Associates dataCid of existing data with the given messageCid. +The returned dataCid and returned dataSize will be verified against the given dataCid (and inferred dataSize).

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
      +

      The tenant in which the data must exist under for the association to occur.

      +
      +
    • +
    • +
      messageCid: string
      +

      CID of the message that references the data.

      +
      +
    • +
    • +
      dataCid: string
      +

      The CID of the data stored.

      +
      +
    +

    Returns Promise<undefined | AssociateResult>

    if association succeeds. undefined if data to be associated is not found.

    + +
+
+ +
    + +
  • +

    Clears the entire store. Mainly used for cleaning up in test environment.

    +
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    Closes the connection to the underlying store.

    +
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    Deletes the specified data.

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      messageCid: string
      +

      CID of the message that references the data.

      +
      +
    • +
    • +
      dataCid: string
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    Fetches the specified data. +The returned dataCid and returned dataSize will be verified against the given dataCid (and inferred dataSize).

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      messageCid: string
      +

      CID of the message that references the data.

      +
      +
    • +
    • +
      dataCid: string
    +

    Returns Promise<undefined | GetResult>

    +
+
+ +
    + +
  • +

    Opens a connection to the underlying store.

    +
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    Puts the given data in store. +It is expected that the CID of the dataStream matches the given dataCid. +The returned dataCid and returned dataSize will be verified against the given dataCid (and inferred dataSize).

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      messageCid: string
      +

      CID of the message that references the data.

      +
      +
    • +
    • +
      dataCid: string
    • +
    • +
      dataStream: Readable
    +

    Returns Promise<PutResult>

    The CID and size in number of bytes of the data stored.

    + +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/interfaces/DidMethodResolver.html b/interfaces/DidMethodResolver.html new file mode 100644 index 000000000..703761bf1 --- /dev/null +++ b/interfaces/DidMethodResolver.html @@ -0,0 +1,124 @@ +DidMethodResolver | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Interface DidMethodResolver

+
+

A generalized interface that can be implemented for individual +DID methods

+
+
+
+

Hierarchy

+
    +
  • DidMethodResolver
+
+

Implemented by

+
+
+
+
+ +
+
+

Methods

+
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    attempts to resolve the DID provided into its respective DID Document. +More info on resolving DIDs can be found +here

    +
    +
    +

    Parameters

    +
      +
    • +
      did: string
      +

      the DID to resolve

      +
      +
    +

    Returns Promise<DidResolutionResult>

    +
    +

    Throws

    if unable to resolve the DID

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/interfaces/EventLog.html b/interfaces/EventLog.html new file mode 100644 index 000000000..926a48031 --- /dev/null +++ b/interfaces/EventLog.html @@ -0,0 +1,189 @@ +EventLog | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Interface EventLog

+
+

Hierarchy

+
    +
  • EventLog
+
+

Implemented by

+
+
+
+
+ +
+
+

Methods

+
+ +
    + +
  • +

    adds an event to a tenant's event log

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
      +

      the tenant's DID

      +
      +
    • +
    • +
      messageCid: string
      +

      the CID of the message

      +
      +
    +

    Returns Promise<string>

    watermark

    + +
+
+ +
    + +
  • +

    Clears the entire store. Mainly used for cleaning up in test environment.

    +
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    closes the connection to the underlying store

    +
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    deletes any events that have any of the cids provided

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      cids: string[]
    +

    Returns Promise<number>

    the number of events deleted

    + +
+
+ +
    + +
  • +

    retrieves all of a tenant's events that occurred after the watermark provided. +If no watermark is provided, all events for a given tenant will be returned.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<Event[]>

    +
+
+ +
    + +
  • +

    opens a connection to the underlying store

    +
    +

    Returns Promise<void>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/interfaces/MessageStore.html b/interfaces/MessageStore.html new file mode 100644 index 000000000..3de09f39b --- /dev/null +++ b/interfaces/MessageStore.html @@ -0,0 +1,222 @@ +MessageStore | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Interface MessageStore

+
+

Hierarchy

+
    +
  • MessageStore
+
+

Implemented by

+
+
+
+
+ +
+
+

Methods

+
+
+

Methods

+
+ +
    + +
  • +

    Clears the entire store. Mainly used for cleaning up in test environment.

    +
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    closes the connection to the underlying store

    +
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    Deletes the message associated with the id provided.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<void>

    +
+
+ +
+
+ +
    + +
  • +

    opens a connection to the underlying store

    +
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    adds a message to the underlying store. Uses the message's cid as the key

    +
    +
    +

    Parameters

    +
      +
    • +
      tenant: string
    • +
    • +
      message: GenericMessage
    • +
    • +
      indexes: {
          [key: string]: string | boolean;
      }
      +

      indexes (key-value pairs) to be included as part of this put operation

      +
      +
      +
        +
      • +
        [key: string]: string | boolean
    • +
    • +
      Optional options: MessageStoreOptions
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    Queries the underlying store for messages that matches the provided filters. +Supplying multiple filters establishes an OR condition between the filters.

    +
    +
    +

    Parameters

    +
    +

    Returns Promise<{
        messages: GenericMessage[];
        paginationMessageCid?: string;
    }>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/interfaces/MessageStoreOptions.html b/interfaces/MessageStoreOptions.html new file mode 100644 index 000000000..dac485305 --- /dev/null +++ b/interfaces/MessageStoreOptions.html @@ -0,0 +1,84 @@ +MessageStoreOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Interface MessageStoreOptions

+
+

Hierarchy

+
    +
  • MessageStoreOptions
+
+
+
+ +
+
+

Properties

+
+
+

Properties

+
+ +
signal?: AbortSignal
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/interfaces/Signer.html b/interfaces/Signer.html new file mode 100644 index 000000000..2b4d7499e --- /dev/null +++ b/interfaces/Signer.html @@ -0,0 +1,136 @@ +Signer | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Interface Signer

+
+

A signer that is capable of generating a digital signature over any given bytes.

+
+
+
+

Hierarchy

+
    +
  • Signer
+
+

Implemented by

+
+
+
+
+ +
+
+

Properties

+
+
+

Methods

+
+
+

Properties

+
+ +
algorithm: string
+

The name of the signature algorithm used by this signer. +This value will be used as the "alg" parameter in JWS produced. +This parameter is not used by the DWN but is unfortunately a required header property for a JWS as per: +https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.1 +Valid signature algorithm values can be found at https://www.iana.org/assignments/jose/jose.xhtml

+
+
+
+ +
keyId: string
+

The ID of the key used by this signer. +This needs to be a fully-qualified ID (ie. prefixed with DID) so that author can be parsed out for processing such as recordId computation. +Example: did:example:alice#key1 +This value will be used as the "kid" parameter in JWS produced. +While this property is not a required property per JWS specification, it is required for DWN authentication.

+
+
+
+

Methods

+
+ +
    + +
  • +

    Signs the given content and returns the signature as bytes.

    +
    +
    +

    Parameters

    +
      +
    • +
      content: Uint8Array
    +

    Returns Promise<Uint8Array>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/interfaces/TenantGate.html b/interfaces/TenantGate.html new file mode 100644 index 000000000..e9e6875b0 --- /dev/null +++ b/interfaces/TenantGate.html @@ -0,0 +1,102 @@ +TenantGate | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Interface TenantGate

+
+

An interface that determines if a DID is a tenant of the DWN.

+
+
+
+

Hierarchy

+
    +
  • TenantGate
+
+

Implemented by

+
+
+
+
+ +
+
+

Methods

+
+
+

Methods

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      did: string
    +

    Returns Promise<boolean>

    true if the given DID is a tenant of the DWN; false otherwise

    + +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/AssociateResult.html b/types/AssociateResult.html new file mode 100644 index 000000000..c16026449 --- /dev/null +++ b/types/AssociateResult.html @@ -0,0 +1,70 @@ +AssociateResult | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias AssociateResult

+
AssociateResult: {
    dataCid: string;
    dataSize: number;
}
+

Result of a data store associate() method call.

+
+
+

Type declaration

+
    +
  • +
    dataCid: string
  • +
  • +
    dataSize: number
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/CreateFromOptions.html b/types/CreateFromOptions.html new file mode 100644 index 000000000..10714f4da --- /dev/null +++ b/types/CreateFromOptions.html @@ -0,0 +1,79 @@ +CreateFromOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias CreateFromOptions

+
CreateFromOptions: {
    attestationSigners?: Signer[];
    authorizationSigner?: Signer;
    data?: Uint8Array;
    datePublished?: string;
    encryptionInput?: EncryptionInput;
    messageTimestamp?: string;
    published?: boolean;
    recordsWriteMessage: RecordsWriteMessage;
}
+
+

Type declaration

+
    +
  • +
    Optional attestationSigners?: Signer[]
  • +
  • +
    Optional authorizationSigner?: Signer
  • +
  • +
    Optional data?: Uint8Array
  • +
  • +
    Optional datePublished?: string
  • +
  • +
    Optional encryptionInput?: EncryptionInput
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    Optional published?: boolean
  • +
  • +
    recordsWriteMessage: RecordsWriteMessage
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/DerivedPrivateJwk.html b/types/DerivedPrivateJwk.html new file mode 100644 index 000000000..49ad0fd66 --- /dev/null +++ b/types/DerivedPrivateJwk.html @@ -0,0 +1,71 @@ +DerivedPrivateJwk | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias DerivedPrivateJwk

+
DerivedPrivateJwk: {
    derivationPath?: string[];
    derivationScheme: KeyDerivationScheme;
    derivedPrivateKey: PrivateJwk;
    rootKeyId: string;
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/DidDocument.html b/types/DidDocument.html new file mode 100644 index 000000000..a0d09d6e6 --- /dev/null +++ b/types/DidDocument.html @@ -0,0 +1,85 @@ +DidDocument | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias DidDocument

+
DidDocument: {
    @context?: "https://www.w3.org/ns/did/v1" | string | string[];
    alsoKnownAs?: string[];
    assertionMethod?: VerificationMethod[] | string[];
    authentication?: VerificationMethod[] | string[];
    capabilityDelegation?: VerificationMethod[] | string[];
    capabilityInvocation?: VerificationMethod[] | string[];
    controller?: string | string[];
    id: string;
    keyAgreement?: VerificationMethod[] | string[];
    service?: ServiceEndpoint[];
    verificationMethod?: VerificationMethod[];
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/DidDocumentMetadata.html b/types/DidDocumentMetadata.html new file mode 100644 index 000000000..5874bfe2d --- /dev/null +++ b/types/DidDocumentMetadata.html @@ -0,0 +1,79 @@ +DidDocumentMetadata | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias DidDocumentMetadata

+
DidDocumentMetadata: {
    canonicalId?: string;
    created?: string;
    deactivated?: boolean;
    equivalentId?: string;
    nextUpdate?: string;
    nextVersionId?: string;
    updated?: string;
    versionId?: string;
}
+
+

Type declaration

+
    +
  • +
    Optional canonicalId?: string
  • +
  • +
    Optional created?: string
  • +
  • +
    Optional deactivated?: boolean
  • +
  • +
    Optional equivalentId?: string
  • +
  • +
    Optional nextUpdate?: string
  • +
  • +
    Optional nextVersionId?: string
  • +
  • +
    Optional updated?: string
  • +
  • +
    Optional versionId?: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/DidResolutionMetadata.html b/types/DidResolutionMetadata.html new file mode 100644 index 000000000..037cc1da5 --- /dev/null +++ b/types/DidResolutionMetadata.html @@ -0,0 +1,67 @@ +DidResolutionMetadata | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias DidResolutionMetadata

+
DidResolutionMetadata: {
    contentType?: string;
    error?: "invalidDid" | "notFound" | "representationNotSupported" | "unsupportedDidMethod" | string;
}
+
+

Type declaration

+
    +
  • +
    Optional contentType?: string
  • +
  • +
    Optional error?: "invalidDid" | "notFound" | "representationNotSupported" | "unsupportedDidMethod" | string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/DidResolutionResult.html b/types/DidResolutionResult.html new file mode 100644 index 000000000..0f140476b --- /dev/null +++ b/types/DidResolutionResult.html @@ -0,0 +1,71 @@ +DidResolutionResult | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias DidResolutionResult

+
DidResolutionResult: {
    @context?: "https://w3id.org/did-resolution/v1" | string | string[];
    didDocument?: DidDocument;
    didDocumentMetadata: DidDocumentMetadata;
    didResolutionMetadata: DidResolutionMetadata;
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/DwnConfig.html b/types/DwnConfig.html new file mode 100644 index 000000000..81effabdb --- /dev/null +++ b/types/DwnConfig.html @@ -0,0 +1,76 @@ +DwnConfig | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias DwnConfig

+
DwnConfig: {
    dataStore: DataStore;
    didResolver?: DidResolver;
    eventLog: EventLog;
    messageStore: MessageStore;
    tenantGate?: TenantGate;
}
+

DWN configuration.

+
+
+

Type declaration

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/DwnServiceEndpoint.html b/types/DwnServiceEndpoint.html new file mode 100644 index 000000000..7e8d187aa --- /dev/null +++ b/types/DwnServiceEndpoint.html @@ -0,0 +1,65 @@ +DwnServiceEndpoint | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias DwnServiceEndpoint

+
DwnServiceEndpoint: {
    nodes: string[];
}
+
+

Type declaration

+
    +
  • +
    nodes: string[]
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/EncryptionInput.html b/types/EncryptionInput.html new file mode 100644 index 000000000..0e021bd57 --- /dev/null +++ b/types/EncryptionInput.html @@ -0,0 +1,87 @@ +EncryptionInput | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias EncryptionInput

+
EncryptionInput: {
    algorithm?: EncryptionAlgorithm;
    initializationVector: Uint8Array;
    key: Uint8Array;
    keyEncryptionInputs: KeyEncryptionInput[];
}
+

Input that describes how data is encrypted as spec-ed in TP18 (https://github.com/TBD54566975/technical-proposals/pull/6).

+
+
+

Type declaration

+
    +
  • +
    Optional algorithm?: EncryptionAlgorithm
    +

    Algorithm used for encrypting the Data. Uses {EncryptionAlgorithm.Aes256Ctr} if not given.

    +
    +
  • +
  • +
    initializationVector: Uint8Array
    +

    Initialization vector used for encrypting the data.

    +
    +
  • +
  • +
    key: Uint8Array
    +

    Symmetric key used to encrypt the data.

    +
    +
  • +
  • +
    keyEncryptionInputs: KeyEncryptionInput[]
    +

    Array of input that specifies how the symmetric key is encrypted. +Each entry in the array will result in a unique ciphertext of the symmetric key.

    +
    +
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/EncryptionProperty.html b/types/EncryptionProperty.html new file mode 100644 index 000000000..9b74dc2e4 --- /dev/null +++ b/types/EncryptionProperty.html @@ -0,0 +1,69 @@ +EncryptionProperty | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias EncryptionProperty

+
EncryptionProperty: {
    algorithm: EncryptionAlgorithm;
    initializationVector: string;
    keyEncryption: EncryptedKey[];
}
+
+

Type declaration

+
    +
  • +
    algorithm: EncryptionAlgorithm
  • +
  • +
    initializationVector: string
  • +
  • +
    keyEncryption: EncryptedKey[]
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/Event.html b/types/Event.html new file mode 100644 index 000000000..ef39be1be --- /dev/null +++ b/types/Event.html @@ -0,0 +1,67 @@ +Event | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias Event

+
Event: {
    messageCid: string;
    watermark: string;
}
+
+

Type declaration

+
    +
  • +
    messageCid: string
  • +
  • +
    watermark: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/EventsGetMessage.html b/types/EventsGetMessage.html new file mode 100644 index 000000000..81387136b --- /dev/null +++ b/types/EventsGetMessage.html @@ -0,0 +1,67 @@ +EventsGetMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias EventsGetMessage

+
EventsGetMessage: GenericMessage & {
    authorization: AuthorizationModel;
    descriptor: EventsGetDescriptor;
}
+
+

Type declaration

+
    +
  • +
    authorization: AuthorizationModel
  • +
  • +
    descriptor: EventsGetDescriptor
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/EventsGetOptions.html b/types/EventsGetOptions.html new file mode 100644 index 000000000..c3b702ca7 --- /dev/null +++ b/types/EventsGetOptions.html @@ -0,0 +1,69 @@ +EventsGetOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias EventsGetOptions

+
EventsGetOptions: {
    authorizationSigner: Signer;
    messageTimestamp?: string;
    watermark?: string;
}
+
+

Type declaration

+
    +
  • +
    authorizationSigner: Signer
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    Optional watermark?: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/EventsGetReply.html b/types/EventsGetReply.html new file mode 100644 index 000000000..a6fa7f316 --- /dev/null +++ b/types/EventsGetReply.html @@ -0,0 +1,65 @@ +EventsGetReply | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias EventsGetReply

+
EventsGetReply: GenericMessageReply & {
    events?: Event[];
}
+
+

Type declaration

+
    +
  • +
    Optional events?: Event[]
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/Filter.html b/types/Filter.html new file mode 100644 index 000000000..f65b8f840 --- /dev/null +++ b/types/Filter.html @@ -0,0 +1,65 @@ +Filter | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias Filter

+
Filter: {
    [property: string]: EqualFilter | OneOfFilter | RangeFilter;
}
+
+

Type declaration

+
    +
  • +
    [property: string]: EqualFilter | OneOfFilter | RangeFilter
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/GenericMessage.html b/types/GenericMessage.html new file mode 100644 index 000000000..3e201155b --- /dev/null +++ b/types/GenericMessage.html @@ -0,0 +1,70 @@ +GenericMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias GenericMessage

+
GenericMessage: {
    authorization?: AuthorizationModel;
    descriptor: Descriptor;
}
+

Intersection type for all concrete message types.

+
+
+

Type declaration

+
    +
  • +
    Optional authorization?: AuthorizationModel
  • +
  • +
    descriptor: Descriptor
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/GetEventsOptions.html b/types/GetEventsOptions.html new file mode 100644 index 000000000..6a0692d91 --- /dev/null +++ b/types/GetEventsOptions.html @@ -0,0 +1,65 @@ +GetEventsOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias GetEventsOptions

+
GetEventsOptions: {
    gt: string;
}
+
+

Type declaration

+
    +
  • +
    gt: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/GetResult.html b/types/GetResult.html new file mode 100644 index 000000000..af87acd3e --- /dev/null +++ b/types/GetResult.html @@ -0,0 +1,72 @@ +GetResult | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias GetResult

+
GetResult: {
    dataCid: string;
    dataSize: number;
    dataStream: Readable;
}
+

Result of a data store get() method call.

+
+
+

Type declaration

+
    +
  • +
    dataCid: string
  • +
  • +
    dataSize: number
  • +
  • +
    dataStream: Readable
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/KeyEncryptionInput.html b/types/KeyEncryptionInput.html new file mode 100644 index 000000000..71c4f1427 --- /dev/null +++ b/types/KeyEncryptionInput.html @@ -0,0 +1,87 @@ +KeyEncryptionInput | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias KeyEncryptionInput

+
KeyEncryptionInput: {
    algorithm?: EncryptionAlgorithm;
    derivationScheme: KeyDerivationScheme;
    publicKey: PublicJwk;
    publicKeyId: string;
}
+

Input that specifies how a symmetric key is encrypted.

+
+
+

Type declaration

+
    +
  • +
    Optional algorithm?: EncryptionAlgorithm
    +

    Algorithm used for encrypting the symmetric key. Uses {EncryptionAlgorithm.EciesSecp256k1} if not given.

    +
    +
  • +
  • +
    derivationScheme: KeyDerivationScheme
    +

    Key derivation scheme used to derive the public key to encrypt the symmetric key.

    +
    +
  • +
  • +
    publicKey: PublicJwk
    +

    Public key to be used to encrypt the symmetric key.

    +
    +
  • +
  • +
    publicKeyId: string
    +

    Fully qualified ID of root public key used derive the public key to be used to to encrypt the symmetric key. +(e.g. did:example:abc#encryption-key-id)

    +
    +
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/KeyMaterial.html b/types/KeyMaterial.html new file mode 100644 index 000000000..dac667d87 --- /dev/null +++ b/types/KeyMaterial.html @@ -0,0 +1,75 @@ +KeyMaterial | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias KeyMaterial

+
KeyMaterial: {
    keyId: string;
    keyPair: {
        privateJwk: PrivateJwk;
        publicJwk: PublicJwk;
    };
}
+

Contains a public-private key pair and the associated key ID.

+
+
+

Type declaration

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/MessageSort.html b/types/MessageSort.html new file mode 100644 index 000000000..a98fabc4d --- /dev/null +++ b/types/MessageSort.html @@ -0,0 +1,69 @@ +MessageSort | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias MessageSort

+
MessageSort: {
    dateCreated?: SortOrder;
    datePublished?: SortOrder;
    messageTimestamp?: SortOrder;
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/MessagesGetMessage.html b/types/MessagesGetMessage.html new file mode 100644 index 000000000..1d1247fcc --- /dev/null +++ b/types/MessagesGetMessage.html @@ -0,0 +1,67 @@ +MessagesGetMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias MessagesGetMessage

+
MessagesGetMessage: GenericMessage & {
    authorization: AuthorizationModel;
    descriptor: MessagesGetDescriptor;
}
+
+

Type declaration

+
    +
  • +
    authorization: AuthorizationModel
  • +
  • +
    descriptor: MessagesGetDescriptor
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/MessagesGetOptions.html b/types/MessagesGetOptions.html new file mode 100644 index 000000000..7b5056b30 --- /dev/null +++ b/types/MessagesGetOptions.html @@ -0,0 +1,69 @@ +MessagesGetOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias MessagesGetOptions

+
MessagesGetOptions: {
    authorizationSigner: Signer;
    messageCids: string[];
    messageTimestamp?: string;
}
+
+

Type declaration

+
    +
  • +
    authorizationSigner: Signer
  • +
  • +
    messageCids: string[]
  • +
  • +
    Optional messageTimestamp?: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/MessagesGetReply.html b/types/MessagesGetReply.html new file mode 100644 index 000000000..e8de1cee9 --- /dev/null +++ b/types/MessagesGetReply.html @@ -0,0 +1,65 @@ +MessagesGetReply | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias MessagesGetReply

+
MessagesGetReply: GenericMessageReply & {
    messages?: MessagesGetReplyEntry[];
}
+
+

Type declaration

+
    +
  • +
    Optional messages?: MessagesGetReplyEntry[]
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/Pagination.html b/types/Pagination.html new file mode 100644 index 000000000..c9d63fc53 --- /dev/null +++ b/types/Pagination.html @@ -0,0 +1,67 @@ +Pagination | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias Pagination

+
Pagination: {
    limit?: number;
    messageCid?: string;
}
+
+

Type declaration

+
    +
  • +
    Optional limit?: number
  • +
  • +
    Optional messageCid?: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionConditions.html b/types/PermissionConditions.html new file mode 100644 index 000000000..0ff9daaf3 --- /dev/null +++ b/types/PermissionConditions.html @@ -0,0 +1,70 @@ +PermissionConditions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionConditions

+
PermissionConditions: {
    publication?: PermissionsConditionPublication;
}
+
+

Type declaration

+
    +
  • +
    Optional publication?: PermissionsConditionPublication
    +

    indicates whether a message written with the invocation of a permission must, may, or must not +be marked as public. +If undefined, it is optional to make the message public.

    +
    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionScope.html b/types/PermissionScope.html new file mode 100644 index 000000000..b7146259c --- /dev/null +++ b/types/PermissionScope.html @@ -0,0 +1,67 @@ +PermissionScope | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionScope

+
PermissionScope: {
    interface: DwnInterfaceName;
    method: DwnMethodName;
} | RecordsPermissionScope
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionsGrantDescriptor.html b/types/PermissionsGrantDescriptor.html new file mode 100644 index 000000000..0241fed54 --- /dev/null +++ b/types/PermissionsGrantDescriptor.html @@ -0,0 +1,103 @@ +PermissionsGrantDescriptor | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionsGrantDescriptor

+
PermissionsGrantDescriptor: {
    conditions?: PermissionConditions;
    dateExpires: string;
    description?: string;
    grantedBy: string;
    grantedFor: string;
    grantedTo: string;
    interface: Permissions;
    messageTimestamp: string;
    method: Grant;
    permissionsRequestId?: string;
    scope: PermissionScope;
}
+
+

Type declaration

+
    +
  • +
    Optional conditions?: PermissionConditions
  • +
  • +
    dateExpires: string
    +

    optional timestamp at which this grant will no longer be active.

    +
    +
  • +
  • +
    Optional description?: string
    +

    Optional string that communicates what the grant would be used for

    +
    +
  • +
  • +
    grantedBy: string
    +

    The granter, who will be either the DWN owner or an entity who the DWN owner has delegated permission to.

    +
    +
  • +
  • +
    grantedFor: string
    +

    The DID of the DWN which the grantee will be given access

    +
    +
  • +
  • +
    grantedTo: string
    +

    The recipient of the grant. Usually this is the author of the PermissionsRequest message

    +
    +
  • +
  • +
    interface: Permissions
  • +
  • +
    messageTimestamp: string
  • +
  • +
    method: Grant
  • +
  • +
    Optional permissionsRequestId?: string
    +

    Optional CID of a PermissionsRequest message. This is optional because grants may be given without being officially requested

    +
    +
  • +
  • +
    scope: PermissionScope
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionsGrantMessage.html b/types/PermissionsGrantMessage.html new file mode 100644 index 000000000..ee1ced77a --- /dev/null +++ b/types/PermissionsGrantMessage.html @@ -0,0 +1,67 @@ +PermissionsGrantMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionsGrantMessage

+
PermissionsGrantMessage: GenericMessage & {
    authorization: AuthorizationModel;
    descriptor: PermissionsGrantDescriptor;
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionsGrantOptions.html b/types/PermissionsGrantOptions.html new file mode 100644 index 000000000..cc6d194ce --- /dev/null +++ b/types/PermissionsGrantOptions.html @@ -0,0 +1,83 @@ +PermissionsGrantOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionsGrantOptions

+
PermissionsGrantOptions: {
    authorizationSigner: Signer;
    conditions?: PermissionConditions;
    dateExpires: string;
    description?: string;
    grantedBy: string;
    grantedFor: string;
    grantedTo: string;
    messageTimestamp?: string;
    permissionsRequestId?: string;
    scope: PermissionScope;
}
+
+

Type declaration

+
    +
  • +
    authorizationSigner: Signer
  • +
  • +
    Optional conditions?: PermissionConditions
  • +
  • +
    dateExpires: string
  • +
  • +
    Optional description?: string
  • +
  • +
    grantedBy: string
  • +
  • +
    grantedFor: string
  • +
  • +
    grantedTo: string
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    Optional permissionsRequestId?: string
  • +
  • +
    scope: PermissionScope
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionsRequestDescriptor.html b/types/PermissionsRequestDescriptor.html new file mode 100644 index 000000000..f8a75ff2e --- /dev/null +++ b/types/PermissionsRequestDescriptor.html @@ -0,0 +1,81 @@ +PermissionsRequestDescriptor | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionsRequestDescriptor

+
PermissionsRequestDescriptor: {
    conditions?: PermissionConditions;
    description?: string;
    grantedBy: string;
    grantedFor: string;
    grantedTo: string;
    interface: Permissions;
    messageTimestamp: string;
    method: Request;
    scope: PermissionScope;
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionsRequestMessage.html b/types/PermissionsRequestMessage.html new file mode 100644 index 000000000..7f5dc478e --- /dev/null +++ b/types/PermissionsRequestMessage.html @@ -0,0 +1,67 @@ +PermissionsRequestMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionsRequestMessage

+
PermissionsRequestMessage: GenericMessage & {
    authorization: AuthorizationModel;
    descriptor: PermissionsRequestDescriptor;
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionsRequestOptions.html b/types/PermissionsRequestOptions.html new file mode 100644 index 000000000..64acfb362 --- /dev/null +++ b/types/PermissionsRequestOptions.html @@ -0,0 +1,79 @@ +PermissionsRequestOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionsRequestOptions

+
PermissionsRequestOptions: {
    authorizationSigner: Signer;
    conditions?: PermissionConditions;
    description?: string;
    grantedBy: string;
    grantedFor: string;
    grantedTo: string;
    messageTimestamp?: string;
    scope: PermissionScope;
}
+
+

Type declaration

+
    +
  • +
    authorizationSigner: Signer
  • +
  • +
    Optional conditions?: PermissionConditions
  • +
  • +
    Optional description?: string
  • +
  • +
    grantedBy: string
  • +
  • +
    grantedFor: string
  • +
  • +
    grantedTo: string
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    scope: PermissionScope
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionsRevokeDescriptor.html b/types/PermissionsRevokeDescriptor.html new file mode 100644 index 000000000..4ef25c6bc --- /dev/null +++ b/types/PermissionsRevokeDescriptor.html @@ -0,0 +1,71 @@ +PermissionsRevokeDescriptor | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionsRevokeDescriptor

+
PermissionsRevokeDescriptor: {
    interface: Permissions;
    messageTimestamp: string;
    method: Revoke;
    permissionsGrantId: string;
}
+
+

Type declaration

+
    +
  • +
    interface: Permissions
  • +
  • +
    messageTimestamp: string
  • +
  • +
    method: Revoke
  • +
  • +
    permissionsGrantId: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionsRevokeMessage.html b/types/PermissionsRevokeMessage.html new file mode 100644 index 000000000..c776e7c8b --- /dev/null +++ b/types/PermissionsRevokeMessage.html @@ -0,0 +1,67 @@ +PermissionsRevokeMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionsRevokeMessage

+
PermissionsRevokeMessage: GenericMessage & {
    authorization: AuthorizationModel;
    descriptor: PermissionsRevokeDescriptor;
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PermissionsRevokeOptions.html b/types/PermissionsRevokeOptions.html new file mode 100644 index 000000000..8b6c4fdb2 --- /dev/null +++ b/types/PermissionsRevokeOptions.html @@ -0,0 +1,69 @@ +PermissionsRevokeOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PermissionsRevokeOptions

+
PermissionsRevokeOptions: {
    authorizationSigner: Signer;
    messageTimestamp?: string;
    permissionsGrantId: string;
}
+
+

Type declaration

+
    +
  • +
    authorizationSigner: Signer
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    permissionsGrantId: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PrivateJwk.html b/types/PrivateJwk.html new file mode 100644 index 000000000..e1934f023 --- /dev/null +++ b/types/PrivateJwk.html @@ -0,0 +1,70 @@ +PrivateJwk | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PrivateJwk

+
PrivateJwk: PublicJwk & {
    d: string;
}
+
+

Type declaration

+
    +
  • +
    d: string
    +

    the Elliptic Curve private key value. +It is represented as the base64url encoding of the octet string representation of the private key value +MUST be present to represent Elliptic Curve private keys.

    +
    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProtocolDefinition.html b/types/ProtocolDefinition.html new file mode 100644 index 000000000..ed34297ab --- /dev/null +++ b/types/ProtocolDefinition.html @@ -0,0 +1,77 @@ +ProtocolDefinition | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ProtocolDefinition

+
ProtocolDefinition: {
    protocol: string;
    published: boolean;
    structure: {
        [key: string]: ProtocolRuleSet;
    };
    types: ProtocolTypes;
}
+
+

Type declaration

+
    +
  • +
    protocol: string
  • +
  • +
    published: boolean
    +

    Denotes if this Protocol Definition can be returned by unauthenticated ProtocolsQuery.

    +
    +
  • +
  • +
    structure: {
        [key: string]: ProtocolRuleSet;
    }
    +
  • +
  • +
    types: ProtocolTypes
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProtocolRuleSet.html b/types/ProtocolRuleSet.html new file mode 100644 index 000000000..985817ab7 --- /dev/null +++ b/types/ProtocolRuleSet.html @@ -0,0 +1,88 @@ +ProtocolRuleSet | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ProtocolRuleSet

+
ProtocolRuleSet: {
    $actions?: ProtocolActionRule[];
    $contextRole?: boolean;
    $encryption?: ProtocolPathEncryption;
    $globalRole?: boolean;
    [key: string]: any;
}
+
+

Type declaration

+
    +
  • +
    [key: string]: any
  • +
  • +
    Optional $actions?: ProtocolActionRule[]
  • +
  • +
    Optional $contextRole?: boolean
    +

    If true, this marks a record as a role that may used within a single context. Only +second-level records may set $contextRole: true. +The recipient of a $contextRole record may invoke their role in RecordsReads or RecordsWrites +by setting protocolRole property to the protocol path of the $contextRole record.

    +
    +
  • +
  • +
    Optional $encryption?: ProtocolPathEncryption
    +

    Encryption setting for objects that are in this protocol path.

    +
    +
  • +
  • +
    Optional $globalRole?: boolean
    +

    If true, this marks a record as a role that may be used across contexts. Only root records +may set $globalRole: true. +The recipient of a $globalRole record may invoke their role in RecordsRead or RecordsWrites +by setting protocolRole property to the protocol path of the $globalRole record.

    +
    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProtocolTypes.html b/types/ProtocolTypes.html new file mode 100644 index 000000000..cc4b5cf4e --- /dev/null +++ b/types/ProtocolTypes.html @@ -0,0 +1,65 @@ +ProtocolTypes | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ProtocolTypes

+
ProtocolTypes: {
    [key: string]: ProtocolType;
}
+
+

Type declaration

+
    +
  • +
    [key: string]: ProtocolType
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProtocolsConfigureDescriptor.html b/types/ProtocolsConfigureDescriptor.html new file mode 100644 index 000000000..e95308c03 --- /dev/null +++ b/types/ProtocolsConfigureDescriptor.html @@ -0,0 +1,71 @@ +ProtocolsConfigureDescriptor | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ProtocolsConfigureDescriptor

+
ProtocolsConfigureDescriptor: {
    definition: ProtocolDefinition;
    interface: Protocols;
    messageTimestamp: string;
    method: Configure;
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProtocolsConfigureMessage.html b/types/ProtocolsConfigureMessage.html new file mode 100644 index 000000000..a453a64b6 --- /dev/null +++ b/types/ProtocolsConfigureMessage.html @@ -0,0 +1,67 @@ +ProtocolsConfigureMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ProtocolsConfigureMessage

+
ProtocolsConfigureMessage: GenericMessage & {
    authorization: AuthorizationModel;
    descriptor: ProtocolsConfigureDescriptor;
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProtocolsConfigureOptions.html b/types/ProtocolsConfigureOptions.html new file mode 100644 index 000000000..24209bfcc --- /dev/null +++ b/types/ProtocolsConfigureOptions.html @@ -0,0 +1,71 @@ +ProtocolsConfigureOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ProtocolsConfigureOptions

+
ProtocolsConfigureOptions: {
    authorizationSigner: Signer;
    definition: ProtocolDefinition;
    messageTimestamp?: string;
    permissionsGrantId?: string;
}
+
+

Type declaration

+
    +
  • +
    authorizationSigner: Signer
  • +
  • +
    definition: ProtocolDefinition
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    Optional permissionsGrantId?: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProtocolsQueryFilter.html b/types/ProtocolsQueryFilter.html new file mode 100644 index 000000000..c99cc4f5a --- /dev/null +++ b/types/ProtocolsQueryFilter.html @@ -0,0 +1,65 @@ +ProtocolsQueryFilter | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ProtocolsQueryFilter

+
ProtocolsQueryFilter: {
    protocol: string;
}
+
+

Type declaration

+
    +
  • +
    protocol: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProtocolsQueryMessage.html b/types/ProtocolsQueryMessage.html new file mode 100644 index 000000000..e34ba3534 --- /dev/null +++ b/types/ProtocolsQueryMessage.html @@ -0,0 +1,65 @@ +ProtocolsQueryMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ProtocolsQueryMessage

+
ProtocolsQueryMessage: GenericMessage & {
    descriptor: ProtocolsQueryDescriptor;
}
+
+

Type declaration

+
    +
  • +
    descriptor: ProtocolsQueryDescriptor
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProtocolsQueryOptions.html b/types/ProtocolsQueryOptions.html new file mode 100644 index 000000000..47909472a --- /dev/null +++ b/types/ProtocolsQueryOptions.html @@ -0,0 +1,71 @@ +ProtocolsQueryOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ProtocolsQueryOptions

+
ProtocolsQueryOptions: {
    authorizationSigner?: Signer;
    filter?: ProtocolsQueryFilter;
    messageTimestamp?: string;
    permissionsGrantId?: string;
}
+
+

Type declaration

+
    +
  • +
    Optional authorizationSigner?: Signer
  • +
  • +
    Optional filter?: ProtocolsQueryFilter
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    Optional permissionsGrantId?: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProtocolsQueryReply.html b/types/ProtocolsQueryReply.html new file mode 100644 index 000000000..6cab862ab --- /dev/null +++ b/types/ProtocolsQueryReply.html @@ -0,0 +1,65 @@ +ProtocolsQueryReply | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ProtocolsQueryReply

+
ProtocolsQueryReply: GenericMessageReply & {
    entries?: ProtocolsConfigureMessage[];
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PublicJwk.html b/types/PublicJwk.html new file mode 100644 index 000000000..06e0dd969 --- /dev/null +++ b/types/PublicJwk.html @@ -0,0 +1,82 @@ +PublicJwk | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PublicJwk

+
PublicJwk: Jwk & {
    crv: "Ed25519" | "secp256k1";
    x: string;
    y?: string;
}
+
+

Type declaration

+
    +
  • +
    crv: "Ed25519" | "secp256k1"
    +

    The "crv" (curve) parameter identifies the cryptographic curve used with the key. +MUST be present for all EC public keys

    +
    +
  • +
  • +
    x: string
    +

    the x coordinate for the Elliptic Curve point. +Represented as the base64url encoding of the octet string representation of the coordinate. +MUST be present for all EC public keys

    +
    +
  • +
  • +
    Optional y?: string
    +

    the y coordinate for the Elliptic Curve point. +Represented as the base64url encoding of the octet string representation of the coordinate.

    +
    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/PutResult.html b/types/PutResult.html new file mode 100644 index 000000000..ecfe30c4d --- /dev/null +++ b/types/PutResult.html @@ -0,0 +1,70 @@ +PutResult | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias PutResult

+
PutResult: {
    dataCid: string;
    dataSize: number;
}
+

Result of a data store put() method call.

+
+
+

Type declaration

+
    +
  • +
    dataCid: string
  • +
  • +
    dataSize: number
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsDeleteMessage.html b/types/RecordsDeleteMessage.html new file mode 100644 index 000000000..e192dc29a --- /dev/null +++ b/types/RecordsDeleteMessage.html @@ -0,0 +1,67 @@ +RecordsDeleteMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsDeleteMessage

+
RecordsDeleteMessage: GenericMessage & {
    authorization: AuthorizationModel;
    descriptor: RecordsDeleteDescriptor;
}
+
+

Type declaration

+
    +
  • +
    authorization: AuthorizationModel
  • +
  • +
    descriptor: RecordsDeleteDescriptor
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsDeleteOptions.html b/types/RecordsDeleteOptions.html new file mode 100644 index 000000000..697ecc175 --- /dev/null +++ b/types/RecordsDeleteOptions.html @@ -0,0 +1,69 @@ +RecordsDeleteOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsDeleteOptions

+
RecordsDeleteOptions: {
    authorizationSigner: Signer;
    messageTimestamp?: string;
    recordId: string;
}
+
+

Type declaration

+
    +
  • +
    authorizationSigner: Signer
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    recordId: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsQueryMessage.html b/types/RecordsQueryMessage.html new file mode 100644 index 000000000..2d5c7179c --- /dev/null +++ b/types/RecordsQueryMessage.html @@ -0,0 +1,65 @@ +RecordsQueryMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsQueryMessage

+
RecordsQueryMessage: GenericMessage & {
    descriptor: RecordsQueryDescriptor;
}
+
+

Type declaration

+
    +
  • +
    descriptor: RecordsQueryDescriptor
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsQueryOptions.html b/types/RecordsQueryOptions.html new file mode 100644 index 000000000..a06439338 --- /dev/null +++ b/types/RecordsQueryOptions.html @@ -0,0 +1,73 @@ +RecordsQueryOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsQueryOptions

+
RecordsQueryOptions: {
    authorizationSigner?: Signer;
    dateSort?: DateSort;
    filter: RecordsFilter;
    messageTimestamp?: string;
    pagination?: Pagination;
}
+
+

Type declaration

+
    +
  • +
    Optional authorizationSigner?: Signer
  • +
  • +
    Optional dateSort?: DateSort
  • +
  • +
    filter: RecordsFilter
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    Optional pagination?: Pagination
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsQueryReply.html b/types/RecordsQueryReply.html new file mode 100644 index 000000000..05358fc70 --- /dev/null +++ b/types/RecordsQueryReply.html @@ -0,0 +1,67 @@ +RecordsQueryReply | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsQueryReply

+
RecordsQueryReply: GenericMessageReply & {
    entries?: RecordsQueryReplyEntry[];
    paginationMessageCid?: string;
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsQueryReplyEntry.html b/types/RecordsQueryReplyEntry.html new file mode 100644 index 000000000..9070ef6e6 --- /dev/null +++ b/types/RecordsQueryReplyEntry.html @@ -0,0 +1,73 @@ +RecordsQueryReplyEntry | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsQueryReplyEntry

+
RecordsQueryReplyEntry: RecordsWriteMessage & {
    encodedData?: string;
}
+

Data structure returned in a RecordsQuery reply entry. +NOTE: the message structure is a modified version of the message received, the most notable differences are:

+
    +
  1. does not contain authorization
  2. +
  3. may include encoded data
  4. +
+
+
+

Type declaration

+
    +
  • +
    Optional encodedData?: string
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsReadOptions.html b/types/RecordsReadOptions.html new file mode 100644 index 000000000..02718d08b --- /dev/null +++ b/types/RecordsReadOptions.html @@ -0,0 +1,77 @@ +RecordsReadOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsReadOptions

+
RecordsReadOptions: {
    authorizationSigner?: Signer;
    filter: RecordsFilter;
    messageTimestamp?: string;
    permissionsGrantId?: string;
    protocolRole?: string;
}
+
+

Type declaration

+
    +
  • +
    Optional authorizationSigner?: Signer
  • +
  • +
    filter: RecordsFilter
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    Optional permissionsGrantId?: string
  • +
  • +
    Optional protocolRole?: string
    +

    Used when authorizing protocol records. +The protocol path to a $globalRole record whose recipient is the author of this RecordsRead

    +
    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsReadReply.html b/types/RecordsReadReply.html new file mode 100644 index 000000000..d84b94b21 --- /dev/null +++ b/types/RecordsReadReply.html @@ -0,0 +1,65 @@ +RecordsReadReply | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsReadReply

+
RecordsReadReply: GenericMessageReply & {
    record?: RecordsWriteMessage & {
        data: Readable;
    };
}
+
+

Type declaration

+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsWriteDescriptor.html b/types/RecordsWriteDescriptor.html new file mode 100644 index 000000000..5b45c45de --- /dev/null +++ b/types/RecordsWriteDescriptor.html @@ -0,0 +1,91 @@ +RecordsWriteDescriptor | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsWriteDescriptor

+
RecordsWriteDescriptor: {
    dataCid: string;
    dataFormat: string;
    dataSize: number;
    dateCreated: string;
    datePublished?: string;
    interface: Records;
    messageTimestamp: string;
    method: Write;
    parentId?: string;
    protocol?: string;
    protocolPath?: string;
    published?: boolean;
    recipient?: string;
    schema?: string;
}
+
+

Type declaration

+
    +
  • +
    dataCid: string
  • +
  • +
    dataFormat: string
  • +
  • +
    dataSize: number
  • +
  • +
    dateCreated: string
  • +
  • +
    Optional datePublished?: string
  • +
  • +
    interface: Records
  • +
  • +
    messageTimestamp: string
  • +
  • +
    method: Write
  • +
  • +
    Optional parentId?: string
  • +
  • +
    Optional protocol?: string
  • +
  • +
    Optional protocolPath?: string
  • +
  • +
    Optional published?: boolean
  • +
  • +
    Optional recipient?: string
  • +
  • +
    Optional schema?: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsWriteMessage.html b/types/RecordsWriteMessage.html new file mode 100644 index 000000000..d638e0748 --- /dev/null +++ b/types/RecordsWriteMessage.html @@ -0,0 +1,75 @@ +RecordsWriteMessage | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsWriteMessage

+
RecordsWriteMessage: GenericMessage & {
    attestation?: GeneralJws;
    authorization: AuthorizationModel;
    contextId?: string;
    descriptor: RecordsWriteDescriptor;
    encryption?: EncryptionProperty;
    recordId: string;
}
+
+

Type declaration

+
    +
  • +
    Optional attestation?: GeneralJws
  • +
  • +
    authorization: AuthorizationModel
  • +
  • +
    Optional contextId?: string
  • +
  • +
    descriptor: RecordsWriteDescriptor
  • +
  • +
    Optional encryption?: EncryptionProperty
  • +
  • +
    recordId: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/RecordsWriteOptions.html b/types/RecordsWriteOptions.html new file mode 100644 index 000000000..23503bd76 --- /dev/null +++ b/types/RecordsWriteOptions.html @@ -0,0 +1,103 @@ +RecordsWriteOptions | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias RecordsWriteOptions

+
RecordsWriteOptions: {
    attestationSigners?: Signer[];
    authorizationSigner?: Signer;
    contextId?: string;
    data?: Uint8Array;
    dataCid?: string;
    dataFormat: string;
    dataSize?: number;
    dateCreated?: string;
    datePublished?: string;
    encryptionInput?: EncryptionInput;
    messageTimestamp?: string;
    parentId?: string;
    permissionsGrantId?: string;
    protocol?: string;
    protocolPath?: string;
    protocolRole?: string;
    published?: boolean;
    recipient?: string;
    recordId?: string;
    schema?: string;
}
+
+

Type declaration

+
    +
  • +
    Optional attestationSigners?: Signer[]
  • +
  • +
    Optional authorizationSigner?: Signer
  • +
  • +
    Optional contextId?: string
  • +
  • +
    Optional data?: Uint8Array
  • +
  • +
    Optional dataCid?: string
  • +
  • +
    dataFormat: string
  • +
  • +
    Optional dataSize?: number
  • +
  • +
    Optional dateCreated?: string
  • +
  • +
    Optional datePublished?: string
  • +
  • +
    Optional encryptionInput?: EncryptionInput
  • +
  • +
    Optional messageTimestamp?: string
  • +
  • +
    Optional parentId?: string
  • +
  • +
    Optional permissionsGrantId?: string
  • +
  • +
    Optional protocol?: string
  • +
  • +
    Optional protocolPath?: string
  • +
  • +
    Optional protocolRole?: string
  • +
  • +
    Optional published?: boolean
  • +
  • +
    Optional recipient?: string
  • +
  • +
    Optional recordId?: string
  • +
  • +
    Optional schema?: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ServiceEndpoint.html b/types/ServiceEndpoint.html new file mode 100644 index 000000000..f5cee60ec --- /dev/null +++ b/types/ServiceEndpoint.html @@ -0,0 +1,71 @@ +ServiceEndpoint | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias ServiceEndpoint

+
ServiceEndpoint: {
    description?: string;
    id: string;
    serviceEndpoint: string | DwnServiceEndpoint;
    type: string;
}
+
+

Type declaration

+
    +
  • +
    Optional description?: string
  • +
  • +
    id: string
  • +
  • +
    serviceEndpoint: string | DwnServiceEndpoint
  • +
  • +
    type: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/UnionMessageReply.html b/types/UnionMessageReply.html new file mode 100644 index 000000000..45bfcc56e --- /dev/null +++ b/types/UnionMessageReply.html @@ -0,0 +1,79 @@ +UnionMessageReply | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias UnionMessageReply

+
UnionMessageReply: GenericMessageReply & {
    data?: Readable;
    entries?: QueryResultEntry[];
}
+

Catch-all message reply type. It is recommended to use GenericMessageReply or a message-specific reply type wherever possible.

+
+
+

Type declaration

+
    +
  • +
    Optional data?: Readable
    +

    Data corresponding to the message received if applicable (e.g. RecordsRead). +Mutually exclusive with entries.

    +
    +
  • +
  • +
    Optional entries?: QueryResultEntry[]
    +

    Resulting message entries or events returned from the invocation of the corresponding message. +e.g. the resulting messages from a RecordsQuery +Mutually exclusive with data.

    +
    +
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/VerificationMethod.html b/types/VerificationMethod.html new file mode 100644 index 000000000..76fa98631 --- /dev/null +++ b/types/VerificationMethod.html @@ -0,0 +1,71 @@ +VerificationMethod | DWN-SDK Documentation - v0.2.4
+
+ +
+
+
+
+ +

Type alias VerificationMethod

+
VerificationMethod: {
    controller: string;
    id: string;
    publicKeyJwk?: PublicJwk;
    type: string;
}
+
+

Type declaration

+
    +
  • +
    controller: string
  • +
  • +
    id: string
  • +
  • +
    Optional publicKeyJwk?: PublicJwk
  • +
  • +
    type: string
+
+
+

Generated using TypeDoc

+
\ No newline at end of file