diff --git a/docker-compose.yaml b/docker-compose.yaml index 473db7f..65227cf 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -45,6 +45,13 @@ services: timeout: 10s retries: 10 start_period: 20s + io-server: + image: manik2708/hi-io-server:latest + environment: + REDIS_URL: redis://client:6379 + container_name: hi-io-server + networks: + - hi-services networks: hi-services: external: true diff --git a/docs/.nojekyll b/docs/.nojekyll deleted file mode 100644 index e2ac661..0000000 --- a/docs/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css deleted file mode 100644 index 0270f8b..0000000 --- a/docs/assets/highlight.css +++ /dev/null @@ -1,50 +0,0 @@ -:root { - --light-hl-0: #795E26; - --dark-hl-0: #DCDCAA; - --light-hl-1: #000000; - --dark-hl-1: #D4D4D4; - --light-hl-2: #A31515; - --dark-hl-2: #CE9178; - --light-hl-3: #008000; - --dark-hl-3: #6A9955; - --light-code-background: #FFFFFF; - --dark-code-background: #1E1E1E; -} - -@media (prefers-color-scheme: light) { :root { - --hl-0: var(--light-hl-0); - --hl-1: var(--light-hl-1); - --hl-2: var(--light-hl-2); - --hl-3: var(--light-hl-3); - --code-background: var(--light-code-background); -} } - -@media (prefers-color-scheme: dark) { :root { - --hl-0: var(--dark-hl-0); - --hl-1: var(--dark-hl-1); - --hl-2: var(--dark-hl-2); - --hl-3: var(--dark-hl-3); - --code-background: var(--dark-code-background); -} } - -:root[data-theme='light'] { - --hl-0: var(--light-hl-0); - --hl-1: var(--light-hl-1); - --hl-2: var(--light-hl-2); - --hl-3: var(--light-hl-3); - --code-background: var(--light-code-background); -} - -:root[data-theme='dark'] { - --hl-0: var(--dark-hl-0); - --hl-1: var(--dark-hl-1); - --hl-2: var(--dark-hl-2); - --hl-3: var(--dark-hl-3); - --code-background: var(--dark-code-background); -} - -.hl-0 { color: var(--hl-0); } -.hl-1 { color: var(--hl-1); } -.hl-2 { color: var(--hl-2); } -.hl-3 { color: var(--hl-3); } -pre, code { background: var(--code-background); } diff --git a/docs/assets/main.js b/docs/assets/main.js deleted file mode 100644 index 3092fea..0000000 --- a/docs/assets/main.js +++ /dev/null @@ -1,59 +0,0 @@ -"use strict"; -"use strict";(()=>{var Ie=Object.create;var ne=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Fe=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!Re.call(t,i)&&i!==n&&ne(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Ie(_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 He={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>He[e])}var C=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",pe="mousemove",H="mouseup",J={x:0,y:0},fe=!1,ee=!1,Be=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(Be=!0,F="touchstart",pe="touchmove",H="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(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(H,()=>{ee=!1});document.addEventListener("click",t=>{fe&&(t.preventDefault(),t.stopImmediatePropagation(),fe=!1)});var X=class extends C{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(H,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(H,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){D||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!D&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ve=document.head.appendChild(document.createElement("style"));ve.dataset.for="filters";var Y=class extends C{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ve.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`,this.updateIndexHeadingVisibility()}fromLocalStorage(){let e=Q.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){Q.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),this.updateIndexHeadingVisibility()}updateIndexHeadingVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}};var Z=class extends C{constructor(e){super(e),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let r=this.summary.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ge(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,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/docs/assets/navigation.js b/docs/assets/navigation.js deleted file mode 100644 index 57f845c..0000000 --- a/docs/assets/navigation.js +++ /dev/null @@ -1 +0,0 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA6VaTXPbNhD9Lzp74sZt0ta31LFbT+tIseXJIZPBwORKYkMBCgDKcTr57x2AEolvLJ2jrX3v7S7ABbjLj//NFHxVs/PZBWdSUabk7GRWbZq2FsBm5x+H3ysqJWW1oKSyLHdUbWbnsy2vuxbk6UBCIuYvNmrbzk5mnxtWz87P4jIXR9wNqA2vLY2qpVIWNXy8K/ry7LfvJ6HWkj608I5u4flyIwVK8W94srQapkCsaIWX03gvn69ef/9kSVWcKd62IIgWya+Va4pbJ86UMKCFSx/Jm0fvQcN82WHAHpgizF2bMATLDOX+pbYvrrjNOiLyDjfsX6hUwxlR/DOwrNe+Lcr16yNo6fGH/gf8HjYfyRakpHINRD3tIBeGY4iK4UYj1rB0iIF12zStBXElXKe/dNCBJALqJpt62w7l8nsNKO4Yh3aE5GrCrbadRjxC8isoeKeg/PxbZthnfwVSNpzdamTWb5vbx+WyMl8uppEPgBzrvQQxjXZExFJtJ3ssa6kjdIw/ZXEHYt/oY6AaTIk8/C+6gkdFYnGTIwuJsExc4LtA3ErXdPGQOL+BR44XfdD4JFjyvenEyOWNJ1gKPBQMyLDBmiOz13hWwCN8atAXEeEJgVvCUdLSMzRXu8KTkfiZqx3yQZmr3bhHbRgqV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2LyNpYS37Bt1vODn/GakdCG8kYVJXAp/tdrRnGQZeiqpM/7BiKNuudCW/A/4hDWabsqdGZ4zN61Cb3YAaDvNQmjuzc1syJJgnzz1xnVpBIs3CErwiicmQwuNijuyYbeEYxzpZ7TuOIKy70ACZfHKY7MtAW1iF+2j+jSVEsz0OHIlmSbcfM5yLy9NBv8/zrfyT6xwkdeYMKbyE2mWWYv32UxiqcMagUUTwziLU/DvCtsWejxi15egqb1QjwpbYBq4cCqDiJ7x135uiZo+edw4GjN0xywpDXSvHko3yEB8mrz6AwKxcaoyL8AA93BoZYuIhEAM+NzntL88HeXedNz62HNKcXUpSe3g9HktQDQnc70khStVxCHSZ4xBPHEpVduttdywuPeTzJk9wWrvC+bw47QtuWaANdjw97L7JXLLkc0O+Q2IJ0lx606xAmjH/e7Hap6Y/FNFgVPkdl+4YLttXfhQ6d6dDFqBnK22OL+F5YJ8vYA48TW6DMKODq0J/SX93iuW1Uhvx6gae8XuSIVrcdYw1bz9lbvYmio4AErw/NyLzjtRmsw+HOcOl+DlCSisInyB0/O3m+4pEBKeodJ1PUIieINwDa0tjMXf8XPza5aBtgyv0iWH/4e+DxbDzen37/9eWrs1iLMnQr3hD3ZgVNBWZuShsW/V4mtEFFWtFDDLGViHAO9rkJ3yTCIlvs3pinTF0gvU0ynLLyxZoqeKRPYVpHG3KwmXa5kH9SBR9s5mOpjzAHqOjI4H9Pjvy7IjMAAA==" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js deleted file mode 100644 index f2d0aa4..0000000 --- a/docs/assets/search.js +++ /dev/null @@ -1 +0,0 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA8VdbXfbtpL+L/JXbyKAeqHyzddxWm8TO9d22u3J6eFhJNrWViZVkUqb29P/vgcAKQ6GMyBIUdkPt9exgcEMngEweDAA/x7tsj/z0ZvPf49+X6er0Rt5Pkrjl2T0ZnSZpXkRp0X+ehnneZyudnG0rH43Oh/td5vRm9FLttpvkvz1oX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nZDOI20484FEoP91pIeheJOyQclZisxWIxHnYH1JUmbSy4l7Z/J3GzANzp+T4cO2lmuSqZF/JHqjVO+nHbJ/aEydcDAWbEqQlbDI7zLGy+7mRuk9jfUj+n2SlT1GaFxbh5VXBpgABOezlyYl1S4lzYTbesqd7C30Oq5IChPm7DUeA9rEQ0Yl/tkZw+8yGbLSgx6zk02yJcAJhE15qiYxm1tkMix97wQSSIHJaMebsOacRVJ3zMztDeHbgtqsx2mDmsZxU4cKsyntn74LtczRqoQOxvGszqwn6MLu11lNwvFGO/C1K/lrn9t0UAZORBEtSuBJiYZTIYqrqr7Ik11QNoYUlhMUhT3ZcVi48JWX3skoAkdIMO5Kfnqq6ZDYg1J9lGDRRi89KJLy+K9k7f2XdRoYz3J1NuEVLVW7y/nB/xV7/rqo6fQhuN1m6TkvKisbCAv2YPWZkQgF4H1GwWQqqcpMXhYd/LCusGeFvje0ZqMquQ6Yqqrmw7plXsUt1IUawoeNBWNYIXOBJlGAPMakvvMMAFgY/7Ea9FvI63m6jdR41n1eQdrIfN5yAqHKBjeLNJlKfQlcHZBQPKK1t7bhdSTJ4hV7PbmVqGWRnQWqUPdn5c5elTxHFbwvIrQo6w+C389F2vU20x7/5/Ns///wfvzy7Dy9RAQA="; \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css deleted file mode 100644 index 98a4377..0000000 --- a/docs/assets/style.css +++ /dev/null @@ -1,1414 +0,0 @@ -: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-keyword: #056bd6; - --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: #a55c0e; - --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-keyword: #3399ff; - --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: #e07d13; - --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-keyword: var(--light-color-ts-keyword); - --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-keyword: var(--dark-color-ts-keyword); - --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-keyword: var(--light-color-ts-keyword); - --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-keyword: var(--dark-color-ts-keyword); - --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:not(.link), -h2 > a:not(.link), -h3 > a:not(.link), -h4 > a:not(.link), -h5 > a:not(.link), -h6 > a:not(.link) { - 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-full-hierarchy:not(:last-child) { - margin-bottom: 1em; - padding-bottom: 1em; - border-bottom: 1px solid var(--color-accent); -} -.tsd-full-hierarchy, -.tsd-full-hierarchy ul { - list-style: none; - margin: 0; - padding: 0; -} -.tsd-full-hierarchy ul { - padding-left: 1.5rem; -} -.tsd-full-hierarchy a { - padding: 0.25rem 0 !important; - font-size: 1rem; - display: inline-flex; - align-items: center; - color: var(--color-text); -} - -.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.25rem); - display: flex; - align-items: center; -} -.tsd-navigation a, -.tsd-navigation summary > span, -.tsd-page-navigation a { - display: flex; - width: calc(100% - 0.25rem); - 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-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-keyword { - color: var(--color-ts-keyword); - font-weight: normal; -} - -.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/docs/classes/Constants_cassandra_constants.CassandraMethods.html b/docs/classes/Constants_cassandra_constants.CassandraMethods.html deleted file mode 100644 index 536e1a2..0000000 --- a/docs/classes/Constants_cassandra_constants.CassandraMethods.html +++ /dev/null @@ -1,5 +0,0 @@ -CassandraMethods | HI Documentation

Constructors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Constants_cassandra_constants.CassandraTableNames.html b/docs/classes/Constants_cassandra_constants.CassandraTableNames.html deleted file mode 100644 index 581f98a..0000000 --- a/docs/classes/Constants_cassandra_constants.CassandraTableNames.html +++ /dev/null @@ -1,5 +0,0 @@ -CassandraTableNames | HI Documentation

Constructors

Properties

recievedReadConfessions: string = 'recieved_read_confessions'
recievedUnreadConfessions: string = 'recieved_unread_confessions'
sentConfessions: string = 'sent_confessions'

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Constants_contoller_paths.ControllerPaths.html b/docs/classes/Constants_contoller_paths.ControllerPaths.html deleted file mode 100644 index 2fb80d8..0000000 --- a/docs/classes/Constants_contoller_paths.ControllerPaths.html +++ /dev/null @@ -1,5 +0,0 @@ -ControllerPaths | HI Documentation

Constructors

Properties

CONFESSION_CONTROLLER: string = 'confessions'
OTP_CONTROLLER: string = 'otp'
USER_CONTROLLER: string = 'users'

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Constants_event_names.EventNames.html b/docs/classes/Constants_event_names.EventNames.html deleted file mode 100644 index 1694060..0000000 --- a/docs/classes/Constants_event_names.EventNames.html +++ /dev/null @@ -1,19 +0,0 @@ -EventNames | HI Documentation

Constructors

Properties

appIsClosed: string = 'app-is-closed'
createChat: string = 'create-chat'
emptySearchBar: string = 'emptySearchBar'
invalidToken: string = 'invalidToken'
noToken: string = 'noToken'
onlineUsers: string = 'UserOnline'
readConfession: string = 'read-confession'
recieveAllMessages: string = 'recieve-all-messages'
recieveConfession: string = 'recieve-sonfession'
searchUser: string = 'searchUser'
searchedUser: string = 'searchedUser'
sendConfession: string = 'send-confession'
socketId: string = 'socketId'
tokenLost: string = 'token-lost'
updateConfssionStatus: string = 'update-status'
updateFirebaseConfession: string = 'update-Firebase-Confession'
userNotFound: string = 'userNotFound'

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Constants_injection_tokens.InjectionTokens.html b/docs/classes/Constants_injection_tokens.InjectionTokens.html deleted file mode 100644 index 9b0fabf..0000000 --- a/docs/classes/Constants_injection_tokens.InjectionTokens.html +++ /dev/null @@ -1,6 +0,0 @@ -InjectionTokens | HI Documentation

Constructors

Properties

CasClient: string = 'CasClient'
CreateQueue: string = 'CreateQueue'
IoServer: string = 'IoServer'
RedisClient: string = 'RedisClient'

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Constants_queues_redis.QueueNames.html b/docs/classes/Constants_queues_redis.QueueNames.html deleted file mode 100644 index 2632912..0000000 --- a/docs/classes/Constants_queues_redis.QueueNames.html +++ /dev/null @@ -1,3 +0,0 @@ -QueueNames | HI Documentation

Constructors

Properties

Constructors

Properties

OfflineQueue: string = 'Offline'

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Constants_queues_redis.RedisNames.html b/docs/classes/Constants_queues_redis.RedisNames.html deleted file mode 100644 index 283edab..0000000 --- a/docs/classes/Constants_queues_redis.RedisNames.html +++ /dev/null @@ -1,15 +0,0 @@ -RedisNames | HI Documentation

Constructors

Properties

ConfessionLlconfession: string = 'confession'
ConfessionLlnextConfessionId: string = 'nextConfessionId'
ConfessionLlpreviousConfessionId: string = 'previousConfessionId'
ConfessionLlsenderAnonymousId: string = 'senderAnonymousId'
ConfessionLlsenderId: string = 'senderId'
ConfessionLltime: string = 'time'
FirebaseToken: string = 'firebasetoken'
FirstRecievedConfession: string = 'firstRecievedConfession'
LastRecievedConfession: string = 'lastRecievedConfession'
OnlineUserMap: string = 'OnlineUserMap'
OnlineUsers: string = 'online-users'
RecievedConfessions: string = 'recievedConfessions'
SocketId: string = 'socketId'

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Constants_route_paths.ConfessionRoutes.html b/docs/classes/Constants_route_paths.ConfessionRoutes.html deleted file mode 100644 index 00ea6d9..0000000 --- a/docs/classes/Constants_route_paths.ConfessionRoutes.html +++ /dev/null @@ -1,4 +0,0 @@ -ConfessionRoutes | HI Documentation

Constructors

Properties

REJECT_CONFESSION: string = 'reject-confession'
SEND_CONFESSION: string = 'send-confession'

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Constants_route_paths.OTPRoutes.html b/docs/classes/Constants_route_paths.OTPRoutes.html deleted file mode 100644 index fbf0278..0000000 --- a/docs/classes/Constants_route_paths.OTPRoutes.html +++ /dev/null @@ -1,4 +0,0 @@ -OTPRoutes | HI Documentation

Constructors

Properties

Constructors

Properties

SEND_OTP: string = 'send-otp'
VERIFY_OTP: string = 'verify-otp'

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Constants_route_paths.UserRoutes.html b/docs/classes/Constants_route_paths.UserRoutes.html deleted file mode 100644 index 9d7bd2c..0000000 --- a/docs/classes/Constants_route_paths.UserRoutes.html +++ /dev/null @@ -1,6 +0,0 @@ -UserRoutes | HI Documentation

Constructors

Properties

CHANGE_EMAIL: string = 'change-email'
CREATE_ACCOUNT_WITHOUT_VERIFICATION: string = 'create-account-without-verification'
LOGIN: string = 'login'
SET_USER_ONLINE: string = 'set-user-online'

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Confessions_Services_confession_services.ConfessionServices.html b/docs/classes/Controllers_Confessions_Services_confession_services.ConfessionServices.html deleted file mode 100644 index 7a4fe90..0000000 --- a/docs/classes/Controllers_Confessions_Services_confession_services.ConfessionServices.html +++ /dev/null @@ -1,4 +0,0 @@ -ConfessionServices | HI Documentation

Constructors

Methods

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<Response<any, Record<string, any>>>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Confessions_confession_controller.ConfessionsController.html b/docs/classes/Controllers_Confessions_confession_controller.ConfessionsController.html deleted file mode 100644 index f9c75ef..0000000 --- a/docs/classes/Controllers_Confessions_confession_controller.ConfessionsController.html +++ /dev/null @@ -1,4 +0,0 @@ -ConfessionsController | HI Documentation

Constructors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Confessions_confession_module.ConfessionsModule.html b/docs/classes/Controllers_Confessions_confession_module.ConfessionsModule.html deleted file mode 100644 index af3f1ac..0000000 --- a/docs/classes/Controllers_Confessions_confession_module.ConfessionsModule.html +++ /dev/null @@ -1,2 +0,0 @@ -ConfessionsModule | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Otp_Services_otp_services.OTPServices.html b/docs/classes/Controllers_Otp_Services_otp_services.OTPServices.html deleted file mode 100644 index 83f1344..0000000 --- a/docs/classes/Controllers_Otp_Services_otp_services.OTPServices.html +++ /dev/null @@ -1,4 +0,0 @@ -OTPServices | HI Documentation

Constructors

Methods

Constructors

Methods

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<Response<any, Record<string, any>>>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Otp_Services_send_otp_for_password_change.SendOTPForPasswordChange.html b/docs/classes/Controllers_Otp_Services_send_otp_for_password_change.SendOTPForPasswordChange.html deleted file mode 100644 index 09eba64..0000000 --- a/docs/classes/Controllers_Otp_Services_send_otp_for_password_change.SendOTPForPasswordChange.html +++ /dev/null @@ -1,3 +0,0 @@ -SendOTPForPasswordChange | HI Documentation

Constructors

Methods

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<undefined | Response<any, Record<string, any>>>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Otp_otp_controllers.OTPController.html b/docs/classes/Controllers_Otp_otp_controllers.OTPController.html deleted file mode 100644 index ad859f8..0000000 --- a/docs/classes/Controllers_Otp_otp_controllers.OTPController.html +++ /dev/null @@ -1,4 +0,0 @@ -OTPController | HI Documentation

Constructors

Methods

Constructors

Methods

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<void>

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Otp_otp_module.OTPModule.html b/docs/classes/Controllers_Otp_otp_module.OTPModule.html deleted file mode 100644 index 36cecbb..0000000 --- a/docs/classes/Controllers_Otp_otp_module.OTPModule.html +++ /dev/null @@ -1,2 +0,0 @@ -OTPModule | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Users_Services_change_email.ChangeEmailService.html b/docs/classes/Controllers_Users_Services_change_email.ChangeEmailService.html deleted file mode 100644 index 1fec66a..0000000 --- a/docs/classes/Controllers_Users_Services_change_email.ChangeEmailService.html +++ /dev/null @@ -1,3 +0,0 @@ -ChangeEmailService | HI Documentation

Constructors

Methods

Constructors

Methods

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<undefined | Response<any, Record<string, any>>>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Users_Services_create_account.CreateUserAccountService.html b/docs/classes/Controllers_Users_Services_create_account.CreateUserAccountService.html deleted file mode 100644 index a0eeee4..0000000 --- a/docs/classes/Controllers_Users_Services_create_account.CreateUserAccountService.html +++ /dev/null @@ -1,3 +0,0 @@ -CreateUserAccountService | HI Documentation

Constructors

Methods

Constructors

Methods

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<Response<any, Record<string, any>>>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Users_Services_login.UserLoginService.html b/docs/classes/Controllers_Users_Services_login.UserLoginService.html deleted file mode 100644 index f36a567..0000000 --- a/docs/classes/Controllers_Users_Services_login.UserLoginService.html +++ /dev/null @@ -1,3 +0,0 @@ -UserLoginService | HI Documentation

Constructors

Methods

Constructors

Methods

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<Response<any, Record<string, any>>>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Users_Services_set_user_online.SetUserOnline.html b/docs/classes/Controllers_Users_Services_set_user_online.SetUserOnline.html deleted file mode 100644 index e75deac..0000000 --- a/docs/classes/Controllers_Users_Services_set_user_online.SetUserOnline.html +++ /dev/null @@ -1,3 +0,0 @@ -SetUserOnline | HI Documentation

Constructors

Methods

Constructors

Methods

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<Response<any, Record<string, any>>>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Users_user_controller.UserController.html b/docs/classes/Controllers_Users_user_controller.UserController.html deleted file mode 100644 index 58a7395..0000000 --- a/docs/classes/Controllers_Users_user_controller.UserController.html +++ /dev/null @@ -1,6 +0,0 @@ -UserController | HI Documentation

Constructors

Methods

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<void>

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<void>

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<void>

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>

    Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Controllers_Users_user_module.UserModule.html b/docs/classes/Controllers_Users_user_module.UserModule.html deleted file mode 100644 index 74b8892..0000000 --- a/docs/classes/Controllers_Users_user_module.UserModule.html +++ /dev/null @@ -1,2 +0,0 @@ -UserModule | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Database_Cassandra_queries.CassandraDatabaseQueries.html b/docs/classes/Database_Cassandra_queries.CassandraDatabaseQueries.html deleted file mode 100644 index 1059c20..0000000 --- a/docs/classes/Database_Cassandra_queries.CassandraDatabaseQueries.html +++ /dev/null @@ -1,10 +0,0 @@ -CassandraDatabaseQueries | HI Documentation

Implements

  • OnModuleInit

Constructors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Database_Redis_redis_functions.RedisFunctions.html b/docs/classes/Database_Redis_redis_functions.RedisFunctions.html deleted file mode 100644 index d0e808d..0000000 --- a/docs/classes/Database_Redis_redis_functions.RedisFunctions.html +++ /dev/null @@ -1,3 +0,0 @@ -RedisFunctions | HI Documentation

Constructors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Errors_bad_request.BadRequestError.html b/docs/classes/Errors_bad_request.BadRequestError.html deleted file mode 100644 index 621d519..0000000 --- a/docs/classes/Errors_bad_request.BadRequestError.html +++ /dev/null @@ -1,2 +0,0 @@ -BadRequestError | HI Documentation

Hierarchy

  • HttpException
    • BadRequestError

Constructors

Constructors

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Errors_server_error.InternalServerError.html b/docs/classes/Errors_server_error.InternalServerError.html deleted file mode 100644 index 19d5603..0000000 --- a/docs/classes/Errors_server_error.InternalServerError.html +++ /dev/null @@ -1,2 +0,0 @@ -InternalServerError | HI Documentation

Hierarchy

  • HttpException
    • InternalServerError

Constructors

Constructors

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Errors_unauthorised_request.UnathorizedRequestError.html b/docs/classes/Errors_unauthorised_request.UnathorizedRequestError.html deleted file mode 100644 index 49ea683..0000000 --- a/docs/classes/Errors_unauthorised_request.UnathorizedRequestError.html +++ /dev/null @@ -1,2 +0,0 @@ -UnathorizedRequestError | HI Documentation

Hierarchy

  • HttpException
    • UnathorizedRequestError

Constructors

Constructors

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Middlewares_user.AuthMiddleware.html b/docs/classes/Middlewares_user.AuthMiddleware.html deleted file mode 100644 index 72c30a3..0000000 --- a/docs/classes/Middlewares_user.AuthMiddleware.html +++ /dev/null @@ -1,4 +0,0 @@ -AuthMiddleware | HI Documentation

Param: header:

token: A json webtoken, for authorization of the user!

-

Implements

  • NestMiddleware

Constructors

Methods

use -

Constructors

Methods

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>
    • next: NextFunction

    Returns Promise<undefined | Response<any, Record<string, any>>>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Queues_base.CreateQueue.html b/docs/classes/Queues_base.CreateQueue.html deleted file mode 100644 index 2dfeade..0000000 --- a/docs/classes/Queues_base.CreateQueue.html +++ /dev/null @@ -1,4 +0,0 @@ -CreateQueue | HI Documentation

Constructors

Properties

Methods

Constructors

Properties

isTesting: boolean = false

Methods

  • Parameters

    • callback: ((chnl) => void)
        • (chnl): void
        • Parameters

          • chnl: Channel

          Returns void

    Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Services_connect_to_services.ConnectToServices.html b/docs/classes/Services_connect_to_services.ConnectToServices.html deleted file mode 100644 index 98ab251..0000000 --- a/docs/classes/Services_connect_to_services.ConnectToServices.html +++ /dev/null @@ -1,5 +0,0 @@ -ConnectToServices | HI Documentation

Constructors

Methods

  • Parameters

    • server: Server<typeof IncomingMessage, typeof ServerResponse>

    Returns Server<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>

  • Returns RedisClientType<{} & RedisModules, RedisFunctions, RedisScripts>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Services_send_message_to_user.SendMessageToUserService.html b/docs/classes/Services_send_message_to_user.SendMessageToUserService.html deleted file mode 100644 index c889a1d..0000000 --- a/docs/classes/Services_send_message_to_user.SendMessageToUserService.html +++ /dev/null @@ -1,3 +0,0 @@ -SendMessageToUserService | HI Documentation

Constructors

Methods

Constructors

Methods

  • Parameters

    • userId: string
    • wantTosendNotification: boolean
    • userIsOnlineEvent: string
    • messageForOnlineUser: any
    • commonMessage: MessageHandler
    • sendNotificationFunction: (() => void)
        • (): void
        • Returns void

    • Optional afterAcknowledgement: (() => void)
        • (): void
        • Returns void

    Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Services_websocket_services.WebSocketServices.html b/docs/classes/Services_websocket_services.WebSocketServices.html deleted file mode 100644 index e55e48b..0000000 --- a/docs/classes/Services_websocket_services.WebSocketServices.html +++ /dev/null @@ -1,4 +0,0 @@ -WebSocketServices | HI Documentation

Constructors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/app_module.AppModule.html b/docs/classes/app_module.AppModule.html deleted file mode 100644 index a73934a..0000000 --- a/docs/classes/app_module.AppModule.html +++ /dev/null @@ -1,3 +0,0 @@ -AppModule | HI Documentation

Implements

  • NestModule

Constructors

Methods

Constructors

Methods

  • Parameters

    • consumer: MiddlewareConsumer

    Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/websockets_gateway.WebSocketsGateWay.html b/docs/classes/websockets_gateway.WebSocketsGateWay.html deleted file mode 100644 index 3f45e33..0000000 --- a/docs/classes/websockets_gateway.WebSocketsGateWay.html +++ /dev/null @@ -1,3 +0,0 @@ -WebSocketsGateWay | HI Documentation

Implements

  • OnGatewayInit

Constructors

Methods

Constructors

Methods

  • Parameters

    • ioServer: Server<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>

    Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/Constants_messasge_type.MessageType.html b/docs/enums/Constants_messasge_type.MessageType.html deleted file mode 100644 index 53fef71..0000000 --- a/docs/enums/Constants_messasge_type.MessageType.html +++ /dev/null @@ -1,6 +0,0 @@ -MessageType | HI Documentation

Enumeration Members

CONFESSION_MESSAGE_TYPE: 0
CREATE_CHAT_MESSAGE_TYPE: 3
READ_CONFESSION: 1
SEND_CHAT_MESSAGE: 4
UPDATE_CONFESSION_STATUS: 2

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/Errors_bad_request.BadRequestTypes.html b/docs/enums/Errors_bad_request.BadRequestTypes.html deleted file mode 100644 index 5e32fb8..0000000 --- a/docs/enums/Errors_bad_request.BadRequestTypes.html +++ /dev/null @@ -1,11 +0,0 @@ -BadRequestTypes | HI Documentation

Enumeration Members

EMAIL_NOT_ENTERED: 8
INVALID_EMAIL: 9
INVALID_OTP: 5
OTP_OR_TOKEN_NOT_PROVIDED: 4
OTP_VERIFICATION_FAILED: 6
PASSWORD_NOT_ENTERED: 7
USERNAME_ALREADY_EXISTS: 1
USER_ALREADY_EXISTS: 0
USER_DOESNOT_EXISTS: 2
WRONG_PASSWORD: 3

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/Errors_unauthorised_request.UnathorizedErrorTypes.html b/docs/enums/Errors_unauthorised_request.UnathorizedErrorTypes.html deleted file mode 100644 index bfb5403..0000000 --- a/docs/enums/Errors_unauthorised_request.UnathorizedErrorTypes.html +++ /dev/null @@ -1,3 +0,0 @@ -UnathorizedErrorTypes | HI Documentation

Enumeration Members

INVALID_HEADER_TOKEN: 0
TOKEN_NOT_FOUND: 1

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/Functions_if_user_online.ifUserIsOnline.html b/docs/functions/Functions_if_user_online.ifUserIsOnline.html deleted file mode 100644 index 7974432..0000000 --- a/docs/functions/Functions_if_user_online.ifUserIsOnline.html +++ /dev/null @@ -1 +0,0 @@ -ifUserIsOnline | HI Documentation
  • Parameters

    • userId: string
    • client: RedisClientType<{} & RedisModules, RedisFunctions, RedisScripts>

    Returns Promise<boolean>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/Functions_request_recieved_confessions_function.requestUnreadRecievedConfessionsFxn.html b/docs/functions/Functions_request_recieved_confessions_function.requestUnreadRecievedConfessionsFxn.html deleted file mode 100644 index a1e19b6..0000000 --- a/docs/functions/Functions_request_recieved_confessions_function.requestUnreadRecievedConfessionsFxn.html +++ /dev/null @@ -1 +0,0 @@ -requestUnreadRecievedConfessionsFxn | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/Functions_send_notification.sendNotification.html b/docs/functions/Functions_send_notification.sendNotification.html deleted file mode 100644 index 81f742e..0000000 --- a/docs/functions/Functions_send_notification.sendNotification.html +++ /dev/null @@ -1 +0,0 @@ -sendNotification | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/Functions_set_user_online.userOnline.html b/docs/functions/Functions_set_user_online.userOnline.html deleted file mode 100644 index 6d7bbfa..0000000 --- a/docs/functions/Functions_set_user_online.userOnline.html +++ /dev/null @@ -1 +0,0 @@ -userOnline | HI Documentation
  • Parameters

    • userId: string
    • socketId: string
    • client: RedisClientType<{} & RedisModules, RedisFunctions, RedisScripts>

    Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/Models_message_handler.convertCreateChatMessageToCommonMessage.html b/docs/functions/Models_message_handler.convertCreateChatMessageToCommonMessage.html deleted file mode 100644 index 95eeddb..0000000 --- a/docs/functions/Models_message_handler.convertCreateChatMessageToCommonMessage.html +++ /dev/null @@ -1 +0,0 @@ -convertCreateChatMessageToCommonMessage | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/Models_message_handler.convertUpdateConfessionStatusToCommonMessage.html b/docs/functions/Models_message_handler.convertUpdateConfessionStatusToCommonMessage.html deleted file mode 100644 index 8e6ae2b..0000000 --- a/docs/functions/Models_message_handler.convertUpdateConfessionStatusToCommonMessage.html +++ /dev/null @@ -1 +0,0 @@ -convertUpdateConfessionStatusToCommonMessage | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/Models_message_handler.covertConfessionToCommonMessage.html b/docs/functions/Models_message_handler.covertConfessionToCommonMessage.html deleted file mode 100644 index 1fce837..0000000 --- a/docs/functions/Models_message_handler.covertConfessionToCommonMessage.html +++ /dev/null @@ -1 +0,0 @@ -covertConfessionToCommonMessage | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/Websockets_app_is_closed.appIsClosed.html b/docs/functions/Websockets_app_is_closed.appIsClosed.html deleted file mode 100644 index a1c6721..0000000 --- a/docs/functions/Websockets_app_is_closed.appIsClosed.html +++ /dev/null @@ -1 +0,0 @@ -appIsClosed | HI Documentation
  • Parameters

    • socket: Socket<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>
    • client: RedisClientType<{} & RedisModules, RedisFunctions, RedisScripts>

    Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index b24c3ab..0000000 --- a/docs/index.html +++ /dev/null @@ -1,36 +0,0 @@ -HI Documentation

HI Documentation

- Nest Logo -

- -

A progressive Node.js framework for building efficient and scalable server-side applications.

-

-NPM Version -Package License -NPM Downloads -CircleCI -Coverage -Discord -Backers on Open Collective -Sponsors on Open Collective - - Support us - -

- - -

Description

Nest framework TypeScript starter repository.

-

Installation

$ npm install
-
-

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod -
-

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov -
-

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

-

Stay in touch

-

License

Nest is MIT licensed.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Constants_cassandra_constants.CassandraKeys.html b/docs/interfaces/Constants_cassandra_constants.CassandraKeys.html deleted file mode 100644 index 01d3f21..0000000 --- a/docs/interfaces/Constants_cassandra_constants.CassandraKeys.html +++ /dev/null @@ -1,4 +0,0 @@ -CassandraKeys | HI Documentation
interface CassandraKeys {
    FIRST_SORTING_KEY: string;
    PARTITION_KEY: string;
    SECOND_SORTING_KEY?: string;
}

Properties

FIRST_SORTING_KEY: string
PARTITION_KEY: string
SECOND_SORTING_KEY?: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Models_chat_message_model.ChatMessageModel.html b/docs/interfaces/Models_chat_message_model.ChatMessageModel.html deleted file mode 100644 index 18769b7..0000000 --- a/docs/interfaces/Models_chat_message_model.ChatMessageModel.html +++ /dev/null @@ -1,8 +0,0 @@ -ChatMessageModel | HI Documentation
interface ChatMessageModel {
    chatId: string;
    message: string;
    nextMessageId: null | string;
    previousMessageId: null | string;
    senderId: string;
    status: string;
    time: Date;
}

Hierarchy

  • Document
    • ChatMessageModel

Properties

chatId: string
message: string
nextMessageId: null | string
previousMessageId: null | string
senderId: string
status: string
time: Date

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Models_chat_model.ChatModel.html b/docs/interfaces/Models_chat_model.ChatModel.html deleted file mode 100644 index 64cbffa..0000000 --- a/docs/interfaces/Models_chat_model.ChatModel.html +++ /dev/null @@ -1,6 +0,0 @@ -ChatModel | HI Documentation
interface ChatModel {
    anonymousUserId: string;
    confessionId: string;
    crushId: string;
    lastMessage: null | string;
    lastUpdate: Date;
}

Hierarchy

  • Document
    • ChatModel

Properties

anonymousUserId: string
confessionId: string
crushId: string
lastMessage: null | string
lastUpdate: Date

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Models_confession.ConfessionModel.html b/docs/interfaces/Models_confession.ConfessionModel.html deleted file mode 100644 index 5ba495a..0000000 --- a/docs/interfaces/Models_confession.ConfessionModel.html +++ /dev/null @@ -1,10 +0,0 @@ -ConfessionModel | HI Documentation
interface ConfessionModel {
    confession: string;
    confessionId: string;
    crushId: string;
    crushName: string;
    lastUpdate: string;
    senderAnonymousId: string;
    senderId: string;
    status: string;
    time: string;
}

Properties

confession: string
confessionId: string
crushId: string
crushName: string
lastUpdate: string
senderAnonymousId: string
senderId: string
status: string
time: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Models_message_handler.MessageHandler.html b/docs/interfaces/Models_message_handler.MessageHandler.html deleted file mode 100644 index 54df08c..0000000 --- a/docs/interfaces/Models_message_handler.MessageHandler.html +++ /dev/null @@ -1,13 +0,0 @@ -MessageHandler | HI Documentation
interface MessageHandler {
    anonymousUserId?: string;
    confession?: string;
    confessionId?: string;
    confessionUpdatedStatus?: string;
    crushId?: string;
    crushName?: string;
    messageType: number;
    senderAnonymousId?: string;
    senderId?: string;
    status?: string;
    time?: string;
    updateTime?: string;
}

Properties

anonymousUserId?: string
confession?: string
confessionId?: string
confessionUpdatedStatus?: string
crushId?: string
crushName?: string
messageType: number
senderAnonymousId?: string
senderId?: string
status?: string
time?: string
updateTime?: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Models_unread_recieved_confessions.UnreadRecievedConfessions.html b/docs/interfaces/Models_unread_recieved_confessions.UnreadRecievedConfessions.html deleted file mode 100644 index 8c28868..0000000 --- a/docs/interfaces/Models_unread_recieved_confessions.UnreadRecievedConfessions.html +++ /dev/null @@ -1,6 +0,0 @@ -UnreadRecievedConfessions | HI Documentation
interface UnreadRecievedConfessions {
    confession: string;
    id: string;
    senderAnonymousId: string;
    senderId: string;
    time: string;
}

Properties

confession: string
id: string
senderAnonymousId: string
senderId: string
time: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Models_update_status_of_confession.UpdateConfessionStatus.html b/docs/interfaces/Models_update_status_of_confession.UpdateConfessionStatus.html deleted file mode 100644 index c9a8ead..0000000 --- a/docs/interfaces/Models_update_status_of_confession.UpdateConfessionStatus.html +++ /dev/null @@ -1,8 +0,0 @@ -UpdateConfessionStatus | HI Documentation
interface UpdateConfessionStatus {
    confessionId: string;
    crushId: string;
    readingTime: string;
    senderId: string;
    sendingTime: string;
    updateTime: string;
    updatedStatus: string;
}

Properties

confessionId: string
crushId: string
readingTime: string
senderId: string
sendingTime: string
updateTime: string
updatedStatus: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Models_update_status_of_confession.UpdateConfessionStatusForSender.html b/docs/interfaces/Models_update_status_of_confession.UpdateConfessionStatusForSender.html deleted file mode 100644 index 8b93f88..0000000 --- a/docs/interfaces/Models_update_status_of_confession.UpdateConfessionStatusForSender.html +++ /dev/null @@ -1,4 +0,0 @@ -UpdateConfessionStatusForSender | HI Documentation
interface UpdateConfessionStatusForSender {
    confessionId: string;
    updateTime: string;
    updatedStatus: string;
}

Properties

confessionId: string
updateTime: string
updatedStatus: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Models_user.UserModel.html b/docs/interfaces/Models_user.UserModel.html deleted file mode 100644 index 66dfc1d..0000000 --- a/docs/interfaces/Models_user.UserModel.html +++ /dev/null @@ -1,12 +0,0 @@ -UserModel | HI Documentation
interface UserModel {
    _doc?: any;
    anonymousId: String;
    chats: ChatModel[];
    dob: Date;
    email: String;
    isEmailVerified: Boolean;
    name: String;
    password: string;
    recievedConfessions: ConfessionModel[];
    sentConfessions: ConfessionModel[];
    username: String;
}

Hierarchy

  • Document
    • UserModel

Properties

_doc?: any
anonymousId: String
chats: ChatModel[]
dob: Date
email: String
isEmailVerified: Boolean
name: String
password: string
recievedConfessions: ConfessionModel[]
sentConfessions: ConfessionModel[]
username: String

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Services_websocket_services.SocketEventSubject.html b/docs/interfaces/Services_websocket_services.SocketEventSubject.html deleted file mode 100644 index 439f172..0000000 --- a/docs/interfaces/Services_websocket_services.SocketEventSubject.html +++ /dev/null @@ -1,4 +0,0 @@ -SocketEventSubject | HI Documentation
interface SocketEventSubject {
    data: unknown;
    id: string;
    name: string;
}

Properties

Properties

data: unknown
id: string
name: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Constants_cassandra_constants.html b/docs/modules/Constants_cassandra_constants.html deleted file mode 100644 index 4d2de6b..0000000 --- a/docs/modules/Constants_cassandra_constants.html +++ /dev/null @@ -1,4 +0,0 @@ -Constants/cassandra_constants | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Constants_contoller_paths.html b/docs/modules/Constants_contoller_paths.html deleted file mode 100644 index 8bbf5a3..0000000 --- a/docs/modules/Constants_contoller_paths.html +++ /dev/null @@ -1,2 +0,0 @@ -Constants/contoller_paths | HI Documentation

Module Constants/contoller_paths

Index

Classes

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Constants_event_names.html b/docs/modules/Constants_event_names.html deleted file mode 100644 index 4bb0a37..0000000 --- a/docs/modules/Constants_event_names.html +++ /dev/null @@ -1,2 +0,0 @@ -Constants/event_names | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Constants_injection_tokens.html b/docs/modules/Constants_injection_tokens.html deleted file mode 100644 index 00b3c19..0000000 --- a/docs/modules/Constants_injection_tokens.html +++ /dev/null @@ -1,2 +0,0 @@ -Constants/injection_tokens | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Constants_messasge_type.html b/docs/modules/Constants_messasge_type.html deleted file mode 100644 index 8845d5b..0000000 --- a/docs/modules/Constants_messasge_type.html +++ /dev/null @@ -1,2 +0,0 @@ -Constants/messasge_type | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Constants_queues_redis.html b/docs/modules/Constants_queues_redis.html deleted file mode 100644 index 4631e15..0000000 --- a/docs/modules/Constants_queues_redis.html +++ /dev/null @@ -1,3 +0,0 @@ -Constants/queues_redis | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Constants_route_paths.html b/docs/modules/Constants_route_paths.html deleted file mode 100644 index 78e7e57..0000000 --- a/docs/modules/Constants_route_paths.html +++ /dev/null @@ -1,4 +0,0 @@ -Constants/route_paths | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Confessions_Services_confession_services.html b/docs/modules/Controllers_Confessions_Services_confession_services.html deleted file mode 100644 index 4103caf..0000000 --- a/docs/modules/Controllers_Confessions_Services_confession_services.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Confessions/Services/confession_services | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Confessions_confession_controller.html b/docs/modules/Controllers_Confessions_confession_controller.html deleted file mode 100644 index 027f0da..0000000 --- a/docs/modules/Controllers_Confessions_confession_controller.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Confessions/confession_controller | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Confessions_confession_module.html b/docs/modules/Controllers_Confessions_confession_module.html deleted file mode 100644 index 6ce783a..0000000 --- a/docs/modules/Controllers_Confessions_confession_module.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Confessions/confession.module | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Otp_Services_otp_services.html b/docs/modules/Controllers_Otp_Services_otp_services.html deleted file mode 100644 index f05ff95..0000000 --- a/docs/modules/Controllers_Otp_Services_otp_services.html +++ /dev/null @@ -1,3 +0,0 @@ -Controllers/Otp/Services/otp_services | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Otp_Services_send_otp_for_password_change.html b/docs/modules/Controllers_Otp_Services_send_otp_for_password_change.html deleted file mode 100644 index e9fb6b4..0000000 --- a/docs/modules/Controllers_Otp_Services_send_otp_for_password_change.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Otp/Services/send_otp_for_password_change | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Otp_otp_controllers.html b/docs/modules/Controllers_Otp_otp_controllers.html deleted file mode 100644 index 117f280..0000000 --- a/docs/modules/Controllers_Otp_otp_controllers.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Otp/otp_controllers | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Otp_otp_module.html b/docs/modules/Controllers_Otp_otp_module.html deleted file mode 100644 index 32991fc..0000000 --- a/docs/modules/Controllers_Otp_otp_module.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Otp/otp.module | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Users_Services_change_email.html b/docs/modules/Controllers_Users_Services_change_email.html deleted file mode 100644 index a7dccbe..0000000 --- a/docs/modules/Controllers_Users_Services_change_email.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Users/Services/change_email | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Users_Services_create_account.html b/docs/modules/Controllers_Users_Services_create_account.html deleted file mode 100644 index bdb703c..0000000 --- a/docs/modules/Controllers_Users_Services_create_account.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Users/Services/create_account | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Users_Services_login.html b/docs/modules/Controllers_Users_Services_login.html deleted file mode 100644 index 23a6490..0000000 --- a/docs/modules/Controllers_Users_Services_login.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Users/Services/login | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Users_Services_set_user_online.html b/docs/modules/Controllers_Users_Services_set_user_online.html deleted file mode 100644 index 446a66f..0000000 --- a/docs/modules/Controllers_Users_Services_set_user_online.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Users/Services/set_user_online | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Users_user_controller.html b/docs/modules/Controllers_Users_user_controller.html deleted file mode 100644 index b22b727..0000000 --- a/docs/modules/Controllers_Users_user_controller.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Users/user_controller | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Controllers_Users_user_module.html b/docs/modules/Controllers_Users_user_module.html deleted file mode 100644 index 7593481..0000000 --- a/docs/modules/Controllers_Users_user_module.html +++ /dev/null @@ -1,2 +0,0 @@ -Controllers/Users/user.module | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Database_Cassandra_queries.html b/docs/modules/Database_Cassandra_queries.html deleted file mode 100644 index 1aabb12..0000000 --- a/docs/modules/Database_Cassandra_queries.html +++ /dev/null @@ -1,2 +0,0 @@ -Database/Cassandra/queries | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Database_Models_chat.html b/docs/modules/Database_Models_chat.html deleted file mode 100644 index 1a8d8c3..0000000 --- a/docs/modules/Database_Models_chat.html +++ /dev/null @@ -1,3 +0,0 @@ -Database/Models/chat | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Database_Models_user.html b/docs/modules/Database_Models_user.html deleted file mode 100644 index 5ebfdcc..0000000 --- a/docs/modules/Database_Models_user.html +++ /dev/null @@ -1,2 +0,0 @@ -Database/Models/user | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Database_Redis_redis_functions.html b/docs/modules/Database_Redis_redis_functions.html deleted file mode 100644 index 74b6f7e..0000000 --- a/docs/modules/Database_Redis_redis_functions.html +++ /dev/null @@ -1,2 +0,0 @@ -Database/Redis/redis_functions | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Errors_bad_request.html b/docs/modules/Errors_bad_request.html deleted file mode 100644 index fcae9f2..0000000 --- a/docs/modules/Errors_bad_request.html +++ /dev/null @@ -1,3 +0,0 @@ -Errors/bad_request | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Errors_server_error.html b/docs/modules/Errors_server_error.html deleted file mode 100644 index 9f76f8e..0000000 --- a/docs/modules/Errors_server_error.html +++ /dev/null @@ -1,2 +0,0 @@ -Errors/server_error | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Errors_unauthorised_request.html b/docs/modules/Errors_unauthorised_request.html deleted file mode 100644 index a781b91..0000000 --- a/docs/modules/Errors_unauthorised_request.html +++ /dev/null @@ -1,3 +0,0 @@ -Errors/unauthorised_request | HI Documentation

Module Errors/unauthorised_request

Index

Enumerations

Classes

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Functions_get_firebase_token.html b/docs/modules/Functions_get_firebase_token.html deleted file mode 100644 index 2941b45..0000000 --- a/docs/modules/Functions_get_firebase_token.html +++ /dev/null @@ -1 +0,0 @@ -Functions/get_firebase_token | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Functions_if_user_online.html b/docs/modules/Functions_if_user_online.html deleted file mode 100644 index e1aa131..0000000 --- a/docs/modules/Functions_if_user_online.html +++ /dev/null @@ -1,2 +0,0 @@ -Functions/if_user_online | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Functions_request_recieved_confessions_function.html b/docs/modules/Functions_request_recieved_confessions_function.html deleted file mode 100644 index 7511a83..0000000 --- a/docs/modules/Functions_request_recieved_confessions_function.html +++ /dev/null @@ -1,2 +0,0 @@ -Functions/request_recieved_confessions_function | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Functions_send_notification.html b/docs/modules/Functions_send_notification.html deleted file mode 100644 index fd6df54..0000000 --- a/docs/modules/Functions_send_notification.html +++ /dev/null @@ -1,2 +0,0 @@ -Functions/send_notification | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Functions_set_user_online.html b/docs/modules/Functions_set_user_online.html deleted file mode 100644 index e63dc51..0000000 --- a/docs/modules/Functions_set_user_online.html +++ /dev/null @@ -1,2 +0,0 @@ -Functions/set_user_online | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Middlewares_user.html b/docs/modules/Middlewares_user.html deleted file mode 100644 index 465049c..0000000 --- a/docs/modules/Middlewares_user.html +++ /dev/null @@ -1,2 +0,0 @@ -Middlewares/user | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Models_chat_message_model.html b/docs/modules/Models_chat_message_model.html deleted file mode 100644 index 7630057..0000000 --- a/docs/modules/Models_chat_message_model.html +++ /dev/null @@ -1,2 +0,0 @@ -Models/chat_message_model | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Models_chat_model.html b/docs/modules/Models_chat_model.html deleted file mode 100644 index 5816f3d..0000000 --- a/docs/modules/Models_chat_model.html +++ /dev/null @@ -1,2 +0,0 @@ -Models/chat_model | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Models_confession.html b/docs/modules/Models_confession.html deleted file mode 100644 index d39b5e6..0000000 --- a/docs/modules/Models_confession.html +++ /dev/null @@ -1,2 +0,0 @@ -Models/confession | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Models_message_handler.html b/docs/modules/Models_message_handler.html deleted file mode 100644 index cb14a51..0000000 --- a/docs/modules/Models_message_handler.html +++ /dev/null @@ -1,5 +0,0 @@ -Models/message_handler | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Models_unread_recieved_confessions.html b/docs/modules/Models_unread_recieved_confessions.html deleted file mode 100644 index 38a5782..0000000 --- a/docs/modules/Models_unread_recieved_confessions.html +++ /dev/null @@ -1,2 +0,0 @@ -Models/unread_recieved_confessions | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Models_update_status_of_confession.html b/docs/modules/Models_update_status_of_confession.html deleted file mode 100644 index b91831a..0000000 --- a/docs/modules/Models_update_status_of_confession.html +++ /dev/null @@ -1,3 +0,0 @@ -Models/update_status_of_confession | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Models_user.html b/docs/modules/Models_user.html deleted file mode 100644 index b6c7c3d..0000000 --- a/docs/modules/Models_user.html +++ /dev/null @@ -1,2 +0,0 @@ -Models/user | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Queues_base.html b/docs/modules/Queues_base.html deleted file mode 100644 index 15e06cf..0000000 --- a/docs/modules/Queues_base.html +++ /dev/null @@ -1,2 +0,0 @@ -Queues/base | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Services_connect_to_services.html b/docs/modules/Services_connect_to_services.html deleted file mode 100644 index ad82956..0000000 --- a/docs/modules/Services_connect_to_services.html +++ /dev/null @@ -1,2 +0,0 @@ -Services/connect_to_services | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Services_send_message_to_user.html b/docs/modules/Services_send_message_to_user.html deleted file mode 100644 index 1cd787c..0000000 --- a/docs/modules/Services_send_message_to_user.html +++ /dev/null @@ -1,2 +0,0 @@ -Services/send_message_to_user | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Services_websocket_services.html b/docs/modules/Services_websocket_services.html deleted file mode 100644 index 1241857..0000000 --- a/docs/modules/Services_websocket_services.html +++ /dev/null @@ -1,3 +0,0 @@ -Services/websocket_services | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Websockets_app_is_closed.html b/docs/modules/Websockets_app_is_closed.html deleted file mode 100644 index 97802dc..0000000 --- a/docs/modules/Websockets_app_is_closed.html +++ /dev/null @@ -1,2 +0,0 @@ -Websockets/app_is_closed | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/Websockets_recieve_all_kind_of_messages.html b/docs/modules/Websockets_recieve_all_kind_of_messages.html deleted file mode 100644 index b1a89a3..0000000 --- a/docs/modules/Websockets_recieve_all_kind_of_messages.html +++ /dev/null @@ -1 +0,0 @@ -Websockets/recieve_all_kind_of_messages | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/app_module.html b/docs/modules/app_module.html deleted file mode 100644 index 9093188..0000000 --- a/docs/modules/app_module.html +++ /dev/null @@ -1,2 +0,0 @@ -app.module | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/enviornment_variables.html b/docs/modules/enviornment_variables.html deleted file mode 100644 index 308e902..0000000 --- a/docs/modules/enviornment_variables.html +++ /dev/null @@ -1,8 +0,0 @@ -enviornment_variables | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/main.html b/docs/modules/main.html deleted file mode 100644 index 6d763ad..0000000 --- a/docs/modules/main.html +++ /dev/null @@ -1,2 +0,0 @@ -main | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/request.html b/docs/modules/request.html deleted file mode 100644 index 1b15ad5..0000000 --- a/docs/modules/request.html +++ /dev/null @@ -1 +0,0 @@ -request | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/service_containers.html b/docs/modules/service_containers.html deleted file mode 100644 index 66f45ab..0000000 --- a/docs/modules/service_containers.html +++ /dev/null @@ -1,4 +0,0 @@ -service_containers | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/websockets_gateway.html b/docs/modules/websockets_gateway.html deleted file mode 100644 index 2cbc209..0000000 --- a/docs/modules/websockets_gateway.html +++ /dev/null @@ -1,2 +0,0 @@ -websockets.gateway | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/main.RedisClientType.html b/docs/types/main.RedisClientType.html deleted file mode 100644 index c17e1f4..0000000 --- a/docs/types/main.RedisClientType.html +++ /dev/null @@ -1 +0,0 @@ -RedisClientType | HI Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/Controllers_Otp_Services_otp_services.verifyOtpObject.html b/docs/variables/Controllers_Otp_Services_otp_services.verifyOtpObject.html deleted file mode 100644 index 343e301..0000000 --- a/docs/variables/Controllers_Otp_Services_otp_services.verifyOtpObject.html +++ /dev/null @@ -1 +0,0 @@ -verifyOtpObject | HI Documentation
verifyOtpObject: {
    verifyOTP: ((otp, token, secret?) => boolean);
} = ...

Type declaration

  • verifyOTP: ((otp, token, secret?) => boolean)
      • (otp, token, secret?): boolean
      • Parameters

        • otp: number
        • token: string
        • Optional secret: string

        Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/Database_Models_chat.ChatModelDb.html b/docs/variables/Database_Models_chat.ChatModelDb.html deleted file mode 100644 index ec9c117..0000000 --- a/docs/variables/Database_Models_chat.ChatModelDb.html +++ /dev/null @@ -1 +0,0 @@ -ChatModelDb | HI Documentation
ChatModelDb: Model<ChatModel, {}, {}, {}, Document<unknown, {}, ChatModel> & ChatModel & {}, Schema<ChatModel, Model<ChatModel, any, any, any, Document<unknown, any, ChatModel> & ChatModel & {}, any>, {}, {}, {}, {}, DefaultSchemaOptions, ChatModel, Document<unknown, {}, FlatRecord<ChatModel>> & FlatRecord<ChatModel> & {}>> = ...

Type declaration

    Type declaration

      Type declaration

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/variables/Database_Models_chat.chatModelSchema.html b/docs/variables/Database_Models_chat.chatModelSchema.html deleted file mode 100644 index 3146214..0000000 --- a/docs/variables/Database_Models_chat.chatModelSchema.html +++ /dev/null @@ -1 +0,0 @@ -chatModelSchema | HI Documentation
        chatModelSchema: Schema<ChatModel, Model<ChatModel, any, any, any, Document<unknown, any, ChatModel> & ChatModel & {}, any>, {}, {}, {}, {}, DefaultSchemaOptions, ChatModel, Document<unknown, {}, FlatRecord<ChatModel>> & FlatRecord<ChatModel> & {}> = ...

        Type declaration

          Type declaration

            Type declaration

              Type declaration

                Generated using TypeDoc

                \ No newline at end of file diff --git a/docs/variables/Database_Models_user.User.html b/docs/variables/Database_Models_user.User.html deleted file mode 100644 index e5c1d40..0000000 --- a/docs/variables/Database_Models_user.User.html +++ /dev/null @@ -1 +0,0 @@ -User | HI Documentation
                User: Model<UserModel, {}, {}, {}, Document<unknown, {}, UserModel> & UserModel & {}, Schema<UserModel, Model<UserModel, any, any, any, Document<unknown, any, UserModel> & UserModel & {}, any>, {}, {}, {}, {}, DefaultSchemaOptions, UserModel, Document<unknown, {}, FlatRecord<UserModel>> & FlatRecord<UserModel> & {}>> = ...

                Type declaration

                  Type declaration

                    Type declaration

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/docs/variables/enviornment_variables.DatabaseUrl.html b/docs/variables/enviornment_variables.DatabaseUrl.html deleted file mode 100644 index 6d092da..0000000 --- a/docs/variables/enviornment_variables.DatabaseUrl.html +++ /dev/null @@ -1 +0,0 @@ -DatabaseUrl | HI Documentation

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/docs/variables/enviornment_variables.FirebasePath.html b/docs/variables/enviornment_variables.FirebasePath.html deleted file mode 100644 index 3e71fea..0000000 --- a/docs/variables/enviornment_variables.FirebasePath.html +++ /dev/null @@ -1 +0,0 @@ -FirebasePath | HI Documentation

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/docs/variables/enviornment_variables.IP.html b/docs/variables/enviornment_variables.IP.html deleted file mode 100644 index ac06a7c..0000000 --- a/docs/variables/enviornment_variables.IP.html +++ /dev/null @@ -1 +0,0 @@ -IP | HI Documentation

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/docs/variables/enviornment_variables.IfRunningOnDocker.html b/docs/variables/enviornment_variables.IfRunningOnDocker.html deleted file mode 100644 index 1906208..0000000 --- a/docs/variables/enviornment_variables.IfRunningOnDocker.html +++ /dev/null @@ -1 +0,0 @@ -IfRunningOnDocker | HI Documentation

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/docs/variables/enviornment_variables.NodemailerSenderEmail.html b/docs/variables/enviornment_variables.NodemailerSenderEmail.html deleted file mode 100644 index 3e1a312..0000000 --- a/docs/variables/enviornment_variables.NodemailerSenderEmail.html +++ /dev/null @@ -1 +0,0 @@ -NodemailerSenderEmail | HI Documentation

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/docs/variables/enviornment_variables.NodemailerSenderPassword.html b/docs/variables/enviornment_variables.NodemailerSenderPassword.html deleted file mode 100644 index d929000..0000000 --- a/docs/variables/enviornment_variables.NodemailerSenderPassword.html +++ /dev/null @@ -1 +0,0 @@ -NodemailerSenderPassword | HI Documentation

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/docs/variables/enviornment_variables.NodemailerService.html b/docs/variables/enviornment_variables.NodemailerService.html deleted file mode 100644 index 1332176..0000000 --- a/docs/variables/enviornment_variables.NodemailerService.html +++ /dev/null @@ -1 +0,0 @@ -NodemailerService | HI Documentation

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/docs/variables/service_containers.casClient.html b/docs/variables/service_containers.casClient.html deleted file mode 100644 index 691fc6a..0000000 --- a/docs/variables/service_containers.casClient.html +++ /dev/null @@ -1 +0,0 @@ -casClient | HI Documentation

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/docs/variables/service_containers.client.html b/docs/variables/service_containers.client.html deleted file mode 100644 index db6dbe9..0000000 --- a/docs/variables/service_containers.client.html +++ /dev/null @@ -1 +0,0 @@ -client | HI Documentation
                      client: RedisClientType<{} & RedisModules, RedisFunctions, RedisScripts> = ...

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/docs/variables/service_containers.createQueue.html b/docs/variables/service_containers.createQueue.html deleted file mode 100644 index 28f7705..0000000 --- a/docs/variables/service_containers.createQueue.html +++ /dev/null @@ -1 +0,0 @@ -createQueue | HI Documentation

                      Generated using TypeDoc

                      \ No newline at end of file diff --git a/package.json b/package.json index 91a12fd..3f6b126 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,6 @@ "@nestjs/common": "^10.0.0", "@nestjs/core": "^10.0.0", "@nestjs/platform-express": "^10.0.0", - "@nestjs/platform-socket.io": "^10.3.2", - "@nestjs/websockets": "^10.3.2", "amqplib": "^0.10.3", "bcryptjs": "^2.4.3", "cassandra-driver": "^4.7.2", diff --git a/src/Controllers/RetrieveData/Services/retrieve_data_services.ts b/src/Controllers/RetrieveData/Services/retrieve_data_services.ts index 7bf6c3c..1dd3c13 100644 --- a/src/Controllers/RetrieveData/Services/retrieve_data_services.ts +++ b/src/Controllers/RetrieveData/Services/retrieve_data_services.ts @@ -1,18 +1,16 @@ import { Inject } from '@nestjs/common'; import { CreateQueue } from '../../../Queues/base'; -import { WebSocketServices } from '../../../Services/websocket_services'; import { InjectionTokens } from '../../../Constants/injection_tokens'; import { QueueNames, RedisNames } from '../../../Constants/queues_redis'; import { MessageHandler } from '../../../Models/message_handler'; import { MessageType } from '../../../Constants/messasge_type'; import { RedisClientType } from '../../../Constants/constant_types'; -import { EventNames, GlobalEventNames } from '../../../Constants/event_names'; +import { EventNames } from '../../../Constants/event_names'; export class RetrieveDataServices { private createQueue: CreateQueue; private client: RedisClientType; constructor( - private readonly websocketServices: WebSocketServices, @Inject(InjectionTokens.CreateQueue) createQueue: CreateQueue, @Inject(InjectionTokens.RedisClient) client: RedisClientType, ) { @@ -27,7 +25,7 @@ export class RetrieveDataServices { ); this.createQueue.createChannel((chnl) => { chnl.assertQueue(QueueNames.OfflineQueue + user_id, { durable: true }); - chnl.consume(QueueNames.OfflineQueue + user_id, (msg) => { + chnl.consume(QueueNames.OfflineQueue + user_id, async (msg) => { if (msg == null) { return; } else { @@ -37,33 +35,36 @@ export class RetrieveDataServices { new SendMessageToWebsocketServices( socket_id!, ommited_message, - this.websocketServices, + user_id, + this.client, ); switch (message.message_type) { case MessageType.CONFESSION_MESSAGE_TYPE: - message_sender.sendMessage(EventNames.recieveConfession); + await message_sender.sendMessage(EventNames.recieveConfession); chnl.ack(msg); break; case MessageType.UPDATE_CONFESSION_STATUS: - message_sender.sendMessage(EventNames.updateConfssionStatus); + await message_sender.sendMessage( + EventNames.updateConfssionStatus, + ); chnl.ack(msg); break; case MessageType.ACCEPT_CONFESSION_TYPE: - message_sender.sendMessage(EventNames.acceptConfession); + await message_sender.sendMessage(EventNames.acceptConfession); chnl.ack(msg); break; case MessageType.SEND_CHAT_MESSAGE: - message_sender.sendMessage(EventNames.recieveChatMessage); + await message_sender.sendMessage(EventNames.recieveChatMessage); chnl.ack(msg); break; case MessageType.UPDATE_STATUS_CHAT_MESSAGES: - message_sender.sendMessage( + await message_sender.sendMessage( EventNames.updateStatusOfChatMesssages, ); chnl.ack(msg); break; case MessageType.DELETE_CHAT_MESSASGE: - message_sender.sendMessage(EventNames.deleteChatMessage); + await message_sender.sendMessage(EventNames.deleteChatMessage); chnl.ack(msg); break; } @@ -74,25 +75,31 @@ export class RetrieveDataServices { } class SendMessageToWebsocketServices { + private redis: RedisClientType; private socket_id: string; private message: any; - private websocketService: WebSocketServices; + private user_id: string; constructor( socket_id: string, message: any, - websocketService: WebSocketServices, + user_id: string, + redis: RedisClientType, ) { this.socket_id = socket_id; this.message = message; - this.websocketService = websocketService; + this.redis = redis; + this.user_id = user_id; } - sendMessage = (name: string) => { - this.websocketService.addEvent({ - id: this.socket_id, - name: GlobalEventNames.offline + name, - data: this.message, - }); + sendMessage = async (name: string) => { + await this.redis.PUBLISH( + this.user_id, + JSON.stringify({ + id: this.socket_id, + name: name, + data: this.message, + }), + ); }; } diff --git a/src/Services/global.service.module.ts b/src/Services/global.service.module.ts index 08b9b5f..bd0d749 100644 --- a/src/Services/global.service.module.ts +++ b/src/Services/global.service.module.ts @@ -1,8 +1,6 @@ import { Global, Module } from '@nestjs/common'; import { InjectionTokens } from '../Constants/injection_tokens'; import { casClient, client, createQueue } from '../service_containers'; -import { WebSocketServices } from './websocket_services'; -import { WebSocketsGateWay } from '../websockets.gateway'; import { SendMessageToUserService } from './send_message_to_user'; import { UserOnlineServices } from './user_online_services'; import { CassandraDatabaseQueries } from '../Database/Cassandra/queries'; @@ -10,8 +8,6 @@ import { CassandraDatabaseQueries } from '../Database/Cassandra/queries'; @Module({ providers: [ CassandraDatabaseQueries, - WebSocketServices, - WebSocketsGateWay, SendMessageToUserService, UserOnlineServices, { @@ -33,7 +29,6 @@ import { CassandraDatabaseQueries } from '../Database/Cassandra/queries'; exports: [ InjectionTokens.RedisClient, InjectionTokens.CreateQueue, - WebSocketServices, InjectionTokens.CasClient, CassandraDatabaseQueries, SendMessageToUserService, diff --git a/src/Services/send_message_to_user.ts b/src/Services/send_message_to_user.ts index 1731367..1ee3d0d 100644 --- a/src/Services/send_message_to_user.ts +++ b/src/Services/send_message_to_user.ts @@ -5,18 +5,15 @@ import amqp from 'amqplib/callback_api'; import { CreateQueue } from '../Queues/base'; import { InjectionTokens } from '../Constants/injection_tokens'; import { Inject, Injectable, Scope, forwardRef } from '@nestjs/common'; -import { WebSocketServices } from './websocket_services'; import { UserOnlineServices } from './user_online_services'; import { InternalServerError } from '../Errors/server_error'; import { WebSocketMessageError } from '../Errors/websocket_message_not_sent_error'; @Injectable({ scope: Scope.DEFAULT }) export class SendMessageToUserService { - private webSocketServices: WebSocketServices; private createQueue: CreateQueue; private client: RedisClientType; private userOnlineServices: UserOnlineServices; constructor( - webSocketServices: WebSocketServices, @Inject(InjectionTokens.CreateQueue) createQueue: CreateQueue, @Inject(InjectionTokens.RedisClient) client: RedisClientType, @Inject(forwardRef(() => UserOnlineServices)) @@ -24,7 +21,6 @@ export class SendMessageToUserService { ) { this.client = client; this.createQueue = createQueue; - this.webSocketServices = webSocketServices; this.userOnlineServices = userOnlineServices; } @@ -44,11 +40,14 @@ export class SendMessageToUserService { RedisNames.OnlineUserMap + userId, RedisNames.SocketId, ); - this.webSocketServices.addEvent({ - id: socketid!, - name: userIsOnlineEvent, - data: messageForOnlineUser, - }); + await this.client.PUBLISH( + userId, + JSON.stringify({ + id: socketid!, + name: userIsOnlineEvent, + data: messageForOnlineUser, + }), + ); if (afterAcknowledgement) { await afterAcknowledgement(); } diff --git a/src/Services/websocket_services.ts b/src/Services/websocket_services.ts deleted file mode 100644 index 20889a1..0000000 --- a/src/Services/websocket_services.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Injectable } from '@nestjs/common'; -import { Subject } from 'rxjs'; - -@Injectable() -export class WebSocketServices { - private eventSubject: Subject = - new Subject(); - - getWebsocketEventSubject = (): Subject => { - return this.eventSubject; - }; - - addEvent = (object: SocketEventSubject) => { - this.eventSubject.next(object); - }; -} - -export interface SocketEventSubject { - id: string; - name: string; - data: unknown; -} diff --git a/src/main.ts b/src/main.ts index 1043ae7..9b8727e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,7 +2,6 @@ import mongoose from 'mongoose'; import { DatabaseUrl } from './enviornment_variables'; import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; -import { IoAdapter } from '@nestjs/platform-socket.io'; async function bootstrap() { const Db = DatabaseUrl; @@ -13,7 +12,6 @@ async function bootstrap() { }) .catch((e) => console.log(e.message)); const app = await NestFactory.create(AppModule); - app.useWebSocketAdapter(new IoAdapter(app)); await app.listen(3000); } diff --git a/src/websockets.gateway.ts b/src/websockets.gateway.ts deleted file mode 100644 index 2a81be4..0000000 --- a/src/websockets.gateway.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { OnGatewayInit, WebSocketGateway } from '@nestjs/websockets'; -import { Server } from 'socket.io'; -import { WebSocketServices } from './Services/websocket_services'; -import { WebSocketMessageError } from './Errors/websocket_message_not_sent_error'; - -@WebSocketGateway() -export class WebSocketsGateWay implements OnGatewayInit { - constructor(private readonly webSocketServices: WebSocketServices) {} - afterInit(ioServer: Server) { - ioServer.on('connection', (socket) => { - console.log('Connection To Sockets Successful ' + socket.id); - }); - - this.webSocketServices - .getWebsocketEventSubject() - .asObservable() - .subscribe({ - next: (event) => { - const socket = ioServer.sockets.sockets.get(event.id); - if (socket == null) { - throw new WebSocketMessageError(); - } else { - try { - socket.emitWithAck(event.name, event.data); - } catch (e) { - throw new WebSocketMessageError(); - } - } - }, - }); - } -} diff --git a/test/Controllers/Chats/Services/delete_chat_message_for_everyone.e2e-spec.ts b/test/Controllers/Chats/Services/delete_chat_message_for_everyone.e2e-spec.ts index f761b66..cb9978b 100644 --- a/test/Controllers/Chats/Services/delete_chat_message_for_everyone.e2e-spec.ts +++ b/test/Controllers/Chats/Services/delete_chat_message_for_everyone.e2e-spec.ts @@ -27,6 +27,7 @@ describe(`Send chat message tests`, () => { let socketId: string; let socket: Socket; let outputData: any; + const recieverId = nanoid().toLowerCase(); beforeAll(async () => { redisClient = await TestServiceContainers.getTestingRedisClient().connect(); const moduleRef = await getTestingGlobalServicesModule(); @@ -36,7 +37,7 @@ describe(`Send chat message tests`, () => { moduleRef.get(CassandraDatabaseQueries), TestServiceContainers.getTestingRabbitClient(), ); - socket = await initClientSocket(app, (socket) => { + socket = await initClientSocket(recieverId, (socket) => { socketId = socket.id!; socket.on(EventNames.deleteChatMessage, (data) => { outputData = data; @@ -54,7 +55,6 @@ describe(`Send chat message tests`, () => { }); it(`When user is online`, async () => { const senderId = nanoid().toLowerCase(); - const recieverId = nanoid().toLowerCase(); await redisClient.sAdd(RedisNames.OnlineUsers, recieverId); await redisClient.hSet(RedisNames.OnlineUserMap + recieverId, { socketId: socketId, diff --git a/test/Controllers/Chats/Services/delete_chat_message_for_me.e2e-spec.ts b/test/Controllers/Chats/Services/delete_chat_message_for_me.e2e-spec.ts index 735617e..b5f2778 100644 --- a/test/Controllers/Chats/Services/delete_chat_message_for_me.e2e-spec.ts +++ b/test/Controllers/Chats/Services/delete_chat_message_for_me.e2e-spec.ts @@ -1,13 +1,5 @@ -import { - describe, - it, - expect, - beforeAll, - afterAll, - afterEach, -} from '@jest/globals'; -import { INestApplication } from '@nestjs/common'; -import { delay, getTestingApp } from '../../../Helpers/get_testing_app'; +import { describe, it, expect, beforeAll, afterEach } from '@jest/globals'; +import { delay } from '../../../Helpers/get_testing_app'; import { SendMessageToUserService } from '../../../../src/Services/send_message_to_user'; import { CassandraDatabaseQueries } from '../../../../src/Database/Cassandra/queries'; import { nanoid } from 'nanoid'; diff --git a/test/Controllers/Chats/Services/read_chat_messages.e2e-spec.ts b/test/Controllers/Chats/Services/read_chat_messages.e2e-spec.ts index b7f95c4..80376cc 100644 --- a/test/Controllers/Chats/Services/read_chat_messages.e2e-spec.ts +++ b/test/Controllers/Chats/Services/read_chat_messages.e2e-spec.ts @@ -4,7 +4,6 @@ import { expect, beforeAll, afterAll, - jest, afterEach, } from '@jest/globals'; import { INestApplication } from '@nestjs/common'; @@ -34,6 +33,7 @@ describe(`Update status of chat messages tests`, () => { let socketId: string; let socket: Socket; let outputData: any; + const senderId = nanoid().toLowerCase(); beforeAll(async () => { redisClient = await TestServiceContainers.getTestingRedisClient().connect(); const moduleRef = await getTestingGlobalServicesModule(); @@ -43,7 +43,7 @@ describe(`Update status of chat messages tests`, () => { moduleRef.get(CassandraDatabaseQueries), TestServiceContainers.getTestingRabbitClient(), ); - socket = await initClientSocket(app, (socket) => { + socket = await initClientSocket(senderId, (socket) => { socketId = socket.id!; socket.on(EventNames.updateStatusOfChatMesssages, (data) => { outputData = data; @@ -60,7 +60,6 @@ describe(`Update status of chat messages tests`, () => { await delay(); }); it(`When user is online`, async () => { - const senderId = nanoid().toLowerCase(); const recieverId = nanoid().toLowerCase(); await redisClient.sAdd(RedisNames.OnlineUsers, senderId); await redisClient.hSet(RedisNames.OnlineUserMap + senderId, { diff --git a/test/Controllers/Chats/Services/send_chat_message.e2e-spec.ts b/test/Controllers/Chats/Services/send_chat_message.e2e-spec.ts index bbfe0bb..a02682e 100644 --- a/test/Controllers/Chats/Services/send_chat_message.e2e-spec.ts +++ b/test/Controllers/Chats/Services/send_chat_message.e2e-spec.ts @@ -4,7 +4,6 @@ import { expect, beforeAll, afterAll, - jest, afterEach, } from '@jest/globals'; import { SendMessageToUserService } from '../../../../src/Services/send_message_to_user'; @@ -24,7 +23,6 @@ import { consumeMessageFromQueue } from '../../../Helpers/consume_message_from_q import { types } from 'cassandra-driver'; import { ChatMessageForUserService } from '../../../../src/Controllers/Chats/Services/send_chat_message_service'; import { searchChatMessage } from '../../../Helpers/search_chat_message'; -import { CreateQueue } from '../../../../src/Queues/base'; describe(`Send chat message tests`, () => { let redisClient: RedisClientType; @@ -33,6 +31,7 @@ describe(`Send chat message tests`, () => { let socketId: string; let socket: Socket; let outputData: any; + const recieverId = nanoid().toLowerCase(); beforeAll(async () => { redisClient = await TestServiceContainers.getTestingRedisClient().connect(); const moduleRef = await getTestingGlobalServicesModule(); @@ -42,7 +41,7 @@ describe(`Send chat message tests`, () => { moduleRef.get(CassandraDatabaseQueries), TestServiceContainers.getTestingRabbitClient(), ); - socket = await initClientSocket(app, (socket) => { + socket = await initClientSocket(recieverId, (socket) => { socketId = socket.id!; socket.on(EventNames.recieveChatMessage, (data) => { outputData = data; @@ -60,7 +59,6 @@ describe(`Send chat message tests`, () => { }); it(`When user is online`, async () => { const senderId = nanoid().toLowerCase(); - const recieverId = nanoid().toLowerCase(); const chatId = types.TimeUuid.now(); await redisClient.sAdd(RedisNames.OnlineUsers, recieverId); await redisClient.hSet(RedisNames.OnlineUserMap + recieverId, { diff --git a/test/Controllers/Confession/Services/accept_confession.e2e-spec.ts b/test/Controllers/Confession/Services/accept_confession.e2e-spec.ts index 235e850..fdc0865 100644 --- a/test/Controllers/Confession/Services/accept_confession.e2e-spec.ts +++ b/test/Controllers/Confession/Services/accept_confession.e2e-spec.ts @@ -42,6 +42,7 @@ describe(`Accept confession tests`, () => { let socketId: string; let socket: Socket; let outputData: any; + const senderId = nanoid().toLowerCase(); beforeAll(async () => { redisClient = await TestServiceContainers.getTestingRedisClient().connect(); const moduleRef = await getTestingGlobalServicesModule(); @@ -50,7 +51,7 @@ describe(`Accept confession tests`, () => { moduleRef.get(SendMessageToUserService), moduleRef.get(CassandraDatabaseQueries), ); - socket = await initClientSocket(app, (socket) => { + socket = await initClientSocket(senderId, (socket) => { socketId = socket.id!; socket.on(EventNames.acceptConfession, (data) => { outputData = data; @@ -67,7 +68,6 @@ describe(`Accept confession tests`, () => { await delay(); }); it(`When user is online`, async () => { - const senderId = nanoid().toLowerCase(); const crushId = nanoid().toLowerCase(); const sendingObject: ConfessionModel = await createTestReadConfession( senderId, diff --git a/test/Controllers/Confession/Services/read_confession.e2e-spec.ts b/test/Controllers/Confession/Services/read_confession.e2e-spec.ts index 22c2d88..ca8f232 100644 --- a/test/Controllers/Confession/Services/read_confession.e2e-spec.ts +++ b/test/Controllers/Confession/Services/read_confession.e2e-spec.ts @@ -34,6 +34,7 @@ describe('Send confession tests', () => { let socketId: string; let socket: Socket; let outputData: any; + const crushId = nanoid().toLowerCase(); beforeAll(async () => { redisClient = await TestServiceContainers.getTestingRedisClient().connect(); const moduleRef = await getTestingGlobalServicesModule(); @@ -42,7 +43,7 @@ describe('Send confession tests', () => { moduleRef.get(SendMessageToUserService), moduleRef.get(CassandraDatabaseQueries), ); - socket = await initClientSocket(app, (socket) => { + socket = await initClientSocket(crushId, (socket) => { socketId = socket.id!; socket.on(EventNames.updateConfssionStatus, (data) => { outputData = data; @@ -60,7 +61,6 @@ describe('Send confession tests', () => { }); it('When user is online', async () => { const senderId = nanoid().toLowerCase(); - const crushId = nanoid().toLowerCase(); const sendingObject: ConfessionModel = await createTestConfession( senderId, crushId, diff --git a/test/Controllers/Confession/Services/reject_confession.e2e-spec.ts b/test/Controllers/Confession/Services/reject_confession.e2e-spec.ts index 98ccaf0..ad1a95d 100644 --- a/test/Controllers/Confession/Services/reject_confession.e2e-spec.ts +++ b/test/Controllers/Confession/Services/reject_confession.e2e-spec.ts @@ -36,6 +36,7 @@ describe(`Reject confession tests`, () => { let socketId: string; let socket: Socket; let outputData: any; + const senderId = nanoid().toLowerCase(); beforeAll(async () => { redisClient = await TestServiceContainers.getTestingRedisClient().connect(); const moduleRef = await getTestingGlobalServicesModule(); @@ -44,7 +45,7 @@ describe(`Reject confession tests`, () => { moduleRef.get(SendMessageToUserService), moduleRef.get(CassandraDatabaseQueries), ); - socket = await initClientSocket(app, (socket) => { + socket = await initClientSocket(senderId, (socket) => { socketId = socket.id!; socket.on(EventNames.updateConfssionStatus, (data) => { outputData = data; @@ -61,7 +62,6 @@ describe(`Reject confession tests`, () => { await delay(); }); it(`When user is online`, async () => { - const senderId = nanoid().toLowerCase(); const crushId = nanoid().toLowerCase(); const sendingObject: ConfessionModel = await createTestReadConfession( senderId, diff --git a/test/Controllers/Confession/Services/send_confession.e2e-spec.ts b/test/Controllers/Confession/Services/send_confession.e2e-spec.ts index fda0346..16ca467 100644 --- a/test/Controllers/Confession/Services/send_confession.e2e-spec.ts +++ b/test/Controllers/Confession/Services/send_confession.e2e-spec.ts @@ -25,6 +25,7 @@ describe('Send confession tests', () => { let socket: Socket; let outputData: any; let cassandraClient: Client; + let crushId = nanoid().toLowerCase(); beforeAll(async () => { redisClient = await TestServiceContainers.getTestingRedisClient().connect(); const moduleRef = await getTestingGlobalServicesModule(); @@ -33,7 +34,7 @@ describe('Send confession tests', () => { moduleRef.get(SendMessageToUserService), moduleRef.get(CassandraDatabaseQueries), ); - socket = await initClientSocket(app, (socket) => { + socket = await initClientSocket(crushId, (socket) => { socketId = socket.id!; socket.on(EventNames.recieveConfession, (data) => { outputData = data; @@ -57,7 +58,7 @@ describe('Send confession tests', () => { sender_id: nanoid().toLowerCase(), sender_anonymous_id: nanoid().toLowerCase(), confession_id: '', - crush_id: nanoid().toLowerCase(), + crush_id: crushId, confession: nanoid().toLowerCase(), sending_time: new Date(), status: nanoid().toLowerCase(), diff --git a/test/Controllers/RetrieveData/get_confessions_by_crush_id.e2e-spec.ts b/test/Controllers/RetrieveData/get_confessions_by_crush_id.e2e-spec.ts index 4de4ae4..9358b07 100644 --- a/test/Controllers/RetrieveData/get_confessions_by_crush_id.e2e-spec.ts +++ b/test/Controllers/RetrieveData/get_confessions_by_crush_id.e2e-spec.ts @@ -16,7 +16,6 @@ import { createTestUser } from '../../Helpers/create_test_user'; import mongoose from 'mongoose'; import { createMongoInstance } from '../../Helpers/db_instance'; import { Test } from '@nestjs/testing'; -import { WebSocketServices } from '../../../src/Services/websocket_services'; import { RetrieveDataServices } from '../../../src/Controllers/RetrieveData/Services/retrieve_data_services'; import { InjectionTokens } from '../../../src/Constants/injection_tokens'; import { TestServiceContainers } from '../../Helpers/test_service_containers'; @@ -42,7 +41,6 @@ describe(`Retrieve data after login tests`, () => { const moduleRef = await getTestingGlobalServicesModule(); const test = await Test.createTestingModule({ providers: [ - WebSocketServices, RetrieveDataServices, CassandraDatabaseQueries, { diff --git a/test/Controllers/RetrieveData/retrieve_data_chats.e2e-spec.ts b/test/Controllers/RetrieveData/retrieve_data_chats.e2e-spec.ts index 0bcb6a0..1d608ae 100644 --- a/test/Controllers/RetrieveData/retrieve_data_chats.e2e-spec.ts +++ b/test/Controllers/RetrieveData/retrieve_data_chats.e2e-spec.ts @@ -18,7 +18,6 @@ import { getResolvedTestModule } from '../../Helpers/setup_middleware_env'; import mongoose from 'mongoose'; import { createMongoInstance } from '../../Helpers/db_instance'; import { Test } from '@nestjs/testing'; -import { WebSocketServices } from '../../../src/Services/websocket_services'; import { RetrieveDataServices } from '../../../src/Controllers/RetrieveData/Services/retrieve_data_services'; import { InjectionTokens } from '../../../src/Constants/injection_tokens'; import { TestServiceContainers } from '../../Helpers/test_service_containers'; @@ -39,7 +38,6 @@ describe(`Retrieve data after login tests`, () => { const moduleRef = await getTestingGlobalServicesModule(); const test = await Test.createTestingModule({ providers: [ - WebSocketServices, RetrieveDataServices, CassandraDatabaseQueries, { diff --git a/test/Helpers/create_socket_client.ts b/test/Helpers/create_socket_client.ts index e21c3b5..ae250ca 100644 --- a/test/Helpers/create_socket_client.ts +++ b/test/Helpers/create_socket_client.ts @@ -1,17 +1,18 @@ -import { INestApplication } from '@nestjs/common'; import { io as IoClient, Socket as ClientSocket } from 'socket.io-client'; export const initClientSocket = async ( - app: INestApplication, + userId: string, callback: (socket: ClientSocket) => void, ) => { - const url = await app.getUrl(); return new Promise((resolve, reject) => { - const socket = IoClient(url, { + const socket = IoClient('http://localhost:3500', { reconnectionDelay: 0, }); socket.on('connect', () => { + socket.emit('subscribe', { + userId: userId, + }); callback(socket); resolve(socket); }); diff --git a/test/Helpers/global_test_services.module.ts b/test/Helpers/global_test_services.module.ts index 4f3bff5..de1cf20 100644 --- a/test/Helpers/global_test_services.module.ts +++ b/test/Helpers/global_test_services.module.ts @@ -1,7 +1,5 @@ import { Test, TestingModule } from '@nestjs/testing'; import { TestServiceContainers } from './test_service_containers'; -import { WebSocketsGateWay } from '../../src/websockets.gateway'; -import { WebSocketServices } from '../../src/Services/websocket_services'; import { UserOnlineServices } from '../../src/Services/user_online_services'; import { InjectionTokens } from '../../src/Constants/injection_tokens'; import { CassandraDatabaseQueries } from '../../src/Database/Cassandra/queries'; @@ -15,8 +13,6 @@ export const getTestingGlobalServicesModule = const cassandraClient = TestServiceContainers.getTestingCassandraClient(); const moduleRef = await Test.createTestingModule({ providers: [ - WebSocketsGateWay, - WebSocketServices, UserOnlineServices, CassandraDatabaseQueries, SendMessageToUserService, @@ -50,8 +46,6 @@ export class TestServiceModule { const cassandraClient = TestServiceContainers.getTestingCassandraClient(); const moduleRef = await Test.createTestingModule({ providers: [ - WebSocketsGateWay, - WebSocketServices, UserOnlineServices, CassandraDatabaseQueries, SendMessageToUserService, diff --git a/test/Helpers/test_service_containers.ts b/test/Helpers/test_service_containers.ts index e52c3e9..e5d44eb 100644 --- a/test/Helpers/test_service_containers.ts +++ b/test/Helpers/test_service_containers.ts @@ -2,11 +2,7 @@ import { RedisClientType } from '../../src/Constants/constant_types'; import { createClient } from 'redis'; import { Client as CasClient } from 'cassandra-driver'; import { CreateQueue } from '../../src/Queues/base'; -import { - RedisTestingLink, - TestingCassandraContactPoint, - TestingCassandraPort, -} from '../../src/enviornment_variables'; + export class TestServiceContainers { static getTestingRedisClient = (): RedisClientType => { return createClient({ diff --git a/test/docker-compose.yaml b/test/docker-compose.yaml index ce275d4..7cf359b 100644 --- a/test/docker-compose.yaml +++ b/test/docker-compose.yaml @@ -12,6 +12,8 @@ services: retries: 3 start_period: 20s container_name: client-testing + networks: + - hi-test-services rabbitmq-testing: image: rabbitmq ports: @@ -23,7 +25,9 @@ services: interval: 10s timeout: 3s retries: 3 - start_period: 20s + start_period: 20s + networks: + - hi-test-services cassandra-testing: image: cassandra:latest ports: @@ -35,6 +39,8 @@ services: timeout: 10s retries: 10 start_period: 20s + networks: + - hi-test-services mongodb-testing: image: mongo:latest ports: @@ -46,4 +52,18 @@ services: timeout: 10s retries: 10 start_period: 20s - + networks: + - hi-test-services + io-server-testing: + image: manik2708/hi-io-server:latest + ports: + - "3500:3500" + environment: + REDIS_URL: redis://client-testing:6379 + PORT: 3500 + container_name: hi-io-server-testing + networks: + - hi-test-services +networks: + hi-test-services: + driver: bridge