Skip to content

Commit 97dedfc

Browse files
committed
deploy: 306e160
1 parent ac0950c commit 97dedfc

File tree

16 files changed

+281
-166
lines changed

16 files changed

+281
-166
lines changed

classes/InitInfoPart.html

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ <h3>File</h3>
123123
</p>
124124

125125

126+
<p class="comment">
127+
<h3>Description</h3>
128+
</p>
129+
<p class="comment">
130+
<p>Information related to the account/identity initialization process.</p>
131+
<p>This schema is stored as a subdocument (no own _id) and
132+
keeps track of the initialization timestamps.</p>
133+
134+
</p>
126135

127136

128137

@@ -201,10 +210,17 @@ <h3 id="inputs">
201210
</tr>
202211
<tr>
203212
<td class="col-md-4">
204-
<div class="io-line">Defined in <a href="" data-line="10" class="link-to-prism">src/management/identities/_schemas/_parts/init-info.part.schema.ts:10</a></div>
213+
<div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">src/management/identities/_schemas/_parts/init-info.part.schema.ts:24</a></div>
205214
</td>
206215
</tr>
207216

217+
<tr>
218+
<td class="col-md-4">
219+
<div class="io-description"><p>Date when the user actually completed the initialization.
220+
Undefined if the initialization has not been completed yet.</p>
221+
</div>
222+
</td>
223+
</tr>
208224

209225
</tbody>
210226
</table>
@@ -239,10 +255,17 @@ <h3 id="inputs">
239255
</tr>
240256
<tr>
241257
<td class="col-md-4">
242-
<div class="io-line">Defined in <a href="" data-line="7" class="link-to-prism">src/management/identities/_schemas/_parts/init-info.part.schema.ts:7</a></div>
258+
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/management/identities/_schemas/_parts/init-info.part.schema.ts:17</a></div>
243259
</td>
244260
</tr>
245261

262+
<tr>
263+
<td class="col-md-4">
264+
<div class="io-description"><p>Date when the initialization request/link was sent (email, SMS, etc.).
265+
Undefined if no request has been sent yet.</p>
266+
</div>
267+
</td>
268+
</tr>
246269

247270
</tbody>
248271
</table>
@@ -261,11 +284,25 @@ <h3 id="inputs">
261284
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Prop, Schema, SchemaFactory } from &#x27;@nestjs/mongoose&#x27;;
262285
import { Document } from &#x27;mongoose&#x27;;
263286

287+
/**
288+
* Information related to the account/identity initialization process.
289+
*
290+
* This schema is stored as a subdocument (no own _id) and
291+
* keeps track of the initialization timestamps.
292+
*/
264293
@Schema({ _id: false })
265294
export class InitInfoPart extends Document {
295+
/**
296+
* Date when the initialization request/link was sent (email, SMS, etc.).
297+
* Undefined if no request has been sent yet.
298+
*/
266299
@Prop({ type: Date })
267300
public sentDate?: Date;
268301

302+
/**
303+
* Date when the user actually completed the initialization.
304+
* Undefined if the initialization has not been completed yet.
305+
*/
269306
@Prop({ type: Date })
270307
public initDate?: Date;
271308
}

coverage.html

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,6 +1066,18 @@
10661066
<span class="coverage-count">(0/1)</span>
10671067
</td>
10681068
</tr>
1069+
<tr class="low">
1070+
<td>
1071+
<!-- miscellaneous -->
1072+
<a href="./miscellaneous/functions.html#isIPv4">src/_common/functions/is-ipv4.ts</a>
1073+
</td>
1074+
<td>function</td>
1075+
<td>isIPv4</td>
1076+
<td align="right" data-sort="0">
1077+
<span class="coverage-percent">0 %</span>
1078+
<span class="coverage-count">(0/1)</span>
1079+
</td>
1080+
</tr>
10691081
<tr class="low">
10701082
<td>
10711083
<!-- miscellaneous -->
@@ -3886,16 +3898,16 @@
38863898
<span class="coverage-count">(0/1)</span>
38873899
</td>
38883900
</tr>
3889-
<tr class="low">
3901+
<tr class="very-good">
38903902
<td>
38913903
<!-- miscellaneous -->
38923904
<a href="./classes/InitInfoPart.html">src/management/identities/_schemas/_parts/init-info.part.schema.ts</a>
38933905
</td>
38943906
<td>class</td>
38953907
<td>InitInfoPart</td>
3896-
<td align="right" data-sort="0">
3897-
<span class="coverage-percent">0 %</span>
3898-
<span class="coverage-count">(0/3)</span>
3908+
<td align="right" data-sort="100">
3909+
<span class="coverage-percent">100 %</span>
3910+
<span class="coverage-count">(3/3)</span>
38993911
</td>
39003912
</tr>
39013913
<tr class="low">

js/search/search_index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

miscellaneous/functions.html

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ <h3 id="index">Index</h3>
192192
<li>
193193
<a href="#internalFiltersByTypeUpperLower" title="src/_common/restools/search-filter-schema.decorator.ts" ><b>internalFiltersByTypeUpperLower</b>&nbsp;&nbsp;&nbsp;(src/.../search-filter-schema.decorator.ts)</a>
194194
</li>
195+
<li>
196+
<a href="#isIPv4" title="src/_common/functions/is-ipv4.ts" ><b>isIPv4</b>&nbsp;&nbsp;&nbsp;(src/.../is-ipv4.ts)</a>
197+
</li>
195198
<li>
196199
<a href="#isNullOrUndefined" title="src/_common/plugins/mongoose/auto-increment.plugin.ts" ><b>isNullOrUndefined</b>&nbsp;&nbsp;&nbsp;(src/.../auto-increment.plugin.ts)</a>
197200
</li>
@@ -2817,6 +2820,69 @@ <h3></h3> <table class="table table-sm table-bordered">
28172820
<div class="io-description">
28182821
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
28192822

2823+
</div>
2824+
<div class="io-description">
2825+
2826+
</div>
2827+
</td>
2828+
</tr>
2829+
</tbody>
2830+
</table>
2831+
</section> <h3>src/_common/functions/is-ipv4.ts</h3>
2832+
<section data-compodoc="block-methods">
2833+
<h3></h3> <table class="table table-sm table-bordered">
2834+
<tbody>
2835+
<tr>
2836+
<td class="col-md-4">
2837+
<a name="isIPv4"></a>
2838+
<span class="name">
2839+
<span ><b>isIPv4</b></span>
2840+
<a href="#isIPv4"><span class="icon ion-ios-link"></span></a>
2841+
</span>
2842+
</td>
2843+
</tr>
2844+
<tr>
2845+
<td class="col-md-4">
2846+
<code>isIPv4(address: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
2847+
</td>
2848+
</tr>
2849+
2850+
2851+
2852+
2853+
<tr>
2854+
<td class="col-md-4">
2855+
2856+
<div class="io-description">
2857+
<b>Parameters :</b>
2858+
2859+
<table class="params">
2860+
<thead>
2861+
<tr>
2862+
<td>Name</td>
2863+
<td>Type</td>
2864+
<td>Optional</td>
2865+
</tr>
2866+
</thead>
2867+
<tbody>
2868+
<tr>
2869+
<td>address</td>
2870+
<td>
2871+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
2872+
</td>
2873+
2874+
<td>
2875+
No
2876+
</td>
2877+
2878+
2879+
</tr>
2880+
</tbody>
2881+
</table>
2882+
</div>
2883+
<div class="io-description">
2884+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
2885+
28202886
</div>
28212887
<div class="io-description">
28222888

modules/IdentitiesModule.html

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -117,119 +117,119 @@
117117
<title>cluster_IdentitiesModule</title>
118118
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1194,-268 1194,-70 8,-70"/>
119119
</g>
120-
<g id="clust3" class="cluster">
121-
<title>cluster_IdentitiesModule_imports</title>
122-
<polygon fill="none" stroke="black" points="809,-78 809,-130 1186,-130 1186,-78 809,-78"/>
123-
</g>
124120
<g id="clust6" class="cluster">
125121
<title>cluster_IdentitiesModule_providers</title>
126-
<polygon fill="none" stroke="black" points="16,-78 16,-130 801,-130 801,-78 16,-78"/>
122+
<polygon fill="none" stroke="black" points="401,-78 401,-130 1186,-130 1186,-78 401,-78"/>
127123
</g>
128124
<g id="clust4" class="cluster">
129125
<title>cluster_IdentitiesModule_exports</title>
130-
<polygon fill="none" stroke="black" points="599,-208 599,-260 925,-260 925,-208 599,-208"/>
126+
<polygon fill="none" stroke="black" points="265,-208 265,-260 591,-260 591,-208 265,-208"/>
127+
</g>
128+
<g id="clust3" class="cluster">
129+
<title>cluster_IdentitiesModule_imports</title>
130+
<polygon fill="none" stroke="black" points="16,-78 16,-130 393,-130 393,-78 16,-78"/>
131131
</g>
132132
<!-- AgentsModule -->
133133
<g id="node1" class="node">
134134
<title>AgentsModule</title>
135-
<polygon fill="#8dd3c7" stroke="black" points="1177.71,-122 1174.71,-126 1153.71,-126 1150.71,-122 1078.29,-122 1078.29,-86 1177.71,-86 1177.71,-122"/>
136-
<text text-anchor="middle" x="1128" y="-99.8" font-family="Times,serif" font-size="14.00">AgentsModule</text>
135+
<polygon fill="#8dd3c7" stroke="black" points="384.71,-122 381.71,-126 360.71,-126 357.71,-122 285.29,-122 285.29,-86 384.71,-86 384.71,-122"/>
136+
<text text-anchor="middle" x="335" y="-99.8" font-family="Times,serif" font-size="14.00">AgentsModule</text>
137137
</g>
138138
<!-- IdentitiesModule -->
139139
<g id="node4" class="node">
140140
<title>IdentitiesModule</title>
141-
<polygon fill="#8dd3c7" stroke="black" points="819.65,-187 816.65,-191 795.65,-191 792.65,-187 708.35,-187 708.35,-151 819.65,-151 819.65,-187"/>
142-
<text text-anchor="middle" x="764" y="-164.8" font-family="Times,serif" font-size="14.00">IdentitiesModule</text>
141+
<polygon fill="#8dd3c7" stroke="black" points="485.65,-187 482.65,-191 461.65,-191 458.65,-187 374.35,-187 374.35,-151 485.65,-151 485.65,-187"/>
142+
<text text-anchor="middle" x="430" y="-164.8" font-family="Times,serif" font-size="14.00">IdentitiesModule</text>
143143
</g>
144144
<!-- AgentsModule&#45;&gt;IdentitiesModule -->
145145
<g id="edge1" class="edge">
146146
<title>AgentsModule&#45;&gt;IdentitiesModule</title>
147-
<path fill="none" stroke="black" d="M1128,-122.28C1128,-143.32 1128,-175 1128,-175 1128,-175 829.68,-175 829.68,-175"/>
148-
<polygon fill="black" stroke="black" points="829.68,-171.5 819.68,-175 829.68,-178.5 829.68,-171.5"/>
147+
<path fill="none" stroke="black" d="M379.39,-122.11C379.39,-122.11 379.39,-140.99 379.39,-140.99"/>
148+
<polygon fill="black" stroke="black" points="375.89,-140.99 379.39,-150.99 382.89,-140.99 375.89,-140.99"/>
149149
</g>
150150
<!-- FilestorageModule -->
151151
<g id="node2" class="node">
152152
<title>FilestorageModule</title>
153-
<polygon fill="#8dd3c7" stroke="black" points="1060.75,-122 1057.75,-126 1036.75,-126 1033.75,-122 939.25,-122 939.25,-86 1060.75,-86 1060.75,-122"/>
154-
<text text-anchor="middle" x="1000" y="-99.8" font-family="Times,serif" font-size="14.00">FilestorageModule</text>
153+
<polygon fill="#8dd3c7" stroke="black" points="267.75,-122 264.75,-126 243.75,-126 240.75,-122 146.25,-122 146.25,-86 267.75,-86 267.75,-122"/>
154+
<text text-anchor="middle" x="207" y="-99.8" font-family="Times,serif" font-size="14.00">FilestorageModule</text>
155155
</g>
156156
<!-- FilestorageModule&#45;&gt;IdentitiesModule -->
157157
<g id="edge2" class="edge">
158158
<title>FilestorageModule&#45;&gt;IdentitiesModule</title>
159-
<path fill="none" stroke="black" d="M1000,-122.02C1000,-139.37 1000,-163 1000,-163 1000,-163 829.93,-163 829.93,-163"/>
160-
<polygon fill="black" stroke="black" points="829.93,-159.5 819.93,-163 829.93,-166.5 829.93,-159.5"/>
159+
<path fill="none" stroke="black" d="M207,-122.02C207,-139.37 207,-163 207,-163 207,-163 364.3,-163 364.3,-163"/>
160+
<polygon fill="black" stroke="black" points="364.3,-166.5 374.3,-163 364.3,-159.5 364.3,-166.5"/>
161161
</g>
162162
<!-- SettingsModule -->
163163
<g id="node3" class="node">
164164
<title>SettingsModule</title>
165-
<polygon fill="#8dd3c7" stroke="black" points="921.16,-122 918.16,-126 897.16,-126 894.16,-122 816.84,-122 816.84,-86 921.16,-86 921.16,-122"/>
166-
<text text-anchor="middle" x="869" y="-99.8" font-family="Times,serif" font-size="14.00">SettingsModule</text>
165+
<polygon fill="#8dd3c7" stroke="black" points="128.16,-122 125.16,-126 104.16,-126 101.16,-122 23.84,-122 23.84,-86 128.16,-86 128.16,-122"/>
166+
<text text-anchor="middle" x="76" y="-99.8" font-family="Times,serif" font-size="14.00">SettingsModule</text>
167167
</g>
168168
<!-- SettingsModule&#45;&gt;IdentitiesModule -->
169169
<g id="edge3" class="edge">
170170
<title>SettingsModule&#45;&gt;IdentitiesModule</title>
171-
<path fill="none" stroke="black" d="M816.76,-104C809.81,-104 805.03,-104 805.03,-104 805.03,-104 805.03,-140.89 805.03,-140.89"/>
172-
<polygon fill="black" stroke="black" points="801.53,-140.89 805.03,-150.89 808.53,-140.89 801.53,-140.89"/>
171+
<path fill="none" stroke="black" d="M76,-122.28C76,-143.32 76,-175 76,-175 76,-175 364.3,-175 364.3,-175"/>
172+
<polygon fill="black" stroke="black" points="364.3,-178.5 374.3,-175 364.3,-171.5 364.3,-178.5"/>
173173
</g>
174174
<!-- IdentitiesCrudService -->
175175
<g id="node5" class="node">
176176
<title>IdentitiesCrudService </title>
177-
<polygon fill="#fb8072" stroke="black" points="916.57,-252 775.43,-252 775.43,-216 916.57,-216 916.57,-252"/>
178-
<text text-anchor="middle" x="846" y="-229.8" font-family="Times,serif" font-size="14.00">IdentitiesCrudService </text>
177+
<polygon fill="#fb8072" stroke="black" points="582.57,-252 441.43,-252 441.43,-216 582.57,-216 582.57,-252"/>
178+
<text text-anchor="middle" x="512" y="-229.8" font-family="Times,serif" font-size="14.00">IdentitiesCrudService </text>
179179
</g>
180180
<!-- IdentitiesModule&#45;&gt;IdentitiesCrudService -->
181181
<g id="edge4" class="edge">
182182
<title>IdentitiesModule&#45;&gt;IdentitiesCrudService </title>
183-
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M797.52,-187.11C797.52,-187.11 797.52,-205.99 797.52,-205.99"/>
184-
<polygon fill="black" stroke="black" points="794.02,-205.99 797.52,-215.99 801.02,-205.99 794.02,-205.99"/>
183+
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M463.52,-187.11C463.52,-187.11 463.52,-205.99 463.52,-205.99"/>
184+
<polygon fill="black" stroke="black" points="460.02,-205.99 463.52,-215.99 467.02,-205.99 460.02,-205.99"/>
185185
</g>
186186
<!-- IdentitiesUpsertService -->
187187
<g id="node6" class="node">
188188
<title>IdentitiesUpsertService </title>
189-
<polygon fill="#fb8072" stroke="black" points="757.39,-252 606.61,-252 606.61,-216 757.39,-216 757.39,-252"/>
190-
<text text-anchor="middle" x="682" y="-229.8" font-family="Times,serif" font-size="14.00">IdentitiesUpsertService </text>
189+
<polygon fill="#fb8072" stroke="black" points="423.39,-252 272.61,-252 272.61,-216 423.39,-216 423.39,-252"/>
190+
<text text-anchor="middle" x="348" y="-229.8" font-family="Times,serif" font-size="14.00">IdentitiesUpsertService </text>
191191
</g>
192192
<!-- IdentitiesModule&#45;&gt;IdentitiesUpsertService -->
193193
<g id="edge5" class="edge">
194194
<title>IdentitiesModule&#45;&gt;IdentitiesUpsertService </title>
195-
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M732.81,-187.11C732.81,-187.11 732.81,-205.99 732.81,-205.99"/>
196-
<polygon fill="black" stroke="black" points="729.31,-205.99 732.81,-215.99 736.31,-205.99 729.31,-205.99"/>
195+
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M398.81,-187.11C398.81,-187.11 398.81,-205.99 398.81,-205.99"/>
196+
<polygon fill="black" stroke="black" points="395.31,-205.99 398.81,-215.99 402.31,-205.99 395.31,-205.99"/>
197197
</g>
198198
<!-- IdentitiesForcepasswordService -->
199199
<g id="node7" class="node">
200200
<title>IdentitiesForcepasswordService</title>
201-
<ellipse fill="#fdb462" stroke="black" cx="659" cy="-104" rx="134.26" ry="18"/>
202-
<text text-anchor="middle" x="659" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesForcepasswordService</text>
201+
<ellipse fill="#fdb462" stroke="black" cx="1044" cy="-104" rx="134.26" ry="18"/>
202+
<text text-anchor="middle" x="1044" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesForcepasswordService</text>
203203
</g>
204204
<!-- IdentitiesForcepasswordService&#45;&gt;IdentitiesModule -->
205205
<g id="edge6" class="edge">
206206
<title>IdentitiesForcepasswordService&#45;&gt;IdentitiesModule</title>
207-
<path fill="none" stroke="black" d="M750.78,-117.15C750.78,-117.15 750.78,-140.69 750.78,-140.69"/>
208-
<polygon fill="black" stroke="black" points="747.28,-140.69 750.78,-150.69 754.28,-140.69 747.28,-140.69"/>
207+
<path fill="none" stroke="black" d="M1044,-122.28C1044,-143.32 1044,-175 1044,-175 1044,-175 495.84,-175 495.84,-175"/>
208+
<polygon fill="black" stroke="black" points="495.84,-171.5 485.84,-175 495.84,-178.5 495.84,-171.5"/>
209209
</g>
210210
<!-- IdentitiesJsonformsService -->
211211
<g id="node8" class="node">
212212
<title>IdentitiesJsonformsService</title>
213-
<ellipse fill="#fdb462" stroke="black" cx="391" cy="-104" rx="115.74" ry="18"/>
214-
<text text-anchor="middle" x="391" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesJsonformsService</text>
213+
<ellipse fill="#fdb462" stroke="black" cx="776" cy="-104" rx="115.74" ry="18"/>
214+
<text text-anchor="middle" x="776" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesJsonformsService</text>
215215
</g>
216216
<!-- IdentitiesJsonformsService&#45;&gt;IdentitiesModule -->
217217
<g id="edge7" class="edge">
218218
<title>IdentitiesJsonformsService&#45;&gt;IdentitiesModule</title>
219-
<path fill="none" stroke="black" d="M391,-122.02C391,-139.37 391,-163 391,-163 391,-163 698.16,-163 698.16,-163"/>
220-
<polygon fill="black" stroke="black" points="698.16,-166.5 708.16,-163 698.16,-159.5 698.16,-166.5"/>
219+
<path fill="none" stroke="black" d="M776,-122.02C776,-139.37 776,-163 776,-163 776,-163 495.98,-163 495.98,-163"/>
220+
<polygon fill="black" stroke="black" points="495.98,-159.5 485.98,-163 495.98,-166.5 495.98,-159.5"/>
221221
</g>
222222
<!-- IdentitiesValidationService -->
223223
<g id="node9" class="node">
224224
<title>IdentitiesValidationService</title>
225-
<ellipse fill="#fdb462" stroke="black" cx="141" cy="-104" rx="116.88" ry="18"/>
226-
<text text-anchor="middle" x="141" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesValidationService</text>
225+
<ellipse fill="#fdb462" stroke="black" cx="526" cy="-104" rx="116.88" ry="18"/>
226+
<text text-anchor="middle" x="526" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesValidationService</text>
227227
</g>
228228
<!-- IdentitiesValidationService&#45;&gt;IdentitiesModule -->
229229
<g id="edge8" class="edge">
230230
<title>IdentitiesValidationService&#45;&gt;IdentitiesModule</title>
231-
<path fill="none" stroke="black" d="M141,-122.28C141,-143.32 141,-175 141,-175 141,-175 698.16,-175 698.16,-175"/>
232-
<polygon fill="black" stroke="black" points="698.16,-178.5 708.16,-175 698.16,-171.5 698.16,-178.5"/>
231+
<path fill="none" stroke="black" d="M447.57,-117.47C447.57,-117.47 447.57,-140.86 447.57,-140.86"/>
232+
<polygon fill="black" stroke="black" points="444.07,-140.86 447.57,-150.86 451.07,-140.86 444.07,-140.86"/>
233233
</g>
234234
</g>
235235
</svg>

0 commit comments

Comments
 (0)