Skip to content

Commit

Permalink
Deploying to gh-pages from @ 84c44c1 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenWaysDP committed Oct 27, 2023
1 parent acab7ad commit f1effce
Show file tree
Hide file tree
Showing 136 changed files with 15,846 additions and 9,827 deletions.
4 changes: 2 additions & 2 deletions classes/ErrorMapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<h3>File</h3>
</p>
<p class="comment">
<code>apps/server/src/modules/files-storage-client/mapper/error.mapper.ts</code>
<code>apps/server/src/shared/infra/rabbitmq/error.mapper.ts</code>
</p>


Expand Down Expand Up @@ -135,7 +135,7 @@ <h3 id="methods">
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="6"
class="link-to-prism">apps/server/src/modules/files-storage-client/mapper/error.mapper.ts:6</a></div>
class="link-to-prism">apps/server/src/shared/infra/rabbitmq/error.mapper.ts:6</a></div>
</td>
</tr>

Expand Down
19 changes: 13 additions & 6 deletions classes/FileDto.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ <h3>File</h3>



<p class="comment">
<h3>Implements</h3>
</p>
<p class="comment">
<code><a href="../interfaces/File.html" target="_self" >File</a></code>
</p>


<section data-compodoc="block-index">
Expand Down Expand Up @@ -121,7 +127,7 @@ <h3 id="constructor">Constructor</h3>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="3" class="link-to-prism">apps/server/src/modules/files-storage/dto/file.dto.ts:3</a></div>
<div class="io-line">Defined in <a href="" data-line="4" class="link-to-prism">apps/server/src/modules/files-storage/dto/file.dto.ts:4</a></div>
</td>
</tr>

Expand Down Expand Up @@ -183,7 +189,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">apps/server/src/modules/files-storage/dto/file.dto.ts:12</a></div>
<div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">apps/server/src/modules/files-storage/dto/file.dto.ts:13</a></div>
</td>
</tr>

Expand All @@ -209,7 +215,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">apps/server/src/modules/files-storage/dto/file.dto.ts:14</a></div>
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">apps/server/src/modules/files-storage/dto/file.dto.ts:15</a></div>
</td>
</tr>

Expand All @@ -235,7 +241,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="10" class="link-to-prism">apps/server/src/modules/files-storage/dto/file.dto.ts:10</a></div>
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">apps/server/src/modules/files-storage/dto/file.dto.ts:11</a></div>
</td>
</tr>

Expand All @@ -254,9 +260,10 @@ <h3 id="inputs">


<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Readable } from &#x27;stream&#x27;;
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { File } from &#x27;@shared/infra/s3-client&#x27;;
import { Readable } from &#x27;stream&#x27;;

export class FileDto {
export class FileDto implements File {
constructor(file: FileDto) {
this.name &#x3D; file.name;
this.data &#x3D; file.data;
Expand Down
19 changes: 13 additions & 6 deletions classes/FileRecordSecurityCheck.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h3 id="constructor">Constructor</h3>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="56" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:56</a></div>
<div class="io-line">Defined in <a href="" data-line="57" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:57</a></div>
</td>
</tr>

Expand Down Expand Up @@ -204,7 +204,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="53" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:53</a></div>
<div class="io-line">Defined in <a href="" data-line="54" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:54</a></div>
</td>
</tr>

Expand Down Expand Up @@ -245,7 +245,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:47</a></div>
<div class="io-line">Defined in <a href="" data-line="48" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:48</a></div>
</td>
</tr>

Expand Down Expand Up @@ -287,7 +287,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:50</a></div>
<div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:51</a></div>
</td>
</tr>

Expand Down Expand Up @@ -328,7 +328,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="44" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:44</a></div>
<div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:45</a></div>
</td>
</tr>

Expand Down Expand Up @@ -363,7 +363,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="56" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:56</a></div>
<div class="io-line">Defined in <a href="" data-line="57" class="link-to-prism">apps/server/src/modules/files-storage/entity/filerecord.entity.ts:57</a></div>
</td>
</tr>

Expand All @@ -386,6 +386,7 @@ <h3 id="inputs">
import { ObjectId } from &#x27;@mikro-orm/mongodb&#x27;;
import { BadRequestException } from &#x27;@nestjs/common&#x27;;
import { BaseEntityWithTimestamps, EntityId } from &#x27;@shared/domain&#x27;;
import path from &#x27;path&#x27;;
import { v4 as uuid } from &#x27;uuid&#x27;;
import { ErrorType } from &#x27;../error&#x27;;
import { PreviewInputMimeTypes } from &#x27;../interface/preview-input-mime-types.enum&#x27;;
Expand Down Expand Up @@ -677,6 +678,12 @@ <h3 id="inputs">

return PreviewStatus.PREVIEW_NOT_POSSIBLE_SCAN_STATUS_ERROR;
}

public get fileNameWithoutExtension(): string {
const filenameObj &#x3D; path.parse(this.name);

return filenameObj.name;
}
}
</code></pre>
</div>
Expand Down
Loading

0 comments on commit f1effce

Please sign in to comment.