refactor(quark): port edit_user, fetch_dms, fetch_profile, fetch_self, fetch_user_flags, fetch_user, find_mutual, open_dm

#283
This commit is contained in:
Paul Makles
2024-04-07 19:38:08 +01:00
parent 49bb235938
commit b2d3344ddd
16 changed files with 286 additions and 208 deletions
+9 -9
View File
@@ -20,18 +20,18 @@ mod unblock_user;
pub fn routes() -> (Vec<Route>, OpenApi) {
openapi_get_routes_spec![
// User Information
fetch_self::req,
fetch_user::req,
fetch_self::fetch,
fetch_user::fetch,
fetch_user_flags::fetch_user_flags,
edit_user::req,
change_username::req,
get_default_avatar::req,
fetch_profile::req,
edit_user::edit,
change_username::change_username,
get_default_avatar::default_avatar,
fetch_profile::profile,
// Direct Messaging
fetch_dms::req,
open_dm::req,
fetch_dms::direct_messages,
open_dm::open_dm,
// Relationships
find_mutual::req,
find_mutual::mutual,
add_friend::add,
remove_friend::remove,
block_user::block,