rettiwt-api 1.3.0 → 1.4.0
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/.github/workflows/{build-docs.yml → documentation.yml} +2 -3
- package/.github/workflows/{publish-to-npm.yml → publish.yml} +4 -9
- package/dist/graphql/queries/RootQuery.js +6 -1
- package/dist/graphql/queries/RootQuery.js.map +1 -1
- package/dist/graphql/resolvers/TweetResolver.js +2 -12
- package/dist/graphql/resolvers/TweetResolver.js.map +1 -1
- package/dist/graphql/types/UserTypes.js.map +1 -1
- package/dist/services/data/TweetService.js +2 -3
- package/dist/services/data/TweetService.js.map +1 -1
- 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/TweetFilter.html +24 -14
- 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/ITweetFilter.html +2 -2
- package/docs/interfaces/IUser.html +15 -15
- package/package.json +2 -2
- package/src/graphql/queries/RootQuery.ts +7 -1
- package/src/graphql/resolvers/TweetResolver.ts +1 -13
- package/src/graphql/types/UserTypes.ts +0 -1
- package/src/services/data/TweetService.ts +1 -2
- package/src/services/helper/Headers.ts +14 -14
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<ul class="tsd-hierarchy">
|
|
28
28
|
<li><a href="../classes/AuthCookie.html" class="tsd-signature-type" data-tsd-kind="Class">AuthCookie</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/0cfe25d/src/types/Authentication.ts#L51">src/types/Authentication.ts:51</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">
|
|
@@ -48,28 +48,28 @@
|
|
|
48
48
|
<div class="tsd-comment tsd-typography"><p>The authentication token used while logging in to the account.</p>
|
|
49
49
|
</div><aside class="tsd-sources">
|
|
50
50
|
<ul>
|
|
51
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
51
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Authentication.ts#L62">src/types/Authentication.ts:62</a></li></ul></aside></section>
|
|
52
52
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="ct0" class="tsd-anchor"></a>
|
|
53
53
|
<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>
|
|
54
54
|
<div class="tsd-signature">ct0<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
55
55
|
<div class="tsd-comment tsd-typography"><p>The CSRF token of the session.</p>
|
|
56
56
|
</div><aside class="tsd-sources">
|
|
57
57
|
<ul>
|
|
58
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
58
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Authentication.ts#L59">src/types/Authentication.ts:59</a></li></ul></aside></section>
|
|
59
59
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="kdt" class="tsd-anchor"></a>
|
|
60
60
|
<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>
|
|
61
61
|
<div class="tsd-signature">kdt<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
62
62
|
<div class="tsd-comment tsd-typography"><p>Token used to authenticate a device.</p>
|
|
63
63
|
</div><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/0cfe25d/src/types/Authentication.ts#L53">src/types/Authentication.ts:53</a></li></ul></aside></section>
|
|
66
66
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="twid" class="tsd-anchor"></a>
|
|
67
67
|
<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>
|
|
68
68
|
<div class="tsd-signature">twid<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
69
69
|
<div class="tsd-comment tsd-typography"><p>Token used to authenticate a user using a Twitter ID.</p>
|
|
70
70
|
</div><aside class="tsd-sources">
|
|
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/0cfe25d/src/types/Authentication.ts#L56">src/types/Authentication.ts:56</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">
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<ul class="tsd-hierarchy">
|
|
28
28
|
<li><a href="../classes/Cursor.html" class="tsd-signature-type" data-tsd-kind="Class">Cursor</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/0cfe25d/src/types/Service.ts#L6">src/types/Service.ts:6</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">
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
<div class="tsd-comment tsd-typography"><p>The cursor string.</p>
|
|
46
46
|
</div><aside class="tsd-sources">
|
|
47
47
|
<ul>
|
|
48
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
48
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Service.ts#L8">src/types/Service.ts:8</a></li></ul></aside></section></section></div>
|
|
49
49
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
50
50
|
<div class="tsd-navigation settings">
|
|
51
51
|
<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="../classes/CursoredData.html" class="tsd-signature-type" data-tsd-kind="Class">CursoredData</a></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/0cfe25d/src/types/Service.ts#L18">src/types/Service.ts:18</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">
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
<div class="tsd-comment tsd-typography"><p>The list of data of the given type.</p>
|
|
54
54
|
</div><aside class="tsd-sources">
|
|
55
55
|
<ul>
|
|
56
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
56
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Service.ts#L20">src/types/Service.ts:20</a></li></ul></aside></section>
|
|
57
57
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="next" class="tsd-anchor"></a>
|
|
58
58
|
<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>
|
|
59
59
|
<div class="tsd-signature">next<span class="tsd-signature-symbol">:</span> <a href="ICursor.html" class="tsd-signature-type" data-tsd-kind="Interface">ICursor</a></div>
|
|
60
60
|
<div class="tsd-comment tsd-typography"><p>The cursor to the next batch of data.</p>
|
|
61
61
|
</div><aside class="tsd-sources">
|
|
62
62
|
<ul>
|
|
63
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
63
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Service.ts#L23">src/types/Service.ts:23</a></li></ul></aside></section></section></div>
|
|
64
64
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
65
65
|
<div class="tsd-navigation settings">
|
|
66
66
|
<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">IDataContext</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/0cfe25d/src/types/Rettiwt.ts#L11">src/types/Rettiwt.ts:11</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">
|
|
@@ -43,21 +43,21 @@
|
|
|
43
43
|
<div class="tsd-comment tsd-typography"><p>Handles account related operations.</p>
|
|
44
44
|
</div><aside class="tsd-sources">
|
|
45
45
|
<ul>
|
|
46
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
46
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Rettiwt.ts#L19">src/types/Rettiwt.ts:19</a></li></ul></aside></section>
|
|
47
47
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="tweets" class="tsd-anchor"></a>
|
|
48
48
|
<h3 class="tsd-anchor-link"><span>tweets</span><a href="#tweets" 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>
|
|
49
49
|
<div class="tsd-signature">tweets<span class="tsd-signature-symbol">:</span> <a href="../classes/TweetService.html" class="tsd-signature-type" data-tsd-kind="Class">TweetService</a></div>
|
|
50
50
|
<div class="tsd-comment tsd-typography"><p>Handles data related to tweets.</p>
|
|
51
51
|
</div><aside class="tsd-sources">
|
|
52
52
|
<ul>
|
|
53
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
53
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Rettiwt.ts#L16">src/types/Rettiwt.ts:16</a></li></ul></aside></section>
|
|
54
54
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="users" class="tsd-anchor"></a>
|
|
55
55
|
<h3 class="tsd-anchor-link"><span>users</span><a href="#users" 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>
|
|
56
56
|
<div class="tsd-signature">users<span class="tsd-signature-symbol">:</span> <a href="../classes/UserService.html" class="tsd-signature-type" data-tsd-kind="Class">UserService</a></div>
|
|
57
57
|
<div class="tsd-comment tsd-typography"><p>Handles data related to users.</p>
|
|
58
58
|
</div><aside class="tsd-sources">
|
|
59
59
|
<ul>
|
|
60
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
60
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Rettiwt.ts#L13">src/types/Rettiwt.ts:13</a></li></ul></aside></section></section></div>
|
|
61
61
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
62
62
|
<div class="tsd-navigation settings">
|
|
63
63
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<li><a href="../classes/TweetListArgs.html" class="tsd-signature-type" data-tsd-kind="Class">TweetListArgs</a></li>
|
|
29
29
|
<li><a href="../classes/UserListArgs.html" class="tsd-signature-type" data-tsd-kind="Class">UserListArgs</a></li></ul></section><aside class="tsd-sources">
|
|
30
30
|
<ul>
|
|
31
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
31
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Args.ts#L6">src/types/Args.ts:6</a></li></ul></aside>
|
|
32
32
|
<section class="tsd-panel-group tsd-index-group">
|
|
33
33
|
<section class="tsd-panel tsd-index-panel">
|
|
34
34
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
<div class="tsd-comment tsd-typography"><p>The number of data items to fetch.</p>
|
|
48
48
|
</div><aside class="tsd-sources">
|
|
49
49
|
<ul>
|
|
50
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
50
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Args.ts#L8">src/types/Args.ts:8</a></li></ul></aside></section>
|
|
51
51
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="cursor" class="tsd-anchor"></a>
|
|
52
52
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>cursor</span><a href="#cursor" 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>
|
|
53
53
|
<div class="tsd-signature">cursor<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
54
54
|
<div class="tsd-comment tsd-typography"><p>The cursor to the batch of data to fetch.</p>
|
|
55
55
|
</div><aside class="tsd-sources">
|
|
56
56
|
<ul>
|
|
57
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
57
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Args.ts#L11">src/types/Args.ts:11</a></li></ul></aside></section></section></div>
|
|
58
58
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
59
59
|
<div class="tsd-navigation settings">
|
|
60
60
|
<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="../classes/Tweet.html" class="tsd-signature-type" data-tsd-kind="Class">Tweet</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/0cfe25d/src/types/Tweet.ts#L25">src/types/Tweet.ts:25</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">
|
|
@@ -56,84 +56,84 @@
|
|
|
56
56
|
<div class="tsd-comment tsd-typography"><p>The date and time of creation of the tweet, in UTC string format.</p>
|
|
57
57
|
</div><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/0cfe25d/src/types/Tweet.ts#L33">src/types/Tweet.ts:33</a></li></ul></aside></section>
|
|
60
60
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="entities" class="tsd-anchor"></a>
|
|
61
61
|
<h3 class="tsd-anchor-link"><span>entities</span><a href="#entities" 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>
|
|
62
62
|
<div class="tsd-signature">entities<span class="tsd-signature-symbol">:</span> <a href="ITweetEntities.html" class="tsd-signature-type" data-tsd-kind="Interface">ITweetEntities</a></div>
|
|
63
63
|
<div class="tsd-comment tsd-typography"><p>Additional tweet entities like urls, mentions, etc.</p>
|
|
64
64
|
</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/0cfe25d/src/types/Tweet.ts#L36">src/types/Tweet.ts:36</a></li></ul></aside></section>
|
|
67
67
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="fullText" class="tsd-anchor"></a>
|
|
68
68
|
<h3 class="tsd-anchor-link"><span>full<wbr/>Text</span><a href="#fullText" 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">full<wbr/>Text<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
70
70
|
<div class="tsd-comment tsd-typography"><p>The full text content of the tweet.</p>
|
|
71
71
|
</div><aside class="tsd-sources">
|
|
72
72
|
<ul>
|
|
73
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
73
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L42">src/types/Tweet.ts:42</a></li></ul></aside></section>
|
|
74
74
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="id" class="tsd-anchor"></a>
|
|
75
75
|
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" 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>
|
|
76
76
|
<div class="tsd-signature">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
77
77
|
<div class="tsd-comment tsd-typography"><p>The rest id of the tweet.</p>
|
|
78
78
|
</div><aside class="tsd-sources">
|
|
79
79
|
<ul>
|
|
80
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
80
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L27">src/types/Tweet.ts:27</a></li></ul></aside></section>
|
|
81
81
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="lang" class="tsd-anchor"></a>
|
|
82
82
|
<h3 class="tsd-anchor-link"><span>lang</span><a href="#lang" 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>
|
|
83
83
|
<div class="tsd-signature">lang<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
84
84
|
<div class="tsd-comment tsd-typography"><p>The language in which the tweet is written.</p>
|
|
85
85
|
</div><aside class="tsd-sources">
|
|
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/0cfe25d/src/types/Tweet.ts#L48">src/types/Tweet.ts:48</a></li></ul></aside></section>
|
|
88
88
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="likeCount" class="tsd-anchor"></a>
|
|
89
89
|
<h3 class="tsd-anchor-link"><span>like<wbr/>Count</span><a href="#likeCount" 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">like<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
91
91
|
<div class="tsd-comment tsd-typography"><p>The number of likes of the tweet.</p>
|
|
92
92
|
</div><aside class="tsd-sources">
|
|
93
93
|
<ul>
|
|
94
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
94
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L60">src/types/Tweet.ts:60</a></li></ul></aside></section>
|
|
95
95
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="quoteCount" class="tsd-anchor"></a>
|
|
96
96
|
<h3 class="tsd-anchor-link"><span>quote<wbr/>Count</span><a href="#quoteCount" 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>
|
|
97
97
|
<div class="tsd-signature">quote<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
98
98
|
<div class="tsd-comment tsd-typography"><p>The number of quotes of the tweet.</p>
|
|
99
99
|
</div><aside class="tsd-sources">
|
|
100
100
|
<ul>
|
|
101
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
101
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L51">src/types/Tweet.ts:51</a></li></ul></aside></section>
|
|
102
102
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="quoted" class="tsd-anchor"></a>
|
|
103
103
|
<h3 class="tsd-anchor-link"><span>quoted</span><a href="#quoted" 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>
|
|
104
104
|
<div class="tsd-signature">quoted<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
105
105
|
<div class="tsd-comment tsd-typography"><p>The rest id of the tweet which is quoted in the tweet.</p>
|
|
106
106
|
</div><aside class="tsd-sources">
|
|
107
107
|
<ul>
|
|
108
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
108
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L39">src/types/Tweet.ts:39</a></li></ul></aside></section>
|
|
109
109
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="replyCount" class="tsd-anchor"></a>
|
|
110
110
|
<h3 class="tsd-anchor-link"><span>reply<wbr/>Count</span><a href="#replyCount" 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>
|
|
111
111
|
<div class="tsd-signature">reply<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
112
112
|
<div class="tsd-comment tsd-typography"><p>The number of replies to the tweet.</p>
|
|
113
113
|
</div><aside class="tsd-sources">
|
|
114
114
|
<ul>
|
|
115
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
115
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L54">src/types/Tweet.ts:54</a></li></ul></aside></section>
|
|
116
116
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="replyTo" class="tsd-anchor"></a>
|
|
117
117
|
<h3 class="tsd-anchor-link"><span>reply<wbr/>To</span><a href="#replyTo" 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>
|
|
118
118
|
<div class="tsd-signature">reply<wbr/>To<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
119
119
|
<div class="tsd-comment tsd-typography"><p>The rest id of the user to which the tweet is a reply.</p>
|
|
120
120
|
</div><aside class="tsd-sources">
|
|
121
121
|
<ul>
|
|
122
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
122
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L45">src/types/Tweet.ts:45</a></li></ul></aside></section>
|
|
123
123
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="retweetCount" class="tsd-anchor"></a>
|
|
124
124
|
<h3 class="tsd-anchor-link"><span>retweet<wbr/>Count</span><a href="#retweetCount" 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>
|
|
125
125
|
<div class="tsd-signature">retweet<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
126
126
|
<div class="tsd-comment tsd-typography"><p>The number of retweets of the tweet.</p>
|
|
127
127
|
</div><aside class="tsd-sources">
|
|
128
128
|
<ul>
|
|
129
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
129
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L57">src/types/Tweet.ts:57</a></li></ul></aside></section>
|
|
130
130
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="tweetBy" class="tsd-anchor"></a>
|
|
131
131
|
<h3 class="tsd-anchor-link"><span>tweet<wbr/>By</span><a href="#tweetBy" 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>
|
|
132
132
|
<div class="tsd-signature">tweet<wbr/>By<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
133
133
|
<div class="tsd-comment tsd-typography"><p>The rest id of the user who made the tweet.</p>
|
|
134
134
|
</div><aside class="tsd-sources">
|
|
135
135
|
<ul>
|
|
136
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
136
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L30">src/types/Tweet.ts:30</a></li></ul></aside></section></section></div>
|
|
137
137
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
138
138
|
<div class="tsd-navigation settings">
|
|
139
139
|
<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="../classes/TweetEntities.html" class="tsd-signature-type" data-tsd-kind="Class">TweetEntities</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/0cfe25d/src/types/Tweet.ts#L6">src/types/Tweet.ts:6</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">
|
|
@@ -48,28 +48,28 @@
|
|
|
48
48
|
<div class="tsd-comment tsd-typography"><p>The list of hashtags mentioned in the tweet.</p>
|
|
49
49
|
</div><aside class="tsd-sources">
|
|
50
50
|
<ul>
|
|
51
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
51
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L8">src/types/Tweet.ts:8</a></li></ul></aside></section>
|
|
52
52
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="media" class="tsd-anchor"></a>
|
|
53
53
|
<h3 class="tsd-anchor-link"><span>media</span><a href="#media" 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>
|
|
54
54
|
<div class="tsd-signature">media<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
55
55
|
<div class="tsd-comment tsd-typography"><p>The list of urls to various media mentioned in the tweet.</p>
|
|
56
56
|
</div><aside class="tsd-sources">
|
|
57
57
|
<ul>
|
|
58
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
58
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/Tweet.ts#L17">src/types/Tweet.ts:17</a></li></ul></aside></section>
|
|
59
59
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="mentionedUsers" class="tsd-anchor"></a>
|
|
60
60
|
<h3 class="tsd-anchor-link"><span>mentioned<wbr/>Users</span><a href="#mentionedUsers" 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>
|
|
61
61
|
<div class="tsd-signature">mentioned<wbr/>Users<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
62
62
|
<div class="tsd-comment tsd-typography"><p>The list of IDs of users mentioned in the tweet.</p>
|
|
63
63
|
</div><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/0cfe25d/src/types/Tweet.ts#L14">src/types/Tweet.ts:14</a></li></ul></aside></section>
|
|
66
66
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="urls" class="tsd-anchor"></a>
|
|
67
67
|
<h3 class="tsd-anchor-link"><span>urls</span><a href="#urls" 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>
|
|
68
68
|
<div class="tsd-signature">urls<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
69
69
|
<div class="tsd-comment tsd-typography"><p>The list of urls mentioned in the tweet.</p>
|
|
70
70
|
</div><aside class="tsd-sources">
|
|
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/0cfe25d/src/types/Tweet.ts#L11">src/types/Tweet.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">
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<h2>Properties</h2>
|
|
51
51
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a id="endDate" class="tsd-anchor"></a>
|
|
52
52
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>end<wbr/>Date</span><a href="#endDate" 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>
|
|
53
|
-
<div class="tsd-signature">end<wbr/>Date<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">
|
|
53
|
+
<div class="tsd-signature">end<wbr/>Date<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span></div>
|
|
54
54
|
<div class="tsd-comment tsd-typography"><p>The date upto which tweets are to be searched.</p>
|
|
55
55
|
</div><aside class="tsd-sources">
|
|
56
56
|
<ul>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
<li>Defined in node_modules/rettiwt-core/dist/types/request/payloads/TweetFilter.d.ts:22</li></ul></aside></section>
|
|
100
100
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a id="startDate" class="tsd-anchor"></a>
|
|
101
101
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>start<wbr/>Date</span><a href="#startDate" 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>
|
|
102
|
-
<div class="tsd-signature">start<wbr/>Date<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">
|
|
102
|
+
<div class="tsd-signature">start<wbr/>Date<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span></div>
|
|
103
103
|
<div class="tsd-comment tsd-typography"><p>The date starting from which tweets are to be searched.</p>
|
|
104
104
|
</div><aside class="tsd-sources">
|
|
105
105
|
<ul>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<ul class="tsd-hierarchy">
|
|
28
28
|
<li><a href="../classes/User.html" class="tsd-signature-type" data-tsd-kind="Class">User</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/0cfe25d/src/types/User.ts#L6">src/types/User.ts:6</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">
|
|
@@ -58,98 +58,98 @@
|
|
|
58
58
|
<div class="tsd-comment tsd-typography"><p>The creation date of user's account.</p>
|
|
59
59
|
</div><aside class="tsd-sources">
|
|
60
60
|
<ul>
|
|
61
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
61
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/User.ts#L17">src/types/User.ts:17</a></li></ul></aside></section>
|
|
62
62
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="description" class="tsd-anchor"></a>
|
|
63
63
|
<h3 class="tsd-anchor-link"><span>description</span><a href="#description" 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">description<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
65
65
|
<div class="tsd-comment tsd-typography"><p>The user's description.</p>
|
|
66
66
|
</div><aside class="tsd-sources">
|
|
67
67
|
<ul>
|
|
68
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
68
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/User.ts#L20">src/types/User.ts:20</a></li></ul></aside></section>
|
|
69
69
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="favouritesCount" class="tsd-anchor"></a>
|
|
70
70
|
<h3 class="tsd-anchor-link"><span>favourites<wbr/>Count</span><a href="#favouritesCount" 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>
|
|
71
71
|
<div class="tsd-signature">favourites<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
72
72
|
<div class="tsd-comment tsd-typography"><p>The number of tweets liked by the user.</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/0cfe25d/src/types/User.ts#L26">src/types/User.ts:26</a></li></ul></aside></section>
|
|
76
76
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="followersCount" class="tsd-anchor"></a>
|
|
77
77
|
<h3 class="tsd-anchor-link"><span>followers<wbr/>Count</span><a href="#followersCount" 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">followers<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
79
79
|
<div class="tsd-comment tsd-typography"><p>The number of followers of the user.</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/0cfe25d/src/types/User.ts#L29">src/types/User.ts:29</a></li></ul></aside></section>
|
|
83
83
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="followingsCount" class="tsd-anchor"></a>
|
|
84
84
|
<h3 class="tsd-anchor-link"><span>followings<wbr/>Count</span><a href="#followingsCount" 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">followings<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
86
86
|
<div class="tsd-comment tsd-typography"><p>The number of following of the user.</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/0cfe25d/src/types/User.ts#L32">src/types/User.ts:32</a></li></ul></aside></section>
|
|
90
90
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="fullName" class="tsd-anchor"></a>
|
|
91
91
|
<h3 class="tsd-anchor-link"><span>full<wbr/>Name</span><a href="#fullName" 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>
|
|
92
92
|
<div class="tsd-signature">full<wbr/>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
93
93
|
<div class="tsd-comment tsd-typography"><p>The full name of the user.</p>
|
|
94
94
|
</div><aside class="tsd-sources">
|
|
95
95
|
<ul>
|
|
96
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
96
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/User.ts#L14">src/types/User.ts:14</a></li></ul></aside></section>
|
|
97
97
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="id" class="tsd-anchor"></a>
|
|
98
98
|
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" 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>
|
|
99
99
|
<div class="tsd-signature">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
100
100
|
<div class="tsd-comment tsd-typography"><p>The rest id of the user.</p>
|
|
101
101
|
</div><aside class="tsd-sources">
|
|
102
102
|
<ul>
|
|
103
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
103
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/User.ts#L8">src/types/User.ts:8</a></li></ul></aside></section>
|
|
104
104
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="isVerified" class="tsd-anchor"></a>
|
|
105
105
|
<h3 class="tsd-anchor-link"><span>is<wbr/>Verified</span><a href="#isVerified" 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>
|
|
106
106
|
<div class="tsd-signature">is<wbr/>Verified<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
107
107
|
<div class="tsd-comment tsd-typography"><p>Whether the account is verified or not.</p>
|
|
108
108
|
</div><aside class="tsd-sources">
|
|
109
109
|
<ul>
|
|
110
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
110
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/User.ts#L23">src/types/User.ts:23</a></li></ul></aside></section>
|
|
111
111
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="location" class="tsd-anchor"></a>
|
|
112
112
|
<h3 class="tsd-anchor-link"><span>location</span><a href="#location" 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>
|
|
113
113
|
<div class="tsd-signature">location<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
114
114
|
<div class="tsd-comment tsd-typography"><p>The location of user as provided by user.</p>
|
|
115
115
|
</div><aside class="tsd-sources">
|
|
116
116
|
<ul>
|
|
117
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
117
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/User.ts#L38">src/types/User.ts:38</a></li></ul></aside></section>
|
|
118
118
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="pinnedTweet" class="tsd-anchor"></a>
|
|
119
119
|
<h3 class="tsd-anchor-link"><span>pinned<wbr/>Tweet</span><a href="#pinnedTweet" 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>
|
|
120
120
|
<div class="tsd-signature">pinned<wbr/>Tweet<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
121
121
|
<div class="tsd-comment tsd-typography"><p>The rest id of the tweet pinned in the user's profile.</p>
|
|
122
122
|
</div><aside class="tsd-sources">
|
|
123
123
|
<ul>
|
|
124
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
124
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/User.ts#L41">src/types/User.ts:41</a></li></ul></aside></section>
|
|
125
125
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="profileBanner" class="tsd-anchor"></a>
|
|
126
126
|
<h3 class="tsd-anchor-link"><span>profile<wbr/>Banner</span><a href="#profileBanner" 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>
|
|
127
127
|
<div class="tsd-signature">profile<wbr/>Banner<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
128
128
|
<div class="tsd-comment tsd-typography"><p>The url of the profile banner image.</p>
|
|
129
129
|
</div><aside class="tsd-sources">
|
|
130
130
|
<ul>
|
|
131
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
131
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/User.ts#L44">src/types/User.ts:44</a></li></ul></aside></section>
|
|
132
132
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="profileImage" class="tsd-anchor"></a>
|
|
133
133
|
<h3 class="tsd-anchor-link"><span>profile<wbr/>Image</span><a href="#profileImage" 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>
|
|
134
134
|
<div class="tsd-signature">profile<wbr/>Image<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
135
135
|
<div class="tsd-comment tsd-typography"><p>The url of the profile image.</p>
|
|
136
136
|
</div><aside class="tsd-sources">
|
|
137
137
|
<ul>
|
|
138
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
138
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/User.ts#L47">src/types/User.ts:47</a></li></ul></aside></section>
|
|
139
139
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="statusesCount" class="tsd-anchor"></a>
|
|
140
140
|
<h3 class="tsd-anchor-link"><span>statuses<wbr/>Count</span><a href="#statusesCount" 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>
|
|
141
141
|
<div class="tsd-signature">statuses<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
142
142
|
<div class="tsd-comment tsd-typography"><p>The number of tweets made by the user.</p>
|
|
143
143
|
</div><aside class="tsd-sources">
|
|
144
144
|
<ul>
|
|
145
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
145
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/0cfe25d/src/types/User.ts#L35">src/types/User.ts:35</a></li></ul></aside></section>
|
|
146
146
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="userName" class="tsd-anchor"></a>
|
|
147
147
|
<h3 class="tsd-anchor-link"><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>
|
|
148
148
|
<div class="tsd-signature">user<wbr/>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
149
149
|
<div class="tsd-comment tsd-typography"><p>The username/screenname of the user.</p>
|
|
150
150
|
</div><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/0cfe25d/src/types/User.ts#L11">src/types/User.ts:11</a></li></ul></aside></section></section></div>
|
|
153
153
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
154
154
|
<div class="tsd-navigation settings">
|
|
155
155
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rettiwt-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"description": "An API for fetching data from TwitterAPI, without any rate limits!",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node-cache": "5.1.2",
|
|
34
34
|
"node-libcurl": "3.0.0",
|
|
35
35
|
"reflect-metadata": "0.1.13",
|
|
36
|
-
"rettiwt-core": "2.
|
|
36
|
+
"rettiwt-core": "2.4.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/cookiejar": "2.1.2",
|
|
@@ -51,7 +51,13 @@ export const rootQuery = new GraphQLObjectType({
|
|
|
51
51
|
count: { type: GraphQLInt, defaultValue: 10 },
|
|
52
52
|
cursor: { type: GraphQLString, defaultValue: '' }
|
|
53
53
|
},
|
|
54
|
-
resolve: (parent, args, context) =>
|
|
54
|
+
resolve: (parent, args, context) => {
|
|
55
|
+
// Converting string dates to Date objects
|
|
56
|
+
args.startDate = args.startDate ? new Date(args.startDate) : undefined;
|
|
57
|
+
args.endDate = args.endDate ? new Date(args.endDate) : undefined;
|
|
58
|
+
|
|
59
|
+
return new TweetResolver(context).resolveTweets(args as TweetFilter, args.count, args.cursor)
|
|
60
|
+
}
|
|
55
61
|
},
|
|
56
62
|
Login: {
|
|
57
63
|
type: new GraphQLObjectType({
|
|
@@ -101,20 +101,8 @@ export default class TweetResolver extends ResolverBase {
|
|
|
101
101
|
// If all tweets are to be fetched
|
|
102
102
|
count = all ? quoteCount : count;
|
|
103
103
|
|
|
104
|
-
// Preparing the filter to use
|
|
105
|
-
let filter = {
|
|
106
|
-
words: [],
|
|
107
|
-
hashtags: [],
|
|
108
|
-
fromUsers: [],
|
|
109
|
-
toUsers: [],
|
|
110
|
-
mentions: [],
|
|
111
|
-
startDate: '',
|
|
112
|
-
endDate: '',
|
|
113
|
-
quoted: id
|
|
114
|
-
};
|
|
115
|
-
|
|
116
104
|
// Fetching the quotes using resolveTweets method
|
|
117
|
-
quotes = await this.resolveTweets(
|
|
105
|
+
quotes = await this.resolveTweets({ quoted: id }, count, cursor).catch(error => {
|
|
118
106
|
throw this.getGraphQLError(error);
|
|
119
107
|
});
|
|
120
108
|
|