Skip to content

Commit

Permalink
Merge ddae179 into 0bceb3a
Browse files Browse the repository at this point in the history
  • Loading branch information
terazus authored Feb 17, 2020
2 parents 0bceb3a + ddae179 commit 1570be6
Show file tree
Hide file tree
Showing 59 changed files with 627 additions and 150 deletions.
156 changes: 154 additions & 2 deletions documentation/html/GraphQLClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ <h5>Parameters:</h5>
<ul class="dummy">
<li>
<a href="components_GraphClient_GraphClient.js.html">components/GraphClient/GraphClient.js</a>,
<a href="components_GraphClient_GraphClient.js.html#sunlight-1-line-50">line 50</a>
<a href="components_GraphClient_GraphClient.js.html#sunlight-1-line-60">line 60</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -532,6 +532,158 @@ <h5>Parameters:</h5>



<h5>Returns:</h5>




<dl>
<dt>
Type
</dt>
<dd>

<span class="param-type">Promise</span>



</dd>
</dl>





</dd>



<hr>
<dt>
<h4 class="name" id="getData"><span class="type-signature">&lt;async> </span>getData(request)</h4>


</dt>
<dd>


<div class="description">
<p>Takes the query, post it with axios and returns the raw data</p>
</div>








<h5>Parameters:</h5>


<table class="params table table-striped">
<thead>
<tr>

<th>Name</th>


<th>Type</th>





<th class="last">Description</th>
</tr>
</thead>

<tbody>


<tr>

<td class="name"><code>request</code></td>


<td class="type">

</td>





<td class="description last"></td>
</tr>


</tbody>
</table>




<dl class="details">





























<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
<dd class="tag-source">
<ul class="dummy">
<li>
<a href="components_GraphClient_GraphClient.js.html">components/GraphClient/GraphClient.js</a>,
<a href="components_GraphClient_GraphClient.js.html#sunlight-1-line-50">line 50</a>
</li>
</ul>
</dd>







</dl>













<h5>Returns:</h5>


Expand Down Expand Up @@ -610,7 +762,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/Static.html
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/classes.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
14 changes: 12 additions & 2 deletions documentation/html/components_GraphClient_GraphClient.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h1 class="page-title">Source: components/GraphClient/GraphClient.js</h1>
query: `{${client.buildQuery(query)}}`
};
try {
let resp = await axios.post(client.url, queryString, client.headers);
let resp = await this.getData(queryString);
if (resp.data.errors){
throw new Error(resp.data.errors[0].message);
}
Expand All @@ -135,6 +135,16 @@ <h1 class="page-title">Source: components/GraphClient/GraphClient.js</h1>
}
}

/**
* Takes the query, post it with axios and returns the raw data
* @param request
* @returns {Promise}
*/
async getData(request){
let client = this;
return await axios.post(client.url, request, client.headers);
}

/**
* Transform the JSON query into a string for graphQL
* @param {Object} query - the query coming from the JSON file
Expand Down Expand Up @@ -236,7 +246,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/components_Navigation_Footer.vue.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-Footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-Login.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-NavbarTop.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-NewCollection.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-NewDatabase.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-NewPolicy.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-NewRecordPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-NewStandard.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-Record.html
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
4 changes: 2 additions & 2 deletions documentation/html/module-Records.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ <h4 class="name" id="getData"><span class="type-signature"></span>getData()</h4>
<ul class="dummy">
<li>
<a href="views_Records_Records.vue.html">views/Records/Records.vue</a>,
<a href="views_Records_Records.vue.html#sunlight-1-line-85">line 85</a>
<a href="views_Records_Records.vue.html#sunlight-1-line-125">line 125</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -355,7 +355,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-SearchOutputTable.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-Signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/module-Statistics.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on Mon Feb 10th 2020
on Mon Feb 17th 2020

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Loading

0 comments on commit 1570be6

Please sign in to comment.