Skip to content

Commit

Permalink
Deploying to gh-pages from @ 28adb6b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
MajedAlaitwniCap committed Jul 30, 2024
1 parent a5651bf commit e703d9f
Show file tree
Hide file tree
Showing 132 changed files with 8,273 additions and 3,750 deletions.
540 changes: 540 additions & 0 deletions classes/CurrentUser.html

Large diffs are not rendered by default.

1,623 changes: 1,623 additions & 0 deletions classes/CurrentUserFactory.html

Large diffs are not rendered by default.

1,440 changes: 1,440 additions & 0 deletions classes/JwtPayloadFactory.html

Large diffs are not rendered by default.

759 changes: 759 additions & 0 deletions classes/JwtPayloadImpl.html

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -5866,6 +5866,78 @@
<span class="coverage-count">(0/4)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./classes/CurrentUser.html">apps/server/src/modules/authentication/testing/currentuser.factory.ts</a>
</td>
<td>class</td>
<td>CurrentUser</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/8)</span>
</td>
</tr>
<tr class="good">
<td>
<!-- miscellaneous -->
<a href="./classes/CurrentUserFactory.html">apps/server/src/modules/authentication/testing/currentuser.factory.ts</a>
</td>
<td>class</td>
<td>CurrentUserFactory</td>
<td align="right" data-sort="55">
<span class="coverage-percent">55 %</span>
<span class="coverage-count">(10/18)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#currentUserFactory">apps/server/src/modules/authentication/testing/currentuser.factory.ts</a>
</td>
<td>variable</td>
<td>currentUserFactory</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="good">
<td>
<!-- miscellaneous -->
<a href="./classes/JwtPayloadFactory.html">apps/server/src/modules/authentication/testing/jwtpayload.factory.ts</a>
</td>
<td>class</td>
<td>JwtPayloadFactory</td>
<td align="right" data-sort="71">
<span class="coverage-percent">71 %</span>
<span class="coverage-count">(10/14)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./classes/JwtPayloadImpl.html">apps/server/src/modules/authentication/testing/jwtpayload.factory.ts</a>
</td>
<td>class</td>
<td>JwtPayloadImpl</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/15)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#jwtPayloadFactory">apps/server/src/modules/authentication/testing/jwtpayload.factory.ts</a>
</td>
<td>variable</td>
<td>jwtPayloadFactory</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
Expand Down
2 changes: 1 addition & 1 deletion injectables/JwtStrategy.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ <h3 id="methods">
</table>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="../classes/User.html" target="_self" >Promise&lt;ICurrentUser&gt;</a></code>
<b>Returns : </b> <code><a href="../entitys/User.html" target="_self" >Promise&lt;ICurrentUser&gt;</a></code>

</div>
<div class="io-description">
Expand Down
2 changes: 1 addition & 1 deletion injectables/LdapStrategy.html
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ <h3 id="methods">
</table>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="../classes/User.html" target="_self" >Promise&lt;ICurrentUser&gt;</a></code>
<b>Returns : </b> <code><a href="../entitys/User.html" target="_self" >Promise&lt;ICurrentUser&gt;</a></code>

</div>
<div class="io-description">
Expand Down
2 changes: 1 addition & 1 deletion injectables/LocalStrategy.html
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ <h3 id="methods">
</table>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="../classes/User.html" target="_self" >Promise&lt;ICurrentUser&gt;</a></code>
<b>Returns : </b> <code><a href="../entitys/User.html" target="_self" >Promise&lt;ICurrentUser&gt;</a></code>

</div>
<div class="io-description">
Expand Down
2 changes: 1 addition & 1 deletion injectables/Oauth2Strategy.html
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ <h3 id="methods">
</table>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="../classes/User.html" target="_self" >Promise&lt;ICurrentUser&gt;</a></code>
<b>Returns : </b> <code><a href="../entitys/User.html" target="_self" >Promise&lt;ICurrentUser&gt;</a></code>

</div>
<div class="io-description">
Expand Down
2 changes: 1 addition & 1 deletion injectables/UserService.html
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ <h3 id="methods">
</table>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="../classes/User.html" target="_self" >Promise&lt;OauthCurrentUser&gt;</a></code>
<b>Returns : </b> <code><a href="../entitys/User.html" target="_self" >Promise&lt;OauthCurrentUser&gt;</a></code>

</div>
<div class="io-description">
Expand Down
2 changes: 1 addition & 1 deletion injectables/WsJwtStrategy.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ <h3 id="methods">
</table>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="../classes/User.html" target="_self" >Promise&lt;ICurrentUser&gt;</a></code>
<b>Returns : </b> <code><a href="../entitys/User.html" target="_self" >Promise&lt;ICurrentUser&gt;</a></code>

</div>
<div class="io-description">
Expand Down
12 changes: 12 additions & 0 deletions js/menu-wc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4771,6 +4771,12 @@ customElements.define('compodoc-menu', class extends HTMLElement {
<li class="link">
<a href="classes/CreateSubmissionItemBodyParams.html" data-type="entity-link" >CreateSubmissionItemBodyParams</a>
</li>
<li class="link">
<a href="classes/CurrentUser.html" data-type="entity-link" >CurrentUser</a>
</li>
<li class="link">
<a href="classes/CurrentUserFactory.html" data-type="entity-link" >CurrentUserFactory</a>
</li>
<li class="link">
<a href="classes/CurrentUserMapper.html" data-type="entity-link" >CurrentUserMapper</a>
</li>
Expand Down Expand Up @@ -5545,6 +5551,12 @@ customElements.define('compodoc-menu', class extends HTMLElement {
<li class="link">
<a href="classes/JwtExtractor.html" data-type="entity-link" >JwtExtractor</a>
</li>
<li class="link">
<a href="classes/JwtPayloadFactory.html" data-type="entity-link" >JwtPayloadFactory</a>
</li>
<li class="link">
<a href="classes/JwtPayloadImpl.html" data-type="entity-link" >JwtPayloadImpl</a>
</li>
<li class="link">
<a href="classes/JwtTestFactory.html" data-type="entity-link" >JwtTestFactory</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion js/menu-wc_es5.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/search/search_index.js

Large diffs are not rendered by default.

77 changes: 77 additions & 0 deletions miscellaneous/variables.html
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ <h3 id="index">Index</h3>
<li>
<a href="#CurrentUser" title="apps/server/src/modules/authentication/decorator/auth.decorator.ts" ><b>CurrentUser</b>&nbsp;&nbsp;&nbsp;(apps/.../auth.decorator.ts)</a>
</li>
<li>
<a href="#currentUserFactory" title="apps/server/src/modules/authentication/testing/currentuser.factory.ts" ><b>currentUserFactory</b>&nbsp;&nbsp;&nbsp;(apps/.../currentuser.factory.ts)</a>
</li>
<li>
<a href="#customParameterEntityFactory" title="apps/server/src/modules/tool/external-tool/testing/external-tool-entity.factory.ts" ><b>customParameterEntityFactory</b>&nbsp;&nbsp;&nbsp;(apps/.../external-tool-entity.factory.ts)</a>
</li>
Expand Down Expand Up @@ -849,6 +852,9 @@ <h3 id="index">Index</h3>
<li>
<a href="#jwtModuleOptions" title="apps/server/src/modules/authentication/authentication.module.ts" ><b>jwtModuleOptions</b>&nbsp;&nbsp;&nbsp;(apps/.../authentication.module.ts)</a>
</li>
<li>
<a href="#jwtPayloadFactory" title="apps/server/src/modules/authentication/testing/jwtpayload.factory.ts" ><b>jwtPayloadFactory</b>&nbsp;&nbsp;&nbsp;(apps/.../jwtpayload.factory.ts)</a>
</li>
<li>
<a href="#KeycloakConfigurationInputFiles" title="apps/server/src/infra/identity-management/keycloak-configuration/interface/keycloak-configuration-input-files.interface.ts" ><b>KeycloakConfigurationInputFiles</b>&nbsp;&nbsp;&nbsp;(apps/.../keycloak-configuration-input-files.interface.ts)</a>
</li>
Expand Down Expand Up @@ -9186,6 +9192,38 @@ <h3></h3> <table class="table table-sm table-bordered">
</tr>


</tbody>
</table>
</section>
<h3>apps/server/src/modules/authentication/testing/currentuser.factory.ts</h3>
<section data-compodoc="block-properties">
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="currentUserFactory"></a>
<span class="name">
<span ><b>currentUserFactory</b></span>
<a href="#currentUserFactory"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>CurrentUserFactory.define(CurrentUser, () &#x3D;&gt; {
return {
userId: new ObjectId().toHexString(),
roles: [],
schoolId: new ObjectId().toHexString(),
accountId: new ObjectId().toHexString(),
systemId: new ObjectId().toHexString(),
isExternalUser: false,
};
})</code>
</td>
</tr>


</tbody>
</table>
</section>
Expand Down Expand Up @@ -15601,6 +15639,45 @@ <h3></h3> <table class="table table-sm table-bordered">
</tr>


</tbody>
</table>
</section>
<h3>apps/server/src/modules/authentication/testing/jwtpayload.factory.ts</h3>
<section data-compodoc="block-properties">
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="jwtPayloadFactory"></a>
<span class="name">
<span ><b>jwtPayloadFactory</b></span>
<a href="#jwtPayloadFactory"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>JwtPayloadFactory.define(JwtPayloadImpl, ({ sequence }) &#x3D;&gt; {
return {
accountId: new ObjectId().toHexString(),
userId: new ObjectId().toHexString(),
schoolId: new ObjectId().toHexString(),
roles: [&#x27;dummyRoleId&#x27;],
systemId: new ObjectId().toHexString(),
support: true,
isExternalUser: true,
sub: &#x60;${faker.lorem.word()} ${sequence}&#x60;,
jti: &#x60;${faker.lorem.word()} ${sequence}&#x60;,
aud: &#x60;${faker.lorem.word()}&#x60;,
iss: &#x60;${faker.lorem.word()}&#x60;,
iat: Math.floor(new Date().getTime() / 1000),
exp: Math.floor(new Date().getTime() / 1000) + 3600,
};
})</code>
</td>
</tr>


</tbody>
</table>
</section>
Expand Down
48 changes: 24 additions & 24 deletions modules/CalendarModule.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,69 +119,69 @@
</g>
<g id="clust4" class="cluster">
<title>cluster_CalendarModule_exports</title>
<polygon fill="none" stroke="black" points="206,-208 206,-260 334,-260 334,-208 206,-208"/>
</g>
<g id="clust3" class="cluster">
<title>cluster_CalendarModule_imports</title>
<polygon fill="none" stroke="black" points="362,-78 362,-130 478,-130 478,-78 362,-78"/>
<polygon fill="none" stroke="black" points="161,-208 161,-260 289,-260 289,-208 161,-208"/>
</g>
<g id="clust6" class="cluster">
<title>cluster_CalendarModule_providers</title>
<polygon fill="none" stroke="black" points="18,-78 18,-130 354,-130 354,-78 18,-78"/>
<polygon fill="none" stroke="black" points="142,-78 142,-130 478,-130 478,-78 142,-78"/>
</g>
<g id="clust3" class="cluster">
<title>cluster_CalendarModule_imports</title>
<polygon fill="none" stroke="black" points="18,-78 18,-130 134,-130 134,-78 18,-78"/>
</g>
<!-- LoggerModule -->
<g id="node1" class="node">
<title>LoggerModule</title>
<polygon fill="#8dd3c7" stroke="black" points="469.98,-122 466.98,-126 445.98,-126 442.98,-122 370.02,-122 370.02,-86 469.98,-86 469.98,-122"/>
<text text-anchor="middle" x="420" y="-99.8" font-family="Times,serif" font-size="14.00">LoggerModule</text>
<polygon fill="#8dd3c7" stroke="black" points="125.98,-122 122.98,-126 101.98,-126 98.98,-122 26.02,-122 26.02,-86 125.98,-86 125.98,-122"/>
<text text-anchor="middle" x="76" y="-99.8" font-family="Times,serif" font-size="14.00">LoggerModule</text>
</g>
<!-- CalendarModule -->
<g id="node2" class="node">
<title>CalendarModule</title>
<polygon fill="#8dd3c7" stroke="black" points="325.08,-187 322.08,-191 301.08,-191 298.08,-187 214.92,-187 214.92,-151 325.08,-151 325.08,-187"/>
<text text-anchor="middle" x="270" y="-164.8" font-family="Times,serif" font-size="14.00">CalendarModule</text>
<polygon fill="#8dd3c7" stroke="black" points="280.08,-187 277.08,-191 256.08,-191 253.08,-187 169.92,-187 169.92,-151 280.08,-151 280.08,-187"/>
<text text-anchor="middle" x="225" y="-164.8" font-family="Times,serif" font-size="14.00">CalendarModule</text>
</g>
<!-- LoggerModule&#45;&gt;CalendarModule -->
<g id="edge1" class="edge">
<title>LoggerModule&#45;&gt;CalendarModule</title>
<path fill="none" stroke="black" d="M420,-122.11C420,-141.34 420,-169 420,-169 420,-169 335.43,-169 335.43,-169"/>
<polygon fill="black" stroke="black" points="335.43,-165.5 325.43,-169 335.43,-172.5 335.43,-165.5"/>
<path fill="none" stroke="black" d="M76,-122.11C76,-141.34 76,-169 76,-169 76,-169 159.94,-169 159.94,-169"/>
<polygon fill="black" stroke="black" points="159.94,-172.5 169.94,-169 159.94,-165.5 159.94,-172.5"/>
</g>
<!-- CalendarService -->
<g id="node3" class="node">
<title>CalendarService </title>
<polygon fill="#fb8072" stroke="black" points="326.01,-252 213.99,-252 213.99,-216 326.01,-216 326.01,-252"/>
<text text-anchor="middle" x="270" y="-229.8" font-family="Times,serif" font-size="14.00">CalendarService </text>
<polygon fill="#fb8072" stroke="black" points="281.01,-252 168.99,-252 168.99,-216 281.01,-216 281.01,-252"/>
<text text-anchor="middle" x="225" y="-229.8" font-family="Times,serif" font-size="14.00">CalendarService </text>
</g>
<!-- CalendarModule&#45;&gt;CalendarService -->
<g id="edge2" class="edge">
<title>CalendarModule&#45;&gt;CalendarService </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M270,-187.11C270,-187.11 270,-205.99 270,-205.99"/>
<polygon fill="black" stroke="black" points="266.5,-205.99 270,-215.99 273.5,-205.99 266.5,-205.99"/>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M225,-187.11C225,-187.11 225,-205.99 225,-205.99"/>
<polygon fill="black" stroke="black" points="221.5,-205.99 225,-215.99 228.5,-205.99 221.5,-205.99"/>
</g>
<!-- CalendarMapper -->
<g id="node4" class="node">
<title>CalendarMapper</title>
<ellipse fill="#fdb462" stroke="black" cx="270" cy="-104" rx="75.84" ry="18"/>
<text text-anchor="middle" x="270" y="-99.8" font-family="Times,serif" font-size="14.00">CalendarMapper</text>
<ellipse fill="#fdb462" stroke="black" cx="394" cy="-104" rx="75.84" ry="18"/>
<text text-anchor="middle" x="394" y="-99.8" font-family="Times,serif" font-size="14.00">CalendarMapper</text>
</g>
<!-- CalendarMapper&#45;&gt;CalendarModule -->
<g id="edge3" class="edge">
<title>CalendarMapper&#45;&gt;CalendarModule</title>
<path fill="none" stroke="black" d="M270,-122.11C270,-122.11 270,-140.99 270,-140.99"/>
<polygon fill="black" stroke="black" points="266.5,-140.99 270,-150.99 273.5,-140.99 266.5,-140.99"/>
<path fill="none" stroke="black" d="M394,-122.11C394,-141.34 394,-169 394,-169 394,-169 290.34,-169 290.34,-169"/>
<polygon fill="black" stroke="black" points="290.34,-165.5 280.34,-169 290.34,-172.5 290.34,-165.5"/>
</g>
<!-- CalendarService -->
<g id="node5" class="node">
<title>CalendarService</title>
<ellipse fill="#fdb462" stroke="black" cx="101" cy="-104" rx="74.7" ry="18"/>
<text text-anchor="middle" x="101" y="-99.8" font-family="Times,serif" font-size="14.00">CalendarService</text>
<ellipse fill="#fdb462" stroke="black" cx="225" cy="-104" rx="74.7" ry="18"/>
<text text-anchor="middle" x="225" y="-99.8" font-family="Times,serif" font-size="14.00">CalendarService</text>
</g>
<!-- CalendarService&#45;&gt;CalendarModule -->
<g id="edge4" class="edge">
<title>CalendarService&#45;&gt;CalendarModule</title>
<path fill="none" stroke="black" d="M101,-122.11C101,-141.34 101,-169 101,-169 101,-169 204.66,-169 204.66,-169"/>
<polygon fill="black" stroke="black" points="204.66,-172.5 214.66,-169 204.66,-165.5 204.66,-172.5"/>
<path fill="none" stroke="black" d="M225,-122.11C225,-122.11 225,-140.99 225,-140.99"/>
<polygon fill="black" stroke="black" points="221.5,-140.99 225,-150.99 228.5,-140.99 221.5,-140.99"/>
</g>
</g>
</svg>
Expand Down
Loading

0 comments on commit e703d9f

Please sign in to comment.