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.
- package/.dockerignore +1 -1
- package/dist/graphql/resolvers/TweetResolver.d.ts +0 -9
- package/dist/graphql/resolvers/TweetResolver.js +0 -48
- package/dist/graphql/resolvers/TweetResolver.js.map +1 -1
- package/dist/graphql/types/TweetTypes.js +12 -6
- package/dist/graphql/types/TweetTypes.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/services/data/TweetService.d.ts +0 -6
- package/dist/services/data/TweetService.js +0 -30
- package/dist/services/data/TweetService.js.map +1 -1
- package/package.json +1 -1
- package/src/graphql/resolvers/TweetResolver.ts +5 -0
- package/src/graphql/types/TweetTypes.ts +7 -1
- package/src/index.ts +5 -1
- package/src/services/data/TweetService.ts +5 -0
- package/dist/services/data/UserAccountService.d.ts +0 -42
- package/dist/services/data/UserAccountService.js +0 -253
- package/dist/services/data/UserAccountService.js.map +0 -1
- package/dist/services/helper/Deserializers.d.ts +0 -19
- package/dist/services/helper/Deserializers.js +0 -115
- package/dist/services/helper/Deserializers.js.map +0 -1
- package/dist/services/helper/Extractors.d.ts +0 -101
- package/dist/services/helper/Extractors.js +0 -409
- package/dist/services/helper/Extractors.js.map +0 -1
- package/dist/services/helper/Urls.d.ts +0 -74
- package/dist/services/helper/Urls.js +0 -130
- package/dist/services/helper/Urls.js.map +0 -1
- package/dist/services/helper/deserializers/User.d.ts +0 -0
- package/dist/services/helper/deserializers/User.js +0 -2
- package/dist/services/helper/deserializers/User.js.map +0 -1
- package/dist/services/helper/extractors/TweetExtractors.d.ts +0 -0
- package/dist/services/helper/extractors/TweetExtractors.js +0 -2
- package/dist/services/helper/extractors/TweetExtractors.js.map +0 -1
- package/dist/services/helper/extractors/UserExtractors.d.ts +0 -45
- package/dist/services/helper/extractors/UserExtractors.js +0 -176
- package/dist/services/helper/extractors/UserExtractors.js.map +0 -1
- package/dist/services/helper/urls/Urls.d.ts +0 -4
- package/dist/services/helper/urls/Urls.js +0 -11
- package/dist/services/helper/urls/Urls.js.map +0 -1
- package/dist/types/Errors.d.ts +0 -15
- package/dist/types/Errors.js +0 -23
- package/dist/types/Errors.js.map +0 -1
- package/dist/types/Service.d.ts +0 -30
- package/dist/types/Service.js +0 -19
- package/dist/types/Service.js.map +0 -1
- package/dist/types/Tweet.d.ts +0 -41
- package/dist/types/Tweet.js +0 -5
- package/dist/types/Tweet.js.map +0 -1
- package/dist/types/User.d.ts +0 -19
- package/dist/types/User.js +0 -4
- package/dist/types/User.js.map +0 -1
- package/dist/types/UserAccount.d.ts +0 -19
- package/dist/types/UserAccount.js +0 -4
- package/dist/types/UserAccount.js.map +0 -1
- package/dist/types/raw/http/Error.d.ts +0 -34
- package/dist/types/raw/http/Error.js +0 -3
- package/dist/types/raw/http/Error.js.map +0 -1
- package/dist/types/raw/http/Response.d.ts +0 -34
- package/dist/types/raw/http/Response.js +0 -3
- package/dist/types/raw/http/Response.js.map +0 -1
- package/dist/types/raw/user/Tweets.d.ts +0 -2428
- package/dist/types/raw/user/Tweets.js +0 -3
- package/dist/types/raw/user/Tweets.js.map +0 -1
package/dist/types/Tweet.d.ts
DELETED
|
@@ -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
|
-
}
|
package/dist/types/Tweet.js
DELETED
package/dist/types/Tweet.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tweet.js","sourceRoot":"","sources":["../../src/types/Tweet.ts"],"names":[],"mappings":";AAAA,kFAAkF;;AAgBjF,CAAC"}
|
package/dist/types/User.d.ts
DELETED
|
@@ -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
|
-
}
|
package/dist/types/User.js
DELETED
package/dist/types/User.js.map
DELETED
|
@@ -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 +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 +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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/types/raw/http/Response.ts"],"names":[],"mappings":""}
|