Skip to content

Commit

Permalink
Deploying to gh-pages from @ d3a0975 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorCapCoder committed Oct 6, 2023
1 parent d9f86e5 commit e675019
Show file tree
Hide file tree
Showing 93 changed files with 3,261 additions and 2,816 deletions.
122 changes: 121 additions & 1 deletion classes/Group.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ <h6><b>Methods</b></h6>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#isEmpty" >isEmpty</a>
</li>
<li>
<a href="#removeUser" >removeUser</a>
</li>
<li>
<span class="modifier">Public</span>
<a href="#getProps" >getProps</a>
Expand Down Expand Up @@ -196,6 +202,112 @@ <h3 id="inputs">
<h3 id="methods">
Methods
</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="isEmpty"></a>
<span class="name">
<span ><b>isEmpty</b></span>
<a href="#isEmpty"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>isEmpty()</code>
</td>
</tr>


<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="45"
class="link-to-prism">apps/server/src/modules/group/domain/group.ts:45</a></div>
</td>
</tr>


<tr>
<td class="col-md-4">

<div class="io-description">
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="removeUser"></a>
<span class="name">
<span ><b>removeUser</b></span>
<a href="#removeUser"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>removeUser(user: <a href="../classes/UserDO.html" target="_self">UserDO</a>)</code>
</td>
</tr>


<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="41"
class="link-to-prism">apps/server/src/modules/group/domain/group.ts:41</a></div>
</td>
</tr>


<tr>
<td class="col-md-4">

<div class="io-description">
<b>Parameters :</b>

<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>user</td>
<td>
<code><a href="../classes/UserDO.html" target="_self" >UserDO</a></code>
</td>

<td>
No
</td>


</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

</div>
<div class="io-description">

</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
Expand Down Expand Up @@ -344,7 +456,7 @@ <h3 id="accessors">


<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { EntityId, ExternalSource } from &#x27;@shared/domain&#x27;;
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { EntityId, ExternalSource, type UserDO } from &#x27;@shared/domain&#x27;;
import { AuthorizableObject, DomainObject } from &#x27;@shared/domain/domain-object&#x27;;
import { GroupTypes } from &#x27;./group-types&#x27;;
import { GroupUser } from &#x27;./group-user&#x27;;
Expand Down Expand Up @@ -383,6 +495,14 @@ <h3 id="accessors">
get organizationId(): string | undefined {
return this.props.organizationId;
}

removeUser(user: UserDO): void {
this.props.users &#x3D; this.props.users.filter((groupUser: GroupUser): boolean &#x3D;&gt; groupUser.userId !&#x3D;&#x3D; user.id);
}

isEmpty(): boolean {
return this.props.users.length &#x3D;&#x3D;&#x3D; 0;
}
}
</code></pre>
</div>
Expand Down
13 changes: 6 additions & 7 deletions classes/NotFoundLoggableException.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ <h3 id="constructor">Constructor</h3>
<tbody>
<tr>
<td class="col-md-4">
<code>constructor(resourceName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, identifierName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, resourceId: <a href="../undefineds/EntityId.html" target="_self">EntityId</a>)</code>
<code>constructor(resourceName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, identifierName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, resourceId: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</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/shared/common/loggable-exception/not-found.loggable-exception.ts:6</a></div>
<div class="io-line">Defined in <a href="" data-line="5" class="link-to-prism">apps/server/src/shared/common/loggable-exception/not-found.loggable-exception.ts:5</a></div>
</td>
</tr>

Expand Down Expand Up @@ -172,7 +172,7 @@ <h3 id="constructor">Constructor</h3>
<td>resourceId</td>

<td>
<code><a href="../miscellaneous/typealiases.html#EntityId" target="_self" >EntityId</a></code>
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
</td>

<td>
Expand Down Expand Up @@ -215,8 +215,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="15"
class="link-to-prism">apps/server/src/shared/common/loggable-exception/not-found.loggable-exception.ts:15</a></div>
<div class="io-line">Defined in <a href="" data-line="14"
class="link-to-prism">apps/server/src/shared/common/loggable-exception/not-found.loggable-exception.ts:14</a></div>
</td>
</tr>

Expand All @@ -243,15 +243,14 @@ <h3 id="methods">

<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NotFoundException } from &#x27;@nestjs/common&#x27;;
import { EntityId } from &#x27;@shared/domain&#x27;;
import { Loggable } from &#x27;@src/core/logger/interfaces&#x27;;
import { ErrorLogMessage } from &#x27;@src/core/logger/types&#x27;;

export class NotFoundLoggableException extends NotFoundException implements Loggable {
constructor(
private readonly resourceName: string,
private readonly identifierName: string,
private readonly resourceId: EntityId
private readonly resourceId: string
) {
super();
}
Expand Down
8 changes: 4 additions & 4 deletions coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -4192,7 +4192,7 @@
<td>Group</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/3)</span>
<span class="coverage-count">(0/5)</span>
</td>
</tr>
<tr class="low">
Expand Down Expand Up @@ -4324,7 +4324,7 @@
<td>GroupRepo</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/7)</span>
<span class="coverage-count">(0/8)</span>
</td>
</tr>
<tr class="low">
Expand All @@ -4336,7 +4336,7 @@
<td>GroupService</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/8)</span>
<span class="coverage-count">(0/9)</span>
</td>
</tr>
<tr class="low">
Expand Down Expand Up @@ -6964,7 +6964,7 @@
<td>OidcProvisioningService</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/6)</span>
<span class="coverage-count">(0/7)</span>
</td>
</tr>
<tr class="low">
Expand Down
Loading

0 comments on commit e675019

Please sign in to comment.