Skip to content

Commit

Permalink
update code coverage reports, logic files, and refactor app component…
Browse files Browse the repository at this point in the history
…s and styles; b00tc4mp#167
  • Loading branch information
j0sep0z0 committed Sep 3, 2024
1 parent c00dbd8 commit 83621f6
Show file tree
Hide file tree
Showing 82 changed files with 1,211 additions and 835 deletions.
19 changes: 17 additions & 2 deletions staff/jose-pozo/project/api/coverage/data/Appointment.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,12 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> Appoin
<a name='L45'></a><a href='#L45'>45</a>
<a name='L46'></a><a href='#L46'>46</a>
<a name='L47'></a><a href='#L47'>47</a>
<a name='L48'></a><a href='#L48'>48</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<a name='L48'></a><a href='#L48'>48</a>
<a name='L49'></a><a href='#L49'>49</a>
<a name='L50'></a><a href='#L50'>50</a>
<a name='L51'></a><a href='#L51'>51</a>
<a name='L52'></a><a href='#L52'>52</a>
<a name='L53'></a><a href='#L53'>53</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -155,6 +160,11 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> Appoin
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span></td><td class="text"><pre class="prettyprint lang-js">import { Schema, model } from 'mongoose'
Expand Down Expand Up @@ -193,6 +203,11 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> Appoin
type: String,
enum: ['confirmed', 'pending', 'cancelled']
},
&nbsp;
active: {
type: Boolean,
default: true
},
&nbsp;
notes: [{
type: Schema.Types.ObjectId,
Expand All @@ -211,7 +226,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> Appoin
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-08-31T08:17:22.263Z
at 2024-09-03T09:17:24.781Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion staff/jose-pozo/project/api/coverage/data/Note.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> Note.j
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-08-31T08:17:22.263Z
at 2024-09-03T09:17:24.781Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
19 changes: 17 additions & 2 deletions staff/jose-pozo/project/api/coverage/data/Service.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,12 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> Servic
<a name='L35'></a><a href='#L35'>35</a>
<a name='L36'></a><a href='#L36'>36</a>
<a name='L37'></a><a href='#L37'>37</a>
<a name='L38'></a><a href='#L38'>38</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<a name='L38'></a><a href='#L38'>38</a>
<a name='L39'></a><a href='#L39'>39</a>
<a name='L40'></a><a href='#L40'>40</a>
<a name='L41'></a><a href='#L41'>41</a>
<a name='L42'></a><a href='#L42'>42</a>
<a name='L43'></a><a href='#L43'>43</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -135,6 +140,11 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> Servic
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span></td><td class="text"><pre class="prettyprint lang-js">import { Schema, model } from 'mongoose'
Expand Down Expand Up @@ -167,6 +177,11 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> Servic
type: Schema.Types.ObjectId,
ref: 'User',
required: true
},
&nbsp;
active: {
type: Boolean,
default: true
}
}, {
timestamps: true
Expand All @@ -181,7 +196,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> Servic
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-08-31T08:17:22.263Z
at 2024-09-03T09:17:24.781Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
19 changes: 17 additions & 2 deletions staff/jose-pozo/project/api/coverage/data/User.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,12 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> User.j
<a name='L61'></a><a href='#L61'>61</a>
<a name='L62'></a><a href='#L62'>62</a>
<a name='L63'></a><a href='#L63'>63</a>
<a name='L64'></a><a href='#L64'>64</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<a name='L64'></a><a href='#L64'>64</a>
<a name='L65'></a><a href='#L65'>65</a>
<a name='L66'></a><a href='#L66'>66</a>
<a name='L67'></a><a href='#L67'>67</a>
<a name='L68'></a><a href='#L68'>68</a>
<a name='L69'></a><a href='#L69'>69</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -187,6 +192,11 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> User.j
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span></td><td class="text"><pre class="prettyprint lang-js">import { Schema, model } from 'mongoose'
Expand Down Expand Up @@ -226,6 +236,11 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> User.j
type: Schema.Types.ObjectId,
ref: 'User'
},
&nbsp;
active: {
type: Boolean,
default: true
},
&nbsp;
providers: [{
type: Schema.Types.ObjectId,
Expand Down Expand Up @@ -259,7 +274,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> User.j
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-08-31T08:17:22.263Z
at 2024-09-03T09:17:24.781Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion staff/jose-pozo/project/api/coverage/data/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h1><a href="../index.html">All files</a> data</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-08-31T08:17:22.263Z
at 2024-09-03T09:17:24.781Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion staff/jose-pozo/project/api/coverage/data/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">data</a> index.
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-08-31T08:17:22.263Z
at 2024-09-03T09:17:24.781Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
38 changes: 19 additions & 19 deletions staff/jose-pozo/project/api/coverage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ <h1>All files</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">86.84% </span>
<span class="strong">95.26% </span>
<span class="quiet">Statements</span>
<span class='fraction'>1063/1224</span>
<span class='fraction'>1148/1205</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">66.66% </span>
<span class="strong">81.94% </span>
<span class="quiet">Branches</span>
<span class='fraction'>48/72</span>
<span class='fraction'>59/72</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">83.81% </span>
<span class="strong">89.59% </span>
<span class="quiet">Functions</span>
<span class='fraction'>409/488</span>
<span class='fraction'>439/490</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">86.89% </span>
<span class="strong">95.28% </span>
<span class="quiet">Lines</span>
<span class='fraction'>1048/1206</span>
<span class='fraction'>1131/1187</span>
</div>


Expand Down Expand Up @@ -95,17 +95,17 @@ <h1>All files</h1>

<tr>
<td class="file high" data-value="logic"><a href="logic/index.html">logic</a></td>
<td data-value="86.58" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 86%"></div><div class="cover-empty" style="width: 14%"></div></div>
<td data-value="95.17" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 95%"></div><div class="cover-empty" style="width: 5%"></div></div>
</td>
<td data-value="86.58" class="pct high">86.58%</td>
<td data-value="1200" class="abs high">1039/1200</td>
<td data-value="66.66" class="pct medium">66.66%</td>
<td data-value="72" class="abs medium">48/72</td>
<td data-value="83.81" class="pct high">83.81%</td>
<td data-value="488" class="abs high">409/488</td>
<td data-value="86.63" class="pct high">86.63%</td>
<td data-value="1182" class="abs high">1024/1182</td>
<td data-value="95.17" class="pct high">95.17%</td>
<td data-value="1181" class="abs high">1124/1181</td>
<td data-value="81.94" class="pct high">81.94%</td>
<td data-value="72" class="abs high">59/72</td>
<td data-value="89.59" class="pct high">89.59%</td>
<td data-value="490" class="abs high">439/490</td>
<td data-value="95.18" class="pct high">95.18%</td>
<td data-value="1163" class="abs high">1107/1163</td>
</tr>

</tbody>
Expand All @@ -116,7 +116,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-08-31T08:17:22.263Z
at 2024-09-03T09:17:24.781Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit 83621f6

Please sign in to comment.