Skip to content

Commit

Permalink
Deploying to gh-pages from @ d0aac38 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
dyedwiper committed Sep 20, 2023
1 parent b4c281b commit cd0d06c
Show file tree
Hide file tree
Showing 162 changed files with 12,350 additions and 12,247 deletions.
18 changes: 8 additions & 10 deletions classes/IservMapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ <h3 id="methods">
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>mapToExternalSchoolDto(schoolDO: <a href="../classes/SchoolDO.html" target="_self">SchoolDO</a>)</code>
<code>mapToExternalSchoolDto(schoolDO: <a href="../classes/LegacySchoolDo.html" target="_self">LegacySchoolDo</a>)</code>
</td>
</tr>


<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="7"
class="link-to-prism">apps/server/src/modules/provisioning/strategy/iserv/iserv-do.mapper.ts:7</a></div>
<div class="io-line">Defined in <a href="" data-line="5"
class="link-to-prism">apps/server/src/modules/provisioning/strategy/iserv/iserv-do.mapper.ts:5</a></div>
</td>
</tr>

Expand All @@ -162,7 +162,7 @@ <h3 id="methods">
<tr>
<td>schoolDO</td>
<td>
<code><a href="../classes/SchoolDO.html" target="_self" >SchoolDO</a></code>
<code><a href="../classes/LegacySchoolDo.html" target="_self" >LegacySchoolDo</a></code>
</td>

<td>
Expand Down Expand Up @@ -209,8 +209,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/modules/provisioning/strategy/iserv/iserv-do.mapper.ts:15</a></div>
<div class="io-line">Defined in <a href="" data-line="13"
class="link-to-prism">apps/server/src/modules/provisioning/strategy/iserv/iserv-do.mapper.ts:13</a></div>
</td>
</tr>

Expand Down Expand Up @@ -280,13 +280,11 @@ <h3 id="methods">


<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { RoleName } from &#x27;@shared/domain&#x27;;
import { SchoolDO } from &#x27;@shared/domain/domainobject/school.do&#x27;;
import { UserDO } from &#x27;@shared/domain/domainobject/user.do&#x27;;
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { LegacySchoolDo, RoleName, UserDO } from &#x27;@shared/domain&#x27;;
import { ExternalSchoolDto, ExternalUserDto } from &#x27;../../dto&#x27;;

export class IservMapper {
static mapToExternalSchoolDto(schoolDO: SchoolDO): ExternalSchoolDto {
static mapToExternalSchoolDto(schoolDO: LegacySchoolDo): ExternalSchoolDto {
return new ExternalSchoolDto({
name: schoolDO.name,
externalId: schoolDO.externalId || &#x27;&#x27;,
Expand Down
49 changes: 30 additions & 19 deletions classes/SchoolDO.html → classes/LegacySchoolDo.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@

<ol class="breadcrumb">
<li class="breadcrumb-item">Classes</li>
<li class="breadcrumb-item" >SchoolDO</li>
<li class="breadcrumb-item"
class="breadcrumb-item deprecated-name"
>LegacySchoolDo</li>
</ol>

<ul class="nav nav-tabs" role="tablist">
Expand All @@ -68,9 +70,15 @@
<h3>File</h3>
</p>
<p class="comment">
<code>apps/server/src/shared/domain/domainobject/school.do.ts</code>
<code>apps/server/src/shared/domain/domainobject/legacy-school.do.ts</code>
</p>

<p class="comment">
<h3 class="deprecated">Deprecated</h3>
</p>
<p class="comment">
because it extends the deprecated BaseDO.
</p>


<p class="comment">
Expand Down Expand Up @@ -159,12 +167,12 @@ <h3 id="constructor">Constructor</h3>
<tbody>
<tr>
<td class="col-md-4">
<code>constructor(params: <a href="../classes/SchoolDO.html" target="_self">SchoolDO</a>)</code>
<code>constructor(params: <a href="../classes/LegacySchoolDo.html" target="_self">LegacySchoolDo</a>)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">apps/server/src/shared/domain/domainobject/school.do.ts:28</a></div>
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:31</a></div>
</td>
</tr>

Expand All @@ -185,7 +193,7 @@ <h3 id="constructor">Constructor</h3>
<td>params</td>

<td>
<code><a href="../classes/SchoolDO.html" target="_self" >SchoolDO</a></code>
<code><a href="../classes/LegacySchoolDo.html" target="_self" >LegacySchoolDo</a></code>
</td>

<td>
Expand Down Expand Up @@ -227,7 +235,7 @@ <h3 id="inputs">
</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/domain/domainobject/school.do.ts:6</a></div>
<div class="io-line">Defined in <a href="" data-line="9" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:9</a></div>
</td>
</tr>

Expand All @@ -254,7 +262,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">apps/server/src/shared/domain/domainobject/school.do.ts:20</a></div>
<div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:23</a></div>
</td>
</tr>

Expand All @@ -280,7 +288,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">apps/server/src/shared/domain/domainobject/school.do.ts:28</a></div>
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:31</a></div>
</td>
</tr>

Expand All @@ -307,7 +315,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/shared/domain/domainobject/school.do.ts:8</a></div>
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:11</a></div>
</td>
</tr>

Expand All @@ -334,7 +342,7 @@ <h3 id="inputs">
</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/shared/domain/domainobject/school.do.ts:10</a></div>
<div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:13</a></div>
</td>
</tr>

Expand All @@ -360,7 +368,7 @@ <h3 id="inputs">
</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/shared/domain/domainobject/school.do.ts:14</a></div>
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:17</a></div>
</td>
</tr>

Expand All @@ -387,7 +395,7 @@ <h3 id="inputs">
</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/shared/domain/domainobject/school.do.ts:16</a></div>
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:19</a></div>
</td>
</tr>

Expand All @@ -414,7 +422,7 @@ <h3 id="inputs">
</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/shared/domain/domainobject/school.do.ts:12</a></div>
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:15</a></div>
</td>
</tr>

Expand All @@ -441,7 +449,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">apps/server/src/shared/domain/domainobject/school.do.ts:23</a></div>
<div class="io-line">Defined in <a href="" data-line="26" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:26</a></div>
</td>
</tr>

Expand All @@ -468,7 +476,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">apps/server/src/shared/domain/domainobject/school.do.ts:18</a></div>
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:21</a></div>
</td>
</tr>

Expand All @@ -495,7 +503,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">apps/server/src/shared/domain/domainobject/school.do.ts:25</a></div>
<div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">apps/server/src/shared/domain/domainobject/legacy-school.do.ts:28</a></div>
</td>
</tr>

Expand Down Expand Up @@ -552,7 +560,10 @@ <h3 id="inputs">
import { EntityId } from &#x27;@shared/domain/types&#x27;;
import { BaseDO } from &#x27;./base.do&#x27;;

export class SchoolDO extends BaseDO {
/**
* @deprecated because it extends the deprecated BaseDO.
*/
export class LegacySchoolDo extends BaseDO {
externalId?: string;

inMaintenanceSince?: Date;
Expand All @@ -577,7 +588,7 @@ <h3 id="inputs">
// TODO: N21-990 Refactoring: Create domain objects for schoolYear and federalState
federalState: FederalState;

constructor(params: SchoolDO) {
constructor(params: LegacySchoolDo) {
super();
this.id &#x3D; params.id;
this.externalId &#x3D; params.externalId;
Expand Down Expand Up @@ -631,7 +642,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
<script>
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
var COMPODOC_CURRENT_PAGE_CONTEXT = 'class';
var COMPODOC_CURRENT_PAGE_URL = 'SchoolDO.html';
var COMPODOC_CURRENT_PAGE_URL = 'LegacySchoolDo.html';
var MAX_SEARCH_RESULTS = 15;
</script>

Expand Down
12 changes: 6 additions & 6 deletions classes/SchoolFactory.html → classes/LegacySchoolFactory.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<ol class="breadcrumb">
<li class="breadcrumb-item">Classes</li>
<li class="breadcrumb-item" >SchoolFactory</li>
<li class="breadcrumb-item" >LegacySchoolFactory</li>
</ol>

<ul class="nav nav-tabs" role="tablist">
Expand All @@ -68,7 +68,7 @@
<h3>File</h3>
</p>
<p class="comment">
<code>apps/server/src/shared/testing/factory/domainobject/school.factory.ts</code>
<code>apps/server/src/shared/testing/factory/domainobject/legacy-school.factory.ts</code>
</p>


Expand Down Expand Up @@ -1257,14 +1257,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 { SchoolDO } from &#x27;@shared/domain/domainobject/school.do&#x27;;
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { LegacySchoolDo } from &#x27;@shared/domain&#x27;;
import { federalStateFactory } from &#x27;../federal-state.factory&#x27;;
import { schoolYearFactory } from &#x27;../schoolyear.factory&#x27;;
import { DoBaseFactory } from &#x27;./do-base.factory&#x27;;

class SchoolFactory extends DoBaseFactory&lt;SchoolDO, SchoolDO&gt; {}
class LegacySchoolFactory extends DoBaseFactory&lt;LegacySchoolDo, LegacySchoolDo&gt; {}

export const schoolDOFactory &#x3D; SchoolFactory.define(SchoolDO, ({ sequence }) &#x3D;&gt; {
export const legacySchoolDoFactory &#x3D; LegacySchoolFactory.define(LegacySchoolDo, ({ sequence }) &#x3D;&gt; {
return {
name: &#x60;schoolName-${sequence}&#x60;,
externalId: &#x27;123&#x27;,
Expand Down Expand Up @@ -1319,7 +1319,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
<script>
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
var COMPODOC_CURRENT_PAGE_CONTEXT = 'class';
var COMPODOC_CURRENT_PAGE_URL = 'SchoolFactory.html';
var COMPODOC_CURRENT_PAGE_URL = 'LegacySchoolFactory.html';
var MAX_SEARCH_RESULTS = 15;
</script>

Expand Down
8 changes: 4 additions & 4 deletions classes/MigrationBody.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<h3>File</h3>
</p>
<p class="comment">
<code>apps/server/src/modules/school/controller/dto/migration.body.ts</code>
<code>apps/server/src/modules/legacy-school/controller/dto/migration.body.ts</code>
</p>


Expand Down Expand Up @@ -160,7 +160,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">apps/server/src/modules/school/controller/dto/migration.body.ts:30</a></div>
<div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">apps/server/src/modules/legacy-school/controller/dto/migration.body.ts:30</a></div>
</td>
</tr>

Expand Down Expand Up @@ -199,7 +199,7 @@ <h3 id="inputs">
</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/school/controller/dto/migration.body.ts:21</a></div>
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">apps/server/src/modules/legacy-school/controller/dto/migration.body.ts:21</a></div>
</td>
</tr>

Expand Down Expand Up @@ -238,7 +238,7 @@ <h3 id="inputs">
</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/school/controller/dto/migration.body.ts:12</a></div>
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">apps/server/src/modules/legacy-school/controller/dto/migration.body.ts:12</a></div>
</td>
</tr>

Expand Down
Loading

0 comments on commit cd0d06c

Please sign in to comment.