Skip to content

Commit

Permalink
Deploying to gh-pages from @ 2fc165e 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
mrikallab committed Oct 16, 2023
1 parent 0b2d6d2 commit 9caf6be
Show file tree
Hide file tree
Showing 100 changed files with 3,273 additions and 2,678 deletions.
106 changes: 103 additions & 3 deletions classes/ClassInfoDto.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,22 @@ <h6><b>Properties</b></h6>
<span class="modifier">Optional</span>
<a href="#externalSourceName" >externalSourceName</a>
</li>
<li>
<a href="#id" >id</a>
</li>
<li>
<a href="#name" >name</a>
</li>
<li>
<span class="modifier">Optional</span>
<a href="#schoolYear" >schoolYear</a>
</li>
<li>
<a href="#teachers" >teachers</a>
</li>
<li>
<a href="#type" >type</a>
</li>
</ul>
</td>
</tr>
Expand All @@ -122,7 +132,7 @@ <h3 id="constructor">Constructor</h3>
</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/group/uc/dto/class-info.dto.ts:6</a></div>
<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>
</td>
</tr>

Expand Down Expand Up @@ -181,6 +191,32 @@ <h3 id="inputs">
<td class="col-md-4">
<i>Type : </i> <code><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="10" class="link-to-prism">apps/server/src/modules/group/uc/dto/class-info.dto.ts:10</a></div>
</td>
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="id"></a>
<span class="name">
<span ><b>id</b></span>
<a href="#id"><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/string" target="_blank" >string</a></code>

</td>
</tr>
<tr>
Expand Down Expand Up @@ -211,7 +247,34 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="2" class="link-to-prism">apps/server/src/modules/group/uc/dto/class-info.dto.ts:2</a></div>
<div class="io-line">Defined in <a href="" data-line="8" class="link-to-prism">apps/server/src/modules/group/uc/dto/class-info.dto.ts:8</a></div>
</td>
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="schoolYear"></a>
<span class="name">
<span class="modifier">Optional</span>
<span ><b>schoolYear</b></span>
<a href="#schoolYear"><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/string" target="_blank" >string</a></code>

</td>
</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>
</td>
</tr>

Expand All @@ -233,6 +296,32 @@ <h3 id="inputs">
<td class="col-md-4">
<i>Type : </i> <code>string[]</code>

</td>
</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/group/uc/dto/class-info.dto.ts:12</a></div>
</td>
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="type"></a>
<span class="name">
<span ><b>type</b></span>
<a href="#type"><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#ClassRootType" target="_self" >ClassRootType</a></code>

</td>
</tr>
<tr>
Expand All @@ -256,17 +345,28 @@ <h3 id="inputs">


<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">export class ClassInfoDto {
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ClassRootType } from &#x27;./class-root-type&#x27;;

export class ClassInfoDto {
id: string;

type: ClassRootType;

name: string;

externalSourceName?: string;

teachers: string[];

schoolYear?: string;

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;
}
}
</code></pre>
Expand Down
143 changes: 139 additions & 4 deletions classes/ClassInfoResponse.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,27 @@ <h6><b>Properties</b></h6>
<span class="modifier">Optional</span>
<a href="#externalSourceName" >externalSourceName</a>
</li>
<li>
<span class="modifier"></span>
<a href="#id" >id</a>
</li>
<li>
<span class="modifier"></span>
<a href="#name" >name</a>
</li>
<li>
<span class="modifier"></span>
<span class="modifier">Optional</span>
<a href="#schoolYear" >schoolYear</a>
</li>
<li>
<span class="modifier"></span>
<a href="#teachers" >teachers</a>
</li>
<li>
<span class="modifier"></span>
<a href="#type" >type</a>
</li>
</ul>
</td>
</tr>
Expand All @@ -125,7 +138,7 @@ <h3 id="constructor">Constructor</h3>
</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/group/controller/dto/response/class-info.response.ts:11</a></div>
<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>
</td>
</tr>

Expand Down Expand Up @@ -198,7 +211,43 @@ <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/group/controller/dto/response/class-info.response.ts:8</a></div>
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">apps/server/src/modules/group/controller/dto/response/class-info.response.ts:15</a></div>
</td>
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="id"></a>
<span class="name">
<span class="modifier"></span>
<span ><b>id</b></span>
<a href="#id"><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/string" target="_blank" >string</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">
<div class="io-line">Defined in <a href="" data-line="6" class="link-to-prism">apps/server/src/modules/group/controller/dto/response/class-info.response.ts:6</a></div>
</td>
</tr>

Expand Down Expand Up @@ -234,7 +283,44 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="5" class="link-to-prism">apps/server/src/modules/group/controller/dto/response/class-info.response.ts:5</a></div>
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">apps/server/src/modules/group/controller/dto/response/class-info.response.ts:12</a></div>
</td>
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="schoolYear"></a>
<span class="name">
<span class="modifier"></span>
<span class="modifier">Optional</span>
<span ><b>schoolYear</b></span>
<a href="#schoolYear"><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/string" target="_blank" >string</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="21" class="link-to-prism">apps/server/src/modules/group/controller/dto/response/class-info.response.ts:21</a></div>
</td>
</tr>

Expand Down Expand Up @@ -270,7 +356,43 @@ <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/group/controller/dto/response/class-info.response.ts:11</a></div>
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">apps/server/src/modules/group/controller/dto/response/class-info.response.ts:18</a></div>
</td>
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="type"></a>
<span class="name">
<span class="modifier"></span>
<span ><b>type</b></span>
<a href="#type"><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#ClassRootType" target="_self" >ClassRootType</a></code>

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

Expand All @@ -290,8 +412,15 @@ <h3 id="inputs">

<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ApiProperty, ApiPropertyOptional } from &#x27;@nestjs/swagger&#x27;;
import { ClassRootType } from &#x27;../../../uc/dto/class-root-type&#x27;;

export class ClassInfoResponse {
@ApiProperty()
id: string;

@ApiProperty({ enum: ClassRootType })
type: ClassRootType;

@ApiProperty()
name: string;

Expand All @@ -301,10 +430,16 @@ <h3 id="inputs">
@ApiProperty({ type: [String] })
teachers: string[];

@ApiPropertyOptional()
schoolYear?: string;

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;
}
}
</code></pre>
Expand Down
3 changes: 3 additions & 0 deletions classes/GroupResponseMapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,12 @@ <h3 id="methods">

private static mapToClassInfoToResponse(classInfo: ClassInfoDto): ClassInfoResponse {
const mapped &#x3D; new ClassInfoResponse({
id: classInfo.id,
type: classInfo.type,
name: classInfo.name,
externalSourceName: classInfo.externalSourceName,
teachers: classInfo.teachers,
schoolYear: classInfo.schoolYear,
});

return mapped;
Expand Down
Loading

0 comments on commit 9caf6be

Please sign in to comment.