Skip to content

Commit 4e14b67

Browse files
committed
deploy: a8553b6
1 parent 6558fe8 commit 4e14b67

File tree

11 files changed

+158
-151
lines changed

11 files changed

+158
-151
lines changed

classes/IdentitiesCrudService.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ <h3 id="methods">
582582
</tr>
583583
<tr>
584584
<td class="col-md-4">
585-
<div class="io-line">Defined in <code><a href="../injectables/AbstractServiceSchema.html#source" target="_self" >AbstractServiceSchema:94</a></code>
585+
<div class="io-line">Defined in <code><a href="../injectables/AbstractServiceSchema.html#source" target="_self" >AbstractServiceSchema:101</a></code>
586586
</div>
587587
</td>
588588
</tr>
@@ -678,7 +678,7 @@ <h3 id="methods">
678678
</tr>
679679
<tr>
680680
<td class="col-md-4">
681-
<div class="io-line">Defined in <code><a href="../injectables/AbstractServiceSchema.html#source" target="_self" >AbstractServiceSchema:19</a></code>
681+
<div class="io-line">Defined in <code><a href="../injectables/AbstractServiceSchema.html#source" target="_self" >AbstractServiceSchema:26</a></code>
682682
</div>
683683
</td>
684684
</tr>
@@ -779,8 +779,8 @@ <h3 id="methods">
779779

780780
<tr>
781781
<td class="col-md-4">
782-
<div class="io-line">Defined in <a href="" data-line="63"
783-
class="link-to-prism">src/management/identities/identities-crud.service.ts:63</a></div>
782+
<div class="io-line">Defined in <a href="" data-line="70"
783+
class="link-to-prism">src/management/identities/identities-crud.service.ts:70</a></div>
784784
</td>
785785
</tr>
786786

@@ -880,8 +880,8 @@ <h3 id="methods">
880880

881881
<tr>
882882
<td class="col-md-4">
883-
<div class="io-line">Defined in <a href="" data-line="71"
884-
class="link-to-prism">src/management/identities/identities-crud.service.ts:71</a></div>
883+
<div class="io-line">Defined in <a href="" data-line="78"
884+
class="link-to-prism">src/management/identities/identities-crud.service.ts:78</a></div>
885885
</td>
886886
</tr>
887887

@@ -2110,6 +2110,13 @@ <h3 id="methods">
21102110
): Promise&lt;Document&lt;T, any, T&gt;&gt; {
21112111
data &#x3D; this.transformNullsToString(data);
21122112
await this.checkInetOrgPersonJpegPhoto(data);
2113+
//recherche si email oy uid deja present
2114+
const f:any &#x3D; { $or: [{ &#x27;inetOrgPerson.uid&#x27; : data.inetOrgPerson.uid}, {&#x27;inetOrgPerson.mail&#x27;: data.inetOrgPerson.mail }]};
2115+
let dataDup &#x3D; await this._model.countDocuments(f).exec()
2116+
if (dataDup &gt; 0){
2117+
this.logger.error(&#x27;Identité existante&#x27;);
2118+
throw new HttpException(&quot;Uid ou mail déjà présent dans une autre identité&quot;, 400);
2119+
}
21132120
const created: Document&lt;T, any, T&gt; &#x3D; await super.create(data, options);
21142121
return created;
21152122
}

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.

modules/IdentitiesModule.html

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -117,71 +117,71 @@
117117
<title>cluster_IdentitiesModule</title>
118118
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 669,-268 669,-70 8,-70"/>
119119
</g>
120-
<g id="clust6" class="cluster">
121-
<title>cluster_IdentitiesModule_providers</title>
122-
<polygon fill="none" stroke="black" points="162,-78 162,-130 661,-130 661,-78 162,-78"/>
120+
<g id="clust3" class="cluster">
121+
<title>cluster_IdentitiesModule_imports</title>
122+
<polygon fill="none" stroke="black" points="523,-78 523,-130 661,-130 661,-78 523,-78"/>
123123
</g>
124124
<g id="clust4" class="cluster">
125125
<title>cluster_IdentitiesModule_exports</title>
126-
<polygon fill="none" stroke="black" points="208,-208 208,-260 366,-260 366,-208 208,-208"/>
126+
<polygon fill="none" stroke="black" points="312,-208 312,-260 470,-260 470,-208 312,-208"/>
127127
</g>
128-
<g id="clust3" class="cluster">
129-
<title>cluster_IdentitiesModule_imports</title>
130-
<polygon fill="none" stroke="black" points="16,-78 16,-130 154,-130 154,-78 16,-78"/>
128+
<g id="clust6" class="cluster">
129+
<title>cluster_IdentitiesModule_providers</title>
130+
<polygon fill="none" stroke="black" points="16,-78 16,-130 515,-130 515,-78 16,-78"/>
131131
</g>
132132
<!-- FilestorageModule -->
133133
<g id="node1" class="node">
134134
<title>FilestorageModule</title>
135-
<polygon fill="#8dd3c7" stroke="black" points="145.75,-122 142.75,-126 121.75,-126 118.75,-122 24.25,-122 24.25,-86 145.75,-86 145.75,-122"/>
136-
<text text-anchor="middle" x="85" y="-99.8" font-family="Times,serif" font-size="14.00">FilestorageModule</text>
135+
<polygon fill="#8dd3c7" stroke="black" points="652.75,-122 649.75,-126 628.75,-126 625.75,-122 531.25,-122 531.25,-86 652.75,-86 652.75,-122"/>
136+
<text text-anchor="middle" x="592" y="-99.8" font-family="Times,serif" font-size="14.00">FilestorageModule</text>
137137
</g>
138138
<!-- IdentitiesModule -->
139139
<g id="node2" class="node">
140140
<title>IdentitiesModule</title>
141-
<polygon fill="#8dd3c7" stroke="black" points="342.65,-187 339.65,-191 318.65,-191 315.65,-187 231.35,-187 231.35,-151 342.65,-151 342.65,-187"/>
142-
<text text-anchor="middle" x="287" y="-164.8" font-family="Times,serif" font-size="14.00">IdentitiesModule</text>
141+
<polygon fill="#8dd3c7" stroke="black" points="446.65,-187 443.65,-191 422.65,-191 419.65,-187 335.35,-187 335.35,-151 446.65,-151 446.65,-187"/>
142+
<text text-anchor="middle" x="391" y="-164.8" font-family="Times,serif" font-size="14.00">IdentitiesModule</text>
143143
</g>
144144
<!-- FilestorageModule&#45;&gt;IdentitiesModule -->
145145
<g id="edge1" class="edge">
146146
<title>FilestorageModule&#45;&gt;IdentitiesModule</title>
147-
<path fill="none" stroke="black" d="M85,-122.11C85,-141.34 85,-169 85,-169 85,-169 221.27,-169 221.27,-169"/>
148-
<polygon fill="black" stroke="black" points="221.27,-172.5 231.27,-169 221.27,-165.5 221.27,-172.5"/>
147+
<path fill="none" stroke="black" d="M592,-122.11C592,-141.34 592,-169 592,-169 592,-169 456.72,-169 456.72,-169"/>
148+
<polygon fill="black" stroke="black" points="456.72,-165.5 446.72,-169 456.72,-172.5 456.72,-165.5"/>
149149
</g>
150150
<!-- IdentitiesCrudService -->
151151
<g id="node3" class="node">
152152
<title>IdentitiesCrudService </title>
153-
<polygon fill="#fb8072" stroke="black" points="357.57,-252 216.43,-252 216.43,-216 357.57,-216 357.57,-252"/>
154-
<text text-anchor="middle" x="287" y="-229.8" font-family="Times,serif" font-size="14.00">IdentitiesCrudService </text>
153+
<polygon fill="#fb8072" stroke="black" points="461.57,-252 320.43,-252 320.43,-216 461.57,-216 461.57,-252"/>
154+
<text text-anchor="middle" x="391" y="-229.8" font-family="Times,serif" font-size="14.00">IdentitiesCrudService </text>
155155
</g>
156156
<!-- IdentitiesModule&#45;&gt;IdentitiesCrudService -->
157157
<g id="edge2" class="edge">
158158
<title>IdentitiesModule&#45;&gt;IdentitiesCrudService </title>
159-
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M287,-187.11C287,-187.11 287,-205.99 287,-205.99"/>
160-
<polygon fill="black" stroke="black" points="283.5,-205.99 287,-215.99 290.5,-205.99 283.5,-205.99"/>
159+
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M391,-187.11C391,-187.11 391,-205.99 391,-205.99"/>
160+
<polygon fill="black" stroke="black" points="387.5,-205.99 391,-215.99 394.5,-205.99 387.5,-205.99"/>
161161
</g>
162162
<!-- IdentitiesJsonformsService -->
163163
<g id="node4" class="node">
164164
<title>IdentitiesJsonformsService</title>
165-
<ellipse fill="#fdb462" stroke="black" cx="537" cy="-104" rx="115.74" ry="18"/>
166-
<text text-anchor="middle" x="537" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesJsonformsService</text>
165+
<ellipse fill="#fdb462" stroke="black" cx="391" cy="-104" rx="115.74" ry="18"/>
166+
<text text-anchor="middle" x="391" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesJsonformsService</text>
167167
</g>
168168
<!-- IdentitiesJsonformsService&#45;&gt;IdentitiesModule -->
169169
<g id="edge3" class="edge">
170170
<title>IdentitiesJsonformsService&#45;&gt;IdentitiesModule</title>
171-
<path fill="none" stroke="black" d="M537,-122.11C537,-141.34 537,-169 537,-169 537,-169 352.79,-169 352.79,-169"/>
172-
<polygon fill="black" stroke="black" points="352.79,-165.5 342.79,-169 352.79,-172.5 352.79,-165.5"/>
171+
<path fill="none" stroke="black" d="M391,-122.11C391,-122.11 391,-140.99 391,-140.99"/>
172+
<polygon fill="black" stroke="black" points="387.5,-140.99 391,-150.99 394.5,-140.99 387.5,-140.99"/>
173173
</g>
174174
<!-- IdentitiesValidationService -->
175175
<g id="node5" class="node">
176176
<title>IdentitiesValidationService</title>
177-
<ellipse fill="#fdb462" stroke="black" cx="287" cy="-104" rx="116.88" ry="18"/>
178-
<text text-anchor="middle" x="287" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesValidationService</text>
177+
<ellipse fill="#fdb462" stroke="black" cx="141" cy="-104" rx="116.88" ry="18"/>
178+
<text text-anchor="middle" x="141" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesValidationService</text>
179179
</g>
180180
<!-- IdentitiesValidationService&#45;&gt;IdentitiesModule -->
181181
<g id="edge4" class="edge">
182182
<title>IdentitiesValidationService&#45;&gt;IdentitiesModule</title>
183-
<path fill="none" stroke="black" d="M287,-122.11C287,-122.11 287,-140.99 287,-140.99"/>
184-
<polygon fill="black" stroke="black" points="283.5,-140.99 287,-150.99 290.5,-140.99 283.5,-140.99"/>
183+
<path fill="none" stroke="black" d="M141,-122.11C141,-141.34 141,-169 141,-169 141,-169 325.21,-169 325.21,-169"/>
184+
<polygon fill="black" stroke="black" points="325.21,-172.5 335.21,-169 325.21,-165.5 325.21,-172.5"/>
185185
</g>
186186
</g>
187187
</svg>

modules/IdentitiesModule/dependencies.svg

Lines changed: 25 additions & 25 deletions
Loading

modules/KeyringsModule.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@
117117
<title>cluster_KeyringsModule</title>
118118
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="157,-70 157,-268 339,-268 339,-70 157,-70"/>
119119
</g>
120-
<g id="clust6" class="cluster">
121-
<title>cluster_KeyringsModule_providers</title>
122-
<polygon fill="none" stroke="black" points="165,-78 165,-130 331,-130 331,-78 165,-78"/>
123-
</g>
124120
<g id="clust4" class="cluster">
125121
<title>cluster_KeyringsModule_exports</title>
126122
<polygon fill="none" stroke="black" points="184,-208 184,-260 312,-260 312,-208 184,-208"/>
127123
</g>
124+
<g id="clust6" class="cluster">
125+
<title>cluster_KeyringsModule_providers</title>
126+
<polygon fill="none" stroke="black" points="165,-78 165,-130 331,-130 331,-78 165,-78"/>
127+
</g>
128128
<!-- KeyringsService -->
129129
<g id="node1" class="node">
130130
<title>KeyringsService </title>

modules/KeyringsModule/dependencies.svg

Lines changed: 4 additions & 4 deletions
Loading

0 commit comments

Comments
 (0)