mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
deploy: d01382d36e
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>ExtensionBasedMapper | Community Solid Server - v0.9.0</title>
|
||||
<meta name="description" content="Documentation for Community Solid Server - v0.9.0">
|
||||
<title>ExtensionBasedMapper | Community Solid Server - v1.0.0-beta.0</title>
|
||||
<meta name="description" content="Documentation for Community Solid Server - v1.0.0-beta.0">
|
||||
<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.9.0</a>
|
||||
<a href="../index.html" class="title">Community Solid Server - v1.0.0-beta.0</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.9.0</a>
|
||||
<a href="../modules.html">Community Solid Server - v1.0.0-beta.0</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../modules/storage_mapping_extensionbasedmapper.html">storage/mapping/ExtensionBasedMapper</a>
|
||||
@@ -138,7 +138,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Overrides <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#constructor">constructor</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/ExtensionBasedMapper.ts#L11">src/storage/mapping/ExtensionBasedMapper.ts:11</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/ExtensionBasedMapper.ts#L11">src/storage/mapping/ExtensionBasedMapper.ts:11</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
@@ -175,7 +175,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#baserequesturi">baseRequestURI</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L23">src/storage/mapping/BaseFileIdentifierMapper.ts:23</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L23">src/storage/mapping/BaseFileIdentifierMapper.ts:23</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@@ -186,7 +186,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#logger">logger</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L22">src/storage/mapping/BaseFileIdentifierMapper.ts:22</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L22">src/storage/mapping/BaseFileIdentifierMapper.ts:22</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@@ -197,7 +197,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#rootfilepath">rootFilepath</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L24">src/storage/mapping/BaseFileIdentifierMapper.ts:24</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L24">src/storage/mapping/BaseFileIdentifierMapper.ts:24</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@@ -207,7 +207,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/ExtensionBasedMapper.ts#L11">src/storage/mapping/ExtensionBasedMapper.ts:11</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/ExtensionBasedMapper.ts#L11">src/storage/mapping/ExtensionBasedMapper.ts:11</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@@ -225,7 +225,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#getabsolutepath">getAbsolutePath</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L156">src/storage/mapping/BaseFileIdentifierMapper.ts:156</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L156">src/storage/mapping/BaseFileIdentifierMapper.ts:156</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -258,7 +258,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#getcontainerurl">getContainerUrl</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L125">src/storage/mapping/BaseFileIdentifierMapper.ts:125</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L125">src/storage/mapping/BaseFileIdentifierMapper.ts:125</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -291,9 +291,14 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Overrides <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#getcontenttypefrompath">getContentTypeFromPath</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/ExtensionBasedMapper.ts#L59">src/storage/mapping/ExtensionBasedMapper.ts:59</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/ExtensionBasedMapper.ts#L59">src/storage/mapping/ExtensionBasedMapper.ts:59</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>Determines the content type from the relative path.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
@@ -301,6 +306,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
|
||||
<p>The content type of the document.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
@@ -315,7 +321,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#getcontenttypefromurl">getContentTypeFromUrl</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L88">src/storage/mapping/BaseFileIdentifierMapper.ts:88</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L88">src/storage/mapping/BaseFileIdentifierMapper.ts:88</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -354,9 +360,14 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Overrides <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#getdocumenturl">getDocumentUrl</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/ExtensionBasedMapper.ts#L55">src/storage/mapping/ExtensionBasedMapper.ts:55</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/ExtensionBasedMapper.ts#L55">src/storage/mapping/ExtensionBasedMapper.ts:55</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>Maps the given document path to a URL and determines its content type.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
@@ -364,6 +375,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
|
||||
<p>A ResourceLink with all the necessary metadata.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
@@ -378,7 +390,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#getrelativepath">getRelativePath</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L169">src/storage/mapping/BaseFileIdentifierMapper.ts:169</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L169">src/storage/mapping/BaseFileIdentifierMapper.ts:169</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -417,7 +429,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#mapfilepathtourl">mapFilePathToUrl</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L99">src/storage/mapping/BaseFileIdentifierMapper.ts:99</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L99">src/storage/mapping/BaseFileIdentifierMapper.ts:99</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -456,7 +468,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#mapurltocontainerpath">mapUrlToContainerPath</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L58">src/storage/mapping/BaseFileIdentifierMapper.ts:58</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L58">src/storage/mapping/BaseFileIdentifierMapper.ts:58</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -496,9 +508,17 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Overrides <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#mapurltodocumentpath">mapUrlToDocumentPath</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/ExtensionBasedMapper.ts#L18">src/storage/mapping/ExtensionBasedMapper.ts:18</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/ExtensionBasedMapper.ts#L18">src/storage/mapping/ExtensionBasedMapper.ts:18</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>Maps the given document identifier to a file path,
|
||||
possibly making alterations to the direct translation
|
||||
(for instance, based on its content type)).
|
||||
Determines the content type if none was provided.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
@@ -512,6 +532,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/storage_mapping_fileidentifiermapper.resourcelink.html" class="tsd-signature-type" data-tsd-kind="Interface">ResourceLink</a><span class="tsd-signature-symbol">></span></h4>
|
||||
<p>A ResourceLink with all the necessary metadata.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
@@ -526,7 +547,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#mapurltofilepath">mapUrlToFilePath</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L40">src/storage/mapping/BaseFileIdentifierMapper.ts:40</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L40">src/storage/mapping/BaseFileIdentifierMapper.ts:40</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -566,7 +587,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/ExtensionBasedMapper.ts#L68">src/storage/mapping/ExtensionBasedMapper.ts:68</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/ExtensionBasedMapper.ts#L68">src/storage/mapping/ExtensionBasedMapper.ts:68</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -596,7 +617,7 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html">BaseFileIdentifierMapper</a>.<a href="storage_mapping_basefileidentifiermapper.basefileidentifiermapper.html#validaterelativepath">validateRelativePath</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/0a68fbf/src/storage/mapping/BaseFileIdentifierMapper.ts#L186">src/storage/mapping/BaseFileIdentifierMapper.ts:186</a></li>
|
||||
<li>Defined in <a href="https://github.com/solid/community-server/blob/d01382d/src/storage/mapping/BaseFileIdentifierMapper.ts#L186">src/storage/mapping/BaseFileIdentifierMapper.ts:186</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@@ -635,7 +656,7 @@
|
||||
<nav class="tsd-navigation primary">
|
||||
<ul>
|
||||
<li class=" ">
|
||||
<a href="../modules.html">Exports</a>
|
||||
<a href="../modules.html">Modules</a>
|
||||
</li>
|
||||
<li class="current tsd-kind-module">
|
||||
<a href="../modules/storage_mapping_extensionbasedmapper.html">storage/mapping/<wbr>Extension<wbr>Based<wbr>Mapper</a>
|
||||
|
||||
Reference in New Issue
Block a user