Closed kwaa closed 1 month ago
The recent updates focus on renaming and restructuring entities related to the User
in various modules. The Service
entity was replaced with User
, and imports and references were adjusted accordingly. This change spans multiple files, affecting function signatures, variable assignments, and module exports. The goal is to streamline the codebase and enhance clarity by using consistent naming conventions for user-related entities.
Files | Change Summary |
---|---|
crates/api_apub/src/users/user.rs |
Updated imports and function signatures to use User instead of Service . |
crates/api_mastodon/src/entities/account.rs , crates/api_mastodon/src/entities/status.rs |
Renamed Service to User and adjusted related function signatures and variable names. |
crates/apub/src/actors/mod.rs , crates/apub/src/actors/db_user.rs , crates/apub/src/actors/user.rs |
Restructured modules, renamed Service to User , and updated public exports and entity references. |
crates/apub/src/actors/user_attachment.rs , crates/apub/src/actors/user_image.rs |
Introduced UserAttachment and UserImage structs with associated methods and functionality. |
crates/apub/tests/actors.rs |
Updated import statements and function calls to use User instead of Service . |
crates/openapi/src/apidoc.rs |
Changed references from Service to User in the OpenAPI documentation. |
In code's vast realm, a change took flight,
FromService
toUser
, a name so bright.
With modules aligned and imports set right,
Our functions now gleam in the new light.
Attachments and images, all in their place,
The codebase now runs with elegant grace.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
Refactor
Service
toUser
across various modules to improve clarity and consistency.New Features
UserType
,UserAttachment
, andUserImage
to enhance user representation and functionality.Documentation