diff --git a/_submodules/probot b/_submodules/probot index 19954c8bd1a..490ca269074 160000 --- a/_submodules/probot +++ b/_submodules/probot @@ -1 +1 @@ -Subproject commit 19954c8bd1a5cd3e14dfe918315aa7818a4766ce +Subproject commit 490ca2690743b18ce3fe52bf8204a28ef8e7c28c diff --git a/api/13.4.0/.nojekyll b/api/13.4.0/.nojekyll new file mode 100644 index 00000000000..e2ac6616add --- /dev/null +++ b/api/13.4.0/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/api/13.4.0/assets/highlight.css b/api/13.4.0/assets/highlight.css new file mode 100644 index 00000000000..64eacbc41b7 --- /dev/null +++ b/api/13.4.0/assets/highlight.css @@ -0,0 +1,78 @@ +:root { + --light-hl-0: #000000; + --dark-hl-0: #D4D4D4; + --light-hl-1: #AF00DB; + --dark-hl-1: #C586C0; + --light-hl-2: #001080; + --dark-hl-2: #9CDCFE; + --light-hl-3: #0000FF; + --dark-hl-3: #569CD6; + --light-hl-4: #795E26; + --dark-hl-4: #DCDCAA; + --light-hl-5: #A31515; + --dark-hl-5: #CE9178; + --light-hl-6: #0070C1; + --dark-hl-6: #4FC1FF; + --light-hl-7: #008000; + --dark-hl-7: #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); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +pre, code { background: var(--code-background); } diff --git a/api/13.4.0/assets/icons.js b/api/13.4.0/assets/icons.js new file mode 100644 index 00000000000..3dfbd322d93 --- /dev/null +++ b/api/13.4.0/assets/icons.js @@ -0,0 +1,18 @@ +(function() { + addIcons(); + function addIcons() { + if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons); + const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg")); + svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; + svg.style.display = "none"; + if (location.protocol === "file:") updateUseElements(); + } + + function updateUseElements() { + document.querySelectorAll("use").forEach(el => { + if (el.getAttribute("href").includes("#icon-")) { + el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#")); + } + }); + } +})() \ No newline at end of file diff --git a/api/13.4.0/assets/icons.svg b/api/13.4.0/assets/icons.svg new file mode 100644 index 00000000000..a19417dcc44 --- /dev/null +++ b/api/13.4.0/assets/icons.svg @@ -0,0 +1 @@ +MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file diff --git a/api/13.4.0/assets/main.js b/api/13.4.0/assets/main.js new file mode 100644 index 00000000000..99097a053aa --- /dev/null +++ b/api/13.4.0/assets/main.js @@ -0,0 +1,60 @@ +"use strict"; +window.translations={"copy":"Copy","copied":"Copied!","normally_hidden":"This member is normally hidden due to your filter settings."}; +"use strict";(()=>{var Pe=Object.create;var ie=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var _e=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty;var Fe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var De=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _e(e))!Me.call(t,i)&&i!==n&&ie(t,i,{get:()=>e[i],enumerable:!(r=Oe(e,i))||r.enumerable});return t};var Ae=(t,e,n)=>(n=t!=null?Pe(Re(t)):{},De(e||!t||!t.__esModule?ie(n,"default",{value:t,enumerable:!0}):n,t));var ue=Fe((ae,le)=>{(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),m=s.str.charAt(1),p;m in s.node.edges?p=s.node.edges[m]:(p=new t.TokenSet,s.node.edges[m]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof ae=="object"?le.exports=n():e.lunr=n()}(this,function(){return t})})()});var se=[];function G(t,e){se.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){se.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!Ve(e)){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r,document.querySelector(".col-sidebar").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(!n)return;let r=n.offsetParent==null,i=n;for(;i!==document.body;)i instanceof HTMLDetailsElement&&(i.open=!0),i=i.parentElement;if(n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let s=document.createElement("p");s.classList.add("warning"),s.textContent=window.translations.normally_hidden,n.prepend(s)}r&&e.scrollIntoView()}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=window.translations.copied,e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent=window.translations.copy},100)},1e3)})})}};function Ve(t){let e=t.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(e.bottom<0||e.top-n>=0)}var oe=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var pe=Ae(ue());async function ce(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=pe.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function fe(){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",()=>{ce(e,t)}),ce(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");i.addEventListener("mouseup",()=>{te(t)}),r.addEventListener("focus",()=>t.classList.add("has-focus")),He(t,i,r,e)}function He(t,e,n,r){n.addEventListener("input",oe(()=>{Ne(t,e,n,r)},200)),n.addEventListener("keydown",i=>{i.key=="Enter"?Be(e,t):i.key=="ArrowUp"?(de(e,n,-1),i.preventDefault()):i.key==="ArrowDown"&&(de(e,n,1),i.preventDefault())}),document.body.addEventListener("keypress",i=>{i.altKey||i.ctrlKey||i.metaKey||!n.matches(":focus")&&i.key==="/"&&(i.preventDefault(),n.focus())}),document.body.addEventListener("keyup",i=>{t.classList.contains("has-focus")&&(i.key==="Escape"||!e.matches(":focus-within")&&!n.matches(":focus"))&&(n.blur(),te(t))})}function te(t){t.classList.remove("has-focus")}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=he(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` + ${he(l.parent,i)}.${d}`);let m=document.createElement("li");m.classList.value=l.classes??"";let p=document.createElement("a");p.href=r.base+l.url,p.innerHTML=u+d,m.append(p),p.addEventListener("focus",()=>{e.querySelector(".current")?.classList.remove("current"),m.classList.add("current")}),e.appendChild(m)}}function de(t,e,n){let r=t.querySelector(".current");if(!r)r=t.querySelector(n==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let i=r;if(n===1)do i=i.nextElementSibling??void 0;while(i instanceof HTMLElement&&i.offsetParent==null);else do i=i.previousElementSibling??void 0;while(i instanceof HTMLElement&&i.offsetParent==null);i?(r.classList.remove("current"),i.classList.add("current")):n===-1&&(r.classList.remove("current"),e.focus())}}function Be(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),te(e)}}function he(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(ee(t.substring(s,o)),`${ee(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ee(t.substring(s))),i.join("")}var je={"&":"&","<":"<",">":">","'":"'",'"':"""};function ee(t){return t.replace(/[&<>"'"]/g,e=>je[e])}var I=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",ye="mousemove",N="mouseup",J={x:0,y:0},me=!1,ne=!1,qe=!1,D=!1,ve=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(ve?"is-mobile":"not-mobile");ve&&"ontouchstart"in document.documentElement&&(qe=!0,F="touchstart",ye="touchmove",N="touchend");document.addEventListener(F,t=>{ne=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(ye,t=>{if(ne&&!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(N,()=>{ne=!1});document.addEventListener("click",t=>{me&&(t.preventDefault(),t.stopImmediatePropagation(),me=!1)});var X=class extends I{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,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 re;try{re=localStorage}catch{re={getItem(){return null},setItem(){}}}var Q=re;var ge=document.head.appendChild(document.createElement("style"));ge.dataset.for="filters";var Y=class extends I{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ge.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=Q.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){Q.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),this.app.updateIndexVisibility()}};var Z=class extends I{constructor(e){super(e),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let r=this.summary.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function Ee(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,xe(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),xe(t.value)})}function xe(t){document.documentElement.dataset.theme=t}var K;function we(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Le),Le())}async function Le(){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();K=t.dataset.base,K.endsWith("/")||(K+="/"),t.innerHTML="";for(let s of i)Se(s,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Se(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-accordion`:"tsd-accordion";let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.dataset.key=i.join("$"),o.innerHTML='',be(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)Se(u,l,i)}else be(t,r,t.class)}function be(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=K+t.path,n&&(r.className=n),location.pathname===r.pathname&&!r.href.includes("#")&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else{let r=e.appendChild(document.createElement("span"));r.innerHTML='',r.appendChild(document.createElement("span")).textContent=t.text}}G(X,"a[data-toggle]");G(Z,".tsd-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Te=document.getElementById("tsd-theme");Te&&Ee(Te);var $e=new U;Object.defineProperty(window,"app",{value:$e});fe();we();})(); +/*! 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/api/13.4.0/assets/navigation.js b/api/13.4.0/assets/navigation.js new file mode 100644 index 00000000000..3fd8f5738e5 --- /dev/null +++ b/api/13.4.0/assets/navigation.js @@ -0,0 +1 @@ +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA51a21LkNhD9F+cVJwvLbrK8UYTcChYKtuBha8ulsYVHwSM5tjxApfbfU7IkW5fWZfIENTrn9Om2deuZr/8WHL/y4qxAfT8WR0W9JV0zY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OjUwHxQtCiVGsk9mJ+bZO9NWRfHdMCAWPLArvgl3w6M8w6HWwqmB/2/Zh3UYmixftW/KHqk25AVNaiYTF+1knQVXgjflqqNmCiBajLpjwRTNyKzy2DN+0fCt796oeFKRIPHhJMFUdtvInmNyk300VOF81p0DU7Usn5wfTe1hJZLl/GfSSxRHWtbQoGDso6p/0r62oCc6ZWiZyUpqXeSeeXG9bPNiwypZtVDF7LkA6LjExt26SJoTrVwsjJXtC9+oHDWQChXJpqmPW3DqdnzJCudwK4tGw8BXYuT6j8EAuzRQNAmYt7ilcd2mPcnzjk41K47oE/nnoH0NqwkoJac3V69YHTkwyS+8XALqTQMRLq3Cp5+/CZ/4I47gbc1QfckvO+L1KEIvvfPkzLa7JUCelIf2u+VXSjBjPd7w1EghbyM4UTknyzz7plTv0O20j0gaL9KanPTe8ItMr/hWqeOLQuQErNmfjn9vOePs/KNXaalSsaFOXoFlfNHagHA1OqTcwFNhMjss17SPSx5Sfcprj7XwwJ6NKmyvO3RFD1YSletwVFRG5PcE6DOoSkX7A6G9hf/xGXJWZiUopye0XQtSFKPI44DOmIovRUEm9WHtKQfLu/u/7z5DK0jWkZBgFXD8ELwS+jLHbITbWrApuBUcjSvfT5DHwh+gZZ+S26FZhyhQtYOOCZIaNyakluh/+cHGlLqwF9oxH0ZP85Iu5rqGo/A7qCk5HCeM4lNeFOCBhjsfX77D8RrwqyRIwAA" \ No newline at end of file diff --git a/api/13.4.0/assets/search.js b/api/13.4.0/assets/search.js new file mode 100644 index 00000000000..7660e99fc53 --- /dev/null +++ b/api/13.4.0/assets/search.js @@ -0,0 +1 @@ +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA71dbXPjNpL+L5qvsoYNvs+33Gz2Lneb3VSyl/0wlXLJEkfWjizpKMqTqVT++xVAgmo0GmTTkv1pPDbQL+CDRqMfgPxjVh++nmYfPv0x+7Ldr2cf1Hy2Xz5Vsw+z5fF4er+uPi/Pu2Y2n53r3ezD7OmwPu+q03v9x/v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nYh7C0WnqY6Vfum/rY+OXYrPJOlcmryMPQZX1RSs3tRYVbYynvPLc1OYibcgXfiOCtx7jzJWXZThfcywvTV+4Ahnre47qZkIQd9XBQHL3xGTrg7MpL0/F+uaDDE9Qa5LC85wmVpJazPnJolydRxjQyEGeCpoWONTxGCMCE6NQeS7OJMXjq12y/a+YODGZxYOMy23O6kDChnFBZwLBXsFE9wPJMFxKZe7k+6nOzOYPTUhdvV9ovjzkjjspmQjmhnGDlrUiIsC3dxZHIVaHzt8q1s7UAJkz2OG1H0uemtTn+Ct2cpbPC3lT9l90WqX2WEcdL9oCgORLgMLTzu4H7ZEwvD64vw9JLziU0sC8e1WAYD8sFLPOXwWSjhAR97io8UVPARLWXLBX1BKe2vIvT0jGwihM4MKuf0m5UpG1ssk1nVCjRdc1mM5s9SoIlmr1mUdvcR2aKDMJkMHo3D+T4Iaz+dsEC0wuf4hAO6JUZFOOIJhvC3+ey4PWpGqJp9+PTbn3/+P5EOTXSJ6wAA"; \ No newline at end of file diff --git a/api/13.4.0/assets/style.css b/api/13.4.0/assets/style.css new file mode 100644 index 00000000000..178bfb02390 --- /dev/null +++ b/api/13.4.0/assets/style.css @@ -0,0 +1,1493 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + + --light-color-icon-background: var(--light-color-background); + --light-color-icon-text: var(--light-color-text); + + --light-color-comment-tag-text: var(--light-color-text); + --light-color-comment-tag: var(--light-color-background); + + --light-color-link: #1f70c2; + --light-color-focus-outline: #3584e4; + + --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: #4d7fff; + --light-color-ts-property: #ff984d; + --light-color-ts-method: #ff4db8; + --light-color-ts-reference: #ff4d82; + --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: #ff4d4d; + --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-color-document: #000000; + + --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-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-icon-text: var(--dark-color-text); + + --dark-color-comment-tag-text: var(--dark-color-text); + --dark-color-comment-tag: var(--dark-color-background); + + --dark-color-link: #00aff4; + --dark-color-focus-outline: #4c97f2; + + --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: #4d7fff; + --dark-color-ts-property: #ff984d; + --dark-color-ts-method: #ff4db8; + --dark-color-ts-reference: #ff4d82; + --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: #ff4d4d; + --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-color-document: #ffffff; + + --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-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-icon-background: var(--light-color-icon-background); + --color-icon-text: var(--light-color-icon-text); + + --color-comment-tag-text: var(--light-color-text); + --color-comment-tag: var(--light-color-background); + + --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-project: var(--light-color-ts-project); + --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-reference: var(--light-color-ts-reference); + --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); + --color-document: var(--light-color-document); + + --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-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-icon-background: var(--dark-color-icon-background); + --color-icon-text: var(--dark-color-icon-text); + + --color-comment-tag-text: var(--dark-color-text); + --color-comment-tag: var(--dark-color-background); + + --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-project: var(--dark-color-ts-project); + --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-reference: var(--dark-color-ts-reference); + --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); + --color-document: var(--dark-color-document); + + --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-icon-text: var(--light-color-icon-text); + + --color-comment-tag-text: var(--light-color-text); + --color-comment-tag: var(--light-color-background); + + --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-project: var(--light-color-ts-project); + --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-reference: var(--light-color-ts-reference); + --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); + --color-document: var(--light-color-document); + + --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-icon-text: var(--dark-color-icon-text); + + --color-comment-tag-text: var(--dark-color-text); + --color-comment-tag: var(--dark-color-background); + + --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-project: var(--dark-color-ts-project); + --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-reference: var(--dark-color-ts-reference); + --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); + --color-document: var(--dark-color-document); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +*:focus-visible, +.tsd-accordion-summary:focus-visible svg { + outline: 2px solid var(--color-focus-outline); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +footer { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} +footer > p { + margin: 0 1em; +} + +.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: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", + Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; + 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; +} +a.tsd-anchor-link { + color: var(--color-text); +} + +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-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: -moz-fit-content; + width: fit-content; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + 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-visible + svg { + outline: 2px solid var(--color-focus-outline); +} +.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); +} + +.settings-label { + font-weight: bold; + text-transform: uppercase; + display: inline-block; +} + +.tsd-filter-visibility .settings-label { + margin: 0.75rem 0 0.5rem 0; +} + +.tsd-theme-toggle .settings-label { + margin: 0.75rem 0.75rem 0 0; +} + +.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-navigation .tsd-nav-link { + display: none; +} +.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-section { + margin-left: 10px; +} +.tsd-page-navigation-section > summary { + padding: 0.25rem; +} +.tsd-page-navigation-section > div { + margin-left: 20px; +} +.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 { + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + 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-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; + vertical-align: text-top; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.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: 2rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} +.tsd-panel-group > .tsd-accordion-summary { + margin-bottom: 1rem; +} + +#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-signatures .tsd-index-signature:not(:last-child) { + margin-bottom: 1em; +} +.tsd-signatures .tsd-index-signature .tsd-signature { + border-width: 1px; +} +.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-reference { + color: var(--color-ts-reference); +} +.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-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%; + } + #tsd-toolbar-links { + display: none; + } + .tsd-navigation .tsd-nav-link { + display: flex; + } +} + +/* 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; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/api/13.4.0/classes/context.Context.html b/api/13.4.0/classes/context.Context.html new file mode 100644 index 00000000000..0263851a558 --- /dev/null +++ b/api/13.4.0/classes/context.Context.html @@ -0,0 +1,67 @@ +Context | probot

Class Context<Event>

The context of the event that was triggered, including the payload and +helpers for extracting information can be passed to GitHub API calls.

+
export default app => {
app.on('push', context => {
context.log.info('Code was pushed to the repo, what should we do with it?');
});
}; +
+ +

Type Parameters

  • Event extends WebhookEvents = WebhookEvents

Constructors

Properties

Accessors

Methods

Constructors

  • Type Parameters

    • Event extends
          | "status"
          | "branch_protection_configuration"
          | "branch_protection_configuration.disabled"
          | "branch_protection_configuration.enabled"
          | "branch_protection_rule"
          | "branch_protection_rule.created"
          | "branch_protection_rule.deleted"
          | "branch_protection_rule.edited"
          | "check_run"
          | "check_run.completed"
          | "check_run.created"
          | "check_run.requested_action"
          | "check_run.rerequested"
          | "check_suite"
          | "check_suite.completed"
          | "check_suite.requested"
          | "check_suite.rerequested"
          | "code_scanning_alert"
          | "code_scanning_alert.appeared_in_branch"
          | "code_scanning_alert.closed_by_user"
          | "code_scanning_alert.created"
          | "code_scanning_alert.fixed"
          | "code_scanning_alert.reopened"
          | "code_scanning_alert.reopened_by_user"
          | "commit_comment"
          | "commit_comment.created"
          | "create"
          | "custom_property"
          | "custom_property.created"
          | "custom_property.deleted"
          | "custom_property_values"
          | "custom_property_values.updated"
          | "delete"
          | "dependabot_alert"
          | "dependabot_alert.created"
          | "dependabot_alert.dismissed"
          | "dependabot_alert.fixed"
          | "dependabot_alert.reintroduced"
          | "dependabot_alert.reopened"
          | "deploy_key"
          | "deploy_key.created"
          | "deploy_key.deleted"
          | "deployment"
          | "deployment.created"
          | "deployment_protection_rule"
          | "deployment_protection_rule.requested"
          | "deployment_review"
          | "deployment_review.approved"
          | "deployment_review.rejected"
          | "deployment_review.requested"
          | "deployment_status"
          | "deployment_status.created"
          | "discussion"
          | "discussion.answered"
          | "discussion.category_changed"
          | "discussion.created"
          | "discussion.deleted"
          | "discussion.edited"
          | "discussion.labeled"
          | "discussion.locked"
          | "discussion.pinned"
          | "discussion.transferred"
          | "discussion.unanswered"
          | "discussion.unlabeled"
          | "discussion.unlocked"
          | "discussion.unpinned"
          | "discussion_comment"
          | "discussion_comment.created"
          | "discussion_comment.deleted"
          | "discussion_comment.edited"
          | "fork"
          | "github_app_authorization"
          | "github_app_authorization.revoked"
          | "gollum"
          | "installation"
          | "installation.created"
          | "installation.deleted"
          | "installation.new_permissions_accepted"
          | "installation.suspend"
          | "installation.unsuspend"
          | "installation_repositories"
          | "installation_repositories.added"
          | "installation_repositories.removed"
          | "installation_target"
          | "installation_target.renamed"
          | "issue_comment"
          | "issue_comment.created"
          | "issue_comment.deleted"
          | "issue_comment.edited"
          | "issues"
          | "issues.assigned"
          | "issues.closed"
          | "issues.deleted"
          | "issues.demilestoned"
          | "issues.edited"
          | "issues.labeled"
          | "issues.locked"
          | "issues.milestoned"
          | "issues.opened"
          | "issues.pinned"
          | "issues.reopened"
          | "issues.transferred"
          | "issues.unassigned"
          | "issues.unlabeled"
          | "issues.unlocked"
          | "issues.unpinned"
          | "label"
          | "label.created"
          | "label.deleted"
          | "label.edited"
          | "marketplace_purchase"
          | "marketplace_purchase.cancelled"
          | "marketplace_purchase.changed"
          | "marketplace_purchase.pending_change"
          | "marketplace_purchase.pending_change_cancelled"
          | "marketplace_purchase.purchased"
          | "member"
          | "member.added"
          | "member.edited"
          | "member.removed"
          | "membership"
          | "membership.added"
          | "membership.removed"
          | "merge_group"
          | "merge_group.checks_requested"
          | "merge_group.destroyed"
          | "meta"
          | "meta.deleted"
          | "milestone"
          | "milestone.closed"
          | "milestone.created"
          | "milestone.deleted"
          | "milestone.edited"
          | "milestone.opened"
          | "org_block"
          | "org_block.blocked"
          | "org_block.unblocked"
          | "organization"
          | "organization.deleted"
          | "organization.member_added"
          | "organization.member_invited"
          | "organization.member_removed"
          | "organization.renamed"
          | "package"
          | "package.published"
          | "package.updated"
          | "page_build"
          | "ping"
          | "project"
          | "project.closed"
          | "project.created"
          | "project.deleted"
          | "project.edited"
          | "project.reopened"
          | "project_card"
          | "project_card.converted"
          | "project_card.created"
          | "project_card.deleted"
          | "project_card.edited"
          | "project_card.moved"
          | "project_column"
          | "project_column.created"
          | "project_column.deleted"
          | "project_column.edited"
          | "project_column.moved"
          | "projects_v2_item"
          | "projects_v2_item.archived"
          | "projects_v2_item.converted"
          | "projects_v2_item.created"
          | "projects_v2_item.deleted"
          | "projects_v2_item.edited"
          | "projects_v2_item.reordered"
          | "projects_v2_item.restored"
          | "public"
          | "pull_request"
          | "pull_request.assigned"
          | "pull_request.auto_merge_disabled"
          | "pull_request.auto_merge_enabled"
          | "pull_request.closed"
          | "pull_request.converted_to_draft"
          | "pull_request.demilestoned"
          | "pull_request.dequeued"
          | "pull_request.edited"
          | "pull_request.enqueued"
          | "pull_request.labeled"
          | "pull_request.locked"
          | "pull_request.milestoned"
          | "pull_request.opened"
          | "pull_request.ready_for_review"
          | "pull_request.reopened"
          | "pull_request.review_request_removed"
          | "pull_request.review_requested"
          | "pull_request.synchronize"
          | "pull_request.unassigned"
          | "pull_request.unlabeled"
          | "pull_request.unlocked"
          | "pull_request_review"
          | "pull_request_review.dismissed"
          | "pull_request_review.edited"
          | "pull_request_review.submitted"
          | "pull_request_review_comment"
          | "pull_request_review_comment.created"
          | "pull_request_review_comment.deleted"
          | "pull_request_review_comment.edited"
          | "pull_request_review_thread"
          | "pull_request_review_thread.resolved"
          | "pull_request_review_thread.unresolved"
          | "push"
          | "registry_package"
          | "registry_package.published"
          | "registry_package.updated"
          | "release"
          | "release.created"
          | "release.deleted"
          | "release.edited"
          | "release.prereleased"
          | "release.published"
          | "release.released"
          | "release.unpublished"
          | "repository"
          | "repository.archived"
          | "repository.created"
          | "repository.deleted"
          | "repository.edited"
          | "repository.privatized"
          | "repository.publicized"
          | "repository.renamed"
          | "repository.transferred"
          | "repository.unarchived"
          | "repository_dispatch"
          | "repository_import"
          | "repository_vulnerability_alert"
          | "repository_vulnerability_alert.create"
          | "repository_vulnerability_alert.dismiss"
          | "repository_vulnerability_alert.reopen"
          | "repository_vulnerability_alert.resolve"
          | "secret_scanning_alert"
          | "secret_scanning_alert.created"
          | "secret_scanning_alert.reopened"
          | "secret_scanning_alert.resolved"
          | "secret_scanning_alert.revoked"
          | "secret_scanning_alert_location"
          | "secret_scanning_alert_location.created"
          | "security_advisory"
          | "security_advisory.performed"
          | "security_advisory.published"
          | "security_advisory.updated"
          | "security_advisory.withdrawn"
          | "sponsorship"
          | "sponsorship.cancelled"
          | "sponsorship.created"
          | "sponsorship.edited"
          | "sponsorship.pending_cancellation"
          | "sponsorship.pending_tier_change"
          | "sponsorship.tier_changed"
          | "star"
          | "star.created"
          | "star.deleted"
          | "team"
          | "team.added_to_repository"
          | "team.created"
          | "team.deleted"
          | "team.edited"
          | "team.removed_from_repository"
          | "team_add"
          | "watch"
          | "watch.started"
          | "workflow_dispatch"
          | "workflow_job"
          | "workflow_job.completed"
          | "workflow_job.in_progress"
          | "workflow_job.queued"
          | "workflow_job.waiting"
          | "workflow_run"
          | "workflow_run.completed"
          | "workflow_run.in_progress"
          | "workflow_run.requested" =
          | "status"
          | "branch_protection_configuration"
          | "branch_protection_configuration.disabled"
          | "branch_protection_configuration.enabled"
          | "branch_protection_rule"
          | "branch_protection_rule.created"
          | "branch_protection_rule.deleted"
          | "branch_protection_rule.edited"
          | "check_run"
          | "check_run.completed"
          | "check_run.created"
          | "check_run.requested_action"
          | "check_run.rerequested"
          | "check_suite"
          | "check_suite.completed"
          | "check_suite.requested"
          | "check_suite.rerequested"
          | "code_scanning_alert"
          | "code_scanning_alert.appeared_in_branch"
          | "code_scanning_alert.closed_by_user"
          | "code_scanning_alert.created"
          | "code_scanning_alert.fixed"
          | "code_scanning_alert.reopened"
          | "code_scanning_alert.reopened_by_user"
          | "commit_comment"
          | "commit_comment.created"
          | "create"
          | "custom_property"
          | "custom_property.created"
          | "custom_property.deleted"
          | "custom_property_values"
          | "custom_property_values.updated"
          | "delete"
          | "dependabot_alert"
          | "dependabot_alert.created"
          | "dependabot_alert.dismissed"
          | "dependabot_alert.fixed"
          | "dependabot_alert.reintroduced"
          | "dependabot_alert.reopened"
          | "deploy_key"
          | "deploy_key.created"
          | "deploy_key.deleted"
          | "deployment"
          | "deployment.created"
          | "deployment_protection_rule"
          | "deployment_protection_rule.requested"
          | "deployment_review"
          | "deployment_review.approved"
          | "deployment_review.rejected"
          | "deployment_review.requested"
          | "deployment_status"
          | "deployment_status.created"
          | "discussion"
          | "discussion.answered"
          | "discussion.category_changed"
          | "discussion.created"
          | "discussion.deleted"
          | "discussion.edited"
          | "discussion.labeled"
          | "discussion.locked"
          | "discussion.pinned"
          | "discussion.transferred"
          | "discussion.unanswered"
          | "discussion.unlabeled"
          | "discussion.unlocked"
          | "discussion.unpinned"
          | "discussion_comment"
          | "discussion_comment.created"
          | "discussion_comment.deleted"
          | "discussion_comment.edited"
          | "fork"
          | "github_app_authorization"
          | "github_app_authorization.revoked"
          | "gollum"
          | "installation"
          | "installation.created"
          | "installation.deleted"
          | "installation.new_permissions_accepted"
          | "installation.suspend"
          | "installation.unsuspend"
          | "installation_repositories"
          | "installation_repositories.added"
          | "installation_repositories.removed"
          | "installation_target"
          | "installation_target.renamed"
          | "issue_comment"
          | "issue_comment.created"
          | "issue_comment.deleted"
          | "issue_comment.edited"
          | "issues"
          | "issues.assigned"
          | "issues.closed"
          | "issues.deleted"
          | "issues.demilestoned"
          | "issues.edited"
          | "issues.labeled"
          | "issues.locked"
          | "issues.milestoned"
          | "issues.opened"
          | "issues.pinned"
          | "issues.reopened"
          | "issues.transferred"
          | "issues.unassigned"
          | "issues.unlabeled"
          | "issues.unlocked"
          | "issues.unpinned"
          | "label"
          | "label.created"
          | "label.deleted"
          | "label.edited"
          | "marketplace_purchase"
          | "marketplace_purchase.cancelled"
          | "marketplace_purchase.changed"
          | "marketplace_purchase.pending_change"
          | "marketplace_purchase.pending_change_cancelled"
          | "marketplace_purchase.purchased"
          | "member"
          | "member.added"
          | "member.edited"
          | "member.removed"
          | "membership"
          | "membership.added"
          | "membership.removed"
          | "merge_group"
          | "merge_group.checks_requested"
          | "merge_group.destroyed"
          | "meta"
          | "meta.deleted"
          | "milestone"
          | "milestone.closed"
          | "milestone.created"
          | "milestone.deleted"
          | "milestone.edited"
          | "milestone.opened"
          | "org_block"
          | "org_block.blocked"
          | "org_block.unblocked"
          | "organization"
          | "organization.deleted"
          | "organization.member_added"
          | "organization.member_invited"
          | "organization.member_removed"
          | "organization.renamed"
          | "package"
          | "package.published"
          | "package.updated"
          | "page_build"
          | "ping"
          | "project"
          | "project.closed"
          | "project.created"
          | "project.deleted"
          | "project.edited"
          | "project.reopened"
          | "project_card"
          | "project_card.converted"
          | "project_card.created"
          | "project_card.deleted"
          | "project_card.edited"
          | "project_card.moved"
          | "project_column"
          | "project_column.created"
          | "project_column.deleted"
          | "project_column.edited"
          | "project_column.moved"
          | "projects_v2_item"
          | "projects_v2_item.archived"
          | "projects_v2_item.converted"
          | "projects_v2_item.created"
          | "projects_v2_item.deleted"
          | "projects_v2_item.edited"
          | "projects_v2_item.reordered"
          | "projects_v2_item.restored"
          | "public"
          | "pull_request"
          | "pull_request.assigned"
          | "pull_request.auto_merge_disabled"
          | "pull_request.auto_merge_enabled"
          | "pull_request.closed"
          | "pull_request.converted_to_draft"
          | "pull_request.demilestoned"
          | "pull_request.dequeued"
          | "pull_request.edited"
          | "pull_request.enqueued"
          | "pull_request.labeled"
          | "pull_request.locked"
          | "pull_request.milestoned"
          | "pull_request.opened"
          | "pull_request.ready_for_review"
          | "pull_request.reopened"
          | "pull_request.review_request_removed"
          | "pull_request.review_requested"
          | "pull_request.synchronize"
          | "pull_request.unassigned"
          | "pull_request.unlabeled"
          | "pull_request.unlocked"
          | "pull_request_review"
          | "pull_request_review.dismissed"
          | "pull_request_review.edited"
          | "pull_request_review.submitted"
          | "pull_request_review_comment"
          | "pull_request_review_comment.created"
          | "pull_request_review_comment.deleted"
          | "pull_request_review_comment.edited"
          | "pull_request_review_thread"
          | "pull_request_review_thread.resolved"
          | "pull_request_review_thread.unresolved"
          | "push"
          | "registry_package"
          | "registry_package.published"
          | "registry_package.updated"
          | "release"
          | "release.created"
          | "release.deleted"
          | "release.edited"
          | "release.prereleased"
          | "release.published"
          | "release.released"
          | "release.unpublished"
          | "repository"
          | "repository.archived"
          | "repository.created"
          | "repository.deleted"
          | "repository.edited"
          | "repository.privatized"
          | "repository.publicized"
          | "repository.renamed"
          | "repository.transferred"
          | "repository.unarchived"
          | "repository_dispatch"
          | "repository_import"
          | "repository_vulnerability_alert"
          | "repository_vulnerability_alert.create"
          | "repository_vulnerability_alert.dismiss"
          | "repository_vulnerability_alert.reopen"
          | "repository_vulnerability_alert.resolve"
          | "secret_scanning_alert"
          | "secret_scanning_alert.created"
          | "secret_scanning_alert.reopened"
          | "secret_scanning_alert.resolved"
          | "secret_scanning_alert.revoked"
          | "secret_scanning_alert_location"
          | "secret_scanning_alert_location.created"
          | "security_advisory"
          | "security_advisory.performed"
          | "security_advisory.published"
          | "security_advisory.updated"
          | "security_advisory.withdrawn"
          | "sponsorship"
          | "sponsorship.cancelled"
          | "sponsorship.created"
          | "sponsorship.edited"
          | "sponsorship.pending_cancellation"
          | "sponsorship.pending_tier_change"
          | "sponsorship.tier_changed"
          | "star"
          | "star.created"
          | "star.deleted"
          | "team"
          | "team.added_to_repository"
          | "team.created"
          | "team.deleted"
          | "team.edited"
          | "team.removed_from_repository"
          | "team_add"
          | "watch"
          | "watch.started"
          | "workflow_dispatch"
          | "workflow_job"
          | "workflow_job.completed"
          | "workflow_job.in_progress"
          | "workflow_job.queued"
          | "workflow_job.waiting"
          | "workflow_run"
          | "workflow_run.completed"
          | "workflow_run.in_progress"
          | "workflow_run.requested"

    Parameters

    • event: EmitterWebhookEvent<Event>
    • octokit: Octokit & {} & {} & RestEndpointMethods & Api & API
    • log: Logger

    Returns Context<Event>

Properties

id: string
log: Logger

A pino instance

+
name:
    | "status"
    | "branch_protection_configuration"
    | "branch_protection_configuration.disabled"
    | "branch_protection_configuration.enabled"
    | "branch_protection_rule"
    | "branch_protection_rule.created"
    | "branch_protection_rule.deleted"
    | "branch_protection_rule.edited"
    | "check_run"
    | "check_run.completed"
    | "check_run.created"
    | "check_run.requested_action"
    | "check_run.rerequested"
    | "check_suite"
    | "check_suite.completed"
    | "check_suite.requested"
    | "check_suite.rerequested"
    | "code_scanning_alert"
    | "code_scanning_alert.appeared_in_branch"
    | "code_scanning_alert.closed_by_user"
    | "code_scanning_alert.created"
    | "code_scanning_alert.fixed"
    | "code_scanning_alert.reopened"
    | "code_scanning_alert.reopened_by_user"
    | "commit_comment"
    | "commit_comment.created"
    | "create"
    | "custom_property"
    | "custom_property.created"
    | "custom_property.deleted"
    | "custom_property_values"
    | "custom_property_values.updated"
    | "delete"
    | "dependabot_alert"
    | "dependabot_alert.created"
    | "dependabot_alert.dismissed"
    | "dependabot_alert.fixed"
    | "dependabot_alert.reintroduced"
    | "dependabot_alert.reopened"
    | "deploy_key"
    | "deploy_key.created"
    | "deploy_key.deleted"
    | "deployment"
    | "deployment.created"
    | "deployment_protection_rule"
    | "deployment_protection_rule.requested"
    | "deployment_review"
    | "deployment_review.approved"
    | "deployment_review.rejected"
    | "deployment_review.requested"
    | "deployment_status"
    | "deployment_status.created"
    | "discussion"
    | "discussion.answered"
    | "discussion.category_changed"
    | "discussion.created"
    | "discussion.deleted"
    | "discussion.edited"
    | "discussion.labeled"
    | "discussion.locked"
    | "discussion.pinned"
    | "discussion.transferred"
    | "discussion.unanswered"
    | "discussion.unlabeled"
    | "discussion.unlocked"
    | "discussion.unpinned"
    | "discussion_comment"
    | "discussion_comment.created"
    | "discussion_comment.deleted"
    | "discussion_comment.edited"
    | "fork"
    | "github_app_authorization"
    | "github_app_authorization.revoked"
    | "gollum"
    | "installation"
    | "installation.created"
    | "installation.deleted"
    | "installation.new_permissions_accepted"
    | "installation.suspend"
    | "installation.unsuspend"
    | "installation_repositories"
    | "installation_repositories.added"
    | "installation_repositories.removed"
    | "installation_target"
    | "installation_target.renamed"
    | "issue_comment"
    | "issue_comment.created"
    | "issue_comment.deleted"
    | "issue_comment.edited"
    | "issues"
    | "issues.assigned"
    | "issues.closed"
    | "issues.deleted"
    | "issues.demilestoned"
    | "issues.edited"
    | "issues.labeled"
    | "issues.locked"
    | "issues.milestoned"
    | "issues.opened"
    | "issues.pinned"
    | "issues.reopened"
    | "issues.transferred"
    | "issues.unassigned"
    | "issues.unlabeled"
    | "issues.unlocked"
    | "issues.unpinned"
    | "label"
    | "label.created"
    | "label.deleted"
    | "label.edited"
    | "marketplace_purchase"
    | "marketplace_purchase.cancelled"
    | "marketplace_purchase.changed"
    | "marketplace_purchase.pending_change"
    | "marketplace_purchase.pending_change_cancelled"
    | "marketplace_purchase.purchased"
    | "member"
    | "member.added"
    | "member.edited"
    | "member.removed"
    | "membership"
    | "membership.added"
    | "membership.removed"
    | "merge_group"
    | "merge_group.checks_requested"
    | "merge_group.destroyed"
    | "meta"
    | "meta.deleted"
    | "milestone"
    | "milestone.closed"
    | "milestone.created"
    | "milestone.deleted"
    | "milestone.edited"
    | "milestone.opened"
    | "org_block"
    | "org_block.blocked"
    | "org_block.unblocked"
    | "organization"
    | "organization.deleted"
    | "organization.member_added"
    | "organization.member_invited"
    | "organization.member_removed"
    | "organization.renamed"
    | "package"
    | "package.published"
    | "package.updated"
    | "page_build"
    | "ping"
    | "project"
    | "project.closed"
    | "project.created"
    | "project.deleted"
    | "project.edited"
    | "project.reopened"
    | "project_card"
    | "project_card.converted"
    | "project_card.created"
    | "project_card.deleted"
    | "project_card.edited"
    | "project_card.moved"
    | "project_column"
    | "project_column.created"
    | "project_column.deleted"
    | "project_column.edited"
    | "project_column.moved"
    | "projects_v2_item"
    | "projects_v2_item.archived"
    | "projects_v2_item.converted"
    | "projects_v2_item.created"
    | "projects_v2_item.deleted"
    | "projects_v2_item.edited"
    | "projects_v2_item.reordered"
    | "projects_v2_item.restored"
    | "public"
    | "pull_request"
    | "pull_request.assigned"
    | "pull_request.auto_merge_disabled"
    | "pull_request.auto_merge_enabled"
    | "pull_request.closed"
    | "pull_request.converted_to_draft"
    | "pull_request.demilestoned"
    | "pull_request.dequeued"
    | "pull_request.edited"
    | "pull_request.enqueued"
    | "pull_request.labeled"
    | "pull_request.locked"
    | "pull_request.milestoned"
    | "pull_request.opened"
    | "pull_request.ready_for_review"
    | "pull_request.reopened"
    | "pull_request.review_request_removed"
    | "pull_request.review_requested"
    | "pull_request.synchronize"
    | "pull_request.unassigned"
    | "pull_request.unlabeled"
    | "pull_request.unlocked"
    | "pull_request_review"
    | "pull_request_review.dismissed"
    | "pull_request_review.edited"
    | "pull_request_review.submitted"
    | "pull_request_review_comment"
    | "pull_request_review_comment.created"
    | "pull_request_review_comment.deleted"
    | "pull_request_review_comment.edited"
    | "pull_request_review_thread"
    | "pull_request_review_thread.resolved"
    | "pull_request_review_thread.unresolved"
    | "push"
    | "registry_package"
    | "registry_package.published"
    | "registry_package.updated"
    | "release"
    | "release.created"
    | "release.deleted"
    | "release.edited"
    | "release.prereleased"
    | "release.published"
    | "release.released"
    | "release.unpublished"
    | "repository"
    | "repository.archived"
    | "repository.created"
    | "repository.deleted"
    | "repository.edited"
    | "repository.privatized"
    | "repository.publicized"
    | "repository.renamed"
    | "repository.transferred"
    | "repository.unarchived"
    | "repository_dispatch"
    | "repository_import"
    | "repository_vulnerability_alert"
    | "repository_vulnerability_alert.create"
    | "repository_vulnerability_alert.dismiss"
    | "repository_vulnerability_alert.reopen"
    | "repository_vulnerability_alert.resolve"
    | "secret_scanning_alert"
    | "secret_scanning_alert.created"
    | "secret_scanning_alert.reopened"
    | "secret_scanning_alert.resolved"
    | "secret_scanning_alert.revoked"
    | "secret_scanning_alert_location"
    | "secret_scanning_alert_location.created"
    | "security_advisory"
    | "security_advisory.performed"
    | "security_advisory.published"
    | "security_advisory.updated"
    | "security_advisory.withdrawn"
    | "sponsorship"
    | "sponsorship.cancelled"
    | "sponsorship.created"
    | "sponsorship.edited"
    | "sponsorship.pending_cancellation"
    | "sponsorship.pending_tier_change"
    | "sponsorship.tier_changed"
    | "star"
    | "star.created"
    | "star.deleted"
    | "team"
    | "team.added_to_repository"
    | "team.created"
    | "team.deleted"
    | "team.edited"
    | "team.removed_from_repository"
    | "team_add"
    | "watch"
    | "watch.started"
    | "workflow_dispatch"
    | "workflow_job"
    | "workflow_job.completed"
    | "workflow_job.in_progress"
    | "workflow_job.queued"
    | "workflow_job.waiting"
    | "workflow_run"
    | "workflow_run.completed"
    | "workflow_run.in_progress"
    | "workflow_run.requested"
octokit: Octokit & {} & {} & RestEndpointMethods & Api & API

An Octokit instance

+
payload: {
    [K in
        | "status"
        | "branch_protection_configuration"
        | "branch_protection_configuration.disabled"
        | "branch_protection_configuration.enabled"
        | "branch_protection_rule"
        | "branch_protection_rule.created"
        | "branch_protection_rule.deleted"
        | "branch_protection_rule.edited"
        | "check_run"
        | "check_run.completed"
        | "check_run.created"
        | "check_run.requested_action"
        | "check_run.rerequested"
        | "check_suite"
        | "check_suite.completed"
        | "check_suite.requested"
        | "check_suite.rerequested"
        | "code_scanning_alert"
        | "code_scanning_alert.appeared_in_branch"
        | "code_scanning_alert.closed_by_user"
        | "code_scanning_alert.created"
        | "code_scanning_alert.fixed"
        | "code_scanning_alert.reopened"
        | "code_scanning_alert.reopened_by_user"
        | "commit_comment"
        | "commit_comment.created"
        | "create"
        | "custom_property"
        | "custom_property.created"
        | "custom_property.deleted"
        | "custom_property_values"
        | "custom_property_values.updated"
        | "delete"
        | "dependabot_alert"
        | "dependabot_alert.created"
        | "dependabot_alert.dismissed"
        | "dependabot_alert.fixed"
        | "dependabot_alert.reintroduced"
        | "dependabot_alert.reopened"
        | "deploy_key"
        | "deploy_key.created"
        | "deploy_key.deleted"
        | "deployment"
        | "deployment.created"
        | "deployment_protection_rule"
        | "deployment_protection_rule.requested"
        | "deployment_review"
        | "deployment_review.approved"
        | "deployment_review.rejected"
        | "deployment_review.requested"
        | "deployment_status"
        | "deployment_status.created"
        | "discussion"
        | "discussion.answered"
        | "discussion.category_changed"
        | "discussion.created"
        | "discussion.deleted"
        | "discussion.edited"
        | "discussion.labeled"
        | "discussion.locked"
        | "discussion.pinned"
        | "discussion.transferred"
        | "discussion.unanswered"
        | "discussion.unlabeled"
        | "discussion.unlocked"
        | "discussion.unpinned"
        | "discussion_comment"
        | "discussion_comment.created"
        | "discussion_comment.deleted"
        | "discussion_comment.edited"
        | "fork"
        | "github_app_authorization"
        | "github_app_authorization.revoked"
        | "gollum"
        | "installation"
        | "installation.created"
        | "installation.deleted"
        | "installation.new_permissions_accepted"
        | "installation.suspend"
        | "installation.unsuspend"
        | "installation_repositories"
        | "installation_repositories.added"
        | "installation_repositories.removed"
        | "installation_target"
        | "installation_target.renamed"
        | "issue_comment"
        | "issue_comment.created"
        | "issue_comment.deleted"
        | "issue_comment.edited"
        | "issues"
        | "issues.assigned"
        | "issues.closed"
        | "issues.deleted"
        | "issues.demilestoned"
        | "issues.edited"
        | "issues.labeled"
        | "issues.locked"
        | "issues.milestoned"
        | "issues.opened"
        | "issues.pinned"
        | "issues.reopened"
        | "issues.transferred"
        | "issues.unassigned"
        | "issues.unlabeled"
        | "issues.unlocked"
        | "issues.unpinned"
        | "label"
        | "label.created"
        | "label.deleted"
        | "label.edited"
        | "marketplace_purchase"
        | "marketplace_purchase.cancelled"
        | "marketplace_purchase.changed"
        | "marketplace_purchase.pending_change"
        | "marketplace_purchase.pending_change_cancelled"
        | "marketplace_purchase.purchased"
        | "member"
        | "member.added"
        | "member.edited"
        | "member.removed"
        | "membership"
        | "membership.added"
        | "membership.removed"
        | "merge_group"
        | "merge_group.checks_requested"
        | "merge_group.destroyed"
        | "meta"
        | "meta.deleted"
        | "milestone"
        | "milestone.closed"
        | "milestone.created"
        | "milestone.deleted"
        | "milestone.edited"
        | "milestone.opened"
        | "org_block"
        | "org_block.blocked"
        | "org_block.unblocked"
        | "organization"
        | "organization.deleted"
        | "organization.member_added"
        | "organization.member_invited"
        | "organization.member_removed"
        | "organization.renamed"
        | "package"
        | "package.published"
        | "package.updated"
        | "page_build"
        | "ping"
        | "project"
        | "project.closed"
        | "project.created"
        | "project.deleted"
        | "project.edited"
        | "project.reopened"
        | "project_card"
        | "project_card.converted"
        | "project_card.created"
        | "project_card.deleted"
        | "project_card.edited"
        | "project_card.moved"
        | "project_column"
        | "project_column.created"
        | "project_column.deleted"
        | "project_column.edited"
        | "project_column.moved"
        | "projects_v2_item"
        | "projects_v2_item.archived"
        | "projects_v2_item.converted"
        | "projects_v2_item.created"
        | "projects_v2_item.deleted"
        | "projects_v2_item.edited"
        | "projects_v2_item.reordered"
        | "projects_v2_item.restored"
        | "public"
        | "pull_request"
        | "pull_request.assigned"
        | "pull_request.auto_merge_disabled"
        | "pull_request.auto_merge_enabled"
        | "pull_request.closed"
        | "pull_request.converted_to_draft"
        | "pull_request.demilestoned"
        | "pull_request.dequeued"
        | "pull_request.edited"
        | "pull_request.enqueued"
        | "pull_request.labeled"
        | "pull_request.locked"
        | "pull_request.milestoned"
        | "pull_request.opened"
        | "pull_request.ready_for_review"
        | "pull_request.reopened"
        | "pull_request.review_request_removed"
        | "pull_request.review_requested"
        | "pull_request.synchronize"
        | "pull_request.unassigned"
        | "pull_request.unlabeled"
        | "pull_request.unlocked"
        | "pull_request_review"
        | "pull_request_review.dismissed"
        | "pull_request_review.edited"
        | "pull_request_review.submitted"
        | "pull_request_review_comment"
        | "pull_request_review_comment.created"
        | "pull_request_review_comment.deleted"
        | "pull_request_review_comment.edited"
        | "pull_request_review_thread"
        | "pull_request_review_thread.resolved"
        | "pull_request_review_thread.unresolved"
        | "push"
        | "registry_package"
        | "registry_package.published"
        | "registry_package.updated"
        | "release"
        | "release.created"
        | "release.deleted"
        | "release.edited"
        | "release.prereleased"
        | "release.published"
        | "release.released"
        | "release.unpublished"
        | "repository"
        | "repository.archived"
        | "repository.created"
        | "repository.deleted"
        | "repository.edited"
        | "repository.privatized"
        | "repository.publicized"
        | "repository.renamed"
        | "repository.transferred"
        | "repository.unarchived"
        | "repository_dispatch"
        | "repository_import"
        | "repository_vulnerability_alert"
        | "repository_vulnerability_alert.create"
        | "repository_vulnerability_alert.dismiss"
        | "repository_vulnerability_alert.reopen"
        | "repository_vulnerability_alert.resolve"
        | "secret_scanning_alert"
        | "secret_scanning_alert.created"
        | "secret_scanning_alert.reopened"
        | "secret_scanning_alert.resolved"
        | "secret_scanning_alert.revoked"
        | "secret_scanning_alert_location"
        | "secret_scanning_alert_location.created"
        | "security_advisory"
        | "security_advisory.performed"
        | "security_advisory.published"
        | "security_advisory.updated"
        | "security_advisory.withdrawn"
        | "sponsorship"
        | "sponsorship.cancelled"
        | "sponsorship.created"
        | "sponsorship.edited"
        | "sponsorship.pending_cancellation"
        | "sponsorship.pending_tier_change"
        | "sponsorship.tier_changed"
        | "star"
        | "star.created"
        | "star.deleted"
        | "team"
        | "team.added_to_repository"
        | "team.created"
        | "team.deleted"
        | "team.edited"
        | "team.removed_from_repository"
        | "team_add"
        | "watch"
        | "watch.started"
        | "workflow_dispatch"
        | "workflow_job"
        | "workflow_job.completed"
        | "workflow_job.in_progress"
        | "workflow_job.queued"
        | "workflow_job.waiting"
        | "workflow_run"
        | "workflow_run.completed"
        | "workflow_run.in_progress"
        | "workflow_run.requested"]: K extends
            | "status"
            | "branch_protection_configuration"
            | "branch_protection_configuration.disabled"
            | "branch_protection_configuration.enabled"
            | "branch_protection_rule"
            | "branch_protection_rule.created"
            | "branch_protection_rule.deleted"
            | "branch_protection_rule.edited"
            | "check_run"
            | "check_run.completed"
            | "check_run.created"
            | "check_run.requested_action"
            | "check_run.rerequested"
            | "check_suite"
            | "check_suite.completed"
            | "check_suite.requested"
            | "check_suite.rerequested"
            | "code_scanning_alert"
            | "code_scanning_alert.appeared_in_branch"
            | "code_scanning_alert.closed_by_user"
            | "code_scanning_alert.created"
            | "code_scanning_alert.fixed"
            | "code_scanning_alert.reopened"
            | "code_scanning_alert.reopened_by_user"
            | "commit_comment"
            | "commit_comment.created"
            | "create"
            | "custom_property"
            | "custom_property.created"
            | "custom_property.deleted"
            | "custom_property_values"
            | "custom_property_values.updated"
            | "delete"
            | "dependabot_alert"
            | "dependabot_alert.created"
            | "dependabot_alert.dismissed"
            | "dependabot_alert.fixed"
            | "dependabot_alert.reintroduced"
            | "dependabot_alert.reopened"
            | "deploy_key"
            | "deploy_key.created"
            | "deploy_key.deleted"
            | "deployment"
            | "deployment.created"
            | "deployment_protection_rule"
            | "deployment_protection_rule.requested"
            | "deployment_review"
            | "deployment_review.approved"
            | "deployment_review.rejected"
            | "deployment_review.requested"
            | "deployment_status"
            | "deployment_status.created"
            | "discussion"
            | "discussion.answered"
            | "discussion.category_changed"
            | "discussion.created"
            | "discussion.deleted"
            | "discussion.edited"
            | "discussion.labeled"
            | "discussion.locked"
            | "discussion.pinned"
            | "discussion.transferred"
            | "discussion.unanswered"
            | "discussion.unlabeled"
            | "discussion.unlocked"
            | "discussion.unpinned"
            | "discussion_comment"
            | "discussion_comment.created"
            | "discussion_comment.deleted"
            | "discussion_comment.edited"
            | "fork"
            | "github_app_authorization"
            | "github_app_authorization.revoked"
            | "gollum"
            | "installation"
            | "installation.created"
            | "installation.deleted"
            | "installation.new_permissions_accepted"
            | "installation.suspend"
            | "installation.unsuspend"
            | "installation_repositories"
            | "installation_repositories.added"
            | "installation_repositories.removed"
            | "installation_target"
            | "installation_target.renamed"
            | "issue_comment"
            | "issue_comment.created"
            | "issue_comment.deleted"
            | "issue_comment.edited"
            | "issues"
            | "issues.assigned"
            | "issues.closed"
            | "issues.deleted"
            | "issues.demilestoned"
            | "issues.edited"
            | "issues.labeled"
            | "issues.locked"
            | "issues.milestoned"
            | "issues.opened"
            | "issues.pinned"
            | "issues.reopened"
            | "issues.transferred"
            | "issues.unassigned"
            | "issues.unlabeled"
            | "issues.unlocked"
            | "issues.unpinned"
            | "label"
            | "label.created"
            | "label.deleted"
            | "label.edited"
            | "marketplace_purchase"
            | "marketplace_purchase.cancelled"
            | "marketplace_purchase.changed"
            | "marketplace_purchase.pending_change"
            | "marketplace_purchase.pending_change_cancelled"
            | "marketplace_purchase.purchased"
            | "member"
            | "member.added"
            | "member.edited"
            | "member.removed"
            | "membership"
            | "membership.added"
            | "membership.removed"
            | "merge_group"
            | "merge_group.checks_requested"
            | "merge_group.destroyed"
            | "meta"
            | "meta.deleted"
            | "milestone"
            | "milestone.closed"
            | "milestone.created"
            | "milestone.deleted"
            | "milestone.edited"
            | "milestone.opened"
            | "org_block"
            | "org_block.blocked"
            | "org_block.unblocked"
            | "organization"
            | "organization.deleted"
            | "organization.member_added"
            | "organization.member_invited"
            | "organization.member_removed"
            | "organization.renamed"
            | "package"
            | "package.published"
            | "package.updated"
            | "page_build"
            | "ping"
            | "project"
            | "project.closed"
            | "project.created"
            | "project.deleted"
            | "project.edited"
            | "project.reopened"
            | "project_card"
            | "project_card.converted"
            | "project_card.created"
            | "project_card.deleted"
            | "project_card.edited"
            | "project_card.moved"
            | "project_column"
            | "project_column.created"
            | "project_column.deleted"
            | "project_column.edited"
            | "project_column.moved"
            | "projects_v2_item"
            | "projects_v2_item.archived"
            | "projects_v2_item.converted"
            | "projects_v2_item.created"
            | "projects_v2_item.deleted"
            | "projects_v2_item.edited"
            | "projects_v2_item.reordered"
            | "projects_v2_item.restored"
            | "public"
            | "pull_request"
            | "pull_request.assigned"
            | "pull_request.auto_merge_disabled"
            | "pull_request.auto_merge_enabled"
            | "pull_request.closed"
            | "pull_request.converted_to_draft"
            | "pull_request.demilestoned"
            | "pull_request.dequeued"
            | "pull_request.edited"
            | "pull_request.enqueued"
            | "pull_request.labeled"
            | "pull_request.locked"
            | "pull_request.milestoned"
            | "pull_request.opened"
            | "pull_request.ready_for_review"
            | "pull_request.reopened"
            | "pull_request.review_request_removed"
            | "pull_request.review_requested"
            | "pull_request.synchronize"
            | "pull_request.unassigned"
            | "pull_request.unlabeled"
            | "pull_request.unlocked"
            | "pull_request_review"
            | "pull_request_review.dismissed"
            | "pull_request_review.edited"
            | "pull_request_review.submitted"
            | "pull_request_review_comment"
            | "pull_request_review_comment.created"
            | "pull_request_review_comment.deleted"
            | "pull_request_review_comment.edited"
            | "pull_request_review_thread"
            | "pull_request_review_thread.resolved"
            | "pull_request_review_thread.unresolved"
            | "push"
            | "registry_package"
            | "registry_package.published"
            | "registry_package.updated"
            | "release"
            | "release.created"
            | "release.deleted"
            | "release.edited"
            | "release.prereleased"
            | "release.published"
            | "release.released"
            | "release.unpublished"
            | "repository"
            | "repository.archived"
            | "repository.created"
            | "repository.deleted"
            | "repository.edited"
            | "repository.privatized"
            | "repository.publicized"
            | "repository.renamed"
            | "repository.transferred"
            | "repository.unarchived"
            | "repository_dispatch"
            | "repository_import"
            | "repository_vulnerability_alert"
            | "repository_vulnerability_alert.create"
            | "repository_vulnerability_alert.dismiss"
            | "repository_vulnerability_alert.reopen"
            | "repository_vulnerability_alert.resolve"
            | "secret_scanning_alert"
            | "secret_scanning_alert.created"
            | "secret_scanning_alert.reopened"
            | "secret_scanning_alert.resolved"
            | "secret_scanning_alert.revoked"
            | "secret_scanning_alert_location"
            | "secret_scanning_alert_location.created"
            | "security_advisory"
            | "security_advisory.performed"
            | "security_advisory.published"
            | "security_advisory.updated"
            | "security_advisory.withdrawn"
            | "sponsorship"
            | "sponsorship.cancelled"
            | "sponsorship.created"
            | "sponsorship.edited"
            | "sponsorship.pending_cancellation"
            | "sponsorship.pending_tier_change"
            | "sponsorship.tier_changed"
            | "star"
            | "star.created"
            | "star.deleted"
            | "team"
            | "team.added_to_repository"
            | "team.created"
            | "team.deleted"
            | "team.edited"
            | "team.removed_from_repository"
            | "team_add"
            | "watch"
            | "watch.started"
            | "workflow_dispatch"
            | "workflow_job"
            | "workflow_job.completed"
            | "workflow_job.in_progress"
            | "workflow_job.queued"
            | "workflow_job.waiting"
            | "workflow_run"
            | "workflow_run.completed"
            | "workflow_run.in_progress"
            | "workflow_run.requested"
        ? EmitterWebhookEvent<K<K>>
        : never
}[Event]["payload"]

The webhook event payload

+

Accessors

  • get isBot(): boolean
  • Returns a boolean if the actor on the event was a bot.

    +

    Returns boolean

Methods

  • Reads the app configuration from the given YAML file in the .github +directory of the repository.

    +

    For example, given a file named .github/config.yml:

    +
    close: true
    +comment: Check the specs on the rotary girder.
    +
    + +

    Your app can read that file from the target repository:

    +
    // Load config from .github/config.yml in the repository
    const config = await context.config('config.yml')

    if (config.close) {
    context.octokit.issues.comment(context.issue({body: config.comment}))
    context.octokit.issues.edit(context.issue({state: 'closed'}))
    } +
    + +

    You can also use a defaultConfig object:

    +
    // Load config from .github/config.yml in the repository and combine with default config
    const config = await context.config('config.yml', {comment: 'Make sure to check all the specs.'})

    if (config.close) {
    context.octokit.issues.comment(context.issue({body: config.comment}));
    context.octokit.issues.edit(context.issue({state: 'closed'}))
    } +
    + +

    Config files can also specify a base that they extend. deepMergeOptions can be used +to configure how the target config, extended base, and default configs are merged.

    +

    For security reasons, configuration is only loaded from the repository's default branch, +changes made in pull requests from different branches or forks are ignored.

    +

    If you need more lower-level control over reading and merging configuration files, +you can context.octokit.config.get(options), see https://github.com/probot/octokit-plugin-config.

    +

    Type Parameters

    • T

    Parameters

    • fileName: string

      Name of the YAML file in the .github directory

      +
    • OptionaldefaultConfig: T

      An object of default config options

      +
    • OptionaldeepMergeOptions: Options

      Controls merging configs (from the deepmerge module)

      +

    Returns Promise<null | T>

    Configuration object read from the file

    +
  • Return the owner, repo, and issue_number params for making API requests +against an issue. The object passed in will be merged with the repo params.

    +
    const params = context.issue({body: 'Hello World!'})
    // Returns: {owner: 'username', repo: 'reponame', issue_number: 123, body: 'Hello World!'} +
    + +

    Type Parameters

    • T

    Parameters

    • Optionalobject: T

      Params to be merged with the issue params.

      +

    Returns RepoResultType<Event> & {
        issue_number: RepoIssueNumberType<Event>;
    } & T

  • Return the owner, repo, and pull_number params for making API requests +against a pull request. The object passed in will be merged with the repo params.

    +
    const params = context.pullRequest({body: 'Hello World!'})
    // Returns: {owner: 'username', repo: 'reponame', pull_number: 123, body: 'Hello World!'} +
    + +

    Type Parameters

    • T

    Parameters

    • Optionalobject: T

      Params to be merged with the pull request params.

      +

    Returns RepoResultType<Event> & {
        pull_number: RepoIssueNumberType<Event>;
    } & T

  • Return the owner and repo params for making API requests against a +repository.

    +
    const params = context.repo({path: '.github/config.yml'})
    // Returns: {owner: 'username', repo: 'reponame', path: '.github/config.yml'} +
    + +

    Type Parameters

    • T

    Parameters

    • Optionalobject: T

      Params to be merged with the repo params.

      +

    Returns RepoResultType<Event> & T

diff --git a/api/13.4.0/classes/manifest_creation.ManifestCreation.html b/api/13.4.0/classes/manifest_creation.ManifestCreation.html new file mode 100644 index 00000000000..bb779af4842 --- /dev/null +++ b/api/13.4.0/classes/manifest_creation.ManifestCreation.html @@ -0,0 +1,11 @@ +ManifestCreation | probot

Constructors

Accessors

Methods

  • Parameters

    • code: string
    • OptionalprobotOptions: OctokitOptions

    Returns Promise<any>

diff --git a/api/13.4.0/classes/probot.Probot.html b/api/13.4.0/classes/probot.Probot.html new file mode 100644 index 00000000000..1c91653640e --- /dev/null +++ b/api/13.4.0/classes/probot.Probot.html @@ -0,0 +1,17 @@ +Probot | probot

Class Probot

Constructors

Properties

auth: ((installationId?: number, log?: Logger) => Promise<Octokit & {} & {} & RestEndpointMethods & Api & API>)
log: Logger
on: (<E>(event: E | E[], callback: HandlerFunction<E, SimplifiedObject>) => void)
onAny: ((callback: ((event: EmitterWebhookEvent) => any)) => void)
onError: ((callback: ((event: WebhookEventHandlerError<SimplifiedObject>) => any)) => void)
version: String
webhookPath: string
webhooks: ProbotWebhooks
version: string = VERSION

Methods

  • Parameters

    • event: EmitterWebhookEvent

    Returns Promise<void>

diff --git a/api/13.4.0/classes/server_server.Server.html b/api/13.4.0/classes/server_server.Server.html new file mode 100644 index 00000000000..0f4a5ecf517 --- /dev/null +++ b/api/13.4.0/classes/server_server.Server.html @@ -0,0 +1,14 @@ +Server | probot

Constructors

Properties

Methods

Constructors

Properties

expressApp: Application
log: Logger
probotApp: Probot
version: string = VERSION
version: string = VERSION

Methods

  • Returns Promise<Server<typeof IncomingMessage, typeof ServerResponse>>

diff --git a/api/13.4.0/functions/apps_default.defaultApp.html b/api/13.4.0/functions/apps_default.defaultApp.html new file mode 100644 index 00000000000..799eaafd4ab --- /dev/null +++ b/api/13.4.0/functions/apps_default.defaultApp.html @@ -0,0 +1,4 @@ +defaultApp | probot

Function defaultApp

diff --git a/api/13.4.0/functions/apps_setup.setupAppFactory.html b/api/13.4.0/functions/apps_setup.setupAppFactory.html new file mode 100644 index 00000000000..cac465380c3 --- /dev/null +++ b/api/13.4.0/functions/apps_setup.setupAppFactory.html @@ -0,0 +1,4 @@ +setupAppFactory | probot

Function setupAppFactory

diff --git a/api/13.4.0/functions/auth.auth.html b/api/13.4.0/functions/auth.auth.html new file mode 100644 index 00000000000..22aa0fb5fb8 --- /dev/null +++ b/api/13.4.0/functions/auth.auth.html @@ -0,0 +1,14 @@ +auth | probot

Function auth

  • Authenticate and get a GitHub client that can be used to make API calls.

    +

    You'll probably want to use context.octokit instead.

    +

    Note: app.auth is asynchronous, so it needs to be prefixed with a +await +to wait for the magic to happen.

    +
     export default (app) => {
    app.on('issues.opened', async context => {
    const octokit = await app.auth();
    });
    }; +
    + +

    Parameters

    • state: State

      Probot application instance state, which is used to persist

      +
    • OptionalinstallationId: number
    • Optionallog: Logger

    Returns Promise<InstanceType<typeof ProbotOctokit>>

    An authenticated GitHub API client

    +
diff --git a/api/13.4.0/functions/bin_read_cli_options.readCliOptions.html b/api/13.4.0/functions/bin_read_cli_options.readCliOptions.html new file mode 100644 index 00000000000..0fee38dbd67 --- /dev/null +++ b/api/13.4.0/functions/bin_read_cli_options.readCliOptions.html @@ -0,0 +1,4 @@ +readCliOptions | probot
diff --git a/api/13.4.0/functions/bin_read_env_options.readEnvOptions.html b/api/13.4.0/functions/bin_read_env_options.readEnvOptions.html new file mode 100644 index 00000000000..fd75898ba7b --- /dev/null +++ b/api/13.4.0/functions/bin_read_env_options.readEnvOptions.html @@ -0,0 +1,4 @@ +readEnvOptions | probot
  • Parameters

    • env: ProcessEnv = process.env

    Returns {
        appId: number;
        args: never[];
        baseUrl: string;
        host: undefined | string;
        logFormat: "json" | "pretty";
        logLevel: LogLevel;
        logLevelInString: boolean;
        logMessageKey: undefined | string;
        port: number;
        privateKey: undefined | string;
        redisConfig: undefined | string;
        secret: undefined | string;
        sentryDsn: undefined | string;
        webhookPath: undefined | string;
        webhookProxy: undefined | string;
    }

    • appId: number
    • args: never[]
    • baseUrl: string
    • host: undefined | string
    • logFormat: "json" | "pretty"
    • logLevel: LogLevel
    • logLevelInString: boolean
    • logMessageKey: undefined | string
    • port: number
    • privateKey: undefined | string
    • redisConfig: undefined | string
    • secret: undefined | string
    • sentryDsn: undefined | string
    • webhookPath: undefined | string
    • webhookProxy: undefined | string
diff --git a/api/13.4.0/functions/create_node_middleware.createNodeMiddleware.html b/api/13.4.0/functions/create_node_middleware.createNodeMiddleware.html new file mode 100644 index 00000000000..f50eedeca7a --- /dev/null +++ b/api/13.4.0/functions/create_node_middleware.createNodeMiddleware.html @@ -0,0 +1,4 @@ +createNodeMiddleware | probot
diff --git a/api/13.4.0/functions/create_probot.createProbot.html b/api/13.4.0/functions/create_probot.createProbot.html new file mode 100644 index 00000000000..8bcf23f3f94 --- /dev/null +++ b/api/13.4.0/functions/create_probot.createProbot.html @@ -0,0 +1,7 @@ +createProbot | probot

Function createProbot

diff --git a/api/13.4.0/functions/get_router.getRouter.html b/api/13.4.0/functions/get_router.getRouter.html new file mode 100644 index 00000000000..997f1960d22 --- /dev/null +++ b/api/13.4.0/functions/get_router.getRouter.html @@ -0,0 +1,8 @@ +getRouter | probot

Function getRouter

diff --git a/api/13.4.0/functions/helpers_get_error_handler.getErrorHandler.html b/api/13.4.0/functions/helpers_get_error_handler.getErrorHandler.html new file mode 100644 index 00000000000..55607a73e72 --- /dev/null +++ b/api/13.4.0/functions/helpers_get_error_handler.getErrorHandler.html @@ -0,0 +1,4 @@ +getErrorHandler | probot
  • Parameters

    • log: Logger

    Returns ((error: Error & {
        event?: EmitterWebhookEvent;
    }) => void)

      • (error): void
      • Parameters

        • error: Error & {
              event?: EmitterWebhookEvent;
          }

        Returns void

diff --git a/api/13.4.0/functions/helpers_get_log.getLog.html b/api/13.4.0/functions/helpers_get_log.getLog.html new file mode 100644 index 00000000000..d4f5637e609 --- /dev/null +++ b/api/13.4.0/functions/helpers_get_log.getLog.html @@ -0,0 +1,4 @@ +getLog | probot
diff --git a/api/13.4.0/functions/helpers_is_production.isProduction.html b/api/13.4.0/functions/helpers_is_production.isProduction.html new file mode 100644 index 00000000000..e13c512c173 --- /dev/null +++ b/api/13.4.0/functions/helpers_is_production.isProduction.html @@ -0,0 +1,4 @@ +isProduction | probot
diff --git a/api/13.4.0/functions/helpers_is_supported_node_version.isSupportedNodeVersion.html b/api/13.4.0/functions/helpers_is_supported_node_version.isSupportedNodeVersion.html new file mode 100644 index 00000000000..78b20b1564f --- /dev/null +++ b/api/13.4.0/functions/helpers_is_supported_node_version.isSupportedNodeVersion.html @@ -0,0 +1,4 @@ +isSupportedNodeVersion | probot
diff --git a/api/13.4.0/functions/helpers_load_package_json.loadPackageJson.html b/api/13.4.0/functions/helpers_load_package_json.loadPackageJson.html new file mode 100644 index 00000000000..3a55bffdbf8 --- /dev/null +++ b/api/13.4.0/functions/helpers_load_package_json.loadPackageJson.html @@ -0,0 +1,4 @@ +loadPackageJson | probot
diff --git a/api/13.4.0/functions/helpers_rebind_log.rebindLog.html b/api/13.4.0/functions/helpers_rebind_log.rebindLog.html new file mode 100644 index 00000000000..2866ee5cee4 --- /dev/null +++ b/api/13.4.0/functions/helpers_rebind_log.rebindLog.html @@ -0,0 +1,4 @@ +rebindLog | probot
diff --git a/api/13.4.0/functions/helpers_resolve_app_function.resolveAppFunction.html b/api/13.4.0/functions/helpers_resolve_app_function.resolveAppFunction.html new file mode 100644 index 00000000000..97a951dd93e --- /dev/null +++ b/api/13.4.0/functions/helpers_resolve_app_function.resolveAppFunction.html @@ -0,0 +1,4 @@ +resolveAppFunction | probot
diff --git a/api/13.4.0/functions/helpers_webhook_proxy.createWebhookProxy.html b/api/13.4.0/functions/helpers_webhook_proxy.createWebhookProxy.html new file mode 100644 index 00000000000..7d0b7daef37 --- /dev/null +++ b/api/13.4.0/functions/helpers_webhook_proxy.createWebhookProxy.html @@ -0,0 +1,4 @@ +createWebhookProxy | probot
diff --git a/api/13.4.0/functions/octokit_get_authenticated_octokit.getAuthenticatedOctokit.html b/api/13.4.0/functions/octokit_get_authenticated_octokit.getAuthenticatedOctokit.html new file mode 100644 index 00000000000..b1c28e92c6d --- /dev/null +++ b/api/13.4.0/functions/octokit_get_authenticated_octokit.getAuthenticatedOctokit.html @@ -0,0 +1,4 @@ +getAuthenticatedOctokit | probot
  • Parameters

    • state: State
    • OptionalinstallationId: number
    • Optionallog: Logger

    Returns Promise<Octokit & {} & {} & RestEndpointMethods & Api & API>

diff --git a/api/13.4.0/functions/octokit_get_octokit_throttle_options.getOctokitThrottleOptions.html b/api/13.4.0/functions/octokit_get_octokit_throttle_options.getOctokitThrottleOptions.html new file mode 100644 index 00000000000..598c32f4b34 --- /dev/null +++ b/api/13.4.0/functions/octokit_get_octokit_throttle_options.getOctokitThrottleOptions.html @@ -0,0 +1,4 @@ +getOctokitThrottleOptions | probot
diff --git a/api/13.4.0/functions/octokit_get_probot_octokit_with_defaults.getProbotOctokitWithDefaults.html b/api/13.4.0/functions/octokit_get_probot_octokit_with_defaults.getProbotOctokitWithDefaults.html new file mode 100644 index 00000000000..bd27d1280b0 --- /dev/null +++ b/api/13.4.0/functions/octokit_get_probot_octokit_with_defaults.getProbotOctokitWithDefaults.html @@ -0,0 +1,11 @@ +getProbotOctokitWithDefaults | probot
  • Returns an Octokit instance with default settings for authentication. If +a githubToken is passed explicitly, the Octokit instance will be +pre-authenticated with that token when instantiated. Otherwise Octokit's +app authentication strategy is used, and options.auth options are merged +deeply when instantiated.

    +

    Besides the authentication, the Octokit's baseUrl is set as well when run +against a GitHub Enterprise Server with a custom domain.

    +

    Parameters

    • options: Options

    Returns typeof Octokit & Constructor<{} & {} & RestEndpointMethods & Api & API>

diff --git a/api/13.4.0/functions/octokit_get_webhooks.getWebhooks.html b/api/13.4.0/functions/octokit_get_webhooks.getWebhooks.html new file mode 100644 index 00000000000..bb6ae4cfbf0 --- /dev/null +++ b/api/13.4.0/functions/octokit_get_webhooks.getWebhooks.html @@ -0,0 +1,4 @@ +getWebhooks | probot
  • Parameters

    Returns Webhooks<Context<
        | "status"
        | "branch_protection_configuration"
        | "branch_protection_configuration.disabled"
        | "branch_protection_configuration.enabled"
        | "branch_protection_rule"
        | "branch_protection_rule.created"
        | "branch_protection_rule.deleted"
        | "branch_protection_rule.edited"
        | "check_run"
        | "check_run.completed"
        | "check_run.created"
        | "check_run.requested_action"
        | "check_run.rerequested"
        | "check_suite"
        | "check_suite.completed"
        | "check_suite.requested"
        | "check_suite.rerequested"
        | "code_scanning_alert"
        | "code_scanning_alert.appeared_in_branch"
        | "code_scanning_alert.closed_by_user"
        | "code_scanning_alert.created"
        | "code_scanning_alert.fixed"
        | "code_scanning_alert.reopened"
        | "code_scanning_alert.reopened_by_user"
        | "commit_comment"
        | "commit_comment.created"
        | "create"
        | "custom_property"
        | "custom_property.created"
        | "custom_property.deleted"
        | "custom_property_values"
        | "custom_property_values.updated"
        | "delete"
        | "dependabot_alert"
        | "dependabot_alert.created"
        | "dependabot_alert.dismissed"
        | "dependabot_alert.fixed"
        | "dependabot_alert.reintroduced"
        | "dependabot_alert.reopened"
        | "deploy_key"
        | "deploy_key.created"
        | "deploy_key.deleted"
        | "deployment"
        | "deployment.created"
        | "deployment_protection_rule"
        | "deployment_protection_rule.requested"
        | "deployment_review"
        | "deployment_review.approved"
        | "deployment_review.rejected"
        | "deployment_review.requested"
        | "deployment_status"
        | "deployment_status.created"
        | "discussion"
        | "discussion.answered"
        | "discussion.category_changed"
        | "discussion.created"
        | "discussion.deleted"
        | "discussion.edited"
        | "discussion.labeled"
        | "discussion.locked"
        | "discussion.pinned"
        | "discussion.transferred"
        | "discussion.unanswered"
        | "discussion.unlabeled"
        | "discussion.unlocked"
        | "discussion.unpinned"
        | "discussion_comment"
        | "discussion_comment.created"
        | "discussion_comment.deleted"
        | "discussion_comment.edited"
        | "fork"
        | "github_app_authorization"
        | "github_app_authorization.revoked"
        | "gollum"
        | "installation"
        | "installation.created"
        | "installation.deleted"
        | "installation.new_permissions_accepted"
        | "installation.suspend"
        | "installation.unsuspend"
        | "installation_repositories"
        | "installation_repositories.added"
        | "installation_repositories.removed"
        | "installation_target"
        | "installation_target.renamed"
        | "issue_comment"
        | "issue_comment.created"
        | "issue_comment.deleted"
        | "issue_comment.edited"
        | "issues"
        | "issues.assigned"
        | "issues.closed"
        | "issues.deleted"
        | "issues.demilestoned"
        | "issues.edited"
        | "issues.labeled"
        | "issues.locked"
        | "issues.milestoned"
        | "issues.opened"
        | "issues.pinned"
        | "issues.reopened"
        | "issues.transferred"
        | "issues.unassigned"
        | "issues.unlabeled"
        | "issues.unlocked"
        | "issues.unpinned"
        | "label"
        | "label.created"
        | "label.deleted"
        | "label.edited"
        | "marketplace_purchase"
        | "marketplace_purchase.cancelled"
        | "marketplace_purchase.changed"
        | "marketplace_purchase.pending_change"
        | "marketplace_purchase.pending_change_cancelled"
        | "marketplace_purchase.purchased"
        | "member"
        | "member.added"
        | "member.edited"
        | "member.removed"
        | "membership"
        | "membership.added"
        | "membership.removed"
        | "merge_group"
        | "merge_group.checks_requested"
        | "merge_group.destroyed"
        | "meta"
        | "meta.deleted"
        | "milestone"
        | "milestone.closed"
        | "milestone.created"
        | "milestone.deleted"
        | "milestone.edited"
        | "milestone.opened"
        | "org_block"
        | "org_block.blocked"
        | "org_block.unblocked"
        | "organization"
        | "organization.deleted"
        | "organization.member_added"
        | "organization.member_invited"
        | "organization.member_removed"
        | "organization.renamed"
        | "package"
        | "package.published"
        | "package.updated"
        | "page_build"
        | "ping"
        | "project"
        | "project.closed"
        | "project.created"
        | "project.deleted"
        | "project.edited"
        | "project.reopened"
        | "project_card"
        | "project_card.converted"
        | "project_card.created"
        | "project_card.deleted"
        | "project_card.edited"
        | "project_card.moved"
        | "project_column"
        | "project_column.created"
        | "project_column.deleted"
        | "project_column.edited"
        | "project_column.moved"
        | "projects_v2_item"
        | "projects_v2_item.archived"
        | "projects_v2_item.converted"
        | "projects_v2_item.created"
        | "projects_v2_item.deleted"
        | "projects_v2_item.edited"
        | "projects_v2_item.reordered"
        | "projects_v2_item.restored"
        | "public"
        | "pull_request"
        | "pull_request.assigned"
        | "pull_request.auto_merge_disabled"
        | "pull_request.auto_merge_enabled"
        | "pull_request.closed"
        | "pull_request.converted_to_draft"
        | "pull_request.demilestoned"
        | "pull_request.dequeued"
        | "pull_request.edited"
        | "pull_request.enqueued"
        | "pull_request.labeled"
        | "pull_request.locked"
        | "pull_request.milestoned"
        | "pull_request.opened"
        | "pull_request.ready_for_review"
        | "pull_request.reopened"
        | "pull_request.review_request_removed"
        | "pull_request.review_requested"
        | "pull_request.synchronize"
        | "pull_request.unassigned"
        | "pull_request.unlabeled"
        | "pull_request.unlocked"
        | "pull_request_review"
        | "pull_request_review.dismissed"
        | "pull_request_review.edited"
        | "pull_request_review.submitted"
        | "pull_request_review_comment"
        | "pull_request_review_comment.created"
        | "pull_request_review_comment.deleted"
        | "pull_request_review_comment.edited"
        | "pull_request_review_thread"
        | "pull_request_review_thread.resolved"
        | "pull_request_review_thread.unresolved"
        | "push"
        | "registry_package"
        | "registry_package.published"
        | "registry_package.updated"
        | "release"
        | "release.created"
        | "release.deleted"
        | "release.edited"
        | "release.prereleased"
        | "release.published"
        | "release.released"
        | "release.unpublished"
        | "repository"
        | "repository.archived"
        | "repository.created"
        | "repository.deleted"
        | "repository.edited"
        | "repository.privatized"
        | "repository.publicized"
        | "repository.renamed"
        | "repository.transferred"
        | "repository.unarchived"
        | "repository_dispatch"
        | "repository_import"
        | "repository_vulnerability_alert"
        | "repository_vulnerability_alert.create"
        | "repository_vulnerability_alert.dismiss"
        | "repository_vulnerability_alert.reopen"
        | "repository_vulnerability_alert.resolve"
        | "secret_scanning_alert"
        | "secret_scanning_alert.created"
        | "secret_scanning_alert.reopened"
        | "secret_scanning_alert.resolved"
        | "secret_scanning_alert.revoked"
        | "secret_scanning_alert_location"
        | "secret_scanning_alert_location.created"
        | "security_advisory"
        | "security_advisory.performed"
        | "security_advisory.published"
        | "security_advisory.updated"
        | "security_advisory.withdrawn"
        | "sponsorship"
        | "sponsorship.cancelled"
        | "sponsorship.created"
        | "sponsorship.edited"
        | "sponsorship.pending_cancellation"
        | "sponsorship.pending_tier_change"
        | "sponsorship.tier_changed"
        | "star"
        | "star.created"
        | "star.deleted"
        | "team"
        | "team.added_to_repository"
        | "team.created"
        | "team.deleted"
        | "team.edited"
        | "team.removed_from_repository"
        | "team_add"
        | "watch"
        | "watch.started"
        | "workflow_dispatch"
        | "workflow_job"
        | "workflow_job.completed"
        | "workflow_job.in_progress"
        | "workflow_job.queued"
        | "workflow_job.waiting"
        | "workflow_run"
        | "workflow_run.completed"
        | "workflow_run.in_progress"
        | "workflow_run.requested">>

diff --git a/api/13.4.0/functions/octokit_octokit_plugin_probot_request_logging.probotRequestLogging.html b/api/13.4.0/functions/octokit_octokit_plugin_probot_request_logging.probotRequestLogging.html new file mode 100644 index 00000000000..42cc9dbe500 --- /dev/null +++ b/api/13.4.0/functions/octokit_octokit_plugin_probot_request_logging.probotRequestLogging.html @@ -0,0 +1,4 @@ +probotRequestLogging | probot
diff --git a/api/13.4.0/functions/octokit_octokit_webhooks_transform.webhookTransform.html b/api/13.4.0/functions/octokit_octokit_webhooks_transform.webhookTransform.html new file mode 100644 index 00000000000..48c3dd6c151 --- /dev/null +++ b/api/13.4.0/functions/octokit_octokit_webhooks_transform.webhookTransform.html @@ -0,0 +1,7 @@ +webhookTransform | probot
  • Probot's transform option, which extends the event object that is passed +to webhook event handlers by @octokit/webhooks

    +

    Parameters

    • state: State
    • event: EmitterWebhookEvent

    Returns Promise<Context<
        | "status"
        | "branch_protection_configuration"
        | "branch_protection_configuration.disabled"
        | "branch_protection_configuration.enabled"
        | "branch_protection_rule"
        | "branch_protection_rule.created"
        | "branch_protection_rule.deleted"
        | "branch_protection_rule.edited"
        | "check_run"
        | "check_run.completed"
        | "check_run.created"
        | "check_run.requested_action"
        | "check_run.rerequested"
        | "check_suite"
        | "check_suite.completed"
        | "check_suite.requested"
        | "check_suite.rerequested"
        | "code_scanning_alert"
        | "code_scanning_alert.appeared_in_branch"
        | "code_scanning_alert.closed_by_user"
        | "code_scanning_alert.created"
        | "code_scanning_alert.fixed"
        | "code_scanning_alert.reopened"
        | "code_scanning_alert.reopened_by_user"
        | "commit_comment"
        | "commit_comment.created"
        | "create"
        | "custom_property"
        | "custom_property.created"
        | "custom_property.deleted"
        | "custom_property_values"
        | "custom_property_values.updated"
        | "delete"
        | "dependabot_alert"
        | "dependabot_alert.created"
        | "dependabot_alert.dismissed"
        | "dependabot_alert.fixed"
        | "dependabot_alert.reintroduced"
        | "dependabot_alert.reopened"
        | "deploy_key"
        | "deploy_key.created"
        | "deploy_key.deleted"
        | "deployment"
        | "deployment.created"
        | "deployment_protection_rule"
        | "deployment_protection_rule.requested"
        | "deployment_review"
        | "deployment_review.approved"
        | "deployment_review.rejected"
        | "deployment_review.requested"
        | "deployment_status"
        | "deployment_status.created"
        | "discussion"
        | "discussion.answered"
        | "discussion.category_changed"
        | "discussion.created"
        | "discussion.deleted"
        | "discussion.edited"
        | "discussion.labeled"
        | "discussion.locked"
        | "discussion.pinned"
        | "discussion.transferred"
        | "discussion.unanswered"
        | "discussion.unlabeled"
        | "discussion.unlocked"
        | "discussion.unpinned"
        | "discussion_comment"
        | "discussion_comment.created"
        | "discussion_comment.deleted"
        | "discussion_comment.edited"
        | "fork"
        | "github_app_authorization"
        | "github_app_authorization.revoked"
        | "gollum"
        | "installation"
        | "installation.created"
        | "installation.deleted"
        | "installation.new_permissions_accepted"
        | "installation.suspend"
        | "installation.unsuspend"
        | "installation_repositories"
        | "installation_repositories.added"
        | "installation_repositories.removed"
        | "installation_target"
        | "installation_target.renamed"
        | "issue_comment"
        | "issue_comment.created"
        | "issue_comment.deleted"
        | "issue_comment.edited"
        | "issues"
        | "issues.assigned"
        | "issues.closed"
        | "issues.deleted"
        | "issues.demilestoned"
        | "issues.edited"
        | "issues.labeled"
        | "issues.locked"
        | "issues.milestoned"
        | "issues.opened"
        | "issues.pinned"
        | "issues.reopened"
        | "issues.transferred"
        | "issues.unassigned"
        | "issues.unlabeled"
        | "issues.unlocked"
        | "issues.unpinned"
        | "label"
        | "label.created"
        | "label.deleted"
        | "label.edited"
        | "marketplace_purchase"
        | "marketplace_purchase.cancelled"
        | "marketplace_purchase.changed"
        | "marketplace_purchase.pending_change"
        | "marketplace_purchase.pending_change_cancelled"
        | "marketplace_purchase.purchased"
        | "member"
        | "member.added"
        | "member.edited"
        | "member.removed"
        | "membership"
        | "membership.added"
        | "membership.removed"
        | "merge_group"
        | "merge_group.checks_requested"
        | "merge_group.destroyed"
        | "meta"
        | "meta.deleted"
        | "milestone"
        | "milestone.closed"
        | "milestone.created"
        | "milestone.deleted"
        | "milestone.edited"
        | "milestone.opened"
        | "org_block"
        | "org_block.blocked"
        | "org_block.unblocked"
        | "organization"
        | "organization.deleted"
        | "organization.member_added"
        | "organization.member_invited"
        | "organization.member_removed"
        | "organization.renamed"
        | "package"
        | "package.published"
        | "package.updated"
        | "page_build"
        | "ping"
        | "project"
        | "project.closed"
        | "project.created"
        | "project.deleted"
        | "project.edited"
        | "project.reopened"
        | "project_card"
        | "project_card.converted"
        | "project_card.created"
        | "project_card.deleted"
        | "project_card.edited"
        | "project_card.moved"
        | "project_column"
        | "project_column.created"
        | "project_column.deleted"
        | "project_column.edited"
        | "project_column.moved"
        | "projects_v2_item"
        | "projects_v2_item.archived"
        | "projects_v2_item.converted"
        | "projects_v2_item.created"
        | "projects_v2_item.deleted"
        | "projects_v2_item.edited"
        | "projects_v2_item.reordered"
        | "projects_v2_item.restored"
        | "public"
        | "pull_request"
        | "pull_request.assigned"
        | "pull_request.auto_merge_disabled"
        | "pull_request.auto_merge_enabled"
        | "pull_request.closed"
        | "pull_request.converted_to_draft"
        | "pull_request.demilestoned"
        | "pull_request.dequeued"
        | "pull_request.edited"
        | "pull_request.enqueued"
        | "pull_request.labeled"
        | "pull_request.locked"
        | "pull_request.milestoned"
        | "pull_request.opened"
        | "pull_request.ready_for_review"
        | "pull_request.reopened"
        | "pull_request.review_request_removed"
        | "pull_request.review_requested"
        | "pull_request.synchronize"
        | "pull_request.unassigned"
        | "pull_request.unlabeled"
        | "pull_request.unlocked"
        | "pull_request_review"
        | "pull_request_review.dismissed"
        | "pull_request_review.edited"
        | "pull_request_review.submitted"
        | "pull_request_review_comment"
        | "pull_request_review_comment.created"
        | "pull_request_review_comment.deleted"
        | "pull_request_review_comment.edited"
        | "pull_request_review_thread"
        | "pull_request_review_thread.resolved"
        | "pull_request_review_thread.unresolved"
        | "push"
        | "registry_package"
        | "registry_package.published"
        | "registry_package.updated"
        | "release"
        | "release.created"
        | "release.deleted"
        | "release.edited"
        | "release.prereleased"
        | "release.published"
        | "release.released"
        | "release.unpublished"
        | "repository"
        | "repository.archived"
        | "repository.created"
        | "repository.deleted"
        | "repository.edited"
        | "repository.privatized"
        | "repository.publicized"
        | "repository.renamed"
        | "repository.transferred"
        | "repository.unarchived"
        | "repository_dispatch"
        | "repository_import"
        | "repository_vulnerability_alert"
        | "repository_vulnerability_alert.create"
        | "repository_vulnerability_alert.dismiss"
        | "repository_vulnerability_alert.reopen"
        | "repository_vulnerability_alert.resolve"
        | "secret_scanning_alert"
        | "secret_scanning_alert.created"
        | "secret_scanning_alert.reopened"
        | "secret_scanning_alert.resolved"
        | "secret_scanning_alert.revoked"
        | "secret_scanning_alert_location"
        | "secret_scanning_alert_location.created"
        | "security_advisory"
        | "security_advisory.performed"
        | "security_advisory.published"
        | "security_advisory.updated"
        | "security_advisory.withdrawn"
        | "sponsorship"
        | "sponsorship.cancelled"
        | "sponsorship.created"
        | "sponsorship.edited"
        | "sponsorship.pending_cancellation"
        | "sponsorship.pending_tier_change"
        | "sponsorship.tier_changed"
        | "star"
        | "star.created"
        | "star.deleted"
        | "team"
        | "team.added_to_repository"
        | "team.created"
        | "team.deleted"
        | "team.edited"
        | "team.removed_from_repository"
        | "team_add"
        | "watch"
        | "watch.started"
        | "workflow_dispatch"
        | "workflow_job"
        | "workflow_job.completed"
        | "workflow_job.in_progress"
        | "workflow_job.queued"
        | "workflow_job.waiting"
        | "workflow_run"
        | "workflow_run.completed"
        | "workflow_run.in_progress"
        | "workflow_run.requested">>

diff --git a/api/13.4.0/functions/run.run.html b/api/13.4.0/functions/run.run.html new file mode 100644 index 00000000000..179c04ce1b3 --- /dev/null +++ b/api/13.4.0/functions/run.run.html @@ -0,0 +1,5 @@ +run | probot

Function run

  • Parameters

    • appFnOrArgv: string[] | ApplicationFunction

      set to either a probot application function: (app) => { ... } or to process.argv

      +
    • OptionaladditionalOptions: AdditionalOptions

    Returns Promise<Server>

diff --git a/api/13.4.0/functions/server_logging_middleware.getLoggingMiddleware.html b/api/13.4.0/functions/server_logging_middleware.getLoggingMiddleware.html new file mode 100644 index 00000000000..e5d2cc283d8 --- /dev/null +++ b/api/13.4.0/functions/server_logging_middleware.getLoggingMiddleware.html @@ -0,0 +1,4 @@ +getLoggingMiddleware | probot
  • Parameters

    • logger: Logger
    • Optionaloptions: Options<IncomingMessage, ServerResponse<IncomingMessage>, never>

    Returns HttpLogger

diff --git a/api/13.4.0/functions/views_import.importView.html b/api/13.4.0/functions/views_import.importView.html new file mode 100644 index 00000000000..dd08188d042 --- /dev/null +++ b/api/13.4.0/functions/views_import.importView.html @@ -0,0 +1,4 @@ +importView | probot

Function importView

  • Parameters

    • __namedParameters: {
          GH_HOST: string;
          name?: string;
          WEBHOOK_PROXY_URL?: string;
      }
      • GH_HOST: string
      • Optionalname?: string
      • OptionalWEBHOOK_PROXY_URL?: string

    Returns string

diff --git a/api/13.4.0/functions/views_probot.probotView.html b/api/13.4.0/functions/views_probot.probotView.html new file mode 100644 index 00000000000..77fcebfe125 --- /dev/null +++ b/api/13.4.0/functions/views_probot.probotView.html @@ -0,0 +1,4 @@ +probotView | probot

Function probotView

  • Parameters

    • __namedParameters: {
          description?: string;
          name?: string;
          version?: string;
      }
      • Optionaldescription?: string
      • Optionalname?: string
      • Optionalversion?: string

    Returns string

diff --git a/api/13.4.0/functions/views_setup.setupView.html b/api/13.4.0/functions/views_setup.setupView.html new file mode 100644 index 00000000000..68b5aad8bb3 --- /dev/null +++ b/api/13.4.0/functions/views_setup.setupView.html @@ -0,0 +1,4 @@ +setupView | probot

Function setupView

  • Parameters

    • __namedParameters: {
          createAppUrl: string;
          description?: string;
          manifest: string;
          name?: string;
          version?: string;
      }
      • createAppUrl: string
      • Optionaldescription?: string
      • manifest: string
      • Optionalname?: string
      • Optionalversion?: string

    Returns string

diff --git a/api/13.4.0/functions/views_success.successView.html b/api/13.4.0/functions/views_success.successView.html new file mode 100644 index 00000000000..4dff09275fc --- /dev/null +++ b/api/13.4.0/functions/views_success.successView.html @@ -0,0 +1,4 @@ +successView | probot

Function successView

  • Parameters

    • __namedParameters: {
          name?: string;
      }
      • Optionalname?: string

    Returns string

diff --git a/api/13.4.0/index.html b/api/13.4.0/index.html new file mode 100644 index 00000000000..b33d4c04717 --- /dev/null +++ b/api/13.4.0/index.html @@ -0,0 +1,43 @@ +probot
diff --git a/api/13.4.0/interfaces/helpers_resolve_app_function.ResolveOptions.html b/api/13.4.0/interfaces/helpers_resolve_app_function.ResolveOptions.html new file mode 100644 index 00000000000..4321b908348 --- /dev/null +++ b/api/13.4.0/interfaces/helpers_resolve_app_function.ResolveOptions.html @@ -0,0 +1,6 @@ +ResolveOptions | probot
interface ResolveOptions {
    basedir?: string;
    resolver?: RequireResolve;
}

Properties

Properties

basedir?: string
resolver?: RequireResolve
diff --git a/api/13.4.0/interfaces/helpers_webhook_proxy.WebhookProxyOptions.html b/api/13.4.0/interfaces/helpers_webhook_proxy.WebhookProxyOptions.html new file mode 100644 index 00000000000..a31562cf070 --- /dev/null +++ b/api/13.4.0/interfaces/helpers_webhook_proxy.WebhookProxyOptions.html @@ -0,0 +1,9 @@ +WebhookProxyOptions | probot
interface WebhookProxyOptions {
    fetch?: Function;
    logger: Logger;
    path?: string;
    port?: number;
    url: string;
}

Properties

Properties

fetch?: Function
logger: Logger
path?: string
port?: number
url: string
diff --git a/api/13.4.0/interfaces/types.Options.html b/api/13.4.0/interfaces/types.Options.html new file mode 100644 index 00000000000..3f449e4a8e0 --- /dev/null +++ b/api/13.4.0/interfaces/types.Options.html @@ -0,0 +1,18 @@ +Options | probot

Interface Options

interface Options {
    appId?: string | number;
    baseUrl?: string;
    githubToken?: string;
    host?: string;
    log?: Logger;
    logLevel?:
        | "fatal"
        | "error"
        | "warn"
        | "info"
        | "debug"
        | "trace";
    logMessageKey?: string;
    Octokit?: typeof Octokit & Constructor<{} & {} & RestEndpointMethods & Api & API>;
    port?: number;
    privateKey?: string;
    redisConfig?: string | RedisOptions;
    request?: RequestRequestOptions;
    secret?: string;
    webhookPath?: string;
}

Properties

appId?: string | number
baseUrl?: string
githubToken?: string
host?: string
log?: Logger
logLevel?:
    | "fatal"
    | "error"
    | "warn"
    | "info"
    | "debug"
    | "trace"
logMessageKey?: string
Octokit?: typeof Octokit & Constructor<{} & {} & RestEndpointMethods & Api & API>
port?: number
privateKey?: string
redisConfig?: string | RedisOptions
request?: RequestRequestOptions
secret?: string
webhookPath?: string
diff --git a/api/13.4.0/modules/apps_default.html b/api/13.4.0/modules/apps_default.html new file mode 100644 index 00000000000..30125423653 --- /dev/null +++ b/api/13.4.0/modules/apps_default.html @@ -0,0 +1,5 @@ +apps/default | probot

Module apps/default

Index

Functions

diff --git a/api/13.4.0/modules/apps_setup.html b/api/13.4.0/modules/apps_setup.html new file mode 100644 index 00000000000..3de430993e7 --- /dev/null +++ b/api/13.4.0/modules/apps_setup.html @@ -0,0 +1,5 @@ +apps/setup | probot

Module apps/setup

Index

Functions

diff --git a/api/13.4.0/modules/auth.html b/api/13.4.0/modules/auth.html new file mode 100644 index 00000000000..0876ab018cf --- /dev/null +++ b/api/13.4.0/modules/auth.html @@ -0,0 +1,5 @@ +auth | probot

Module auth

Index

Functions

diff --git a/api/13.4.0/modules/bin_probot.html b/api/13.4.0/modules/bin_probot.html new file mode 100644 index 00000000000..bf1372a2cdb --- /dev/null +++ b/api/13.4.0/modules/bin_probot.html @@ -0,0 +1,4 @@ +bin/probot | probot

Module bin/probot

diff --git a/api/13.4.0/modules/bin_probot_receive.html b/api/13.4.0/modules/bin_probot_receive.html new file mode 100644 index 00000000000..0e4d1ec546b --- /dev/null +++ b/api/13.4.0/modules/bin_probot_receive.html @@ -0,0 +1,4 @@ +bin/probot-receive | probot

Module bin/probot-receive

diff --git a/api/13.4.0/modules/bin_probot_run.html b/api/13.4.0/modules/bin_probot_run.html new file mode 100644 index 00000000000..00e8578e213 --- /dev/null +++ b/api/13.4.0/modules/bin_probot_run.html @@ -0,0 +1,4 @@ +bin/probot-run | probot

Module bin/probot-run

diff --git a/api/13.4.0/modules/bin_read_cli_options.html b/api/13.4.0/modules/bin_read_cli_options.html new file mode 100644 index 00000000000..895be4d91b7 --- /dev/null +++ b/api/13.4.0/modules/bin_read_cli_options.html @@ -0,0 +1,5 @@ +bin/read-cli-options | probot

Module bin/read-cli-options

Index

Functions

diff --git a/api/13.4.0/modules/bin_read_env_options.html b/api/13.4.0/modules/bin_read_env_options.html new file mode 100644 index 00000000000..63ef493dc7d --- /dev/null +++ b/api/13.4.0/modules/bin_read_env_options.html @@ -0,0 +1,5 @@ +bin/read-env-options | probot

Module bin/read-env-options

Index

Functions

diff --git a/api/13.4.0/modules/context.html b/api/13.4.0/modules/context.html new file mode 100644 index 00000000000..bb06f6ca7cd --- /dev/null +++ b/api/13.4.0/modules/context.html @@ -0,0 +1,6 @@ +context | probot

Module context

Index

Classes

Type Aliases

diff --git a/api/13.4.0/modules/create_node_middleware.html b/api/13.4.0/modules/create_node_middleware.html new file mode 100644 index 00000000000..ed3df68a77d --- /dev/null +++ b/api/13.4.0/modules/create_node_middleware.html @@ -0,0 +1,5 @@ +create-node-middleware | probot

Module create-node-middleware

Index

Functions

diff --git a/api/13.4.0/modules/create_probot.html b/api/13.4.0/modules/create_probot.html new file mode 100644 index 00000000000..4625156456f --- /dev/null +++ b/api/13.4.0/modules/create_probot.html @@ -0,0 +1,5 @@ +create-probot | probot

Module create-probot

Index

Functions

diff --git a/api/13.4.0/modules/get_router.html b/api/13.4.0/modules/get_router.html new file mode 100644 index 00000000000..500f824e452 --- /dev/null +++ b/api/13.4.0/modules/get_router.html @@ -0,0 +1,5 @@ +get-router | probot

Module get-router

Index

Functions

diff --git a/api/13.4.0/modules/helpers_get_error_handler.html b/api/13.4.0/modules/helpers_get_error_handler.html new file mode 100644 index 00000000000..09330a0a73b --- /dev/null +++ b/api/13.4.0/modules/helpers_get_error_handler.html @@ -0,0 +1,5 @@ +helpers/get-error-handler | probot

Module helpers/get-error-handler

Index

Functions

diff --git a/api/13.4.0/modules/helpers_get_log.html b/api/13.4.0/modules/helpers_get_log.html new file mode 100644 index 00000000000..ee2c8b17964 --- /dev/null +++ b/api/13.4.0/modules/helpers_get_log.html @@ -0,0 +1,6 @@ +helpers/get-log | probot

Module helpers/get-log

Index

Type Aliases

Functions

diff --git a/api/13.4.0/modules/helpers_is_production.html b/api/13.4.0/modules/helpers_is_production.html new file mode 100644 index 00000000000..da873c17f20 --- /dev/null +++ b/api/13.4.0/modules/helpers_is_production.html @@ -0,0 +1,5 @@ +helpers/is-production | probot

Module helpers/is-production

Index

Functions

diff --git a/api/13.4.0/modules/helpers_is_supported_node_version.html b/api/13.4.0/modules/helpers_is_supported_node_version.html new file mode 100644 index 00000000000..0764660b2d7 --- /dev/null +++ b/api/13.4.0/modules/helpers_is_supported_node_version.html @@ -0,0 +1,5 @@ +helpers/is-supported-node-version | probot
diff --git a/api/13.4.0/modules/helpers_load_package_json.html b/api/13.4.0/modules/helpers_load_package_json.html new file mode 100644 index 00000000000..4cd008efa60 --- /dev/null +++ b/api/13.4.0/modules/helpers_load_package_json.html @@ -0,0 +1,5 @@ +helpers/load-package-json | probot

Module helpers/load-package-json

Index

Functions

diff --git a/api/13.4.0/modules/helpers_rebind_log.html b/api/13.4.0/modules/helpers_rebind_log.html new file mode 100644 index 00000000000..186d268f891 --- /dev/null +++ b/api/13.4.0/modules/helpers_rebind_log.html @@ -0,0 +1,5 @@ +helpers/rebind-log | probot

Module helpers/rebind-log

Index

Functions

diff --git a/api/13.4.0/modules/helpers_resolve_app_function.html b/api/13.4.0/modules/helpers_resolve_app_function.html new file mode 100644 index 00000000000..34da1d5a44f --- /dev/null +++ b/api/13.4.0/modules/helpers_resolve_app_function.html @@ -0,0 +1,6 @@ +helpers/resolve-app-function | probot

Module helpers/resolve-app-function

Index

Interfaces

Functions

diff --git a/api/13.4.0/modules/helpers_webhook_proxy.html b/api/13.4.0/modules/helpers_webhook_proxy.html new file mode 100644 index 00000000000..f9b30820433 --- /dev/null +++ b/api/13.4.0/modules/helpers_webhook_proxy.html @@ -0,0 +1,6 @@ +helpers/webhook-proxy | probot

Module helpers/webhook-proxy

Index

Interfaces

Functions

diff --git a/api/13.4.0/modules/index.html b/api/13.4.0/modules/index.html new file mode 100644 index 00000000000..2422cb2d40c --- /dev/null +++ b/api/13.4.0/modules/index.html @@ -0,0 +1,17 @@ +index | probot

Module index

References

Re-exports ApplicationFunction

NOTE: exported types might change at any point in time

+
Re-exports ApplicationFunctionOptions

NOTE: exported types might change at any point in time

+
Re-exports Context
Re-exports createNodeMiddleware
Re-exports createProbot
Re-exports Options

NOTE: exported types might change at any point in time

+
Re-exports Probot
Re-exports ProbotOctokit
Re-exports run
Re-exports Server
diff --git a/api/13.4.0/modules/manifest_creation.html b/api/13.4.0/modules/manifest_creation.html new file mode 100644 index 00000000000..927a738df24 --- /dev/null +++ b/api/13.4.0/modules/manifest_creation.html @@ -0,0 +1,5 @@ +manifest-creation | probot

Module manifest-creation

Index

Classes

diff --git a/api/13.4.0/modules/octokit_get_authenticated_octokit.html b/api/13.4.0/modules/octokit_get_authenticated_octokit.html new file mode 100644 index 00000000000..802f6f7ab92 --- /dev/null +++ b/api/13.4.0/modules/octokit_get_authenticated_octokit.html @@ -0,0 +1,5 @@ +octokit/get-authenticated-octokit | probot
diff --git a/api/13.4.0/modules/octokit_get_octokit_throttle_options.html b/api/13.4.0/modules/octokit_get_octokit_throttle_options.html new file mode 100644 index 00000000000..830e324c039 --- /dev/null +++ b/api/13.4.0/modules/octokit_get_octokit_throttle_options.html @@ -0,0 +1,5 @@ +octokit/get-octokit-throttle-options | probot
diff --git a/api/13.4.0/modules/octokit_get_probot_octokit_with_defaults.html b/api/13.4.0/modules/octokit_get_probot_octokit_with_defaults.html new file mode 100644 index 00000000000..7a85922a556 --- /dev/null +++ b/api/13.4.0/modules/octokit_get_probot_octokit_with_defaults.html @@ -0,0 +1,5 @@ +octokit/get-probot-octokit-with-defaults | probot
diff --git a/api/13.4.0/modules/octokit_get_webhooks.html b/api/13.4.0/modules/octokit_get_webhooks.html new file mode 100644 index 00000000000..653f63ad715 --- /dev/null +++ b/api/13.4.0/modules/octokit_get_webhooks.html @@ -0,0 +1,5 @@ +octokit/get-webhooks | probot

Module octokit/get-webhooks

Index

Functions

diff --git a/api/13.4.0/modules/octokit_octokit_plugin_probot_request_logging.html b/api/13.4.0/modules/octokit_octokit_plugin_probot_request_logging.html new file mode 100644 index 00000000000..e01c461547d --- /dev/null +++ b/api/13.4.0/modules/octokit_octokit_plugin_probot_request_logging.html @@ -0,0 +1,5 @@ +octokit/octokit-plugin-probot-request-logging | probot
diff --git a/api/13.4.0/modules/octokit_octokit_webhooks_transform.html b/api/13.4.0/modules/octokit_octokit_webhooks_transform.html new file mode 100644 index 00000000000..349c998f3db --- /dev/null +++ b/api/13.4.0/modules/octokit_octokit_webhooks_transform.html @@ -0,0 +1,5 @@ +octokit/octokit-webhooks-transform | probot

Module octokit/octokit-webhooks-transform

Index

Functions

diff --git a/api/13.4.0/modules/octokit_probot_octokit.html b/api/13.4.0/modules/octokit_probot_octokit.html new file mode 100644 index 00000000000..6cc2f270bcd --- /dev/null +++ b/api/13.4.0/modules/octokit_probot_octokit.html @@ -0,0 +1,6 @@ +octokit/probot-octokit | probot

Module octokit/probot-octokit

Index

Type Aliases

Variables

diff --git a/api/13.4.0/modules/probot.html b/api/13.4.0/modules/probot.html new file mode 100644 index 00000000000..19a07026b0d --- /dev/null +++ b/api/13.4.0/modules/probot.html @@ -0,0 +1,6 @@ +probot | probot

Module probot

Index

Classes

Type Aliases

diff --git a/api/13.4.0/modules/run.html b/api/13.4.0/modules/run.html new file mode 100644 index 00000000000..8a772ce9e57 --- /dev/null +++ b/api/13.4.0/modules/run.html @@ -0,0 +1,5 @@ +run | probot

Module run

Index

Functions

run +
diff --git a/api/13.4.0/modules/server_logging_middleware.html b/api/13.4.0/modules/server_logging_middleware.html new file mode 100644 index 00000000000..1e3e6ffdb7f --- /dev/null +++ b/api/13.4.0/modules/server_logging_middleware.html @@ -0,0 +1,5 @@ +server/logging-middleware | probot

Module server/logging-middleware

Index

Functions

diff --git a/api/13.4.0/modules/server_server.html b/api/13.4.0/modules/server_server.html new file mode 100644 index 00000000000..462657fa802 --- /dev/null +++ b/api/13.4.0/modules/server_server.html @@ -0,0 +1,6 @@ +server/server | probot

Module server/server

Index

Classes

Variables

diff --git a/api/13.4.0/modules/types.html b/api/13.4.0/modules/types.html new file mode 100644 index 00000000000..95dca7732d2 --- /dev/null +++ b/api/13.4.0/modules/types.html @@ -0,0 +1,15 @@ +types | probot
diff --git a/api/13.4.0/modules/version.html b/api/13.4.0/modules/version.html new file mode 100644 index 00000000000..c6515d381ae --- /dev/null +++ b/api/13.4.0/modules/version.html @@ -0,0 +1,5 @@ +version | probot

Module version

Index

Variables

diff --git a/api/13.4.0/modules/views_import.html b/api/13.4.0/modules/views_import.html new file mode 100644 index 00000000000..98c6121fde7 --- /dev/null +++ b/api/13.4.0/modules/views_import.html @@ -0,0 +1,5 @@ +views/import | probot

Module views/import

Index

Functions

diff --git a/api/13.4.0/modules/views_probot.html b/api/13.4.0/modules/views_probot.html new file mode 100644 index 00000000000..8b08e21dbfc --- /dev/null +++ b/api/13.4.0/modules/views_probot.html @@ -0,0 +1,5 @@ +views/probot | probot

Module views/probot

Index

Functions

diff --git a/api/13.4.0/modules/views_setup.html b/api/13.4.0/modules/views_setup.html new file mode 100644 index 00000000000..9652decd768 --- /dev/null +++ b/api/13.4.0/modules/views_setup.html @@ -0,0 +1,5 @@ +views/setup | probot

Module views/setup

Index

Functions

diff --git a/api/13.4.0/modules/views_success.html b/api/13.4.0/modules/views_success.html new file mode 100644 index 00000000000..f2a4b28076a --- /dev/null +++ b/api/13.4.0/modules/views_success.html @@ -0,0 +1,5 @@ +views/success | probot

Module views/success

Index

Functions

diff --git a/api/13.4.0/types/context.MergeOptions.html b/api/13.4.0/types/context.MergeOptions.html new file mode 100644 index 00000000000..5f815445b2b --- /dev/null +++ b/api/13.4.0/types/context.MergeOptions.html @@ -0,0 +1,4 @@ +MergeOptions | probot

Type Alias MergeOptions

MergeOptions: merge.Options
diff --git a/api/13.4.0/types/helpers_get_log.GetLogOptions.html b/api/13.4.0/types/helpers_get_log.GetLogOptions.html new file mode 100644 index 00000000000..7c69ddc159e --- /dev/null +++ b/api/13.4.0/types/helpers_get_log.GetLogOptions.html @@ -0,0 +1,4 @@ +GetLogOptions | probot

Type Alias GetLogOptions

GetLogOptions: {
    level?: LogLevel;
    logMessageKey?: string;
} & Options
diff --git a/api/13.4.0/types/octokit_probot_octokit.ProbotOctokit.html b/api/13.4.0/types/octokit_probot_octokit.ProbotOctokit.html new file mode 100644 index 00000000000..56c3e54b4da --- /dev/null +++ b/api/13.4.0/types/octokit_probot_octokit.ProbotOctokit.html @@ -0,0 +1,4 @@ +ProbotOctokit | probot
ProbotOctokit: InstanceType<typeof ProbotOctokit>
diff --git a/api/13.4.0/types/probot.Constructor.html b/api/13.4.0/types/probot.Constructor.html new file mode 100644 index 00000000000..4934c515863 --- /dev/null +++ b/api/13.4.0/types/probot.Constructor.html @@ -0,0 +1,4 @@ +Constructor | probot

Type Alias Constructor<T>

Constructor<T>: (new (...args: any[]) => T)

Type Parameters

  • T = any
diff --git a/api/13.4.0/types/types.ApplicationFunction.html b/api/13.4.0/types/types.ApplicationFunction.html new file mode 100644 index 00000000000..d4c7c9b523a --- /dev/null +++ b/api/13.4.0/types/types.ApplicationFunction.html @@ -0,0 +1,4 @@ +ApplicationFunction | probot

Type Alias ApplicationFunction

ApplicationFunction: ((app: Probot, options: ApplicationFunctionOptions) => void | Promise<void>)
diff --git a/api/13.4.0/types/types.ApplicationFunctionOptions.html b/api/13.4.0/types/types.ApplicationFunctionOptions.html new file mode 100644 index 00000000000..f68ea95d71f --- /dev/null +++ b/api/13.4.0/types/types.ApplicationFunctionOptions.html @@ -0,0 +1,4 @@ +ApplicationFunctionOptions | probot

Type Alias ApplicationFunctionOptions

ApplicationFunctionOptions: {
    cwd?: string;
    getRouter?: ((path?: string) => express.Router);
    [key: string]: unknown;
}
diff --git a/api/13.4.0/types/types.Env.html b/api/13.4.0/types/types.Env.html new file mode 100644 index 00000000000..89ef9bc8e71 --- /dev/null +++ b/api/13.4.0/types/types.Env.html @@ -0,0 +1,4 @@ +Env | probot

Type Alias Env

Env: Record<Uppercase<string>, string>
diff --git a/api/13.4.0/types/types.Manifest.html b/api/13.4.0/types/types.Manifest.html new file mode 100644 index 00000000000..270d64738ec --- /dev/null +++ b/api/13.4.0/types/types.Manifest.html @@ -0,0 +1,16 @@ +Manifest | probot

Type Alias Manifest

Manifest: {
    callback_urls?: string[];
    default_events?: WebhookEvent[];
    default_permissions?: "read-all" | "write-all" | Record<ManifestPermissionScope, ManifestPermissionValue>;
    description?: string;
    hook_attributes?: {
        active?: boolean;
        url: string;
    };
    name?: string;
    public?: boolean;
    redirect_url?: string;
    request_oauth_on_install?: boolean;
    setup_on_update?: boolean;
    setup_url?: string;
    url: string;
}

Type declaration

  • Optionalcallback_urls?: string[]

    A full URL to redirect to after someone authorizes an installation. You can provide up to 10 callback URLs.

    +
  • Optionaldefault_events?: WebhookEvent[]

    The list of events the GitHub App subscribes to.

    +
  • Optionaldefault_permissions?: "read-all" | "write-all" | Record<ManifestPermissionScope, ManifestPermissionValue>

    The set of permissions needed by the GitHub App. The format of the object uses the permission name for the key (for example, issues) and the access type for the value (for example, write).

    +
  • Optionaldescription?: string

    A description of the GitHub App.

    +
  • Optionalhook_attributes?: {
        active?: boolean;
        url: string;
    }

    The configuration of the GitHub App's webhook.

    +
    • Optionalactive?: boolean
    • url: string
  • Optionalname?: string

    The name of the GitHub App.

    +
  • Optionalpublic?: boolean

    Set to true when your GitHub App is available to the public or false when it is only accessible to the owner of the app.

    +
  • Optionalredirect_url?: string

    The full URL to redirect to after a user initiates the registration of a GitHub App from a manifest.

    +
  • Optionalrequest_oauth_on_install?: boolean

    Set to true to request the user to authorize the GitHub App, after the GitHub App is installed.

    +
  • Optionalsetup_on_update?: boolean

    Set to true to redirect users to the setup_url after they update your GitHub App installation.

    +
  • Optionalsetup_url?: string

    A full URL to redirect users to after they install your GitHub App if additional setup is required.

    +
  • url: string

    Required. The homepage of your GitHub App.

    +
diff --git a/api/13.4.0/types/types.MiddlewareOptions.html b/api/13.4.0/types/types.MiddlewareOptions.html new file mode 100644 index 00000000000..7a325bfaa02 --- /dev/null +++ b/api/13.4.0/types/types.MiddlewareOptions.html @@ -0,0 +1,4 @@ +MiddlewareOptions | probot

Type Alias MiddlewareOptions

MiddlewareOptions: {
    probot: Probot;
    webhooksPath?: string;
    [key: string]: unknown;
}
diff --git a/api/13.4.0/types/types.OctokitOptions.html b/api/13.4.0/types/types.OctokitOptions.html new file mode 100644 index 00000000000..1ab1577e1cf --- /dev/null +++ b/api/13.4.0/types/types.OctokitOptions.html @@ -0,0 +1,4 @@ +OctokitOptions | probot

Type Alias OctokitOptions

OctokitOptions: NonNullable<ConstructorParameters<typeof ProbotOctokit>[0]>
diff --git a/api/13.4.0/types/types.PackageJson.html b/api/13.4.0/types/types.PackageJson.html new file mode 100644 index 00000000000..3d1f553097c --- /dev/null +++ b/api/13.4.0/types/types.PackageJson.html @@ -0,0 +1,4 @@ +PackageJson | probot

Type Alias PackageJson

PackageJson: {
    description?: string;
    engines?: {
        [key: string]: string;
    };
    homepage?: string;
    name?: string;
    repository?: string;
    version?: string;
}
diff --git a/api/13.4.0/types/types.ProbotWebhooks.html b/api/13.4.0/types/types.ProbotWebhooks.html new file mode 100644 index 00000000000..94e06255203 --- /dev/null +++ b/api/13.4.0/types/types.ProbotWebhooks.html @@ -0,0 +1,4 @@ +ProbotWebhooks | probot

Type Alias ProbotWebhooks

ProbotWebhooks: Webhooks<SimplifiedObject>
diff --git a/api/13.4.0/types/types.ServerOptions.html b/api/13.4.0/types/types.ServerOptions.html new file mode 100644 index 00000000000..301dea1a9e7 --- /dev/null +++ b/api/13.4.0/types/types.ServerOptions.html @@ -0,0 +1,4 @@ +ServerOptions | probot

Type Alias ServerOptions

ServerOptions: {
    cwd?: string;
    host?: string;
    log?: Logger;
    loggingOptions?: LoggingOptions;
    port?: number;
    Probot: typeof Probot;
    request?: RequestRequestOptions;
    webhookPath?: string;
    webhookProxy?: string;
}
diff --git a/api/13.4.0/types/types.State.html b/api/13.4.0/types/types.State.html new file mode 100644 index 00000000000..00141f40e7b --- /dev/null +++ b/api/13.4.0/types/types.State.html @@ -0,0 +1,4 @@ +State | probot

Type Alias State

State: {
    appId?: number;
    baseUrl?: string;
    cache?: LRUCache<number, string>;
    githubToken?: string;
    host?: string;
    log: Logger;
    octokit: ProbotOctokit;
    Octokit: typeof ProbotOctokit;
    port?: number;
    privateKey?: string;
    request?: RequestRequestOptions;
    webhookPath: string;
    webhooks: {
        secret?: string;
    };
}
diff --git a/api/13.4.0/variables/octokit_probot_octokit.ProbotOctokit-1.html b/api/13.4.0/variables/octokit_probot_octokit.ProbotOctokit-1.html new file mode 100644 index 00000000000..05bc6b4fc98 --- /dev/null +++ b/api/13.4.0/variables/octokit_probot_octokit.ProbotOctokit-1.html @@ -0,0 +1,4 @@ +ProbotOctokit | probot
ProbotOctokit: typeof Octokit & Constructor<{} & {} & RestEndpointMethods & Api & API> = ...
diff --git a/api/13.4.0/variables/server_server.defaultWebhooksPath.html b/api/13.4.0/variables/server_server.defaultWebhooksPath.html new file mode 100644 index 00000000000..c5906ddd93d --- /dev/null +++ b/api/13.4.0/variables/server_server.defaultWebhooksPath.html @@ -0,0 +1,4 @@ +defaultWebhooksPath | probot

Variable defaultWebhooksPathConst

defaultWebhooksPath = "/api/github/webhooks"
diff --git a/api/13.4.0/variables/version.VERSION.html b/api/13.4.0/variables/version.VERSION.html new file mode 100644 index 00000000000..fa6405af54b --- /dev/null +++ b/api/13.4.0/variables/version.VERSION.html @@ -0,0 +1,4 @@ +VERSION | probot

Variable VERSIONConst

VERSION = "0.0.0-development"
diff --git a/api/latest b/api/latest index 3ab7778e58c..a3598784423 120000 --- a/api/latest +++ b/api/latest @@ -1 +1 @@ -13.3.10 \ No newline at end of file +13.4.0 \ No newline at end of file