rettiwt-api 1.3.1 → 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/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
|
@@ -56,11 +56,10 @@ export class TweetService extends FetcherService {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
// Objectifying parameters
|
|
59
|
-
let filter: TweetFilter = new TweetFilter(query);
|
|
60
59
|
let args: TweetListArgs = new TweetListArgs(count, cursor);
|
|
61
60
|
|
|
62
61
|
// Preparing the URL
|
|
63
|
-
const url: string = new Url(EResourceType.TWEET_SEARCH, { filter:
|
|
62
|
+
const url: string = new Url(EResourceType.TWEET_SEARCH, { filter: query, count: args.count, cursor: args.cursor }).toString();
|
|
64
63
|
|
|
65
64
|
// Getting the raw data
|
|
66
65
|
let res = await this.request<ITweetSearchResponse>(url).then(res => res.data);
|