Skip to content

Commit

Permalink
Basic server side link implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierce01 committed Sep 25, 2023
1 parent af31a46 commit da7a72e
Show file tree
Hide file tree
Showing 75 changed files with 784 additions and 714 deletions.
2 changes: 1 addition & 1 deletion docs/assets/navigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

37 changes: 22 additions & 15 deletions docs/classes/Client.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">Client</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L13">lib/Client.ts:13</a></li></ul></aside>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L14">lib/Client.ts:14</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand All @@ -41,6 +41,7 @@ <h3 class="tsd-index-heading">Properties</h3>
<a href="Client.html#mediaCategory" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>media<wbr/>Category</span></a>
<a href="Client.html#mediaType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>media<wbr/>Type</span></a>
<a href="Client.html#profile" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>profile</span></a>
<a href="Client.html#serverSideLink" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>server<wbr/>Side<wbr/>Link</span></a>
<a href="Client.html#token" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>token</span></a>
<a href="Client.html#upload" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>upload</span></a>
<a href="Client.html#url" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>url</span></a>
Expand All @@ -65,69 +66,74 @@ <h5><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type
<h5><span class="tsd-kind-parameter">token</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="Client.html" class="tsd-signature-type tsd-kind-class">Client</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L27">lib/Client.ts:27</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L29">lib/Client.ts:29</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="content" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>content</span><a href="#content" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">content</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Content.html" class="tsd-signature-type tsd-kind-class">Content</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L17">lib/Client.ts:17</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L18">lib/Client.ts:18</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="contentType" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>content<wbr/>Type</span><a href="#contentType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">content<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.ContentType.html" class="tsd-signature-type tsd-kind-class">ContentType</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L18">lib/Client.ts:18</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L19">lib/Client.ts:19</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="download" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>download</span><a href="#download" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">download</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Download.html" class="tsd-signature-type tsd-kind-class">Download</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L19">lib/Client.ts:19</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L20">lib/Client.ts:20</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="formBuilder" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>form<wbr/>Builder</span><a href="#formBuilder" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">form<wbr/>Builder</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.FormBuilder.html" class="tsd-signature-type tsd-kind-class">FormBuilder</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L20">lib/Client.ts:20</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L21">lib/Client.ts:21</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="hierarchy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>hierarchy</span><a href="#hierarchy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">hierarchy</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Hierarchy.html" class="tsd-signature-type tsd-kind-class">Hierarchy</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L21">lib/Client.ts:21</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L22">lib/Client.ts:22</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="media" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>media</span><a href="#media" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">media</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Media.html" class="tsd-signature-type tsd-kind-class">Media</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L22">lib/Client.ts:22</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L23">lib/Client.ts:23</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="mediaCategory" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>media<wbr/>Category</span><a href="#mediaCategory" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">media<wbr/>Category</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.MediaCategory.html" class="tsd-signature-type tsd-kind-class">MediaCategory</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L23">lib/Client.ts:23</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L24">lib/Client.ts:24</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="mediaType" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>media<wbr/>Type</span><a href="#mediaType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">media<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.MediaType.html" class="tsd-signature-type tsd-kind-class">MediaType</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L24">lib/Client.ts:24</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L25">lib/Client.ts:25</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="profile" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>profile</span><a href="#profile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">profile</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Profile.html" class="tsd-signature-type tsd-kind-class">Profile</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L25">lib/Client.ts:25</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L26">lib/Client.ts:26</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="serverSideLink" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>server<wbr/>Side<wbr/>Link</span><a href="#serverSideLink" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">server<wbr/>Side<wbr/>Link</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.ServerSideLink.html" class="tsd-signature-type tsd-kind-class">ServerSideLink</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L27">lib/Client.ts:27</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="token" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>token</span><a href="#token" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">String</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L15">lib/Client.ts:15</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L16">lib/Client.ts:16</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="upload" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>upload</span><a href="#upload" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">upload</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Upload.html" class="tsd-signature-type tsd-kind-class">Upload</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L26">lib/Client.ts:26</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L28">lib/Client.ts:28</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="url" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>url</span><a href="#url" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">String</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L14">lib/Client.ts:14</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L15">lib/Client.ts:15</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="call" class="tsd-anchor"></a>
Expand All @@ -146,7 +152,7 @@ <h5><span class="tsd-kind-parameter">endpoint</span>: <span class="tsd-signature
<h5><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">any</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">Response</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/ecae9ea/src/lib/Client.ts#L43">lib/Client.ts:43</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/Pierce01/t4.ts/blob/af31a46/src/lib/Client.ts#L46">lib/Client.ts:46</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down Expand Up @@ -175,6 +181,7 @@ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon
<li><a href="#mediaCategory" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>media<wbr/>Category</span></a></li>
<li><a href="#mediaType" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>media<wbr/>Type</span></a></li>
<li><a href="#profile" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>profile</span></a></li>
<li><a href="#serverSideLink" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>server<wbr/>Side<wbr/>Link</span></a></li>
<li><a href="#token" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>token</span></a></li>
<li><a href="#upload" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>upload</span></a></li>
<li><a href="#url" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>url</span></a></li>
Expand Down
Loading

0 comments on commit da7a72e

Please sign in to comment.