Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

chore(deps): update dependency typescript to v5 (#3387)

renovate[bot]1119cd7250de
diff --git a/docs/api/index.html b/docs/api/index.html
index 198329917c..b3d25007d8 100644
--- a/docs/api/index.html
+++ b/docs/api/index.html
@@ -2442,7 +2442,7 @@ data-styled.g138[id="sc-iIgjPs"]{content:"jIUTls,"}/*!sc*/
</div></div><div><h3 class="sc-fIxmyt DvFer">Responses</h3><div><button class="sc-htmcrh lbYftx"><svg class="sc-dIsUp dqYXmg" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-fWWYYk cMoEZ">200<!-- --> </strong><span class="sc-jcwpoC eDjFAZ"></span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy gBjRyf gcushC"><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-cxNHIi gxohHo" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-256" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-257" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-257" aria-labelledby="react-tabs-256"><div><div class="sc-Arkif jojbRz"><span class="sc-cOifOu hlhNtL">Content type</span><div class="sc-bBjRSN kQSIAz">application/json</div></div><div class="sc-jgPyTC dSaTNC"><div class="sc-jNnpgg esZIbL"><div class="sc-giAqHp hMPeqJ"><button><div class="sc-carFqZ UksDl">Copy</div></button></div><div class="sc-iJCRrE jCdxGr sc-dPaNzc gyljjx"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"lastConnectTime"</span>: <span class="token string">&quot;2020-10-03T21:36:22-05:00&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"lastDisconnectTime"</span>: <span class="token keyword">null</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"online"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"overallMaxViewerCount"</span>: <span class="token number">420</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"sessionMaxViewerCount"</span>: <span class="token number">12</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"viewerCount"</span>: <span class="token number">7</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Server/paths/~1api~1customjavascript/get" data-section-id="tag/Server/paths/~1api~1customjavascript/get" class="sc-eCApnc liLqNm"><div class="sc-iCoGMd gLxhOh"><div class="sc-hKFxyN juinod"><h2 class="sc-pNWdM eftmgB"><a class="sc-crzoAE iUxAWq" href="#tag/Server/paths/~1api~1customjavascript/get" aria-label="tag/Server/paths/~1api~1customjavascript/get"></a>Custom Javascript to execute.<!-- --> </h2><div class="sc-EZqKI fWsqvQ"><button class="sc-eEVmNe hyDbyC"><span type="get" class="sc-fmdNqN ihNycv http-verb get">get</span><span class="sc-jXcxbT fCEUju">/api/customjavascript</span><svg class="sc-dIsUp izTTdU" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ljsmAU flIrdF"><div class="sc-jlZJtj fQkroN"><div class="sc-iJCRrE sc-ciSkZP jCdxGr lhENGb"></div><div tabindex="0" role="button"><div class="sc-dTSzeu dfUAUz"><span></span>/api/customjavascript</div></div></div></div></div><div class="sc-iGkqmO hCTIhr"><div class="sc-iJCRrE sc-ciSkZP jCdxGr QGruV"><p>Returns custom Javascript that was set in the Owncast admin to be run in the Owncast frontend.</p>
</div></div><div><h3 class="sc-fIxmyt DvFer">Responses</h3><div><button class="sc-htmcrh lbYftx"><svg class="sc-dIsUp dqYXmg" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-fWWYYk cMoEZ">200<!-- --> </strong><span class="sc-jcwpoC eDjFAZ"></span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy gBjRyf gcushC"><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-cxNHIi gxohHo" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-258" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-259" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-259" aria-labelledby="react-tabs-258"><div><div class="sc-Arkif jojbRz"><span class="sc-cOifOu hlhNtL">Content type</span><div class="sc-bBjRSN kQSIAz">application/javascript</div></div><div class="sc-jgPyTC dSaTNC"><div class="sc-ezzafa kiAqTA"><div class="sc-giAqHp hMPeqJ"><button><div class="sc-carFqZ UksDl">Copy</div></button></div><pre class="sc-bYwzuL sc-kLojOw eMUKnN bOBJeo">console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span><span class="token string">"Hello World"</span><span class="token punctuation">)</span><span class="token punctuation">;</span></pre></div></div></div></div></div></div></div></div></div><div id="tag/Server/paths/~1api~1yp/get" data-section-id="tag/Server/paths/~1api~1yp/get" class="sc-eCApnc liLqNm"><div class="sc-iCoGMd gLxhOh"><div class="sc-hKFxyN juinod"><h2 class="sc-pNWdM eftmgB"><a class="sc-crzoAE iUxAWq" href="#tag/Server/paths/~1api~1yp/get" aria-label="tag/Server/paths/~1api~1yp/get"></a>Yellow Pages Information<!-- --> </h2><div class="sc-EZqKI fWsqvQ"><button class="sc-eEVmNe hyDbyC"><span type="get" class="sc-fmdNqN ihNycv http-verb get">get</span><span class="sc-jXcxbT fCEUju">/api/yp</span><svg class="sc-dIsUp izTTdU" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ljsmAU flIrdF"><div class="sc-jlZJtj fQkroN"><div class="sc-iJCRrE sc-ciSkZP jCdxGr lhENGb"></div><div tabindex="0" role="button"><div class="sc-dTSzeu dfUAUz"><span></span>/api/yp</div></div></div></div></div><div class="sc-iGkqmO hCTIhr"><div class="sc-iJCRrE sc-ciSkZP jCdxGr QGruV"><p>Information to be used in the Yellow Pages service, a global directory of Owncast servers.</p>
</div></div><div><h3 class="sc-fIxmyt DvFer">Responses</h3><div><button class="sc-htmcrh lbYftx"><svg class="sc-dIsUp dqYXmg" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-fWWYYk cMoEZ">200<!-- --> </strong><span class="sc-jcwpoC eDjFAZ"></span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy gBjRyf gcushC"><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-cxNHIi gxohHo" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-260" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-261" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-261" aria-labelledby="react-tabs-260"><div><div class="sc-Arkif jojbRz"><span class="sc-cOifOu hlhNtL">Content type</span><div class="sc-bBjRSN kQSIAz">application/json</div></div><div class="sc-jgPyTC dSaTNC"><div class="sc-jNnpgg esZIbL"><div class="sc-giAqHp hMPeqJ"><button><div class="sc-carFqZ UksDl">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iJCRrE jCdxGr sc-dPaNzc gyljjx"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"description"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"logo"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"nsfw"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"tags"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">&quot;string&quot;</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"online"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"viewerCount"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"overallMaxViewerCount"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"sessionMaxViewerCount"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"lastConnectTime"</span>: <span class="token string">&quot;2019-08-24T14:15:22Z&quot;</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="/paths/~1api~1followers/get" data-section-id="/paths/~1api~1followers/get" class="sc-eCApnc liLqNm"><div class="sc-iCoGMd gLxhOh"><div class="sc-hKFxyN juinod"><h2 class="sc-pNWdM eftmgB"><a class="sc-crzoAE iUxAWq" href="#/paths/~1api~1followers/get" aria-label="/paths/~1api~1followers/get"></a>Get the public followers of this instance<!-- --> </h2><div class="sc-EZqKI fWsqvQ"><button class="sc-eEVmNe hyDbyC"><span type="get" class="sc-fmdNqN ihNycv http-verb get">get</span><span class="sc-jXcxbT fCEUju">/api/followers</span><svg class="sc-dIsUp izTTdU" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ljsmAU flIrdF"><div class="sc-jlZJtj fQkroN"><div class="sc-iJCRrE sc-ciSkZP jCdxGr lhENGb"></div><div tabindex="0" role="button"><div class="sc-dTSzeu dfUAUz"><span></span>/api/followers</div></div></div></div></div><div><h3 class="sc-fIxmyt DvFer">Responses</h3><div><button class="sc-htmcrh lbYftx"><svg class="sc-dIsUp dqYXmg" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-fWWYYk cMoEZ">200<!-- --> </strong><span class="sc-jcwpoC eDjFAZ"><p>Followers</p>
-</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy gBjRyf gcushC"><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-cxNHIi gxohHo" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-262" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-263" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-263" aria-labelledby="react-tabs-262"><div><div class="sc-Arkif jojbRz"><span class="sc-cOifOu hlhNtL">Content type</span><div class="sc-bBjRSN kQSIAz">application/json</div></div><div class="sc-jgPyTC dSaTNC"><div class="sc-jNnpgg esZIbL"><div class="sc-giAqHp hMPeqJ"><button><div class="sc-carFqZ UksDl">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iJCRrE jCdxGr sc-dPaNzc gyljjx"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"link"</span>: <span class="token string">&quot;</span><a href="https://mastodon.cloud/users/gabektest">https://mastodon.cloud/users/gabektest</a><span class="token string">&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">&quot;John Smith&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"image"</span>: <span class="token string">&quot;</span><a href="http://mastodon.cloud/users/gabektest/avatar.png">http://mastodon.cloud/users/gabektest/avatar.png</a><span class="token string">&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"timestamp"</span>: <span class="token string">&quot;2019-08-24T14:15:22Z&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"disabledAt"</span>: <span class="token string">&quot;2019-08-24T14:15:22Z&quot;</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="/paths/~1api~1remotefollow/post" data-section-id="/paths/~1api~1remotefollow/post" class="sc-eCApnc liLqNm"><div class="sc-iCoGMd gLxhOh"><div class="sc-hKFxyN juinod"><h2 class="sc-pNWdM eftmgB"><a class="sc-crzoAE iUxAWq" href="#/paths/~1api~1remotefollow/post" aria-label="/paths/~1api~1remotefollow/post"></a>Return the information needed to redirect a user to a fediverse server to perform a remote follow action.<!-- --> </h2><div class="sc-EZqKI fWsqvQ"><button class="sc-eEVmNe hyDbyC"><span type="post" class="sc-fmdNqN ldMUmp http-verb post">post</span><span class="sc-jXcxbT fCEUju">/api/remotefollow</span><svg class="sc-dIsUp izTTdU" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ljsmAU flIrdF"><div class="sc-jlZJtj fQkroN"><div class="sc-iJCRrE sc-ciSkZP jCdxGr lhENGb"></div><div tabindex="0" role="button"><div class="sc-dTSzeu dfUAUz"><span></span>/api/remotefollow</div></div></div></div></div><h5 class="sc-iqAclL eONCmm">Request Body schema: <span class="sc-cBoqAE eKyrDP">application/json</span></h5><div class="sc-iJCRrE sc-ciSkZP jCdxGr QGruV"></div><table class="sc-hHEiqL VCQHZ"><tbody><tr class="last "><td class="sc-hBMUJo sc-fFSPTT iwcKgn cAqMTE" kind="field" title="account"><span class="sc-iemWCZ bcnRwz"></span><span class="property-name">account</span></td><td class="sc-bkbkJK ctPuOP"><div><div><span class="sc-laZMeE sc-iNiQyp jWaWWE jrLlAa"></span><span class="sc-laZMeE sc-jffHpj jWaWWE cThoNa">string</span></div> <div><div class="sc-iJCRrE sc-ciSkZP jCdxGr lhENGb"><p>The fediverse <a href="mailto:&#117;&#115;&#101;&#x72;&#110;&#97;&#109;&#101;&#64;&#x73;&#101;&#114;&#x76;&#x65;&#114;&#46;&#116;&#x6c;&#x64;">&#117;&#115;&#101;&#x72;&#110;&#97;&#109;&#101;&#64;&#x73;&#101;&#114;&#x76;&#x65;&#114;&#46;&#116;&#x6c;&#x64;</a> account that wants to perform the remote follow action.</p>
+</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy gBjRyf gcushC"><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-cxNHIi gxohHo" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-262" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-263" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-263" aria-labelledby="react-tabs-262"><div><div class="sc-Arkif jojbRz"><span class="sc-cOifOu hlhNtL">Content type</span><div class="sc-bBjRSN kQSIAz">application/json</div></div><div class="sc-jgPyTC dSaTNC"><div class="sc-jNnpgg esZIbL"><div class="sc-giAqHp hMPeqJ"><button><div class="sc-carFqZ UksDl">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iJCRrE jCdxGr sc-dPaNzc gyljjx"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"link"</span>: <span class="token string">&quot;</span><a href="https://mastodon.cloud/users/gabektest">https://mastodon.cloud/users/gabektest</a><span class="token string">&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">&quot;John Smith&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"image"</span>: <span class="token string">&quot;</span><a href="http://mastodon.cloud/users/gabektest/avatar.png">http://mastodon.cloud/users/gabektest/avatar.png</a><span class="token string">&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"timestamp"</span>: <span class="token string">&quot;2019-08-24T14:15:22Z&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"disabledAt"</span>: <span class="token string">&quot;2019-08-24T14:15:22Z&quot;</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="/paths/~1api~1remotefollow/post" data-section-id="/paths/~1api~1remotefollow/post" class="sc-eCApnc liLqNm"><div class="sc-iCoGMd gLxhOh"><div class="sc-hKFxyN juinod"><h2 class="sc-pNWdM eftmgB"><a class="sc-crzoAE iUxAWq" href="#/paths/~1api~1remotefollow/post" aria-label="/paths/~1api~1remotefollow/post"></a>Return the information needed to redirect a user to a fediverse server to perform a remote follow action.<!-- --> </h2><div class="sc-EZqKI fWsqvQ"><button class="sc-eEVmNe hyDbyC"><span type="post" class="sc-fmdNqN ldMUmp http-verb post">post</span><span class="sc-jXcxbT fCEUju">/api/remotefollow</span><svg class="sc-dIsUp izTTdU" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ljsmAU flIrdF"><div class="sc-jlZJtj fQkroN"><div class="sc-iJCRrE sc-ciSkZP jCdxGr lhENGb"></div><div tabindex="0" role="button"><div class="sc-dTSzeu dfUAUz"><span></span>/api/remotefollow</div></div></div></div></div><h5 class="sc-iqAclL eONCmm">Request Body schema: <span class="sc-cBoqAE eKyrDP">application/json</span></h5><div class="sc-iJCRrE sc-ciSkZP jCdxGr QGruV"></div><table class="sc-hHEiqL VCQHZ"><tbody><tr class="last "><td class="sc-hBMUJo sc-fFSPTT iwcKgn cAqMTE" kind="field" title="account"><span class="sc-iemWCZ bcnRwz"></span><span class="property-name">account</span></td><td class="sc-bkbkJK ctPuOP"><div><div><span class="sc-laZMeE sc-iNiQyp jWaWWE jrLlAa"></span><span class="sc-laZMeE sc-jffHpj jWaWWE cThoNa">string</span></div> <div><div class="sc-iJCRrE sc-ciSkZP jCdxGr lhENGb"><p>The fediverse <a href="mailto:&#117;&#x73;&#101;&#114;&#110;&#x61;&#x6d;&#101;&#64;&#x73;&#x65;&#114;&#118;&#101;&#114;&#46;&#x74;&#x6c;&#x64;">&#117;&#x73;&#101;&#114;&#110;&#x61;&#x6d;&#101;&#64;&#x73;&#x65;&#114;&#118;&#101;&#114;&#46;&#x74;&#x6c;&#x64;</a> account that wants to perform the remote follow action.</p>
</div></div></div></td></tr></tbody></table><div><h3 class="sc-fIxmyt DvFer">Responses</h3><div><button class="sc-htmcrh lbYftx"><svg class="sc-dIsUp dqYXmg" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-fWWYYk cMoEZ">200<!-- --> </strong><span class="sc-jcwpoC eDjFAZ"><p>Remote follow redirect details</p>
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy gBjRyf gcushC"><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Request samples<!-- --> </h3><div class="sc-cxNHIi gxohHo" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-264" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-265" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-265" aria-labelledby="react-tabs-264"><div><div class="sc-Arkif jojbRz"><span class="sc-cOifOu hlhNtL">Content type</span><div class="sc-bBjRSN kQSIAz">application/json</div></div><div class="sc-jgPyTC dSaTNC"><div class="sc-jNnpgg esZIbL"><div class="sc-giAqHp hMPeqJ"><button><div class="sc-carFqZ UksDl">Copy</div></button></div><div class="sc-iJCRrE jCdxGr sc-dPaNzc gyljjx"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account"</span>: <span class="token string">&quot;[email protected]&quot;</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-cxNHIi gxohHo" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-266" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-267" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-267" aria-labelledby="react-tabs-266"><div><div class="sc-Arkif jojbRz"><span class="sc-cOifOu hlhNtL">Content type</span><div class="sc-bBjRSN kQSIAz">application/json</div></div><div class="sc-jgPyTC dSaTNC"><div class="sc-jNnpgg esZIbL"><div class="sc-giAqHp hMPeqJ"><button><div class="sc-carFqZ UksDl">Copy</div></button></div><div class="sc-iJCRrE jCdxGr sc-dPaNzc gyljjx"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"redirectUrl"</span>: <span class="token string">&quot;</span><a href="https://fediverse.biz/authorize_interaction?uri=https://my.owncast.server/federation/user/streamer">https://fediverse.biz/authorize_interaction?uri=https://my.owncast.server/federation/user/streamer</a><span class="token string">&quot;</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div></div><div class="sc-ellfGf bgakXB"></div></div></div>
<script>
diff --git a/web/package-lock.json b/web/package-lock.json
index fe22fd2581..6a6683b2a9 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -122,7 +122,7 @@
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^11.0.0",
"ts-jest": "^29.1.0",
- "typescript": "4.9.5"
+ "typescript": "5.2.2"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@@ -2621,246 +2621,6 @@
"node": ">=4"
}
},
- "node_modules/@esbuild/android-arm": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
- "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/android-arm64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
- "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/android-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
- "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/darwin-arm64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
- "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/darwin-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
- "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/freebsd-arm64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
- "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/freebsd-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
- "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-arm": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
- "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-arm64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
- "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-ia32": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
- "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-loong64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
- "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-mips64el": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
- "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
- "cpu": [
- "mips64el"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-ppc64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
- "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-riscv64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
- "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-s390x": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
- "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
- "cpu": [
- "s390x"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
"node_modules/@esbuild/linux-x64": {
"version": "0.18.20",
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
@@ -2877,102 +2637,6 @@
"node": ">=12"
}
},
- "node_modules/@esbuild/netbsd-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
- "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "netbsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/openbsd-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
- "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "openbsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/sunos-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
- "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "sunos"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/win32-arm64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
- "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/win32-ia32": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
- "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/win32-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
- "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=12"
- }
- },
"node_modules/@eslint-community/eslint-utils": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
@@ -4366,66 +4030,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/@next/swc-darwin-arm64": {
- "version": "13.5.6",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.5.6.tgz",
- "integrity": "sha512-5nvXMzKtZfvcu4BhtV0KH1oGv4XEW+B+jOfmBdpFI3C7FrB/MfujRpWYSBBO64+qbW8pkZiSyQv9eiwnn5VIQA==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-darwin-x64": {
- "version": "13.5.6",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.5.6.tgz",
- "integrity": "sha512-6cgBfxg98oOCSr4BckWjLLgiVwlL3vlLj8hXg2b+nDgm4bC/qVXXLfpLB9FHdoDu4057hzywbxKvmYGmi7yUzA==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-linux-arm64-gnu": {
- "version": "13.5.6",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.5.6.tgz",
- "integrity": "sha512-txagBbj1e1w47YQjcKgSU4rRVQ7uF29YpnlHV5xuVUsgCUf2FmyfJ3CPjZUvpIeXCJAoMCFAoGnbtX86BK7+sg==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-linux-arm64-musl": {
- "version": "13.5.6",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.5.6.tgz",
- "integrity": "sha512-cGd+H8amifT86ZldVJtAKDxUqeFyLWW+v2NlBULnLAdWsiuuN8TuhVBt8ZNpCqcAuoruoSWynvMWixTFcroq+Q==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
"node_modules/@next/swc-linux-x64-gnu": {
"version": "13.5.6",
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.5.6.tgz",
@@ -4456,51 +4060,6 @@
"node": ">= 10"
}
},
- "node_modules/@next/swc-win32-arm64-msvc": {
- "version": "13.5.6",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.5.6.tgz",
- "integrity": "sha512-aFv1ejfkbS7PUa1qVPwzDHjQWQtknzAZWGTKYIAaS4NMtBlk3VyA6AYn593pqNanlicewqyl2jUhQAaFV/qXsg==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-win32-ia32-msvc": {
- "version": "13.5.6",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.5.6.tgz",
- "integrity": "sha512-XqqpHgEIlBHvzwG8sp/JXMFkLAfGLqkbVsyN+/Ih1mR8INb6YCc2x/Mbwi6hsAgUnqQztz8cvEbHJUbSl7RHDg==",
- "cpu": [
- "ia32"
- ],
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-win32-x64-msvc": {
- "version": "13.5.6",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.5.6.tgz",
- "integrity": "sha512-Cqfe1YmOS7k+5mGu92nl5ULkzpKuxJrP3+4AEuPmrpFZ3BHxTY3TnHmU1On3bFmFFs6FbTcdF58CCUProGpIGQ==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -13652,86 +13211,6 @@
}
}
},
- "node_modules/@swc/core-darwin-arm64": {
- "version": "1.3.95",
- "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.95.tgz",
- "integrity": "sha512-VAuBAP3MNetO/yBIBzvorUXq7lUBwhfpJxYViSxyluMwtoQDhE/XWN598TWMwMl1ZuImb56d7eUsuFdjgY7pJw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@swc/core-darwin-x64": {
- "version": "1.3.95",
- "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.95.tgz",
- "integrity": "sha512-20vF2rvUsN98zGLZc+dsEdHvLoCuiYq/1B+TDeE4oolgTFDmI1jKO+m44PzWjYtKGU9QR95sZ6r/uec0QC5O4Q==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@swc/core-linux-arm-gnueabihf": {
- "version": "1.3.95",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.95.tgz",
- "integrity": "sha512-oEudEM8PST1MRNGs+zu0cx5i9uP8TsLE4/L9HHrS07Ck0RJ3DCj3O2fU832nmLe2QxnAGPwBpSO9FntLfOiWEQ==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@swc/core-linux-arm64-gnu": {
- "version": "1.3.95",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.95.tgz",
- "integrity": "sha512-pIhFI+cuC1aYg+0NAPxwT/VRb32f2ia8oGxUjQR6aJg65gLkUYQzdwuUmpMtFR2WVf7WVFYxUnjo4UyMuyh3ng==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@swc/core-linux-arm64-musl": {
- "version": "1.3.95",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.95.tgz",
- "integrity": "sha512-ZpbTr+QZDT4OPJfjPAmScqdKKaT+wGurvMU5AhxLaf85DuL8HwUwwlL0n1oLieLc47DwIJEMuKQkYhXMqmJHlg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/@swc/core-linux-x64-gnu": {
"version": "1.3.95",
"resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.95.tgz",
@@ -13764,54 +13243,6 @@
"node": ">=10"
}
},
- "node_modules/@swc/core-win32-arm64-msvc": {
- "version": "1.3.95",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.95.tgz",
- "integrity": "sha512-YaP4x/aZbUyNdqCBpC2zL8b8n58MEpOUpmOIZK6G1SxGi+2ENht7gs7+iXpWPc0sy7X3YPKmSWMAuui0h8lgAA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@swc/core-win32-ia32-msvc": {
- "version": "1.3.95",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.95.tgz",
- "integrity": "sha512-w0u3HI916zT4BC/57gOd+AwAEjXeUlQbGJ9H4p/gzs1zkSHtoDQghVUNy3n/ZKp9KFod/95cA8mbVF9t1+6epQ==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@swc/core-win32-x64-msvc": {
- "version": "1.3.95",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.95.tgz",
- "integrity": "sha512-5RGnMt0S6gg4Gc6QtPUJ3Qs9Un4sKqccEzgH/tj7V/DVTJwKdnBKxFZfgQ34OR2Zpz7zGOn889xwsFVXspVWNA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/@swc/counter": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.2.tgz",
@@ -22205,19 +21636,6 @@
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
},
- "node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "hasInstallScript": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
- }
- },
"node_modules/function-bind": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
@@ -27208,19 +26626,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/knip/node_modules/typescript": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
- "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
- "dev": true,
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
- },
- "engines": {
- "node": ">=14.17"
- }
- },
"node_modules/known-css-properties": {
"version": "0.29.0",
"resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.29.0.tgz",
@@ -40822,16 +40227,16 @@
"dev": true
},
"node_modules/typescript": {
- "version": "4.9.5",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz",
- "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==",
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
+ "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
- "node": ">=4.2.0"
+ "node": ">=14.17"
}
},
"node_modules/ua-parser-js": {
@@ -42643,6 +42048,111 @@
"peerDependencies": {
"zod": "^3.18.0"
}
+ },
+ "node_modules/@next/swc-darwin-arm64": {
+ "version": "13.5.6",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.5.6.tgz",
+ "integrity": "sha512-5nvXMzKtZfvcu4BhtV0KH1oGv4XEW+B+jOfmBdpFI3C7FrB/MfujRpWYSBBO64+qbW8pkZiSyQv9eiwnn5VIQA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-darwin-x64": {
+ "version": "13.5.6",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.5.6.tgz",
+ "integrity": "sha512-6cgBfxg98oOCSr4BckWjLLgiVwlL3vlLj8hXg2b+nDgm4bC/qVXXLfpLB9FHdoDu4057hzywbxKvmYGmi7yUzA==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-linux-arm64-gnu": {
+ "version": "13.5.6",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.5.6.tgz",
+ "integrity": "sha512-txagBbj1e1w47YQjcKgSU4rRVQ7uF29YpnlHV5xuVUsgCUf2FmyfJ3CPjZUvpIeXCJAoMCFAoGnbtX86BK7+sg==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-linux-arm64-musl": {
+ "version": "13.5.6",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.5.6.tgz",
+ "integrity": "sha512-cGd+H8amifT86ZldVJtAKDxUqeFyLWW+v2NlBULnLAdWsiuuN8TuhVBt8ZNpCqcAuoruoSWynvMWixTFcroq+Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-win32-arm64-msvc": {
+ "version": "13.5.6",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.5.6.tgz",
+ "integrity": "sha512-aFv1ejfkbS7PUa1qVPwzDHjQWQtknzAZWGTKYIAaS4NMtBlk3VyA6AYn593pqNanlicewqyl2jUhQAaFV/qXsg==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-win32-ia32-msvc": {
+ "version": "13.5.6",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.5.6.tgz",
+ "integrity": "sha512-XqqpHgEIlBHvzwG8sp/JXMFkLAfGLqkbVsyN+/Ih1mR8INb6YCc2x/Mbwi6hsAgUnqQztz8cvEbHJUbSl7RHDg==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-win32-x64-msvc": {
+ "version": "13.5.6",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.5.6.tgz",
+ "integrity": "sha512-Cqfe1YmOS7k+5mGu92nl5ULkzpKuxJrP3+4AEuPmrpFZ3BHxTY3TnHmU1On3bFmFFs6FbTcdF58CCUProGpIGQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
}
}
}
diff --git a/web/package.json b/web/package.json
index 5382dd4e34..a54e9f67c7 100644
--- a/web/package.json
+++ b/web/package.json
@@ -1,133 +1,133 @@
{
- "name": "owncast-web",
- "version": "0.1.0",
- "private": true,
- "scripts": {
- "dev": "next dev",
- "build": "next build && next export",
- "start": "next start",
- "lint": "eslint --fix --ext .js,.ts,.tsx types/ pages/ components/ stories/",
- "storybook": "storybook dev -p 6006",
- "build-storybook": "storybook build",
- "build-styles": "cd ./style-definitions && style-dictionary build && ./build.sh && cd -",
- "test": "jest",
- "format": "prettier --write **/*.{js,ts,jsx,tsx,css,md}"
- },
- "dependencies": {
- "@ant-design/icons": "4.8.1",
- "@codemirror/lang-css": "6.2.1",
- "@codemirror/lang-html": "^6.4.2",
- "@codemirror/lang-javascript": "^6.1.2",
- "@codemirror/lang-markdown": "6.2.2",
- "@codemirror/language-data": "6.3.1",
- "@fontsource/inter": "^5.0.0",
- "@fontsource/poppins": "5.0.8",
- "@next/bundle-analyzer": "^13.1.1",
- "@uiw/codemirror-theme-bbedit": "4.21.20",
- "@uiw/react-codemirror": "4.21.20",
- "@xstate/react": "3.2.2",
- "antd": "4.24.14",
- "autoprefixer": "^10.4.14",
- "chart.js": "^4.2.0",
- "classnames": "2.3.2",
- "date-fns": "^2.29.3",
- "graphemer": "^1.4.0",
- "interweave": "^13.0.0",
- "interweave-autolink": "^5.1.0",
- "lodash": "4.17.21",
- "next": "13.5.6",
- "next-pwa": "^5.6.0",
- "next-with-less": "3.0.1",
- "picmo": "5.8.5",
- "postcss-flexbugs-fixes": "5.0.2",
- "react": "18.2.0",
- "react-chartjs-2": "^5.2.0",
- "react-dom": "18.2.0",
- "react-error-boundary": "^4.0.0",
- "react-hotkeys-hook": "4.4.1",
- "react-linkify": "1.0.0-alpha",
- "react-markdown": "9.0.0",
- "react-virtuoso": "4.6.2",
- "recoil": "0.7.7",
- "regexpu-core": "^5.3.2",
- "sanitize-html": "^2.11.0",
- "sharp": "0.32.6",
- "ua-parser-js": "1.0.36",
- "video.js": "^8.3.0",
- "workbox-precaching": "^7.0.0",
- "workbox-window": "^7.0.0",
- "xstate": "4.38.2",
- "yaml": "2.3.3"
- },
- "devDependencies": {
- "@babel/core": "7.23.2",
- "@mdx-js/react": "2.3.0",
- "@storybook/addon-a11y": "7.5.1",
- "@storybook/addon-actions": "7.5.1",
- "@storybook/addon-docs": "7.5.1",
- "@storybook/addon-essentials": "7.5.1",
- "@storybook/addon-links": "7.5.1",
- "@storybook/addon-mdx-gfm": "^7.5.1",
- "@storybook/addon-postcss": "2.0.0",
- "@storybook/addon-styling-webpack": "^0.0.5",
- "@storybook/addon-viewport": "7.5.1",
- "@storybook/cli": "7.5.1",
- "@storybook/mdx2-csf": "1.1.0",
- "@storybook/nextjs": "^7.5.1",
- "@storybook/preset-scss": "^1.0.3",
- "@storybook/react": "7.5.1",
- "@storybook/testing-library": "0.2.2",
- "@svgr/webpack": "8.1.0",
- "@types/chart.js": "2.9.39",
- "@types/classnames": "2.3.1",
- "@types/jest": "^29.5.0",
- "@types/markdown-it": "13.0.4",
- "@types/node": "18.18.6",
- "@types/prop-types": "15.7.9",
- "@types/react": "18.2.31",
- "@types/react-linkify": "1.0.3",
- "@types/sanitize-html": "^2.9.0",
- "@types/ua-parser-js": "0.7.38",
- "@types/video.js": "^7.3.50",
- "@typescript-eslint/eslint-plugin": "6.8.0",
- "@typescript-eslint/parser": "6.8.0",
- "babel-loader": "9.1.3",
- "chromatic": "7.4.0",
- "css-loader": "6.8.1",
- "cypress": "^13.2.0",
- "eslint": "8.52.0",
- "eslint-config-airbnb": "19.0.4",
- "eslint-config-next": "13.5.6",
- "eslint-config-prettier": "9.0.0",
- "eslint-plugin-import": "^2.27.5",
- "eslint-plugin-jsx-a11y": "6.7.1",
- "eslint-plugin-prettier": "^5.0.0",
- "eslint-plugin-react": "7.33.2",
- "eslint-plugin-react-hooks": "4.6.0",
- "eslint-plugin-storybook": "0.6.15",
- "handlebars": "^4.7.7",
- "html-webpack-plugin": "5.5.3",
- "install": "^0.13.0",
- "knip": "^2.11.0",
- "less": "4.2.0",
- "less-loader": "11.1.3",
- "mdx-mermaid": "^2.0.0",
- "mermaid": "^10.0.0",
- "npm": "^10.0.0",
- "postcss": "^8.4.31",
- "prettier": "3.0.3",
- "resolve-url-loader": "^5.0.0",
- "sass": "1.69.4",
- "sass-loader": "^13.3.2",
- "storybook": "^7.5.1",
- "storybook-addon-fetch-mock": "1.0.1",
- "storybook-preset-less": "1.1.3",
- "style-dictionary": "3.8.0",
- "style-loader": "3.3.3",
- "stylelint": "^15.10.1",
- "stylelint-config-standard": "^34.0.0",
- "stylelint-config-standard-scss": "^11.0.0",
- "ts-jest": "^29.1.0",
- "typescript": "4.9.5"
- }
-}
+ "name": "owncast-web",
+ "version": "0.1.0",
+ "private": true,
+ "scripts": {
+ "dev": "next dev",
+ "build": "next build && next export",
+ "start": "next start",
+ "lint": "eslint --fix --ext .js,.ts,.tsx types/ pages/ components/ stories/",
+ "storybook": "storybook dev -p 6006",
+ "build-storybook": "storybook build",
+ "build-styles": "cd ./style-definitions && style-dictionary build && ./build.sh && cd -",
+ "test": "jest",
+ "format": "prettier --write **/*.{js,ts,jsx,tsx,css,md}"
+ },
+ "dependencies": {
+ "@ant-design/icons": "4.8.1",
+ "@codemirror/lang-css": "6.2.1",
+ "@codemirror/lang-html": "^6.4.2",
+ "@codemirror/lang-javascript": "^6.1.2",
+ "@codemirror/lang-markdown": "6.2.2",
+ "@codemirror/language-data": "6.3.1",
+ "@fontsource/inter": "^5.0.0",
+ "@fontsource/poppins": "5.0.8",
+ "@next/bundle-analyzer": "^13.1.1",
+ "@uiw/codemirror-theme-bbedit": "4.21.20",
+ "@uiw/react-codemirror": "4.21.20",
+ "@xstate/react": "3.2.2",
+ "antd": "4.24.14",
+ "autoprefixer": "^10.4.14",
+ "chart.js": "^4.2.0",
+ "classnames": "2.3.2",
+ "date-fns": "^2.29.3",
+ "graphemer": "^1.4.0",
+ "interweave": "^13.0.0",
+ "interweave-autolink": "^5.1.0",
+ "lodash": "4.17.21",
+ "next": "13.5.6",
+ "next-pwa": "^5.6.0",
+ "next-with-less": "3.0.1",
+ "picmo": "5.8.5",
+ "postcss-flexbugs-fixes": "5.0.2",
+ "react": "18.2.0",
+ "react-chartjs-2": "^5.2.0",
+ "react-dom": "18.2.0",
+ "react-error-boundary": "^4.0.0",
+ "react-hotkeys-hook": "4.4.1",
+ "react-linkify": "1.0.0-alpha",
+ "react-markdown": "9.0.0",
+ "react-virtuoso": "4.6.2",
+ "recoil": "0.7.7",
+ "regexpu-core": "^5.3.2",
+ "sanitize-html": "^2.11.0",
+ "sharp": "0.32.6",
+ "ua-parser-js": "1.0.36",
+ "video.js": "^8.3.0",
+ "workbox-precaching": "^7.0.0",
+ "workbox-window": "^7.0.0",
+ "xstate": "4.38.2",
+ "yaml": "2.3.3"
+ },
+ "devDependencies": {
+ "@babel/core": "7.23.2",
+ "@mdx-js/react": "2.3.0",
+ "@storybook/addon-a11y": "7.5.1",
+ "@storybook/addon-actions": "7.5.1",
+ "@storybook/addon-docs": "7.5.1",
+ "@storybook/addon-essentials": "7.5.1",
+ "@storybook/addon-links": "7.5.1",
+ "@storybook/addon-mdx-gfm": "^7.5.1",
+ "@storybook/addon-postcss": "2.0.0",
+ "@storybook/addon-styling-webpack": "^0.0.5",
+ "@storybook/addon-viewport": "7.5.1",
+ "@storybook/cli": "7.5.1",
+ "@storybook/mdx2-csf": "1.1.0",
+ "@storybook/nextjs": "^7.5.1",
+ "@storybook/preset-scss": "^1.0.3",
+ "@storybook/react": "7.5.1",
+ "@storybook/testing-library": "0.2.2",
+ "@svgr/webpack": "8.1.0",
+ "@types/chart.js": "2.9.39",
+ "@types/classnames": "2.3.1",
+ "@types/jest": "^29.5.0",
+ "@types/markdown-it": "13.0.4",
+ "@types/node": "18.18.6",
+ "@types/prop-types": "15.7.9",
+ "@types/react": "18.2.31",
+ "@types/react-linkify": "1.0.3",
+ "@types/sanitize-html": "^2.9.0",
+ "@types/ua-parser-js": "0.7.38",
+ "@types/video.js": "^7.3.50",
+ "@typescript-eslint/eslint-plugin": "6.8.0",
+ "@typescript-eslint/parser": "6.8.0",
+ "babel-loader": "9.1.3",
+ "chromatic": "7.4.0",
+ "css-loader": "6.8.1",
+ "cypress": "^13.2.0",
+ "eslint": "8.52.0",
+ "eslint-config-airbnb": "19.0.4",
+ "eslint-config-next": "13.5.6",
+ "eslint-config-prettier": "9.0.0",
+ "eslint-plugin-import": "^2.27.5",
+ "eslint-plugin-jsx-a11y": "6.7.1",
+ "eslint-plugin-prettier": "^5.0.0",
+ "eslint-plugin-react": "7.33.2",
+ "eslint-plugin-react-hooks": "4.6.0",
+ "eslint-plugin-storybook": "0.6.15",
+ "handlebars": "^4.7.7",
+ "html-webpack-plugin": "5.5.3",
+ "install": "^0.13.0",
+ "knip": "^2.11.0",
+ "less": "4.2.0",
+ "less-loader": "11.1.3",
+ "mdx-mermaid": "^2.0.0",
+ "mermaid": "^10.0.0",
+ "npm": "^10.0.0",
+ "postcss": "^8.4.31",
+ "prettier": "3.0.3",
+ "resolve-url-loader": "^5.0.0",
+ "sass": "1.69.4",
+ "sass-loader": "^13.3.2",
+ "storybook": "^7.5.1",
+ "storybook-addon-fetch-mock": "1.0.1",
+ "storybook-preset-less": "1.1.3",
+ "style-dictionary": "3.8.0",
+ "style-loader": "3.3.3",
+ "stylelint": "^15.10.1",
+ "stylelint-config-standard": "^34.0.0",
+ "stylelint-config-standard-scss": "^11.0.0",
+ "ts-jest": "^29.1.0",
+ "typescript": "5.2.2"
+ }
+}
\ No newline at end of file
diff --git a/web/pages/admin/stream-health.tsx b/web/pages/admin/stream-health.tsx
index 68c14d186c..5916ee8a8a 100644
--- a/web/pages/admin/stream-health.tsx
+++ b/web/pages/admin/stream-health.tsx
@@ -25,7 +25,7 @@ const WifiOutlined = dynamic(() => import('@ant-design/icons/WifiOutlined'), {
interface TimedValue {
time: Date;
- value: Number;
+ value: number;
}
interface DescriptionBoxProps {
@@ -60,7 +60,7 @@ const StreamHealth = () => {
const [minimumPlayerBitrate, setMinimumPlayerBitrate] = useState<TimedValue[]>([]);
const [medianPlayerBitrate, setMedianPlayerBitrate] = useState<TimedValue[]>([]);
const [maximumPlayerBitrate, setMaximumPlayerBitrate] = useState<TimedValue[]>([]);
- const [availableBitrates, setAvailableBitrates] = useState<Number[]>([]);
+ const [availableBitrates, setAvailableBitrates] = useState<number[]>([]);
const [segmentLength, setSegmentLength] = useState(0);
const getMetrics = async () => {
@@ -292,7 +292,7 @@ const StreamHealth = () => {
<div style={statStyle}>
<Statistic
title="Viewer Playback Speed"
- value={currentSpeed.toString()}
+ value={(currentSpeed ?? 0).toString()}
prefix={<WifiOutlined style={{ marginRight: '5px' }} />}
precision={0}
suffix="kbps"