-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
105: feat: fixed for the issue (#9) r=myConsciousness a=myConsciousness # 1. Description <!-- Provide a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change. If this is a breaking change, specify explicitly which APIs have been changed. --> ## 1.1. Checklist <!-- Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process. --> - [x] The title of my PR starts with a [Conventional Commit] prefix (`fix:`, `feat:`, `docs:` etc). - [x] I have read the [Contributor Guide] and followed the process outlined for submitting PRs. - [x] I have updated/added tests for ALL new/updated/fixed functionality. - [x] I have updated/added relevant documentation in `docs` and added dartdoc comments with `///`. - [x] I have updated/added relevant examples in `examples`. ## 1.2. Breaking Change <!-- Does your PR require users to manually update their apps to accommodate your change? If the PR is a breaking change this should be indicated with suffix "!" (for example, `feat!:`, `fix!:`). See [Conventional Commit] for details. --> - [ ] Yes, this is a breaking change. - [x] No, this is _not_ a breaking change. ## 1.3. Related Issues <!-- Provide a list of issues related to this PR from the [issue database]. Indicate which of these issues are resolved or fixed by this PR, i.e. Fixes #xxxx* !--> <!-- Links --> [issue database]: https://github.com/mastodon-dart/mastodon-api/issues [contributor guide]: https://github.com/mastodon-dart/mastodon-api/blob/main/CONTRIBUTING.md [style guide]: https://github.com/mastodon-dart/mastodon-api/blob/main/STYLEGUIDE.md [conventional commit]: https://conventionalcommits.org Co-authored-by: myConsciousness <contact@shinyakato.dev>
- Loading branch information
Showing
4 changed files
with
263 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
151 changes: 151 additions & 0 deletions
151
test/src/service/v1/accounts/data/lookup_favourited_statuses.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
[ | ||
{ | ||
"id": "109582726254665165", | ||
"created_at": "2022-12-27T00:08:24.813Z", | ||
"in_reply_to_id": null, | ||
"in_reply_to_account_id": null, | ||
"sensitive": false, | ||
"spoiler_text": "", | ||
"visibility": "public", | ||
"language": "ja", | ||
"uri": "https://mastodon.world/users/shinyakato/statuses/109582726254665165", | ||
"url": "https://mastodon.world/@shinyakato/109582726254665165", | ||
"replies_count": 0, | ||
"reblogs_count": 0, | ||
"favourites_count": 0, | ||
"edited_at": null, | ||
"favourited": false, | ||
"reblogged": false, | ||
"muted": false, | ||
"bookmarked": false, | ||
"pinned": false, | ||
"content": "\u003cp\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"https://mastodon.world/@shinyakato\" class=\"u-url mention\"\u003e@\u003cspan\u003eshinyakato\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e test\u003c/p\u003e", | ||
"filtered": [], | ||
"reblog": null, | ||
"application": null, | ||
"account": { | ||
"id": "109510913996812000", | ||
"username": "shinyakato", | ||
"acct": "shinyakato", | ||
"display_name": "Shinya Kato", | ||
"locked": false, | ||
"bot": false, | ||
"discoverable": false, | ||
"group": false, | ||
"created_at": "2022-12-14T00:00:00.000Z", | ||
"note": "\u003cp\u003e👋 Coding 10+ years┆OSS Developer┆Hacker\u003cbr /\u003e👨💻 Author of twitter_api_v2, mastodon_api, many Dart/Flutter packages \u003cbr /\u003e🏠 shinyakato.dev\u003cbr /\u003e🇯🇵 He/Him/His\u003c/p\u003e", | ||
"url": "https://mastodon.world/@shinyakato", | ||
"avatar": "https://mastodon.world/avatars/original/missing.png", | ||
"avatar_static": "https://mastodon.world/avatars/original/missing.png", | ||
"header": "https://mastodon.world/headers/original/missing.png", | ||
"header_static": "https://mastodon.world/headers/original/missing.png", | ||
"followers_count": 4, | ||
"following_count": 5, | ||
"statuses_count": 2, | ||
"last_status_at": "2022-12-27", | ||
"noindex": false, | ||
"emojis": [], | ||
"fields": [ | ||
{ | ||
"name": "Twitter", | ||
"value": "\u003ca href=\"https://twitter.com/kato__shinya\" target=\"_blank\" rel=\"nofollow noopener noreferrer me\"\u003e\u003cspan class=\"invisible\"\u003ehttps://\u003c/span\u003e\u003cspan class=\"\"\u003etwitter.com/kato__shinya\u003c/span\u003e\u003cspan class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e", | ||
"verified_at": null | ||
}, | ||
{ | ||
"name": "GitHub", | ||
"value": "\u003ca href=\"https://github.com/myConsciousness\" target=\"_blank\" rel=\"nofollow noopener noreferrer me\"\u003e\u003cspan class=\"invisible\"\u003ehttps://\u003c/span\u003e\u003cspan class=\"\"\u003egithub.com/myConsciousness\u003c/span\u003e\u003cspan class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e", | ||
"verified_at": null | ||
}, | ||
{ | ||
"name": "Homepage", | ||
"value": "\u003ca href=\"https://shinyakato.dev\" target=\"_blank\" rel=\"nofollow noopener noreferrer me\"\u003e\u003cspan class=\"invisible\"\u003ehttps://\u003c/span\u003e\u003cspan class=\"\"\u003eshinyakato.dev\u003c/span\u003e\u003cspan class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e", | ||
"verified_at": null | ||
} | ||
] | ||
}, | ||
"media_attachments": [], | ||
"mentions": [ | ||
{ | ||
"id": "109510913996812000", | ||
"username": "shinyakato", | ||
"url": "https://mastodon.world/@shinyakato", | ||
"acct": "shinyakato" | ||
} | ||
], | ||
"tags": [], | ||
"emojis": [], | ||
"card": null, | ||
"poll": null | ||
}, | ||
{ | ||
"id": "109582718980699690", | ||
"created_at": "2022-12-27T00:06:33.822Z", | ||
"in_reply_to_id": null, | ||
"in_reply_to_account_id": null, | ||
"sensitive": false, | ||
"spoiler_text": "", | ||
"visibility": "public", | ||
"language": "ja", | ||
"uri": "https://mastodon.world/users/shinyakato/statuses/109582718980699690", | ||
"url": "https://mastodon.world/@shinyakato/109582718980699690", | ||
"replies_count": 0, | ||
"reblogs_count": 0, | ||
"favourites_count": 0, | ||
"edited_at": null, | ||
"favourited": false, | ||
"reblogged": false, | ||
"muted": false, | ||
"bookmarked": false, | ||
"pinned": false, | ||
"content": "\u003cp\u003etest\u003c/p\u003e", | ||
"filtered": [], | ||
"reblog": null, | ||
"application": null, | ||
"account": { | ||
"id": "109510913996812000", | ||
"username": "shinyakato", | ||
"acct": "shinyakato", | ||
"display_name": "Shinya Kato", | ||
"locked": false, | ||
"bot": false, | ||
"discoverable": false, | ||
"group": false, | ||
"created_at": "2022-12-14T00:00:00.000Z", | ||
"note": "\u003cp\u003e👋 Coding 10+ years┆OSS Developer┆Hacker\u003cbr /\u003e👨💻 Author of twitter_api_v2, mastodon_api, many Dart/Flutter packages \u003cbr /\u003e🏠 shinyakato.dev\u003cbr /\u003e🇯🇵 He/Him/His\u003c/p\u003e", | ||
"url": "https://mastodon.world/@shinyakato", | ||
"avatar": "https://mastodon.world/avatars/original/missing.png", | ||
"avatar_static": "https://mastodon.world/avatars/original/missing.png", | ||
"header": "https://mastodon.world/headers/original/missing.png", | ||
"header_static": "https://mastodon.world/headers/original/missing.png", | ||
"followers_count": 4, | ||
"following_count": 5, | ||
"statuses_count": 2, | ||
"last_status_at": "2022-12-27", | ||
"noindex": false, | ||
"emojis": [], | ||
"fields": [ | ||
{ | ||
"name": "Twitter", | ||
"value": "\u003ca href=\"https://twitter.com/kato__shinya\" target=\"_blank\" rel=\"nofollow noopener noreferrer me\"\u003e\u003cspan class=\"invisible\"\u003ehttps://\u003c/span\u003e\u003cspan class=\"\"\u003etwitter.com/kato__shinya\u003c/span\u003e\u003cspan class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e", | ||
"verified_at": null | ||
}, | ||
{ | ||
"name": "GitHub", | ||
"value": "\u003ca href=\"https://github.com/myConsciousness\" target=\"_blank\" rel=\"nofollow noopener noreferrer me\"\u003e\u003cspan class=\"invisible\"\u003ehttps://\u003c/span\u003e\u003cspan class=\"\"\u003egithub.com/myConsciousness\u003c/span\u003e\u003cspan class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e", | ||
"verified_at": null | ||
}, | ||
{ | ||
"name": "Homepage", | ||
"value": "\u003ca href=\"https://shinyakato.dev\" target=\"_blank\" rel=\"nofollow noopener noreferrer me\"\u003e\u003cspan class=\"invisible\"\u003ehttps://\u003c/span\u003e\u003cspan class=\"\"\u003eshinyakato.dev\u003c/span\u003e\u003cspan class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e", | ||
"verified_at": null | ||
} | ||
] | ||
}, | ||
"media_attachments": [], | ||
"mentions": [], | ||
"tags": [], | ||
"emojis": [], | ||
"card": null, | ||
"poll": null | ||
} | ||
] |