This commit is contained in:
RubenVerborgh
2021-01-13 09:45:11 +00:00
parent fb9f2ac7c0
commit 7b5f76302d
495 changed files with 9371 additions and 4804 deletions

View File

@@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ConvertingRouterRule | Community Solid Server - v0.4.0</title>
<meta name="description" content="Documentation for Community Solid Server - v0.4.0">
<title>ConvertingRouterRule | Community Solid Server - v0.4.1</title>
<meta name="description" content="Documentation for Community Solid Server - v0.4.1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">Community Solid Server - v0.4.0</a>
<a href="../index.html" class="title">Community Solid Server - v0.4.1</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
@@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../modules.html">Community Solid Server - v0.4.0</a>
<a href="../modules.html">Community Solid Server - v0.4.1</a>
</li>
<li>
<a href="../modules/index.html">index</a>
@@ -137,7 +137,7 @@
<aside class="tsd-sources">
<p>Inherited from <a href="storage_routing_routerrule.routerrule.html">RouterRule</a>.<a href="storage_routing_routerrule.routerrule.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/storage/routing/ConvertingRouterRule.ts#L25">src/storage/routing/ConvertingRouterRule.ts:25</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/storage/routing/ConvertingRouterRule.ts#L25">src/storage/routing/ConvertingRouterRule.ts:25</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -162,7 +162,7 @@
<div class="tsd-signature tsd-kind-icon">default<wbr>Store<span class="tsd-signature-symbol">:</span> <a href="../interfaces/storage_resourcestore.resourcestore.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceStore</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/storage/routing/ConvertingRouterRule.ts#L25">src/storage/routing/ConvertingRouterRule.ts:25</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/storage/routing/ConvertingRouterRule.ts#L25">src/storage/routing/ConvertingRouterRule.ts:25</a></li>
</ul>
</aside>
</section>
@@ -172,7 +172,7 @@
<div class="tsd-signature tsd-kind-icon">typed<wbr>Stores<span class="tsd-signature-symbol">:</span> <a href="../interfaces/storage_routing_convertingrouterrule.convertingstoreentry.html" class="tsd-signature-type" data-tsd-kind="Interface">ConvertingStoreEntry</a><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/storage/routing/ConvertingRouterRule.ts#L24">src/storage/routing/ConvertingRouterRule.ts:24</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/storage/routing/ConvertingRouterRule.ts#L24">src/storage/routing/ConvertingRouterRule.ts:24</a></li>
</ul>
</aside>
</section>
@@ -190,7 +190,7 @@
<aside class="tsd-sources">
<p>Inherited from <a href="storage_routing_routerrule.routerrule.html">RouterRule</a>.<a href="storage_routing_routerrule.routerrule.html#canhandle">canHandle</a></p>
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/util/AsyncHandler.ts#L13">src/util/AsyncHandler.ts:13</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/util/AsyncHandler.ts#L13">src/util/AsyncHandler.ts:13</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -204,7 +204,7 @@
<li>
<h5>input: <span class="tsd-signature-symbol">{ </span>identifier<span class="tsd-signature-symbol">: </span><a href="../interfaces/ldp_representation_resourceidentifier.resourceidentifier.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceIdentifier</a><span class="tsd-signature-symbol">; </span>representation<span class="tsd-signature-symbol">?: </span><a href="../interfaces/ldp_representation_representation.representation.html" class="tsd-signature-type" data-tsd-kind="Interface">Representation</a><span class="tsd-signature-symbol"> }</span></h5>
<div class="tsd-comment tsd-typography">
<p>Input data that would be handled potentially.</p>
<p>Input data that could potentially be handled.</p>
</div>
<ul class="tsd-parameters">
<li class="tsd-parameter">
@@ -217,7 +217,7 @@
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
<p>A promise resolving if this input can be handled, rejecting with an Error if not.</p>
<p>A promise resolving if the input can be handled, rejecting with an Error if not.</p>
</li>
</ul>
</section>
@@ -231,7 +231,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/storage/routing/ConvertingRouterRule.ts#L71">src/storage/routing/ConvertingRouterRule.ts:71</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/storage/routing/ConvertingRouterRule.ts#L71">src/storage/routing/ConvertingRouterRule.ts:71</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -280,7 +280,7 @@
<aside class="tsd-sources">
<p>Overrides <a href="storage_routing_routerrule.routerrule.html">RouterRule</a>.<a href="storage_routing_routerrule.routerrule.html#handle">handle</a></p>
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/storage/routing/ConvertingRouterRule.ts#L33">src/storage/routing/ConvertingRouterRule.ts:33</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/storage/routing/ConvertingRouterRule.ts#L33">src/storage/routing/ConvertingRouterRule.ts:33</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -305,14 +305,14 @@
<a name="handlesafe" class="tsd-anchor"></a>
<h3>handle<wbr>Safe</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">handle<wbr>Safe<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>identifier<span class="tsd-signature-symbol">: </span><a href="../interfaces/ldp_representation_resourceidentifier.resourceidentifier.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceIdentifier</a><span class="tsd-signature-symbol">; </span>representation<span class="tsd-signature-symbol">?: </span><a href="../interfaces/ldp_representation_representation.representation.html" class="tsd-signature-type" data-tsd-kind="Interface">Representation</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/storage_resourcestore.resourcestore.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceStore</a><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">handle<wbr>Safe<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>identifier<span class="tsd-signature-symbol">: </span><a href="../interfaces/ldp_representation_resourceidentifier.resourceidentifier.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceIdentifier</a><span class="tsd-signature-symbol">; </span>representation<span class="tsd-signature-symbol">?: </span><a href="../interfaces/ldp_representation_representation.representation.html" class="tsd-signature-type" data-tsd-kind="Interface">Representation</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/storage_resourcestore.resourcestore.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceStore</a><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="storage_routing_routerrule.routerrule.html">RouterRule</a>.<a href="storage_routing_routerrule.routerrule.html#handlesafe">handleSafe</a></p>
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/util/AsyncHandler.ts#L33">src/util/AsyncHandler.ts:33</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/util/AsyncHandler.ts#L35">src/util/AsyncHandler.ts:35</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -325,9 +325,9 @@
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>data: <span class="tsd-signature-symbol">{ </span>identifier<span class="tsd-signature-symbol">: </span><a href="../interfaces/ldp_representation_resourceidentifier.resourceidentifier.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceIdentifier</a><span class="tsd-signature-symbol">; </span>representation<span class="tsd-signature-symbol">?: </span><a href="../interfaces/ldp_representation_representation.representation.html" class="tsd-signature-type" data-tsd-kind="Interface">Representation</a><span class="tsd-signature-symbol"> }</span></h5>
<h5>input: <span class="tsd-signature-symbol">{ </span>identifier<span class="tsd-signature-symbol">: </span><a href="../interfaces/ldp_representation_resourceidentifier.resourceidentifier.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceIdentifier</a><span class="tsd-signature-symbol">; </span>representation<span class="tsd-signature-symbol">?: </span><a href="../interfaces/ldp_representation_representation.representation.html" class="tsd-signature-type" data-tsd-kind="Interface">Representation</a><span class="tsd-signature-symbol"> }</span></h5>
<div class="tsd-comment tsd-typography">
<p>The data to handle.</p>
<p>Input data that will be handled if it can be handled.</p>
</div>
<ul class="tsd-parameters">
<li class="tsd-parameter">
@@ -340,7 +340,8 @@
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/storage_resourcestore.resourcestore.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceStore</a><span class="tsd-signature-symbol">&gt;</span></h4>
<p>The result of the handle function of the handler.</p>
<p>A promise resolving if the input can be handled, rejecting with an Error if not.
Return value depends on the given type.</p>
</li>
</ul>
</section>
@@ -354,7 +355,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/storage/routing/ConvertingRouterRule.ts#L52">src/storage/routing/ConvertingRouterRule.ts:52</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/storage/routing/ConvertingRouterRule.ts#L52">src/storage/routing/ConvertingRouterRule.ts:52</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">