rettiwt-api 1.3.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/services/helper/Headers.js +14 -14
- package/dist/services/helper/Headers.js.map +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/FetcherService.html +9 -9
- package/docs/classes/Tweet.html +14 -14
- package/docs/classes/TweetEntities.html +6 -6
- package/docs/classes/TweetListArgs.html +4 -4
- package/docs/classes/TweetService.html +11 -11
- package/docs/classes/User.html +16 -16
- package/docs/classes/UserListArgs.html +4 -4
- package/docs/classes/UserService.html +12 -12
- package/docs/enums/HttpMethods.html +3 -3
- package/docs/functions/Rettiwt.html +1 -1
- 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/IListArgs.html +3 -3
- package/docs/interfaces/ITweet.html +13 -13
- package/docs/interfaces/ITweetEntities.html +5 -5
- package/docs/interfaces/IUser.html +15 -15
- package/package.json +1 -1
- package/src/services/helper/Headers.ts +14 -14
|
@@ -43,20 +43,20 @@ exports.guestHeader = guestHeader;
|
|
|
43
43
|
* @returns The header for making HTTP request for logging in
|
|
44
44
|
*/
|
|
45
45
|
function loginHeader(guestCred, cookie) {
|
|
46
|
-
return
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
46
|
+
return [
|
|
47
|
+
"sec-ch-ua: \"Not_A Brand\";v=\"99\", \"Microsoft Edge\";v=\"109\", \"Chromium\";v=\"109\"",
|
|
48
|
+
"x-twitter-client-language: en",
|
|
49
|
+
"sec-ch-ua-mobile: ?0",
|
|
50
|
+
"authorization: ".concat(guestCred.authToken),
|
|
51
|
+
"User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78",
|
|
52
|
+
"content-type: application/json",
|
|
53
|
+
"x-guest-token: ".concat(guestCred.guestToken),
|
|
54
|
+
"x-twitter-active-user: yes",
|
|
55
|
+
"sec-ch-ua-platform: \"Windows\"",
|
|
56
|
+
"Accept: */*",
|
|
57
|
+
"host: api.twitter.com",
|
|
58
|
+
"Cookie: ".concat(cookie)
|
|
59
|
+
];
|
|
60
60
|
}
|
|
61
61
|
exports.loginHeader = loginHeader;
|
|
62
62
|
//# sourceMappingURL=Headers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headers.js","sourceRoot":"","sources":["../../../src/services/helper/Headers.ts"],"names":[],"mappings":";;;AAGA;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,QAA0B;IACvD,OAAO;QACH,WAAW,EAAE,oEAAoE;QACjF,2BAA2B,EAAE,IAAI;QACjC,cAAc,EAAE,QAAQ,CAAC,SAAS;QAClC,kBAAkB,EAAE,IAAI;QACxB,eAAe,EAAE,QAAQ,CAAC,SAAS;QACnC,YAAY,EAAE,mIAAmI;QACjJ,qBAAqB,EAAE,eAAe;QACtC,uBAAuB,EAAE,KAAK;QAC9B,oBAAoB,EAAE,WAAW;QACjC,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,aAAa;QACrB,QAAQ,EAAE,QAAQ,CAAC,MAAM;KAC5B,CAAC;AACN,CAAC;AAfD,4CAeC;AAED;;;GAGG;AACH,SAAgB,WAAW,CAAC,SAA4B;IACpD,OAAO;QACH,QAAQ,EAAE,KAAK;QACf,eAAe,EAAE,SAAS,CAAC,SAAS;QACpC,YAAY,EAAE,mIAAmI;QACjJ,eAAe,EAAE,SAAS,CAAC,UAAU;KACxC,CAAC;AACN,CAAC;AAPD,kCAOC;AAED;;;;GAIG;AACH,SAAgB,WAAW,CAAC,SAA4B,EAAE,MAAc;IACpE,OAAO;QACH,
|
|
1
|
+
{"version":3,"file":"Headers.js","sourceRoot":"","sources":["../../../src/services/helper/Headers.ts"],"names":[],"mappings":";;;AAGA;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,QAA0B;IACvD,OAAO;QACH,WAAW,EAAE,oEAAoE;QACjF,2BAA2B,EAAE,IAAI;QACjC,cAAc,EAAE,QAAQ,CAAC,SAAS;QAClC,kBAAkB,EAAE,IAAI;QACxB,eAAe,EAAE,QAAQ,CAAC,SAAS;QACnC,YAAY,EAAE,mIAAmI;QACjJ,qBAAqB,EAAE,eAAe;QACtC,uBAAuB,EAAE,KAAK;QAC9B,oBAAoB,EAAE,WAAW;QACjC,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,aAAa;QACrB,QAAQ,EAAE,QAAQ,CAAC,MAAM;KAC5B,CAAC;AACN,CAAC;AAfD,4CAeC;AAED;;;GAGG;AACH,SAAgB,WAAW,CAAC,SAA4B;IACpD,OAAO;QACH,QAAQ,EAAE,KAAK;QACf,eAAe,EAAE,SAAS,CAAC,SAAS;QACpC,YAAY,EAAE,mIAAmI;QACjJ,eAAe,EAAE,SAAS,CAAC,UAAU;KACxC,CAAC;AACN,CAAC;AAPD,kCAOC;AAED;;;;GAIG;AACH,SAAgB,WAAW,CAAC,SAA4B,EAAE,MAAc;IACpE,OAAO;QACH,2FAA+E;QAC/E,+BAA+B;QAC/B,sBAAsB;QACtB,yBAAkB,SAAS,CAAC,SAAS,CAAE;QACvC,+IAA+I;QAC/I,gCAAgC;QAChC,yBAAkB,SAAS,CAAC,UAAU,CAAE;QACxC,4BAA4B;QAC5B,iCAA+B;QAC/B,aAAa;QACb,uBAAuB;QACvB,kBAAW,MAAM,CAAE;KACtB,CAAC;AACN,CAAC;AAfD,kCAeC"}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<ul class="tsd-hierarchy">
|
|
24
24
|
<li><span class="target">AccountService</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/AccountService.ts#L23">src/services/auth/AccountService.ts:23</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">
|
|
@@ -71,49 +71,49 @@
|
|
|
71
71
|
<div class="tsd-comment tsd-typography"><p>The AuthService instance to use for authentication.</p>
|
|
72
72
|
</div><aside class="tsd-sources">
|
|
73
73
|
<ul>
|
|
74
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
74
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L25">src/services/auth/AccountService.ts:25</a></li></ul></aside></section>
|
|
75
75
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="cookies" class="tsd-anchor"></a>
|
|
76
76
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>cookies</span><a href="#cookies" 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>
|
|
77
77
|
<div class="tsd-signature">cookies<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Cookie</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
|
|
78
78
|
<div class="tsd-comment tsd-typography"><p>The cookies received from Twitter after logging in.</p>
|
|
79
79
|
</div><aside class="tsd-sources">
|
|
80
80
|
<ul>
|
|
81
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
81
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L40">src/services/auth/AccountService.ts:40</a></li></ul></aside></section>
|
|
82
82
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="email" class="tsd-anchor"></a>
|
|
83
83
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>email</span><a href="#email" 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>
|
|
84
84
|
<div class="tsd-signature">email<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></div>
|
|
85
85
|
<div class="tsd-comment tsd-typography"><p>The email id of Twitter account to be logged into.</p>
|
|
86
86
|
</div><aside class="tsd-sources">
|
|
87
87
|
<ul>
|
|
88
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
88
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L31">src/services/auth/AccountService.ts:31</a></li></ul></aside></section>
|
|
89
89
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="flowToken" class="tsd-anchor"></a>
|
|
90
90
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>flow<wbr/>Token</span><a href="#flowToken" 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>
|
|
91
91
|
<div class="tsd-signature">flow<wbr/>Token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></div>
|
|
92
92
|
<div class="tsd-comment tsd-typography"><p>The flow token received after execution of current flow.</p>
|
|
93
93
|
</div><aside class="tsd-sources">
|
|
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/services/auth/AccountService.ts#L43">src/services/auth/AccountService.ts:43</a></li></ul></aside></section>
|
|
96
96
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="guestCreds" class="tsd-anchor"></a>
|
|
97
97
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>guest<wbr/>Creds</span><a href="#guestCreds" 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>
|
|
98
98
|
<div class="tsd-signature">guest<wbr/>Creds<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">IGuestCredentials</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
99
99
|
<div class="tsd-comment tsd-typography"><p>The current guest credentials to use.</p>
|
|
100
100
|
</div><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/AccountService.ts#L28">src/services/auth/AccountService.ts:28</a></li></ul></aside></section>
|
|
103
103
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="password" class="tsd-anchor"></a>
|
|
104
104
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>password</span><a href="#password" 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
|
<div class="tsd-signature">password<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></div>
|
|
106
106
|
<div class="tsd-comment tsd-typography"><p>The password to the Twitter account to be logged into.</p>
|
|
107
107
|
</div><aside class="tsd-sources">
|
|
108
108
|
<ul>
|
|
109
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
109
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L37">src/services/auth/AccountService.ts:37</a></li></ul></aside></section>
|
|
110
110
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="userName" class="tsd-anchor"></a>
|
|
111
111
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>user<wbr/>Name</span><a href="#userName" 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>
|
|
112
112
|
<div class="tsd-signature">user<wbr/>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></div>
|
|
113
113
|
<div class="tsd-comment tsd-typography"><p>The user name of the Twitter account ot be logged into</p>
|
|
114
114
|
</div><aside class="tsd-sources">
|
|
115
115
|
<ul>
|
|
116
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
116
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L34">src/services/auth/AccountService.ts:34</a></li></ul></aside></section></section>
|
|
117
117
|
<section class="tsd-panel-group tsd-member-group">
|
|
118
118
|
<h2>Methods</h2>
|
|
119
119
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="accountDuplicationCheck" class="tsd-anchor"></a>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
</div>
|
|
126
126
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
127
127
|
<ul>
|
|
128
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
128
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L202">src/services/auth/AccountService.ts:202</a></li></ul></aside></li></ul></section>
|
|
129
129
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="enterAlternateUserIdentifier" class="tsd-anchor"></a>
|
|
130
130
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>enter<wbr/>Alternate<wbr/>User<wbr/>Identifier</span><a href="#enterAlternateUserIdentifier" 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>
|
|
131
131
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
</div>
|
|
138
138
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
139
139
|
<ul>
|
|
140
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
140
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L152">src/services/auth/AccountService.ts:152</a></li></ul></aside></li></ul></section>
|
|
141
141
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="enterPassword" class="tsd-anchor"></a>
|
|
142
142
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>enter<wbr/>Password</span><a href="#enterPassword" 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>
|
|
143
143
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
</div>
|
|
150
150
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
151
151
|
<ul>
|
|
152
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
152
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L178">src/services/auth/AccountService.ts:178</a></li></ul></aside></li></ul></section>
|
|
153
153
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="enterUserIdentifier" class="tsd-anchor"></a>
|
|
154
154
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>enter<wbr/>User<wbr/>Identifier</span><a href="#enterUserIdentifier" 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>
|
|
155
155
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
</div>
|
|
162
162
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
163
163
|
<ul>
|
|
164
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
164
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L104">src/services/auth/AccountService.ts:104</a></li></ul></aside></li></ul></section>
|
|
165
165
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="getGuestCredentials" class="tsd-anchor"></a>
|
|
166
166
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <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>
|
|
167
167
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
</div>
|
|
173
173
|
<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">
|
|
174
174
|
<ul>
|
|
175
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
175
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L48">src/services/auth/AccountService.ts:48</a></li></ul></aside></li></ul></section>
|
|
176
176
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="initiateLogin" class="tsd-anchor"></a>
|
|
177
177
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>initiate<wbr/>Login</span><a href="#initiateLogin" 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>
|
|
178
178
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
</div>
|
|
183
183
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
184
184
|
<ul>
|
|
185
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
185
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L61">src/services/auth/AccountService.ts:61</a></li></ul></aside></li></ul></section>
|
|
186
186
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="jsInstrumentationSubtask" class="tsd-anchor"></a>
|
|
187
187
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>js<wbr/>Instrumentation<wbr/>Subtask</span><a href="#jsInstrumentationSubtask" 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>
|
|
188
188
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
</div>
|
|
193
193
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
194
194
|
<ul>
|
|
195
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
195
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L83">src/services/auth/AccountService.ts:83</a></li></ul></aside></li></ul></section>
|
|
196
196
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="login" class="tsd-anchor"></a>
|
|
197
197
|
<h3 class="tsd-anchor-link"><span>login</span><a href="#login" 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>
|
|
198
198
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
</div></li></ul></div>
|
|
220
220
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/IAuthCookie.html" class="tsd-signature-type" data-tsd-kind="Interface">IAuthCookie</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
221
221
|
<ul>
|
|
222
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
222
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L258">src/services/auth/AccountService.ts:258</a></li></ul></aside></li></ul></section>
|
|
223
223
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="parseCookies" class="tsd-anchor"></a>
|
|
224
224
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>parse<wbr/>Cookies</span><a href="#parseCookies" 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>
|
|
225
225
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
</div></li></ul></div>
|
|
239
239
|
<h4 class="tsd-returns-title">Returns <a href="../interfaces/IAuthCookie.html" class="tsd-signature-type" data-tsd-kind="Interface">IAuthCookie</a></h4><aside class="tsd-sources">
|
|
240
240
|
<ul>
|
|
241
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
241
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/services/auth/AccountService.ts#L226">src/services/auth/AccountService.ts:226</a></li></ul></aside></li></ul></section></section></div>
|
|
242
242
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
243
243
|
<div class="tsd-navigation settings">
|
|
244
244
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -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">
|