chore(api): updated schema
This commit is contained in:
parent
793e7d8b51
commit
f15c44adb6
4 changed files with 2645 additions and 29 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -2294,7 +2294,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "torn-api"
|
name = "torn-api"
|
||||||
version = "1.7.3"
|
version = "1.7.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bon",
|
"bon",
|
||||||
"bytes",
|
"bytes",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "torn-api"
|
name = "torn-api"
|
||||||
version = "1.7.4"
|
version = "1.7.5"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Auto-generated bindings for the v2 torn api"
|
description = "Auto-generated bindings for the v2 torn api"
|
||||||
license = { workspace = true }
|
license = { workspace = true }
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -872,6 +872,18 @@ pub(super) mod test {
|
||||||
.list(|b| b.cat(UserListEnum::Friends))
|
.list(|b| b.cat(UserListEnum::Friends))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
client
|
||||||
|
.user()
|
||||||
|
.list(|b| b.cat(UserListEnum::Enemies))
|
||||||
|
.await
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
|
client
|
||||||
|
.user()
|
||||||
|
.list(|b| b.cat(UserListEnum::Targets))
|
||||||
|
.await
|
||||||
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
|
|
@ -1127,6 +1139,13 @@ pub(super) mod test {
|
||||||
client.user().reports(|b| b).await.unwrap();
|
client.user().reports(|b| b).await.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[tokio::test]
|
||||||
|
async fn user_profile() {
|
||||||
|
let client = test_client().await;
|
||||||
|
|
||||||
|
client.user().profile(|b| b).await.unwrap();
|
||||||
|
}
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn key_info() {
|
async fn key_info() {
|
||||||
let client = test_client().await;
|
let client = test_client().await;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue