Skip to content

Commit

Permalink
Deploying to gh-pages from @ e70a7b7 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorCapCoder committed Oct 20, 2023
1 parent f85f3a3 commit be1d077
Show file tree
Hide file tree
Showing 88 changed files with 2,145 additions and 2,062 deletions.
36 changes: 35 additions & 1 deletion classes/ClassInfoDto.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ <h6><b>Properties</b></h6>
<li>
<a href="#id" >id</a>
</li>
<li>
<span class="modifier">Optional</span>
<a href="#isUpgradable" >isUpgradable</a>
</li>
<li>
<a href="#name" >name</a>
</li>
Expand Down Expand Up @@ -132,7 +136,7 @@ <h3 id="constructor">Constructor</h3>
</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/group/uc/dto/class-info.dto.ts:14</a></div>
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">apps/server/src/modules/group/uc/dto/class-info.dto.ts:16</a></div>
</td>
</tr>

Expand Down Expand Up @@ -226,6 +230,33 @@ <h3 id="inputs">
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="isUpgradable"></a>
<span class="name">
<span class="modifier">Optional</span>
<span ><b>isUpgradable</b></span>
<a href="#isUpgradable"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

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


</tbody>
</table>
<table class="table table-sm table-bordered">
Expand Down Expand Up @@ -360,13 +391,16 @@ <h3 id="inputs">

schoolYear?: string;

isUpgradable?: boolean;

constructor(props: ClassInfoDto) {
this.id &#x3D; props.id;
this.type &#x3D; props.type;
this.name &#x3D; props.name;
this.externalSourceName &#x3D; props.externalSourceName;
this.teachers &#x3D; props.teachers;
this.schoolYear &#x3D; props.schoolYear;
this.isUpgradable &#x3D; props.isUpgradable;
}
}
</code></pre>
Expand Down
48 changes: 47 additions & 1 deletion classes/ClassInfoResponse.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ <h6><b>Properties</b></h6>
<span class="modifier"></span>
<a href="#id" >id</a>
</li>
<li>
<span class="modifier"></span>
<span class="modifier">Optional</span>
<a href="#isUpgradable" >isUpgradable</a>
</li>
<li>
<span class="modifier"></span>
<a href="#name" >name</a>
Expand Down Expand Up @@ -138,7 +143,7 @@ <h3 id="constructor">Constructor</h3>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">apps/server/src/modules/group/controller/dto/response/class-info.response.ts:21</a></div>
<div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">apps/server/src/modules/group/controller/dto/response/class-info.response.ts:24</a></div>
</td>
</tr>

Expand Down Expand Up @@ -252,6 +257,43 @@ <h3 id="inputs">
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="isUpgradable"></a>
<span class="name">
<span class="modifier"></span>
<span class="modifier">Optional</span>
<span ><b>isUpgradable</b></span>
<a href="#isUpgradable"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

</td>
</tr>
<tr>
<td class="col-md-4">
<b>Decorators : </b>
<br />
<code>
@ApiPropertyOptional()<br />
</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">apps/server/src/modules/group/controller/dto/response/class-info.response.ts:24</a></div>
</td>
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
Expand Down Expand Up @@ -433,13 +475,17 @@ <h3 id="inputs">
@ApiPropertyOptional()
schoolYear?: string;

@ApiPropertyOptional()
isUpgradable?: boolean;

constructor(props: ClassInfoResponse) {
this.id &#x3D; props.id;
this.type &#x3D; props.type;
this.name &#x3D; props.name;
this.externalSourceName &#x3D; props.externalSourceName;
this.teachers &#x3D; props.teachers;
this.schoolYear &#x3D; props.schoolYear;
this.isUpgradable &#x3D; props.isUpgradable;
}
}
</code></pre>
Expand Down
1 change: 1 addition & 0 deletions classes/GroupResponseMapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ <h3 id="methods">
externalSourceName: classInfo.externalSourceName,
teachers: classInfo.teachers,
schoolYear: classInfo.schoolYear,
isUpgradable: classInfo.isUpgradable,
});

return mapped;
Expand Down
2 changes: 2 additions & 0 deletions classes/GroupUcMapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ <h3 id="methods">

public static mapClassToClassInfoDto(clazz: Class, teachers: UserDO[], schoolYear?: SchoolYearEntity): ClassInfoDto {
const name &#x3D; clazz.gradeLevel ? &#x60;${clazz.gradeLevel}${clazz.name}&#x60; : clazz.name;
const isUpgradable &#x3D; clazz.gradeLevel !&#x3D;&#x3D; 13 &amp;&amp; !clazz.successor;

const mapped: ClassInfoDto &#x3D; new ClassInfoDto({
id: clazz.id,
Expand All @@ -348,6 +349,7 @@ <h3 id="methods">
externalSourceName: clazz.source,
teachers: teachers.map((user: UserDO) &#x3D;&gt; user.lastName),
schoolYear: schoolYear?.name,
isUpgradable,
});

return mapped;
Expand Down
4 changes: 2 additions & 2 deletions coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -4372,7 +4372,7 @@
<td>ClassInfoResponse</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 @@ -4576,7 +4576,7 @@
<td>ClassInfoDto</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
4 changes: 2 additions & 2 deletions js/search/search_index.js

Large diffs are not rendered by default.

Loading

0 comments on commit be1d077

Please sign in to comment.