Skip to content

Commit

Permalink
Deploying to gh-pages from @ 22c0c76 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechGrancow committed Jan 15, 2024
1 parent 3869cf3 commit fc2df43
Show file tree
Hide file tree
Showing 111 changed files with 2,803 additions and 2,745 deletions.
51 changes: 48 additions & 3 deletions classes/DeletionRequestLogResponse.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ <h6><b>Properties</b></h6>
<span class="modifier">Optional</span>
<a href="#statistics" >statistics</a>
</li>
<li>
<span class="modifier"></span>
<a href="#status" >status</a>
</li>
<li>
<span class="modifier"></span>
<a href="#targetRef" >targetRef</a>
Expand Down Expand Up @@ -184,7 +188,7 @@ <h3 id="constructor">Constructor</h3>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">apps/server/src/modules/deletion/controller/dto/deletion-request-log.response.ts:15</a></div>
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">apps/server/src/modules/deletion/controller/dto/deletion-request-log.response.ts:19</a></div>
</td>
</tr>

Expand Down Expand Up @@ -256,7 +260,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">apps/server/src/modules/deletion/controller/dto/deletion-request-log.response.ts:11</a></div>
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">apps/server/src/modules/deletion/controller/dto/deletion-request-log.response.ts:12</a></div>
</td>
</tr>

Expand Down Expand Up @@ -291,6 +295,42 @@ <h3 id="inputs">
@ApiProperty()<br />@IsOptional()<br />
</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">apps/server/src/modules/deletion/controller/dto/deletion-request-log.response.ts:19</a></div>
</td>
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="status"></a>
<span class="name">
<span class="modifier"></span>
<span ><b>status</b></span>
<a href="#status"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../miscellaneous/enumerations.html#DeletionStatusModel" target="_self" >DeletionStatusModel</a></code>

</td>
</tr>
<tr>
<td class="col-md-4">
<b>Decorators : </b>
<br />
<code>
@ApiProperty()<br />
</code>
</td>
</tr>
<tr>
<td class="col-md-4">
Expand Down Expand Up @@ -330,7 +370,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="8" class="link-to-prism">apps/server/src/modules/deletion/controller/dto/deletion-request-log.response.ts:8</a></div>
<div class="io-line">Defined in <a href="" data-line="9" class="link-to-prism">apps/server/src/modules/deletion/controller/dto/deletion-request-log.response.ts:9</a></div>
</td>
</tr>

Expand All @@ -353,6 +393,7 @@ <h3 id="inputs">
import { IsOptional } from &#x27;class-validator&#x27;;
import { DomainOperation } from &#x27;@shared/domain/interface&#x27;;
import { DeletionTargetRef } from &#x27;../../interface&#x27;;
import { DeletionStatusModel } from &#x27;../../domain/types&#x27;;

export class DeletionRequestLogResponse {
@ApiProperty()
Expand All @@ -361,13 +402,17 @@ <h3 id="inputs">
@ApiProperty()
deletionPlannedAt: Date;

@ApiProperty()
status: DeletionStatusModel;

@ApiProperty()
@IsOptional()
statistics?: DomainOperation[];

constructor(response: DeletionRequestLogResponse) {
this.targetRef &#x3D; response.targetRef;
this.deletionPlannedAt &#x3D; response.deletionPlannedAt;
this.status &#x3D; response.status;
this.statistics &#x3D; response.statistics;
}
}
Expand Down
22 changes: 18 additions & 4 deletions classes/DeletionRequestLogResponseBuilder.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,15 @@ <h3 id="methods">
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>build(targetRef: <a href="../interfaces/DeletionTargetRef.html" target="_self">DeletionTargetRef</a>, deletionPlannedAt: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" target="_blank">Date</a>, statistics?: <a href="../interfaces/DomainOperation.html" target="_self">DomainOperation[]</a>)</code>
<code>build(targetRef: <a href="../interfaces/DeletionTargetRef.html" target="_self">DeletionTargetRef</a>, deletionPlannedAt: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" target="_blank">Date</a>, status: <a href="../undefineds/DeletionStatusModel.html" target="_self">DeletionStatusModel</a>, statistics?: <a href="../interfaces/DomainOperation.html" target="_self">DomainOperation[]</a>)</code>
</td>
</tr>


<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/deletion/builder/deletion-request-log-response.builder.ts:6</a></div>
<div class="io-line">Defined in <a href="" data-line="7"
class="link-to-prism">apps/server/src/modules/deletion/builder/deletion-request-log-response.builder.ts:7</a></div>
</td>
</tr>

Expand Down Expand Up @@ -236,6 +236,18 @@ <h3 id="methods">
</td>


</tr>
<tr>
<td>status</td>
<td>
<code><a href="../miscellaneous/enumerations.html#DeletionStatusModel" target="_self" >DeletionStatusModel</a></code>
</td>

<td>
No
</td>


</tr>
<tr>
<td>statistics</td>
Expand Down Expand Up @@ -275,15 +287,17 @@ <h3 id="methods">
<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { DomainOperation } from &#x27;@shared/domain/interface&#x27;;
import { DeletionRequestLogResponse } from &#x27;../controller/dto&#x27;;
import { DeletionStatusModel } from &#x27;../domain/types&#x27;;
import { DeletionTargetRef } from &#x27;../interface&#x27;;

export class DeletionRequestLogResponseBuilder {
static build(
targetRef: DeletionTargetRef,
deletionPlannedAt: Date,
status: DeletionStatusModel,
statistics?: DomainOperation[]
): DeletionRequestLogResponse {
const deletionRequestLog &#x3D; { targetRef, deletionPlannedAt, statistics };
const deletionRequestLog &#x3D; { targetRef, deletionPlannedAt, status, statistics };

return deletionRequestLog;
}
Expand Down
2 changes: 1 addition & 1 deletion coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -5378,7 +5378,7 @@
<td>DeletionRequestLogResponse</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/5)</span>
<span class="coverage-count">(0/6)</span>
</td>
</tr>
<tr class="low">
Expand Down
Loading

0 comments on commit fc2df43

Please sign in to comment.