rettiwt-api 1.2.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/enums/Errors.d.ts +2 -1
- package/dist/enums/Errors.js +1 -0
- package/dist/enums/Errors.js.map +1 -1
- package/dist/graphql/queries/RootQuery.js.map +1 -1
- package/dist/graphql/resolvers/TweetResolver.d.ts +5 -5
- package/dist/graphql/resolvers/TweetResolver.js +4 -4
- package/dist/graphql/resolvers/TweetResolver.js.map +1 -1
- package/dist/graphql/types/UserTypes.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/models/args/TweetListArgs.js +2 -2
- package/dist/models/args/TweetListArgs.js.map +1 -1
- package/dist/models/args/UserListArgs.js +2 -2
- package/dist/models/args/UserListArgs.js.map +1 -1
- package/dist/models/data/Tweet.d.ts +3 -3
- package/dist/models/data/Tweet.js.map +1 -1
- package/dist/models/data/User.d.ts +2 -2
- package/dist/models/data/User.js.map +1 -1
- package/dist/services/data/TweetService.d.ts +2 -2
- package/dist/services/data/TweetService.js +8 -9
- package/dist/services/data/TweetService.js.map +1 -1
- package/dist/services/data/UserService.js +12 -22
- package/dist/services/data/UserService.js.map +1 -1
- package/dist/services/helper/Headers.js +20 -20
- package/dist/services/helper/Headers.js.map +1 -1
- package/dist/services/helper/extractors/Tweets.d.ts +5 -14
- package/dist/services/helper/extractors/Tweets.js +25 -89
- package/dist/services/helper/extractors/Tweets.js.map +1 -1
- package/dist/services/helper/extractors/Users.d.ts +4 -13
- package/dist/services/helper/extractors/Users.js +1 -53
- package/dist/services/helper/extractors/Users.js.map +1 -1
- package/dist/services/util/FetcherService.d.ts +3 -3
- package/dist/services/util/FetcherService.js +10 -22
- package/dist/services/util/FetcherService.js.map +1 -1
- package/dist/types/Args.d.ts +0 -27
- package/dist/types/Args.js +0 -1
- package/dist/types/Args.js.map +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AccountService.html +17 -17
- package/docs/classes/AuthCookie.html +7 -7
- package/docs/classes/AuthService.html +7 -7
- package/docs/classes/CacheService.html +7 -7
- package/docs/classes/Cursor.html +3 -3
- package/docs/classes/CursoredData.html +4 -4
- package/docs/classes/DataValidationError.html +24 -23
- package/docs/classes/FetcherService.html +15 -15
- package/docs/classes/Tweet.html +16 -16
- package/docs/classes/TweetEntities.html +8 -8
- package/docs/classes/TweetFilter.html +58 -56
- package/docs/classes/TweetListArgs.html +4 -4
- package/docs/classes/TweetService.html +15 -15
- package/docs/classes/User.html +18 -18
- package/docs/classes/UserListArgs.html +4 -4
- package/docs/classes/UserService.html +15 -15
- package/docs/enums/HttpMethods.html +3 -3
- package/docs/functions/Rettiwt.html +5 -4
- package/docs/index.html +4 -3
- package/docs/interfaces/IAuthCookie.html +5 -5
- package/docs/interfaces/ICursor.html +2 -2
- package/docs/interfaces/ICursoredData.html +3 -3
- package/docs/interfaces/IDataContext.html +4 -4
- package/docs/interfaces/IDataValidationError.html +109 -0
- package/docs/interfaces/IListArgs.html +3 -3
- package/docs/interfaces/ITweet.html +13 -13
- package/docs/interfaces/ITweetEntities.html +5 -5
- package/docs/interfaces/ITweetFilter.html +42 -42
- package/docs/interfaces/IUser.html +15 -15
- package/docs/modules.html +8 -6
- package/package.json +3 -2
- package/src/enums/Errors.ts +2 -1
- package/src/graphql/queries/RootQuery.ts +1 -1
- package/src/graphql/resolvers/TweetResolver.ts +12 -59
- package/src/graphql/types/UserTypes.ts +1 -1
- package/src/index.ts +5 -3
- package/src/models/args/TweetListArgs.ts +2 -2
- package/src/models/args/UserListArgs.ts +1 -1
- package/src/models/data/Tweet.ts +3 -3
- package/src/models/data/User.ts +2 -2
- package/src/services/data/TweetService.ts +25 -22
- package/src/services/data/UserService.ts +38 -42
- package/src/services/helper/Headers.ts +32 -32
- package/src/services/helper/Parser.ts +2 -2
- package/src/services/helper/extractors/Tweets.ts +35 -97
- package/src/services/helper/extractors/Users.ts +11 -62
- package/src/services/util/FetcherService.ts +13 -20
- package/src/types/Args.ts +0 -37
- package/Dockerfile +0 -9
- package/dist/models/args/TweetFilter.d.ts +0 -65
- package/dist/models/args/TweetFilter.js +0 -121
- package/dist/models/args/TweetFilter.js.map +0 -1
- package/dist/models/errors/DataValidationError.d.ts +0 -20
- package/dist/models/errors/DataValidationError.js +0 -23
- package/dist/models/errors/DataValidationError.js.map +0 -1
- package/dist/twitter/Url.d.ts +0 -22
- package/dist/twitter/Url.js +0 -32
- package/dist/twitter/Url.js.map +0 -1
- package/dist/twitter/enums/Resources.d.ts +0 -15
- package/dist/twitter/enums/Resources.js +0 -21
- package/dist/twitter/enums/Resources.js.map +0 -1
- package/dist/twitter/params/Query.d.ts +0 -67
- package/dist/twitter/params/Query.js +0 -64
- package/dist/twitter/params/Query.js.map +0 -1
- package/dist/twitter/payloads/Args.d.ts +0 -16
- package/dist/twitter/payloads/Args.js +0 -16
- package/dist/twitter/payloads/Args.js.map +0 -1
- package/dist/twitter/payloads/Features.d.ts +0 -28
- package/dist/twitter/payloads/Features.js +0 -37
- package/dist/twitter/payloads/Features.js.map +0 -1
- package/dist/twitter/payloads/Variables.d.ts +0 -41
- package/dist/twitter/payloads/Variables.js +0 -64
- package/dist/twitter/payloads/Variables.js.map +0 -1
- package/dist/twitter/types/request/Query.d.ts +0 -86
- package/dist/twitter/types/request/Query.js +0 -4
- package/dist/twitter/types/request/Query.js.map +0 -1
- package/dist/twitter/types/tweet/Favouriters.d.ts +0 -164
- package/dist/twitter/types/tweet/Favouriters.js +0 -3
- package/dist/twitter/types/tweet/Favouriters.js.map +0 -1
- package/dist/twitter/types/tweet/Retweeters.d.ts +0 -171
- package/dist/twitter/types/tweet/Retweeters.js +0 -3
- package/dist/twitter/types/tweet/Retweeters.js.map +0 -1
- package/dist/twitter/types/tweet/Tweet.d.ts +0 -746
- package/dist/twitter/types/tweet/Tweet.js +0 -3
- package/dist/twitter/types/tweet/Tweet.js.map +0 -1
- package/dist/twitter/types/tweet/Tweets.d.ts +0 -386
- package/dist/twitter/types/tweet/Tweets.js +0 -3
- package/dist/twitter/types/tweet/Tweets.js.map +0 -1
- package/dist/twitter/types/user/Followers.d.ts +0 -176
- package/dist/twitter/types/user/Followers.js +0 -3
- package/dist/twitter/types/user/Followers.js.map +0 -1
- package/dist/twitter/types/user/Following.d.ts +0 -176
- package/dist/twitter/types/user/Following.js +0 -3
- package/dist/twitter/types/user/Following.js.map +0 -1
- package/dist/twitter/types/user/Likes.d.ts +0 -1059
- package/dist/twitter/types/user/Likes.js +0 -3
- package/dist/twitter/types/user/Likes.js.map +0 -1
- package/dist/twitter/types/user/Tweets.d.ts +0 -1512
- package/dist/twitter/types/user/Tweets.js +0 -3
- package/dist/twitter/types/user/Tweets.js.map +0 -1
- package/dist/twitter/types/user/User.d.ts +0 -117
- package/dist/twitter/types/user/User.js +0 -3
- package/dist/twitter/types/user/User.js.map +0 -1
- package/src/models/args/TweetFilter.ts +0 -140
- package/src/models/errors/DataValidationError.ts +0 -29
- package/src/twitter/Url.ts +0 -37
- package/src/twitter/enums/Resources.ts +0 -15
- package/src/twitter/params/Query.ts +0 -100
- package/src/twitter/payloads/Args.ts +0 -21
- package/src/twitter/payloads/Features.ts +0 -33
- package/src/twitter/payloads/Variables.ts +0 -73
- package/src/twitter/types/request/Query.ts +0 -91
- package/src/twitter/types/tweet/Favouriters.ts +0 -193
- package/src/twitter/types/tweet/Retweeters.ts +0 -201
- package/src/twitter/types/tweet/Tweet.ts +0 -882
- package/src/twitter/types/tweet/Tweets.ts +0 -444
- package/src/twitter/types/user/Followers.ts +0 -208
- package/src/twitter/types/user/Following.ts +0 -208
- package/src/twitter/types/user/Likes.ts +0 -1247
- package/src/twitter/types/user/Tweets.ts +0 -1747
- package/src/twitter/types/user/User.ts +0 -135
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<ul class="tsd-hierarchy">
|
|
28
28
|
<li><a href="../interfaces/IAuthCookie.html" class="tsd-signature-type" data-tsd-kind="Interface">IAuthCookie</a></li></ul></section><aside class="tsd-sources">
|
|
29
29
|
<ul>
|
|
30
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
30
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/auth/AuthCookie.ts#L9">src/models/auth/AuthCookie.ts:9</a></li></ul></aside>
|
|
31
31
|
<section class="tsd-panel-group tsd-index-group">
|
|
32
32
|
<section class="tsd-panel tsd-index-panel">
|
|
33
33
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> cookie: <a href="../interfaces/IAuthCookie.html" class="tsd-signature-type" data-tsd-kind="Interface">IAuthCookie</a></h5></li></ul></div>
|
|
63
63
|
<h4 class="tsd-returns-title">Returns <a href="AuthCookie.html" class="tsd-signature-type" data-tsd-kind="Class">AuthCookie</a></h4><aside class="tsd-sources">
|
|
64
64
|
<ul>
|
|
65
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
65
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/auth/AuthCookie.ts#L22">src/models/auth/AuthCookie.ts:22</a></li></ul></aside></li></ul></section></section>
|
|
66
66
|
<section class="tsd-panel-group tsd-member-group">
|
|
67
67
|
<h2>Properties</h2>
|
|
68
68
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="auth_token" class="tsd-anchor"></a>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
</div><aside class="tsd-sources">
|
|
73
73
|
<p>Implementation of <a href="../interfaces/IAuthCookie.html">IAuthCookie</a>.<a href="../interfaces/IAuthCookie.html#auth_token">auth_token</a></p>
|
|
74
74
|
<ul>
|
|
75
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
75
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/auth/AuthCookie.ts#L20">src/models/auth/AuthCookie.ts:20</a></li></ul></aside></section>
|
|
76
76
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="ct0" class="tsd-anchor"></a>
|
|
77
77
|
<h3 class="tsd-anchor-link"><span>ct0</span><a href="#ct0" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
78
78
|
<div class="tsd-signature">ct0<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
</div><aside class="tsd-sources">
|
|
81
81
|
<p>Implementation of <a href="../interfaces/IAuthCookie.html">IAuthCookie</a>.<a href="../interfaces/IAuthCookie.html#ct0">ct0</a></p>
|
|
82
82
|
<ul>
|
|
83
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
83
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/auth/AuthCookie.ts#L17">src/models/auth/AuthCookie.ts:17</a></li></ul></aside></section>
|
|
84
84
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="kdt" class="tsd-anchor"></a>
|
|
85
85
|
<h3 class="tsd-anchor-link"><span>kdt</span><a href="#kdt" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
86
86
|
<div class="tsd-signature">kdt<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
</div><aside class="tsd-sources">
|
|
89
89
|
<p>Implementation of <a href="../interfaces/IAuthCookie.html">IAuthCookie</a>.<a href="../interfaces/IAuthCookie.html#kdt">kdt</a></p>
|
|
90
90
|
<ul>
|
|
91
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
91
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/auth/AuthCookie.ts#L11">src/models/auth/AuthCookie.ts:11</a></li></ul></aside></section>
|
|
92
92
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="twid" class="tsd-anchor"></a>
|
|
93
93
|
<h3 class="tsd-anchor-link"><span>twid</span><a href="#twid" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
94
94
|
<div class="tsd-signature">twid<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
</div><aside class="tsd-sources">
|
|
97
97
|
<p>Implementation of <a href="../interfaces/IAuthCookie.html">IAuthCookie</a>.<a href="../interfaces/IAuthCookie.html#twid">twid</a></p>
|
|
98
98
|
<ul>
|
|
99
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
99
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/auth/AuthCookie.ts#L14">src/models/auth/AuthCookie.ts:14</a></li></ul></aside></section></section>
|
|
100
100
|
<section class="tsd-panel-group tsd-member-group">
|
|
101
101
|
<h2>Methods</h2>
|
|
102
102
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toString" class="tsd-anchor"></a>
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
</div>
|
|
110
110
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
111
111
|
<ul>
|
|
112
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
112
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/auth/AuthCookie.ts#L32">src/models/auth/AuthCookie.ts:32</a></li></ul></aside></li></ul></section></section></div>
|
|
113
113
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
114
114
|
<div class="tsd-navigation settings">
|
|
115
115
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<ul class="tsd-hierarchy">
|
|
24
24
|
<li><span class="target">AuthService</span></li></ul></section><aside class="tsd-sources">
|
|
25
25
|
<ul>
|
|
26
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
26
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AuthService.ts#L21">src/services/auth/AuthService.ts:21</a></li></ul></aside>
|
|
27
27
|
<section class="tsd-panel-group tsd-index-group">
|
|
28
28
|
<section class="tsd-panel tsd-index-panel">
|
|
29
29
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
</div></li></ul></div>
|
|
64
64
|
<h4 class="tsd-returns-title">Returns <a href="AuthService.html" class="tsd-signature-type" data-tsd-kind="Class">AuthService</a></h4><aside class="tsd-sources">
|
|
65
65
|
<ul>
|
|
66
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
66
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AuthService.ts#L38">src/services/auth/AuthService.ts:38</a></li></ul></aside></li></ul></section></section>
|
|
67
67
|
<section class="tsd-panel-group tsd-member-group">
|
|
68
68
|
<h2>Properties</h2>
|
|
69
69
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="authToken" class="tsd-anchor"></a>
|
|
@@ -72,21 +72,21 @@
|
|
|
72
72
|
<div class="tsd-comment tsd-typography"><p>The common bearer token for authentication.</p>
|
|
73
73
|
</div><aside class="tsd-sources">
|
|
74
74
|
<ul>
|
|
75
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
75
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AuthService.ts#L23">src/services/auth/AuthService.ts:23</a></li></ul></aside></section>
|
|
76
76
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="credentials" class="tsd-anchor"></a>
|
|
77
77
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>credentials</span><a href="#credentials" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
78
78
|
<div class="tsd-signature">credentials<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">IAuthCredentials</span></div>
|
|
79
79
|
<div class="tsd-comment tsd-typography"><p>The current authentication credentials.</p>
|
|
80
80
|
</div><aside class="tsd-sources">
|
|
81
81
|
<ul>
|
|
82
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
82
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AuthService.ts#L26">src/services/auth/AuthService.ts:26</a></li></ul></aside></section>
|
|
83
83
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="isAuthenticated" class="tsd-anchor"></a>
|
|
84
84
|
<h3 class="tsd-anchor-link"><span>is<wbr/>Authenticated</span><a href="#isAuthenticated" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
85
85
|
<div class="tsd-signature">is<wbr/>Authenticated<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
86
86
|
<div class="tsd-comment tsd-typography"><p>Whether instance has been authenticated or not.</p>
|
|
87
87
|
</div><aside class="tsd-sources">
|
|
88
88
|
<ul>
|
|
89
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
89
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AuthService.ts#L29">src/services/auth/AuthService.ts:29</a></li></ul></aside></section></section>
|
|
90
90
|
<section class="tsd-panel-group tsd-member-group">
|
|
91
91
|
<h2>Methods</h2>
|
|
92
92
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAuthCredentials" class="tsd-anchor"></a>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
</div>
|
|
100
100
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">IAuthCredentials</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
101
101
|
<ul>
|
|
102
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
102
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AuthService.ts#L63">src/services/auth/AuthService.ts:63</a></li></ul></aside></li></ul></section>
|
|
103
103
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getGuestCredentials" class="tsd-anchor"></a>
|
|
104
104
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Guest<wbr/>Credentials</span><a href="#getGuestCredentials" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
105
105
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
</div>
|
|
111
111
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">IGuestCredentials</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
112
112
|
<ul>
|
|
113
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
113
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AuthService.ts#L70">src/services/auth/AuthService.ts:70</a></li></ul></aside></li></ul></section></section></div>
|
|
114
114
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
115
115
|
<div class="tsd-navigation settings">
|
|
116
116
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -26,7 +26,7 @@ This is done so that all the data is cached in a single instance, which makes sh
|
|
|
26
26
|
<ul class="tsd-hierarchy">
|
|
27
27
|
<li><span class="target">CacheService</span></li></ul></section><aside class="tsd-sources">
|
|
28
28
|
<ul>
|
|
29
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
29
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/CacheService.ts#L15">src/services/util/CacheService.ts:15</a></li></ul></aside>
|
|
30
30
|
<section class="tsd-panel-group tsd-index-group">
|
|
31
31
|
<section class="tsd-panel tsd-index-panel">
|
|
32
32
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -56,19 +56,19 @@ This is done so that all the data is cached in a single instance, which makes sh
|
|
|
56
56
|
<li class="tsd-description">
|
|
57
57
|
<h4 class="tsd-returns-title">Returns <a href="CacheService.html" class="tsd-signature-type" data-tsd-kind="Class">CacheService</a></h4><aside class="tsd-sources">
|
|
58
58
|
<ul>
|
|
59
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
59
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/CacheService.ts#L21">src/services/util/CacheService.ts:21</a></li></ul></aside></li></ul></section></section>
|
|
60
60
|
<section class="tsd-panel-group tsd-member-group">
|
|
61
61
|
<h2>Properties</h2>
|
|
62
62
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="client" class="tsd-anchor"></a>
|
|
63
63
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>client</span><a href="#client" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
64
64
|
<div class="tsd-signature">client<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">NodeCache</span></div><aside class="tsd-sources">
|
|
65
65
|
<ul>
|
|
66
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
66
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/CacheService.ts#L18">src/services/util/CacheService.ts:18</a></li></ul></aside></section>
|
|
67
67
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="instance" class="tsd-anchor"></a>
|
|
68
68
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagPrivate">Private</code> <span>instance</span><a href="#instance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
69
69
|
<div class="tsd-signature">instance<span class="tsd-signature-symbol">:</span> <a href="CacheService.html" class="tsd-signature-type" data-tsd-kind="Class">CacheService</a></div><aside class="tsd-sources">
|
|
70
70
|
<ul>
|
|
71
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
71
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/CacheService.ts#L17">src/services/util/CacheService.ts:17</a></li></ul></aside></section></section>
|
|
72
72
|
<section class="tsd-panel-group tsd-member-group">
|
|
73
73
|
<h2>Methods</h2>
|
|
74
74
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="read" class="tsd-anchor"></a>
|
|
@@ -88,7 +88,7 @@ This is done so that all the data is cached in a single instance, which makes sh
|
|
|
88
88
|
</div></li></ul></div>
|
|
89
89
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources">
|
|
90
90
|
<ul>
|
|
91
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
91
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/CacheService.ts#L70">src/services/util/CacheService.ts:70</a></li></ul></aside></li></ul></section>
|
|
92
92
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="write" class="tsd-anchor"></a>
|
|
93
93
|
<h3 class="tsd-anchor-link"><span>write</span><a href="#write" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
94
94
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -109,7 +109,7 @@ This is done so that all the data is cached in a single instance, which makes sh
|
|
|
109
109
|
</div></li></ul></div>
|
|
110
110
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
111
111
|
<ul>
|
|
112
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
112
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/CacheService.ts#L48">src/services/util/CacheService.ts:48</a></li></ul></aside></li></ul></section>
|
|
113
113
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getInstance" class="tsd-anchor"></a>
|
|
114
114
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>Instance</span><a href="#getInstance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
115
115
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -120,7 +120,7 @@ This is done so that all the data is cached in a single instance, which makes sh
|
|
|
120
120
|
</div>
|
|
121
121
|
<h4 class="tsd-returns-title">Returns <a href="CacheService.html" class="tsd-signature-type" data-tsd-kind="Class">CacheService</a></h4><aside class="tsd-sources">
|
|
122
122
|
<ul>
|
|
123
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
123
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/CacheService.ts#L29">src/services/util/CacheService.ts:29</a></li></ul></aside></li></ul></section></section></div>
|
|
124
124
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
125
125
|
<div class="tsd-navigation settings">
|
|
126
126
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
package/docs/classes/Cursor.html
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<ul class="tsd-hierarchy">
|
|
28
28
|
<li><a href="../interfaces/ICursor.html" class="tsd-signature-type" data-tsd-kind="Interface">ICursor</a></li></ul></section><aside class="tsd-sources">
|
|
29
29
|
<ul>
|
|
30
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
30
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/data/CursoredData.ts#L9">src/models/data/CursoredData.ts:9</a></li></ul></aside>
|
|
31
31
|
<section class="tsd-panel-group tsd-index-group">
|
|
32
32
|
<section class="tsd-panel tsd-index-panel">
|
|
33
33
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
</div></li></ul></div>
|
|
60
60
|
<h4 class="tsd-returns-title">Returns <a href="Cursor.html" class="tsd-signature-type" data-tsd-kind="Class">Cursor</a></h4><aside class="tsd-sources">
|
|
61
61
|
<ul>
|
|
62
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
62
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/data/CursoredData.ts#L18">src/models/data/CursoredData.ts:18</a></li></ul></aside></li></ul></section></section>
|
|
63
63
|
<section class="tsd-panel-group tsd-member-group">
|
|
64
64
|
<h2>Properties</h2>
|
|
65
65
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="value" class="tsd-anchor"></a>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
</div><aside class="tsd-sources">
|
|
70
70
|
<p>Implementation of <a href="../interfaces/ICursor.html">ICursor</a>.<a href="../interfaces/ICursor.html#value">value</a></p>
|
|
71
71
|
<ul>
|
|
72
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
72
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/data/CursoredData.ts#L11">src/models/data/CursoredData.ts:11</a></li></ul></aside></section></section></div>
|
|
73
73
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
74
74
|
<div class="tsd-navigation settings">
|
|
75
75
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<ul class="tsd-hierarchy">
|
|
35
35
|
<li><a href="../interfaces/ICursoredData.html" class="tsd-signature-type" data-tsd-kind="Interface">ICursoredData</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span></li></ul></section><aside class="tsd-sources">
|
|
36
36
|
<ul>
|
|
37
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
37
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/data/CursoredData.ts#L30">src/models/data/CursoredData.ts:30</a></li></ul></aside>
|
|
38
38
|
<section class="tsd-panel-group tsd-index-group">
|
|
39
39
|
<section class="tsd-panel tsd-index-panel">
|
|
40
40
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
</div></li></ul></div>
|
|
75
75
|
<h4 class="tsd-returns-title">Returns <a href="CursoredData.html" class="tsd-signature-type" data-tsd-kind="Class">CursoredData</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
76
76
|
<ul>
|
|
77
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
77
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/data/CursoredData.ts#L41">src/models/data/CursoredData.ts:41</a></li></ul></aside></li></ul></section></section>
|
|
78
78
|
<section class="tsd-panel-group tsd-member-group">
|
|
79
79
|
<h2>Properties</h2>
|
|
80
80
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="list" class="tsd-anchor"></a>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
</div><aside class="tsd-sources">
|
|
85
85
|
<p>Implementation of <a href="../interfaces/ICursoredData.html">ICursoredData</a>.<a href="../interfaces/ICursoredData.html#list">list</a></p>
|
|
86
86
|
<ul>
|
|
87
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
87
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/data/CursoredData.ts#L32">src/models/data/CursoredData.ts:32</a></li></ul></aside></section>
|
|
88
88
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="next" class="tsd-anchor"></a>
|
|
89
89
|
<h3 class="tsd-anchor-link"><span>next</span><a href="#next" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
90
90
|
<div class="tsd-signature">next<span class="tsd-signature-symbol">:</span> <a href="Cursor.html" class="tsd-signature-type" data-tsd-kind="Class">Cursor</a></div>
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
</div><aside class="tsd-sources">
|
|
93
93
|
<p>Implementation of <a href="../interfaces/ICursoredData.html">ICursoredData</a>.<a href="../interfaces/ICursoredData.html#next">next</a></p>
|
|
94
94
|
<ul>
|
|
95
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
95
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/models/data/CursoredData.ts#L35">src/models/data/CursoredData.ts:35</a></li></ul></aside></section></section></div>
|
|
96
96
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
97
97
|
<div class="tsd-navigation settings">
|
|
98
98
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
<section class="tsd-panel">
|
|
28
28
|
<h4>Implements</h4>
|
|
29
29
|
<ul class="tsd-hierarchy">
|
|
30
|
-
<li><
|
|
30
|
+
<li><a href="../interfaces/IDataValidationError.html" class="tsd-signature-type" data-tsd-kind="Interface">IDataValidationError</a></li></ul></section><aside class="tsd-sources">
|
|
31
31
|
<ul>
|
|
32
|
-
<li>Defined in
|
|
32
|
+
<li>Defined in node_modules/rettiwt-core/dist/models/errors/DataValidationError.d.ts:11</li></ul></aside>
|
|
33
33
|
<section class="tsd-panel-group tsd-index-group">
|
|
34
34
|
<section class="tsd-panel tsd-index-panel">
|
|
35
35
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
<div class="tsd-accordion-details">
|
|
38
38
|
<section class="tsd-index-section">
|
|
39
39
|
<h3 class="tsd-index-heading">Constructors</h3>
|
|
40
|
-
<div class="tsd-index-list"><a href="DataValidationError.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
|
40
|
+
<div class="tsd-index-list"><a href="DataValidationError.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
|
41
41
|
</div></section>
|
|
42
42
|
<section class="tsd-index-section">
|
|
43
43
|
<h3 class="tsd-index-heading">Properties</h3>
|
|
44
|
-
<div class="tsd-index-list"><a href="DataValidationError.html#data" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>data</span></a>
|
|
45
|
-
<a href="DataValidationError.html#message" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>message</span></a>
|
|
46
|
-
<a href="DataValidationError.html#name" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>name</span></a>
|
|
44
|
+
<div class="tsd-index-list"><a href="DataValidationError.html#data" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>data</span></a>
|
|
45
|
+
<a href="DataValidationError.html#message" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>message</span></a>
|
|
46
|
+
<a href="DataValidationError.html#name" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>name</span></a>
|
|
47
47
|
</div></section></div></details></section></section>
|
|
48
48
|
<section class="tsd-panel-group tsd-member-group">
|
|
49
49
|
<h2>Constructors</h2>
|
|
50
|
-
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
|
50
|
+
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><a id="constructor" class="tsd-anchor"></a>
|
|
51
51
|
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
|
52
|
-
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
|
52
|
+
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-external">
|
|
53
53
|
<li class="tsd-signature tsd-anchor-link" id="constructor.new_DataValidationError">new <wbr/>Data<wbr/>Validation<wbr/>Error<span class="tsd-signature-symbol">(</span>errorDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ValidationError</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DataValidationError.html" class="tsd-signature-type" data-tsd-kind="Class">DataValidationError</a><a href="#constructor.new_DataValidationError" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
54
54
|
<li class="tsd-description">
|
|
55
55
|
<div class="tsd-parameters">
|
|
@@ -59,32 +59,33 @@
|
|
|
59
59
|
<h5>errorDetails: <span class="tsd-signature-type">ValidationError</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
|
60
60
|
<h4 class="tsd-returns-title">Returns <a href="DataValidationError.html" class="tsd-signature-type" data-tsd-kind="Class">DataValidationError</a></h4><aside class="tsd-sources">
|
|
61
61
|
<ul>
|
|
62
|
-
<li>Defined in
|
|
62
|
+
<li>Defined in node_modules/rettiwt-core/dist/models/errors/DataValidationError.d.ts:21</li></ul></aside></li></ul></section></section>
|
|
63
63
|
<section class="tsd-panel-group tsd-member-group">
|
|
64
64
|
<h2>Properties</h2>
|
|
65
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="data" class="tsd-anchor"></a>
|
|
65
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-external"><a id="data" class="tsd-anchor"></a>
|
|
66
66
|
<h3 class="tsd-anchor-link"><span>data</span><a href="#data" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
67
67
|
<div class="tsd-signature">data<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ValidationError</span><span class="tsd-signature-symbol">[]</span></div>
|
|
68
68
|
<div class="tsd-comment tsd-typography"><p>The error data.</p>
|
|
69
69
|
</div><aside class="tsd-sources">
|
|
70
|
+
<p>Implementation of <a href="../interfaces/IDataValidationError.html">IDataValidationError</a>.<a href="../interfaces/IDataValidationError.html#data">data</a></p>
|
|
70
71
|
<ul>
|
|
71
|
-
<li>Defined in
|
|
72
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="message" class="tsd-anchor"></a>
|
|
72
|
+
<li>Defined in node_modules/rettiwt-core/dist/models/errors/DataValidationError.d.ts:17</li></ul></aside></section>
|
|
73
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-external"><a id="message" class="tsd-anchor"></a>
|
|
73
74
|
<h3 class="tsd-anchor-link"><span>message</span><a href="#message" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
74
|
-
<div class="tsd-signature">message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">
|
|
75
|
+
<div class="tsd-signature">message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">VALIDATION_ERROR</span></div>
|
|
75
76
|
<div class="tsd-comment tsd-typography"><p>The user-friendly error message.</p>
|
|
76
77
|
</div><aside class="tsd-sources">
|
|
77
|
-
<p>Implementation of
|
|
78
|
+
<p>Implementation of <a href="../interfaces/IDataValidationError.html">IDataValidationError</a>.<a href="../interfaces/IDataValidationError.html#message">message</a></p>
|
|
78
79
|
<ul>
|
|
79
|
-
<li>Defined in
|
|
80
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="name" class="tsd-anchor"></a>
|
|
80
|
+
<li>Defined in node_modules/rettiwt-core/dist/models/errors/DataValidationError.d.ts:15</li></ul></aside></section>
|
|
81
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-external"><a id="name" class="tsd-anchor"></a>
|
|
81
82
|
<h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
82
83
|
<div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
83
84
|
<div class="tsd-comment tsd-typography"><p>The name of the error.</p>
|
|
84
85
|
</div><aside class="tsd-sources">
|
|
85
|
-
<p>Implementation of
|
|
86
|
+
<p>Implementation of <a href="../interfaces/IDataValidationError.html">IDataValidationError</a>.<a href="../interfaces/IDataValidationError.html#name">name</a></p>
|
|
86
87
|
<ul>
|
|
87
|
-
<li>Defined in
|
|
88
|
+
<li>Defined in node_modules/rettiwt-core/dist/models/errors/DataValidationError.d.ts:13</li></ul></aside></section></section></div>
|
|
88
89
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
89
90
|
<div class="tsd-navigation settings">
|
|
90
91
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -108,12 +109,12 @@
|
|
|
108
109
|
<ul></ul></li></ul></div></details></nav>
|
|
109
110
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
110
111
|
<ul>
|
|
111
|
-
<li class="current tsd-kind-class"><a href="DataValidationError.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Data<wbr/>Validation<wbr/>Error</span></a>
|
|
112
|
+
<li class="current tsd-kind-class tsd-is-external"><a href="DataValidationError.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Data<wbr/>Validation<wbr/>Error</span></a>
|
|
112
113
|
<ul>
|
|
113
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="DataValidationError.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
|
114
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="DataValidationError.html#data" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>data</a></li>
|
|
115
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="DataValidationError.html#message" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>message</a></li>
|
|
116
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="DataValidationError.html#name" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>name</a></li></ul></li></ul></nav></div></div>
|
|
114
|
+
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><a href="DataValidationError.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
|
115
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="DataValidationError.html#data" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>data</a></li>
|
|
116
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="DataValidationError.html#message" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>message</a></li>
|
|
117
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="DataValidationError.html#name" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>name</a></li></ul></li></ul></nav></div></div>
|
|
117
118
|
<div class="container tsd-generator">
|
|
118
119
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
119
120
|
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<li><a href="TweetService.html" class="tsd-signature-type" data-tsd-kind="Class">TweetService</a></li>
|
|
28
28
|
<li><a href="UserService.html" class="tsd-signature-type" data-tsd-kind="Class">UserService</a></li></ul></li></ul></section><aside class="tsd-sources">
|
|
29
29
|
<ul>
|
|
30
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
30
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/FetcherService.ts#L34">src/services/util/FetcherService.ts:34</a></li></ul></aside>
|
|
31
31
|
<section class="tsd-panel-group tsd-index-group">
|
|
32
32
|
<section class="tsd-panel tsd-index-panel">
|
|
33
33
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
</div></li></ul></div>
|
|
67
67
|
<h4 class="tsd-returns-title">Returns <a href="FetcherService.html" class="tsd-signature-type" data-tsd-kind="Class">FetcherService</a></h4><aside class="tsd-sources">
|
|
68
68
|
<ul>
|
|
69
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
69
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/FetcherService.ts#L49">src/services/util/FetcherService.ts:49</a></li></ul></aside></li></ul></section></section>
|
|
70
70
|
<section class="tsd-panel-group tsd-member-group">
|
|
71
71
|
<h2>Properties</h2>
|
|
72
72
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="auth" class="tsd-anchor"></a>
|
|
@@ -75,21 +75,21 @@
|
|
|
75
75
|
<div class="tsd-comment tsd-typography"><p>The authentication service instance.</p>
|
|
76
76
|
</div><aside class="tsd-sources">
|
|
77
77
|
<ul>
|
|
78
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
78
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/FetcherService.ts#L37">src/services/util/FetcherService.ts:37</a></li></ul></aside></section>
|
|
79
79
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="cache" class="tsd-anchor"></a>
|
|
80
80
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>cache</span><a href="#cache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
81
81
|
<div class="tsd-signature">cache<span class="tsd-signature-symbol">:</span> <a href="CacheService.html" class="tsd-signature-type" data-tsd-kind="Class">CacheService</a></div>
|
|
82
82
|
<div class="tsd-comment tsd-typography"><p>The caching service instance.</p>
|
|
83
83
|
</div><aside class="tsd-sources">
|
|
84
84
|
<ul>
|
|
85
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
85
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/FetcherService.ts#L40">src/services/util/FetcherService.ts:40</a></li></ul></aside></section>
|
|
86
86
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="isAuthenticated" class="tsd-anchor"></a>
|
|
87
87
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>is<wbr/>Authenticated</span><a href="#isAuthenticated" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
88
88
|
<div class="tsd-signature">is<wbr/>Authenticated<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
89
89
|
<div class="tsd-comment tsd-typography"><p>Whether instance has been authenticated or not.</p>
|
|
90
90
|
</div><aside class="tsd-sources">
|
|
91
91
|
<ul>
|
|
92
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
92
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/FetcherService.ts#L43">src/services/util/FetcherService.ts:43</a></li></ul></aside></section></section>
|
|
93
93
|
<section class="tsd-panel-group tsd-member-group">
|
|
94
94
|
<h2>Methods</h2>
|
|
95
95
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a id="cacheData" class="tsd-anchor"></a>
|
|
@@ -108,11 +108,11 @@
|
|
|
108
108
|
</div></li></ul></div>
|
|
109
109
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
110
110
|
<ul>
|
|
111
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
111
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/FetcherService.ts#L119">src/services/util/FetcherService.ts:119</a></li></ul></aside></li></ul></section>
|
|
112
112
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="handleHTTPError" class="tsd-anchor"></a>
|
|
113
113
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>handleHTTPError</span><a href="#handleHTTPError" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
114
114
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
115
|
-
<li class="tsd-signature tsd-anchor-link" id="handleHTTPError.handleHTTPError-1">handleHTTPError<span class="tsd-signature-symbol">(</span>res<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">
|
|
115
|
+
<li class="tsd-signature tsd-anchor-link" id="handleHTTPError.handleHTTPError-1">handleHTTPError<span class="tsd-signature-symbol">(</span>res<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><a href="#handleHTTPError.handleHTTPError-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
116
116
|
<li class="tsd-description">
|
|
117
117
|
<div class="tsd-comment tsd-typography"><p>The middleware for handling any HTTP error.</p>
|
|
118
118
|
|
|
@@ -124,12 +124,12 @@
|
|
|
124
124
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
125
125
|
<ul class="tsd-parameter-list">
|
|
126
126
|
<li>
|
|
127
|
-
<h5>res: <span class="tsd-signature-type">
|
|
127
|
+
<h5>res: <span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h5>
|
|
128
128
|
<div class="tsd-comment tsd-typography"><p>The response object received.</p>
|
|
129
129
|
</div></li></ul></div>
|
|
130
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">
|
|
130
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
131
131
|
<ul>
|
|
132
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
132
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/FetcherService.ts#L64">src/services/util/FetcherService.ts:64</a></li></ul></aside></li></ul></section>
|
|
133
133
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a id="readData" class="tsd-anchor"></a>
|
|
134
134
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>read<wbr/>Data</span><a href="#readData" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
135
135
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-protected">
|
|
@@ -148,17 +148,17 @@
|
|
|
148
148
|
</div></li></ul></div>
|
|
149
149
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources">
|
|
150
150
|
<ul>
|
|
151
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
151
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/FetcherService.ts#L139">src/services/util/FetcherService.ts:139</a></li></ul></aside></li></ul></section>
|
|
152
152
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a id="request" class="tsd-anchor"></a>
|
|
153
153
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>request</span><a href="#request" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
154
154
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-protected">
|
|
155
|
-
<li class="tsd-signature tsd-anchor-link" id="request.request-1">request<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">DataType</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, authenticate<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, method<span class="tsd-signature-symbol">?: </span><a href="../enums/HttpMethods.html" class="tsd-signature-type" data-tsd-kind="Enumeration">HttpMethods</a>, data<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">
|
|
155
|
+
<li class="tsd-signature tsd-anchor-link" id="request.request-1">request<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">DataType</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, authenticate<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, method<span class="tsd-signature-symbol">?: </span><a href="../enums/HttpMethods.html" class="tsd-signature-type" data-tsd-kind="Enumeration">HttpMethods</a>, data<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">DataType</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><a href="#request.request-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
156
156
|
<li class="tsd-description">
|
|
157
157
|
<div class="tsd-comment tsd-typography"><p>Creates an HTTP request according to the given parameters.</p>
|
|
158
158
|
<p>This method internally uses node-libcurl library to make curl requests to the URL, instead of node-fetch.
|
|
159
159
|
This has been done since that way it better mimics the HTTP requests made from browser.</p>
|
|
160
160
|
|
|
161
|
-
<h3>Returns</h3><p>The
|
|
161
|
+
<h3>Returns</h3><p>The AxiosResponse received.</p>
|
|
162
162
|
</div>
|
|
163
163
|
<section class="tsd-panel tsd-type-parameters">
|
|
164
164
|
<h4>Type Parameters</h4>
|
|
@@ -184,9 +184,9 @@ This has been done since that way it better mimics the HTTP requests made from b
|
|
|
184
184
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> data: <span class="tsd-signature-type">any</span></h5>
|
|
185
185
|
<div class="tsd-comment tsd-typography"><p>The data to be sent along with the request (for POST request).</p>
|
|
186
186
|
</div></li></ul></div>
|
|
187
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">
|
|
187
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">DataType</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
188
188
|
<ul>
|
|
189
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
189
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/util/FetcherService.ts#L88">src/services/util/FetcherService.ts:88</a></li></ul></aside></li></ul></section></section></div>
|
|
190
190
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
191
191
|
<div class="tsd-navigation settings">
|
|
192
192
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|