Commit Graph

73 Commits (2c284d860cbe44b83a069e17cd6e4a67b0993809)

Author SHA1 Message Date
Mingwei Samuel 4265d7e3c9 Regen for `QueueType::CHERRY`, removed `champion-mastery-v4` summoner ID endpoints 2024-01-04 09:57:50 -08:00
Mingwei Samuel 13a06b224a Update champion-master-v4 tests to use puuid 2023-12-26 22:21:47 -08:00
Mingwei Samuel 904a6b083f Regen for `Hwei`, removal of `clash-v1.getPlayersByPUUID`, and changed/new `match-v5.ParticipantDto.riotIdGameName` field 2023-11-22 09:40:46 -08:00
Mingwei Samuel c7f5c59495 Regen for new `tournament-v5.getGames` endpoint, `match-v5.Participant` updates 2023-11-15 11:43:47 -08:00
Mingwei Samuel dc73fcbf46 update tests from tournament_v4 to tournament_v5 2023-10-17 23:03:21 -07:00
Mingwei Samuel 2661acf5e9 Regen for tournament-v5 endpoints, new `match-v5.ObjectivesDto.horde` field
`horde`: https://github.com/RiotGames/developer-relations/issues/829
2023-10-13 11:22:54 -07:00
Mingwei Samuel 512a7e9020 Regen for `tournament-stub-v5` and `val-content-v1.ContentDto.totem` 2023-09-21 23:43:22 -07:00
Mingwei Samuel 1ec4c18ae4 Regen for Briar, new `champion-mastery-v4.getChampionMasteryByPUUID` endpoint 2023-09-05 00:38:32 -07:00
Mingwei Samuel fc42abcbe2 update codegen to avoid `clippy::redundant_locals` 2023-08-11 11:42:46 -07:00
Mingwei Samuel 41a00d68f6 Regen for the Arena 2v2v2v2 `CHERRY` game mode 2023-07-22 22:07:55 -07:00
Mingwei Samuel 800f9c83f4 Add new Arena 2v2v2v2 `CHERRY` game mode, tests 2023-07-22 22:07:25 -07:00
Mingwei Samuel 7c0fff55ae
Add EMERALD tier, fix #55 (#56)
fix #55
2023-07-21 08:45:13 -07:00
Mingwei Samuel 2aa493abfe Regen for Naafiri, removed champion-mastery-v4 by-puuid endpoints, off-season nullables 2023-07-19 13:51:58 -07:00
Mingwei Samuel bf51ba0a83 Regenerate for new `champion-mastery-v4` PUUID methods, new `match-v5.ParticipantDto` fields
New `champion-mastery-v4` endpoints:
* `getAllChampionMasteriesByPUUID`
* `getChampionMasteryByPUUID`
* `getTopChampionMasteriesByPUUID`
* `getChampionMasteryScoreByPUUID`

New fields: `match-v5.ParticipantDto.playerAugment[1234],playerSubteamId,subteamPlacement`
2023-06-16 12:06:40 -07:00
Mingwei Samuel 3070216709 Regen for new `match-v5.ParticipantChallenges.twoWardsOneSweeperCount` field 2023-05-29 19:56:31 -07:00
Mingwei Samuel ad08632089 Regen for new `champion-mastery-v4.ChampionMasteryDto.puuid` field 2023-05-15 09:15:59 -07:00
Mingwei Samuel cb5bd58784 cargo clippy fixes, enable lints in CI 2023-05-10 13:10:58 -07:00
Mingwei Samuel e53d78c807 cargo fmt 2023-05-10 13:10:58 -07:00
Mingwei Samuel 3d1188b5c9 rustfmt ignore templated generated files 2023-05-10 13:10:58 -07:00
Mingwei Samuel 150566983e Regen, `val-match-v1.MatchlistEntryDto.queueId` 2023-05-10 11:51:30 -07:00
Mingwei Samuel 1567bae16e Update `FakeInstant`, token bucket test 2023-04-29 12:43:38 -07:00
Mingwei Samuel 94e0a0d1d3 Regen for `match-v5.ParticipantDto.totalAlly/EnemyJungleMinionsKilled` fields 2023-04-23 10:13:48 -07:00
Mingwei Samuel 0ea966a105 Regen for `firstTurretKilled` challenge 2023-04-07 14:23:07 -07:00
Mingwei Samuel 0a1d5537cc Regen for new `lol-challenges-v1.PlayerClientPreferences` fields 2023-04-01 21:56:42 -07:00
Mingwei Samuel e5803092bf Regen for `clash-v1.getPlayersByPUUID` (new) and `tft-league-v1.LeagueListDTO` optional fields 2023-04-01 21:52:28 -07:00
Mingwei Samuel 728aa0f99a Regen for https://github.com/RiotGames/developer-relations/issues/754 2023-03-20 22:26:14 -07:00
Mingwei Samuel 599f88ec73 Regen for optional `tft-match-v1.UnitDto.items`, fix #50 2023-03-08 13:51:15 -08:00
Mingwei Samuel 563f9e84a7 Regen for Milio and new undocumented TFT fields
https://github.com/RiotGames/developer-relations/issues/749
2023-03-08 13:21:43 -08:00
Mingwei Samuel f51a67c1fc Add exponential backoff fix #38, cleanup some `regional_requester` code 2023-02-02 13:15:47 -08:00
Mingwei Samuel d7330fcd84 Regen, update for `TournamentRegion` enum, more `PlatformRoute` `altName`s 2023-01-20 22:06:16 -08:00
Mingwei Samuel 08e276a558 Generate region enums 2023-01-07 20:07:35 -08:00
Mingwei Samuel c9bca855f2 Regen for K'Sante, `getByRSOPUUID` 2023-01-07 18:09:17 -08:00
Mingwei Samuel 998eb4ec46 Regen for new endpoints, nullable `lol-status-v4` fields 2022-09-21 01:42:39 -07:00
Mingwei Samuel 036f818457 Regen for optional `lol-challenges-v1.ChallengeInfo.achievedTime` 2022-08-15 16:10:10 -07:00
djazouli 2f4aae6635 regen 2022-08-12 07:54:15 -07:00
Mingwei Samuel 3ae9f36888 Generate `queue_type.rs` from riotapi-schema version 2022-06-21 00:09:08 -07:00
Mingwei Samuel bfa9bdc36e Add deny-unknown-enum-variants features
Add `NONE = -1` variant to Champions
2022-06-20 20:43:16 -07:00
Mingwei Samuel 2e52b03c63 Add `QueueType` tests for serde & unknown variants 2022-06-20 19:29:34 -07:00
Mingwei Samuel b24fdcb765 Use `#[derive(Serialize, Deserialize)]` for string enums missing `UNKNOWN(String)` variant
Use updated `serde_string!` -> `serde_strum_unknown!` for enums with
`UNKNOWN` variant.
2022-06-20 10:05:54 -07:00
Mingwei Samuel 104db04d9d Revert "Remove serde_string! macro in favor of #[derive(Serialize, Deserialize)]"
This reverts commit 038e5eb493.

This is to fix handling of `#[strum(default)]` variants.
2022-06-20 09:40:28 -07:00
Mingwei Samuel b82a1725c1 Add RANKED_TFT_DOUBLE_UP (renamed version of RANKED_TFT_PAIRS) 2022-06-15 15:14:13 -07:00
Mingwei Samuel 8e6073aa63 Regen, add rest of tests for `lol-challenges-v1`
Also adds Bel'Veth.
2022-05-25 18:27:48 -07:00
Mingwei Samuel b821314492 Regen and add `lol-challenges-v1.getAllChallengeConfigs` and `.getChallengeConfigs` test 2022-05-19 00:46:29 -07:00
Mingwei Samuel 03a053d142 Regen and fixes for added `lol-challenges-v1.getAllChallengePercentiles` and `.getChallengePercentiles` tests. 2022-05-19 00:15:28 -07:00
Mingwei Samuel 295ccc4daf Regen, add test & field `mejaisFullStackInTime` 2022-04-04 11:56:37 -07:00
Mingwei Samuel 8c458c000a Add EUW1_5765650307 match test, regen 2022-04-04 11:00:40 -07:00
Mingwei Samuel 43d0578ab7 Clean up double if-lets with tuple matches 2022-03-14 13:06:08 -07:00
Mingwei Samuel f37e7a5cbb Regen for bunch of spec override updates
- https://github.com/RiotGames/developer-relations/issues/603
- https://github.com/RiotGames/developer-relations/issues/604
- https://github.com/RiotGames/developer-relations/issues/605
2022-02-10 18:56:03 -08:00
Mingwei Samuel 386d41c208 Add tests for `match-v5.ParticipantDto.challenges`, add `deny-unknown-fields` feature 2022-02-10 17:02:56 -08:00
Mingwei Samuel 038e5eb493 Remove serde_string! macro in favor of #[derive(Serialize, Deserialize)]
As pointed out in #33
2022-02-08 22:28:48 -08:00