rettiwt-api 1.0.7 → 1.0.9

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.
Files changed (63) hide show
  1. package/.dockerignore +1 -1
  2. package/dist/graphql/resolvers/TweetResolver.d.ts +0 -9
  3. package/dist/graphql/resolvers/TweetResolver.js +0 -48
  4. package/dist/graphql/resolvers/TweetResolver.js.map +1 -1
  5. package/dist/graphql/types/TweetTypes.js +12 -6
  6. package/dist/graphql/types/TweetTypes.js.map +1 -1
  7. package/dist/index.d.ts +2 -0
  8. package/dist/services/data/TweetService.d.ts +0 -6
  9. package/dist/services/data/TweetService.js +0 -30
  10. package/dist/services/data/TweetService.js.map +1 -1
  11. package/package.json +1 -1
  12. package/src/graphql/resolvers/TweetResolver.ts +5 -0
  13. package/src/graphql/types/TweetTypes.ts +7 -1
  14. package/src/index.ts +5 -1
  15. package/src/services/data/TweetService.ts +5 -0
  16. package/dist/services/data/UserAccountService.d.ts +0 -42
  17. package/dist/services/data/UserAccountService.js +0 -253
  18. package/dist/services/data/UserAccountService.js.map +0 -1
  19. package/dist/services/helper/Deserializers.d.ts +0 -19
  20. package/dist/services/helper/Deserializers.js +0 -115
  21. package/dist/services/helper/Deserializers.js.map +0 -1
  22. package/dist/services/helper/Extractors.d.ts +0 -101
  23. package/dist/services/helper/Extractors.js +0 -409
  24. package/dist/services/helper/Extractors.js.map +0 -1
  25. package/dist/services/helper/Urls.d.ts +0 -74
  26. package/dist/services/helper/Urls.js +0 -130
  27. package/dist/services/helper/Urls.js.map +0 -1
  28. package/dist/services/helper/deserializers/User.d.ts +0 -0
  29. package/dist/services/helper/deserializers/User.js +0 -2
  30. package/dist/services/helper/deserializers/User.js.map +0 -1
  31. package/dist/services/helper/extractors/TweetExtractors.d.ts +0 -0
  32. package/dist/services/helper/extractors/TweetExtractors.js +0 -2
  33. package/dist/services/helper/extractors/TweetExtractors.js.map +0 -1
  34. package/dist/services/helper/extractors/UserExtractors.d.ts +0 -45
  35. package/dist/services/helper/extractors/UserExtractors.js +0 -176
  36. package/dist/services/helper/extractors/UserExtractors.js.map +0 -1
  37. package/dist/services/helper/urls/Urls.d.ts +0 -4
  38. package/dist/services/helper/urls/Urls.js +0 -11
  39. package/dist/services/helper/urls/Urls.js.map +0 -1
  40. package/dist/types/Errors.d.ts +0 -15
  41. package/dist/types/Errors.js +0 -23
  42. package/dist/types/Errors.js.map +0 -1
  43. package/dist/types/Service.d.ts +0 -30
  44. package/dist/types/Service.js +0 -19
  45. package/dist/types/Service.js.map +0 -1
  46. package/dist/types/Tweet.d.ts +0 -41
  47. package/dist/types/Tweet.js +0 -5
  48. package/dist/types/Tweet.js.map +0 -1
  49. package/dist/types/User.d.ts +0 -19
  50. package/dist/types/User.js +0 -4
  51. package/dist/types/User.js.map +0 -1
  52. package/dist/types/UserAccount.d.ts +0 -19
  53. package/dist/types/UserAccount.js +0 -4
  54. package/dist/types/UserAccount.js.map +0 -1
  55. package/dist/types/raw/http/Error.d.ts +0 -34
  56. package/dist/types/raw/http/Error.js +0 -3
  57. package/dist/types/raw/http/Error.js.map +0 -1
  58. package/dist/types/raw/http/Response.d.ts +0 -34
  59. package/dist/types/raw/http/Response.js +0 -3
  60. package/dist/types/raw/http/Response.js.map +0 -1
  61. package/dist/types/raw/user/Tweets.d.ts +0 -2428
  62. package/dist/types/raw/user/Tweets.js +0 -3
  63. package/dist/types/raw/user/Tweets.js.map +0 -1
@@ -1,41 +0,0 @@
1
- /**
2
- * @summary Stores the filter to be used for fetching tweets from TwitterAPI
3
- */
4
- export interface TweetFilter {
5
- words?: string[];
6
- hashtags?: string[];
7
- fromUsers?: string[];
8
- toUsers?: string[];
9
- mentions?: string[];
10
- startDate?: string;
11
- endDate?: string;
12
- sinceId?: string;
13
- quoted?: string;
14
- links?: boolean;
15
- }
16
- /**
17
- * @summary Stores the different types of tweet elements like urls, media, mentions, hashtags, etc
18
- */
19
- export interface TweetEntities {
20
- hashtags: string[];
21
- urls: string[];
22
- mentionedUsers: string[];
23
- media: string[];
24
- }
25
- /**
26
- * @summary Stores a single tweet
27
- */
28
- export interface Tweet {
29
- id: string;
30
- tweetBy: string;
31
- createdAt: string;
32
- entities: TweetEntities;
33
- quoted: string;
34
- fullText: string;
35
- replyTo: string;
36
- lang: string;
37
- quoteCount: number;
38
- replyCount: number;
39
- retweetCount: number;
40
- likeCount: number;
41
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- // This file contains various objects related to handling of Tweets made by a user
3
- exports.__esModule = true;
4
- ;
5
- //# sourceMappingURL=Tweet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tweet.js","sourceRoot":"","sources":["../../src/types/Tweet.ts"],"names":[],"mappings":";AAAA,kFAAkF;;AAgBjF,CAAC"}
@@ -1,19 +0,0 @@
1
- /**
2
- * @summary Stores the complete details of the given user's account
3
- */
4
- export interface User {
5
- id: string;
6
- userName: string;
7
- fullName: string;
8
- createdAt: string;
9
- description: string;
10
- isVerified: boolean;
11
- favouritesCount: number;
12
- followersCount: number;
13
- followingsCount: number;
14
- statusesCount: number;
15
- location: string;
16
- pinnedTweet: string;
17
- profileBanner: string;
18
- profileImage: string;
19
- }
@@ -1,4 +0,0 @@
1
- "use strict";
2
- // This file contains various objects for handling data related to User Account
3
- exports.__esModule = true;
4
- //# sourceMappingURL=User.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"User.js","sourceRoot":"","sources":["../../src/types/User.ts"],"names":[],"mappings":";AAAA,+EAA+E"}
@@ -1,19 +0,0 @@
1
- /**
2
- * @summary Stores the complete details of the given user's account
3
- */
4
- export interface User {
5
- id: string;
6
- userName: string;
7
- fullName: string;
8
- createdAt: string;
9
- description: string;
10
- isVerified: boolean;
11
- favouritesCount: number;
12
- followersCount: number;
13
- followingsCount: number;
14
- statusesCount: number;
15
- location: string;
16
- pinnedTweet: string;
17
- profileBanner: string;
18
- profileImage: string;
19
- }
@@ -1,4 +0,0 @@
1
- "use strict";
2
- // This file contains various objects for handling data related to User Account
3
- exports.__esModule = true;
4
- //# sourceMappingURL=UserAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserAccount.js","sourceRoot":"","sources":["../../src/types/UserAccount.ts"],"names":[],"mappings":";AAAA,+EAA+E"}
@@ -1,34 +0,0 @@
1
- export interface Root {
2
- errors: Error[];
3
- data: Data;
4
- }
5
- export interface Error {
6
- message: string;
7
- locations: Location[];
8
- path: string[];
9
- extensions: Extensions;
10
- code: number;
11
- kind: string;
12
- name: string;
13
- source: string;
14
- tracing: Tracing2;
15
- }
16
- export interface Location {
17
- line: number;
18
- column: number;
19
- }
20
- export interface Extensions {
21
- name: string;
22
- source: string;
23
- code: number;
24
- kind: string;
25
- tracing: Tracing;
26
- }
27
- export interface Tracing {
28
- trace_id: string;
29
- }
30
- export interface Tracing2 {
31
- trace_id: string;
32
- }
33
- export interface Data {
34
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- //# sourceMappingURL=Error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Error.js","sourceRoot":"","sources":["../../../../src/types/raw/http/Error.ts"],"names":[],"mappings":""}
@@ -1,34 +0,0 @@
1
- export default interface Reponse<Type> {
2
- errors: Error[];
3
- data: Type;
4
- }
5
- export interface Error {
6
- message: string;
7
- locations: Location[];
8
- path: string[];
9
- extensions: Extensions;
10
- code: number;
11
- kind: string;
12
- name: string;
13
- source: string;
14
- tracing: Tracing2;
15
- }
16
- export interface Location {
17
- line: number;
18
- column: number;
19
- }
20
- export interface Extensions {
21
- name: string;
22
- source: string;
23
- code: number;
24
- kind: string;
25
- tracing: Tracing;
26
- }
27
- export interface Tracing {
28
- trace_id: string;
29
- }
30
- export interface Tracing2 {
31
- trace_id: string;
32
- }
33
- export interface Data {
34
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/types/raw/http/Response.ts"],"names":[],"mappings":""}