Skip to content

Commit

Permalink
feat(helix): add Update User Extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Dec 1, 2024
1 parent 429b410 commit 0895483
Show file tree
Hide file tree
Showing 3 changed files with 388 additions and 4 deletions.
9 changes: 7 additions & 2 deletions src/helix/endpoints/users/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//!
//! <!-- generate with "cargo xtask overview" (with a nightly toolchain) -->
//! <!-- BEGIN-OVERVIEW -->
//! <details open><summary style="cursor: pointer">Users 🟡 7/8</summary>
//! <details open><summary style="cursor: pointer">Users 🟢 8/8</summary>
//!
//! | Endpoint | Helper | Module |
//! |---|---|---|
Expand All @@ -34,7 +34,7 @@
//! | [Unblock User](https://dev.twitch.tv/docs/api/reference#unblock-user) | [`HelixClient::unblock_user`](crate::helix::HelixClient::unblock_user) | [`unblock_user`] |
//! | [Get User Extensions](https://dev.twitch.tv/docs/api/reference#get-user-extensions) | [`HelixClient::get_user_extensions`](crate::helix::HelixClient::get_user_extensions) | [`get_user_extensions`] |
//! | [Get User Active Extensions](https://dev.twitch.tv/docs/api/reference#get-user-active-extensions) | [`HelixClient::get_user_active_extensions`](crate::helix::HelixClient::get_user_active_extensions) | [`get_user_active_extensions`] |
//! | [Update User Extensions](https://dev.twitch.tv/docs/api/reference#update-user-extensions) | - | - |
//! | [Update User Extensions](https://dev.twitch.tv/docs/api/reference#update-user-extensions) | - | [`update_user_extensions`] |
//!
//! </details>
//!
Expand All @@ -54,6 +54,7 @@ pub mod get_users;
pub mod get_users_follows;
pub mod unblock_user;
pub mod update_user;
pub mod update_user_extensions;

#[doc(inline)]
pub use block_user::{BlockUser, BlockUserRequest};
Expand All @@ -71,6 +72,10 @@ pub use get_users_follows::{FollowRelationship, GetUsersFollowsRequest, UsersFol
pub use unblock_user::{UnblockUser, UnblockUserRequest};
#[doc(inline)]
pub use update_user::UpdateUserRequest;
#[doc(inline)]
pub use update_user_extensions::{
ExtensionSpecification, UpdateUserExtensionsBody, UpdateUserExtensionsRequest,
};

/// A slot for an extension to be active in
#[derive(PartialEq, Eq, Debug, Clone)]
Expand Down
Loading

0 comments on commit 0895483

Please sign in to comment.