A better Rust ATProto crate

fix for blob method errors

Orual a2297c2e fe8e4b1c

+1481 -1068
+2 -2
crates/jacquard-api/src/app_blebbit/authr/folder/create_folder.rs
··· 48 48 pub public: std::option::Option<bool>, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///app.blebbit.authr.folder.createFolder 53 53 pub struct CreateFolderResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for CreateFolderResponse { ··· 66 66 type Response = CreateFolderResponse; 67 67 } 68 68 69 - ///Endpoint type for 69 + /// Endpoint type for 70 70 ///app.blebbit.authr.folder.createFolder 71 71 pub struct CreateFolderRequest; 72 72 impl jacquard_common::xrpc::XrpcEndpoint for CreateFolderRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/folder/create_folder_relationship.rs
··· 26 26 pub subject: jacquard_common::CowStr<'a>, 27 27 } 28 28 29 - ///Response type for 29 + /// Response type for 30 30 ///app.blebbit.authr.folder.createFolderRelationship 31 31 pub struct CreateFolderRelationshipResponse; 32 32 impl jacquard_common::xrpc::XrpcResp for CreateFolderRelationshipResponse { ··· 44 44 type Response = CreateFolderRelationshipResponse; 45 45 } 46 46 47 - ///Endpoint type for 47 + /// Endpoint type for 48 48 ///app.blebbit.authr.folder.createFolderRelationship 49 49 pub struct CreateFolderRelationshipRequest; 50 50 impl jacquard_common::xrpc::XrpcEndpoint for CreateFolderRelationshipRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/folder/delete_folder.rs
··· 36 36 jacquard_derive::IntoStatic 37 37 )] 38 38 pub struct DeleteFolder; 39 - ///Response type for 39 + /// Response type for 40 40 ///app.blebbit.authr.folder.deleteFolder 41 41 pub struct DeleteFolderResponse; 42 42 impl jacquard_common::xrpc::XrpcResp for DeleteFolderResponse { ··· 54 54 type Response = DeleteFolderResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///app.blebbit.authr.folder.deleteFolder 59 59 pub struct DeleteFolderRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for DeleteFolderRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/folder/delete_folder_relationship.rs
··· 27 27 pub subject: jacquard_common::CowStr<'a>, 28 28 } 29 29 30 - ///Response type for 30 + /// Response type for 31 31 ///app.blebbit.authr.folder.deleteFolderRelationship 32 32 pub struct DeleteFolderRelationshipResponse; 33 33 impl jacquard_common::xrpc::XrpcResp for DeleteFolderRelationshipResponse { ··· 45 45 type Response = DeleteFolderRelationshipResponse; 46 46 } 47 47 48 - ///Endpoint type for 48 + /// Endpoint type for 49 49 ///app.blebbit.authr.folder.deleteFolderRelationship 50 50 pub struct DeleteFolderRelationshipRequest; 51 51 impl jacquard_common::xrpc::XrpcEndpoint for DeleteFolderRelationshipRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/folder/get_folder.rs
··· 46 46 pub public: std::option::Option<bool>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.blebbit.authr.folder.getFolder 51 51 pub struct GetFolderResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetFolderResponse { ··· 62 62 type Response = GetFolderResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.blebbit.authr.folder.getFolder 67 67 pub struct GetFolderRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetFolderRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/folder/get_folders.rs
··· 46 46 >, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.blebbit.authr.folder.getFolders 51 51 pub struct GetFoldersResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetFoldersResponse { ··· 62 62 type Response = GetFoldersResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.blebbit.authr.folder.getFolders 67 67 pub struct GetFoldersRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetFoldersRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/folder/update_folder.rs
··· 67 67 pub public: std::option::Option<bool>, 68 68 } 69 69 70 - ///Response type for 70 + /// Response type for 71 71 ///app.blebbit.authr.folder.updateFolder 72 72 pub struct UpdateFolderResponse; 73 73 impl jacquard_common::xrpc::XrpcResp for UpdateFolderResponse { ··· 85 85 type Response = UpdateFolderResponse; 86 86 } 87 87 88 - ///Endpoint type for 88 + /// Endpoint type for 89 89 ///app.blebbit.authr.folder.updateFolder 90 90 pub struct UpdateFolderRequest; 91 91 impl jacquard_common::xrpc::XrpcEndpoint for UpdateFolderRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/folder/update_folder_relationship.rs
··· 26 26 pub subject: jacquard_common::CowStr<'a>, 27 27 } 28 28 29 - ///Response type for 29 + /// Response type for 30 30 ///app.blebbit.authr.folder.updateFolderRelationship 31 31 pub struct UpdateFolderRelationshipResponse; 32 32 impl jacquard_common::xrpc::XrpcResp for UpdateFolderRelationshipResponse { ··· 44 44 type Response = UpdateFolderRelationshipResponse; 45 45 } 46 46 47 - ///Endpoint type for 47 + /// Endpoint type for 48 48 ///app.blebbit.authr.folder.updateFolderRelationship 49 49 pub struct UpdateFolderRelationshipRequest; 50 50 impl jacquard_common::xrpc::XrpcEndpoint for UpdateFolderRelationshipRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/group/create_group.rs
··· 59 59 pub public: std::option::Option<bool>, 60 60 } 61 61 62 - ///Response type for 62 + /// Response type for 63 63 ///app.blebbit.authr.group.createGroup 64 64 pub struct CreateGroupResponse; 65 65 impl jacquard_common::xrpc::XrpcResp for CreateGroupResponse { ··· 77 77 type Response = CreateGroupResponse; 78 78 } 79 79 80 - ///Endpoint type for 80 + /// Endpoint type for 81 81 ///app.blebbit.authr.group.createGroup 82 82 pub struct CreateGroupRequest; 83 83 impl jacquard_common::xrpc::XrpcEndpoint for CreateGroupRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/group/create_group_relationship.rs
··· 26 26 pub subject: jacquard_common::CowStr<'a>, 27 27 } 28 28 29 - ///Response type for 29 + /// Response type for 30 30 ///app.blebbit.authr.group.createGroupRelationship 31 31 pub struct CreateGroupRelationshipResponse; 32 32 impl jacquard_common::xrpc::XrpcResp for CreateGroupRelationshipResponse { ··· 44 44 type Response = CreateGroupRelationshipResponse; 45 45 } 46 46 47 - ///Endpoint type for 47 + /// Endpoint type for 48 48 ///app.blebbit.authr.group.createGroupRelationship 49 49 pub struct CreateGroupRelationshipRequest; 50 50 impl jacquard_common::xrpc::XrpcEndpoint for CreateGroupRelationshipRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/group/delete_group.rs
··· 36 36 jacquard_derive::IntoStatic 37 37 )] 38 38 pub struct DeleteGroup; 39 - ///Response type for 39 + /// Response type for 40 40 ///app.blebbit.authr.group.deleteGroup 41 41 pub struct DeleteGroupResponse; 42 42 impl jacquard_common::xrpc::XrpcResp for DeleteGroupResponse { ··· 54 54 type Response = DeleteGroupResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///app.blebbit.authr.group.deleteGroup 59 59 pub struct DeleteGroupRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for DeleteGroupRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/group/delete_group_relationship.rs
··· 27 27 pub subject: jacquard_common::CowStr<'a>, 28 28 } 29 29 30 - ///Response type for 30 + /// Response type for 31 31 ///app.blebbit.authr.group.deleteGroupRelationship 32 32 pub struct DeleteGroupRelationshipResponse; 33 33 impl jacquard_common::xrpc::XrpcResp for DeleteGroupRelationshipResponse { ··· 45 45 type Response = DeleteGroupRelationshipResponse; 46 46 } 47 47 48 - ///Endpoint type for 48 + /// Endpoint type for 49 49 ///app.blebbit.authr.group.deleteGroupRelationship 50 50 pub struct DeleteGroupRelationshipRequest; 51 51 impl jacquard_common::xrpc::XrpcEndpoint for DeleteGroupRelationshipRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/group/get_group.rs
··· 52 52 pub public: std::option::Option<bool>, 53 53 } 54 54 55 - ///Response type for 55 + /// Response type for 56 56 ///app.blebbit.authr.group.getGroup 57 57 pub struct GetGroupResponse; 58 58 impl jacquard_common::xrpc::XrpcResp for GetGroupResponse { ··· 68 68 type Response = GetGroupResponse; 69 69 } 70 70 71 - ///Endpoint type for 71 + /// Endpoint type for 72 72 ///app.blebbit.authr.group.getGroup 73 73 pub struct GetGroupRequest; 74 74 impl jacquard_common::xrpc::XrpcEndpoint for GetGroupRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/group/get_groups.rs
··· 46 46 >, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.blebbit.authr.group.getGroups 51 51 pub struct GetGroupsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetGroupsResponse { ··· 62 62 type Response = GetGroupsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.blebbit.authr.group.getGroups 67 67 pub struct GetGroupsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetGroupsRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/group/update_group.rs
··· 78 78 pub public: std::option::Option<bool>, 79 79 } 80 80 81 - ///Response type for 81 + /// Response type for 82 82 ///app.blebbit.authr.group.updateGroup 83 83 pub struct UpdateGroupResponse; 84 84 impl jacquard_common::xrpc::XrpcResp for UpdateGroupResponse { ··· 96 96 type Response = UpdateGroupResponse; 97 97 } 98 98 99 - ///Endpoint type for 99 + /// Endpoint type for 100 100 ///app.blebbit.authr.group.updateGroup 101 101 pub struct UpdateGroupRequest; 102 102 impl jacquard_common::xrpc::XrpcEndpoint for UpdateGroupRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/group/update_group_relationship.rs
··· 26 26 pub subject: jacquard_common::CowStr<'a>, 27 27 } 28 28 29 - ///Response type for 29 + /// Response type for 30 30 ///app.blebbit.authr.group.updateGroupRelationship 31 31 pub struct UpdateGroupRelationshipResponse; 32 32 impl jacquard_common::xrpc::XrpcResp for UpdateGroupRelationshipResponse { ··· 44 44 type Response = UpdateGroupRelationshipResponse; 45 45 } 46 46 47 - ///Endpoint type for 47 + /// Endpoint type for 48 48 ///app.blebbit.authr.group.updateGroupRelationship 49 49 pub struct UpdateGroupRelationshipRequest; 50 50 impl jacquard_common::xrpc::XrpcEndpoint for UpdateGroupRelationshipRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/page/create_page.rs
··· 51 51 pub public: std::option::Option<bool>, 52 52 } 53 53 54 - ///Response type for 54 + /// Response type for 55 55 ///app.blebbit.authr.page.createPage 56 56 pub struct CreatePageResponse; 57 57 impl jacquard_common::xrpc::XrpcResp for CreatePageResponse { ··· 69 69 type Response = CreatePageResponse; 70 70 } 71 71 72 - ///Endpoint type for 72 + /// Endpoint type for 73 73 ///app.blebbit.authr.page.createPage 74 74 pub struct CreatePageRequest; 75 75 impl jacquard_common::xrpc::XrpcEndpoint for CreatePageRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/page/create_page_relationship.rs
··· 26 26 pub subject: jacquard_common::CowStr<'a>, 27 27 } 28 28 29 - ///Response type for 29 + /// Response type for 30 30 ///app.blebbit.authr.page.createPageRelationship 31 31 pub struct CreatePageRelationshipResponse; 32 32 impl jacquard_common::xrpc::XrpcResp for CreatePageRelationshipResponse { ··· 44 44 type Response = CreatePageRelationshipResponse; 45 45 } 46 46 47 - ///Endpoint type for 47 + /// Endpoint type for 48 48 ///app.blebbit.authr.page.createPageRelationship 49 49 pub struct CreatePageRelationshipRequest; 50 50 impl jacquard_common::xrpc::XrpcEndpoint for CreatePageRelationshipRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/page/delete_page.rs
··· 36 36 jacquard_derive::IntoStatic 37 37 )] 38 38 pub struct DeletePage; 39 - ///Response type for 39 + /// Response type for 40 40 ///app.blebbit.authr.page.deletePage 41 41 pub struct DeletePageResponse; 42 42 impl jacquard_common::xrpc::XrpcResp for DeletePageResponse { ··· 54 54 type Response = DeletePageResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///app.blebbit.authr.page.deletePage 59 59 pub struct DeletePageRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for DeletePageRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/page/delete_page_relationship.rs
··· 27 27 pub subject: jacquard_common::CowStr<'a>, 28 28 } 29 29 30 - ///Response type for 30 + /// Response type for 31 31 ///app.blebbit.authr.page.deletePageRelationship 32 32 pub struct DeletePageRelationshipResponse; 33 33 impl jacquard_common::xrpc::XrpcResp for DeletePageRelationshipResponse { ··· 45 45 type Response = DeletePageRelationshipResponse; 46 46 } 47 47 48 - ///Endpoint type for 48 + /// Endpoint type for 49 49 ///app.blebbit.authr.page.deletePageRelationship 50 50 pub struct DeletePageRelationshipRequest; 51 51 impl jacquard_common::xrpc::XrpcEndpoint for DeletePageRelationshipRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/page/get_page.rs
··· 49 49 pub public: std::option::Option<bool>, 50 50 } 51 51 52 - ///Response type for 52 + /// Response type for 53 53 ///app.blebbit.authr.page.getPage 54 54 pub struct GetPageResponse; 55 55 impl jacquard_common::xrpc::XrpcResp for GetPageResponse { ··· 65 65 type Response = GetPageResponse; 66 66 } 67 67 68 - ///Endpoint type for 68 + /// Endpoint type for 69 69 ///app.blebbit.authr.page.getPage 70 70 pub struct GetPageRequest; 71 71 impl jacquard_common::xrpc::XrpcEndpoint for GetPageRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/page/get_pages.rs
··· 44 44 pub pages: std::option::Option<Vec<crate::app_blebbit::authr::page::PageView<'a>>>, 45 45 } 46 46 47 - ///Response type for 47 + /// Response type for 48 48 ///app.blebbit.authr.page.getPages 49 49 pub struct GetPagesResponse; 50 50 impl jacquard_common::xrpc::XrpcResp for GetPagesResponse { ··· 60 60 type Response = GetPagesResponse; 61 61 } 62 62 63 - ///Endpoint type for 63 + /// Endpoint type for 64 64 ///app.blebbit.authr.page.getPages 65 65 pub struct GetPagesRequest; 66 66 impl jacquard_common::xrpc::XrpcEndpoint for GetPagesRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/page/update_page.rs
··· 70 70 pub public: std::option::Option<bool>, 71 71 } 72 72 73 - ///Response type for 73 + /// Response type for 74 74 ///app.blebbit.authr.page.updatePage 75 75 pub struct UpdatePageResponse; 76 76 impl jacquard_common::xrpc::XrpcResp for UpdatePageResponse { ··· 88 88 type Response = UpdatePageResponse; 89 89 } 90 90 91 - ///Endpoint type for 91 + /// Endpoint type for 92 92 ///app.blebbit.authr.page.updatePage 93 93 pub struct UpdatePageRequest; 94 94 impl jacquard_common::xrpc::XrpcEndpoint for UpdatePageRequest {
+2 -2
crates/jacquard-api/src/app_blebbit/authr/page/update_page_relationship.rs
··· 26 26 pub subject: jacquard_common::CowStr<'a>, 27 27 } 28 28 29 - ///Response type for 29 + /// Response type for 30 30 ///app.blebbit.authr.page.updatePageRelationship 31 31 pub struct UpdatePageRelationshipResponse; 32 32 impl jacquard_common::xrpc::XrpcResp for UpdatePageRelationshipResponse { ··· 44 44 type Response = UpdatePageRelationshipResponse; 45 45 } 46 46 47 - ///Endpoint type for 47 + /// Endpoint type for 48 48 ///app.blebbit.authr.page.updatePageRelationship 49 49 pub struct UpdatePageRelationshipRequest; 50 50 impl jacquard_common::xrpc::XrpcEndpoint for UpdatePageRelationshipRequest {
+2 -2
crates/jacquard-api/src/app_bsky/actor/get_preferences.rs
··· 34 34 pub preferences: crate::app_bsky::actor::Preferences<'a>, 35 35 } 36 36 37 - ///Response type for 37 + /// Response type for 38 38 ///app.bsky.actor.getPreferences 39 39 pub struct GetPreferencesResponse; 40 40 impl jacquard_common::xrpc::XrpcResp for GetPreferencesResponse { ··· 50 50 type Response = GetPreferencesResponse; 51 51 } 52 52 53 - ///Endpoint type for 53 + /// Endpoint type for 54 54 ///app.bsky.actor.getPreferences 55 55 pub struct GetPreferencesRequest; 56 56 impl jacquard_common::xrpc::XrpcEndpoint for GetPreferencesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/actor/get_profile.rs
··· 39 39 pub value: crate::app_bsky::actor::ProfileViewDetailed<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.bsky.actor.getProfile 44 44 pub struct GetProfileResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetProfileResponse { ··· 55 55 type Response = GetProfileResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.bsky.actor.getProfile 60 60 pub struct GetProfileRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
+2 -2
crates/jacquard-api/src/app_bsky/actor/get_profiles.rs
··· 38 38 pub profiles: Vec<crate::app_bsky::actor::ProfileViewDetailed<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///app.bsky.actor.getProfiles 43 43 pub struct GetProfilesResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetProfilesResponse { ··· 54 54 type Response = GetProfilesResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///app.bsky.actor.getProfiles 59 59 pub struct GetProfilesRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetProfilesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/actor/get_suggestions.rs
··· 49 49 pub rec_id: std::option::Option<i64>, 50 50 } 51 51 52 - ///Response type for 52 + /// Response type for 53 53 ///app.bsky.actor.getSuggestions 54 54 pub struct GetSuggestionsResponse; 55 55 impl jacquard_common::xrpc::XrpcResp for GetSuggestionsResponse { ··· 65 65 type Response = GetSuggestionsResponse; 66 66 } 67 67 68 - ///Endpoint type for 68 + /// Endpoint type for 69 69 ///app.bsky.actor.getSuggestions 70 70 pub struct GetSuggestionsRequest; 71 71 impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestionsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/actor/profile.rs
··· 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[builder(into)] 25 25 #[serde(borrow)] 26 - pub avatar: Option<jacquard_common::types::blob::Blob<'a>>, 26 + pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 27 27 /// Larger horizontal image to display behind profile view. 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[builder(into)] 30 30 #[serde(borrow)] 31 - pub banner: Option<jacquard_common::types::blob::Blob<'a>>, 31 + pub banner: Option<jacquard_common::types::blob::BlobRef<'a>>, 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[builder(into)] 34 34 pub created_at: Option<jacquard_common::types::string::Datetime>,
+2 -2
crates/jacquard-api/src/app_bsky/actor/put_preferences.rs
··· 30 30 >, 31 31 } 32 32 33 - ///Response type for 33 + /// Response type for 34 34 ///app.bsky.actor.putPreferences 35 35 pub struct PutPreferencesResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for PutPreferencesResponse { ··· 48 48 type Response = PutPreferencesResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///app.bsky.actor.putPreferences 53 53 pub struct PutPreferencesRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for PutPreferencesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/actor/search_actors.rs
··· 54 54 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 55 55 } 56 56 57 - ///Response type for 57 + /// Response type for 58 58 ///app.bsky.actor.searchActors 59 59 pub struct SearchActorsResponse; 60 60 impl jacquard_common::xrpc::XrpcResp for SearchActorsResponse { ··· 70 70 type Response = SearchActorsResponse; 71 71 } 72 72 73 - ///Endpoint type for 73 + /// Endpoint type for 74 74 ///app.bsky.actor.searchActors 75 75 pub struct SearchActorsRequest; 76 76 impl jacquard_common::xrpc::XrpcEndpoint for SearchActorsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/actor/search_actors_typeahead.rs
··· 47 47 pub actors: Vec<crate::app_bsky::actor::ProfileViewBasic<'a>>, 48 48 } 49 49 50 - ///Response type for 50 + /// Response type for 51 51 ///app.bsky.actor.searchActorsTypeahead 52 52 pub struct SearchActorsTypeaheadResponse; 53 53 impl jacquard_common::xrpc::XrpcResp for SearchActorsTypeaheadResponse { ··· 63 63 type Response = SearchActorsTypeaheadResponse; 64 64 } 65 65 66 - ///Endpoint type for 66 + /// Endpoint type for 67 67 ///app.bsky.actor.searchActorsTypeahead 68 68 pub struct SearchActorsTypeaheadRequest; 69 69 impl jacquard_common::xrpc::XrpcEndpoint for SearchActorsTypeaheadRequest {
+2 -2
crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs
··· 67 67 } 68 68 } 69 69 70 - ///Response type for 70 + /// Response type for 71 71 ///app.bsky.bookmark.createBookmark 72 72 pub struct CreateBookmarkResponse; 73 73 impl jacquard_common::xrpc::XrpcResp for CreateBookmarkResponse { ··· 85 85 type Response = CreateBookmarkResponse; 86 86 } 87 87 88 - ///Endpoint type for 88 + /// Endpoint type for 89 89 ///app.bsky.bookmark.createBookmark 90 90 pub struct CreateBookmarkRequest; 91 91 impl jacquard_common::xrpc::XrpcEndpoint for CreateBookmarkRequest {
+2 -2
crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs
··· 65 65 } 66 66 } 67 67 68 - ///Response type for 68 + /// Response type for 69 69 ///app.bsky.bookmark.deleteBookmark 70 70 pub struct DeleteBookmarkResponse; 71 71 impl jacquard_common::xrpc::XrpcResp for DeleteBookmarkResponse { ··· 83 83 type Response = DeleteBookmarkResponse; 84 84 } 85 85 86 - ///Endpoint type for 86 + /// Endpoint type for 87 87 ///app.bsky.bookmark.deleteBookmark 88 88 pub struct DeleteBookmarkRequest; 89 89 impl jacquard_common::xrpc::XrpcEndpoint for DeleteBookmarkRequest {
+2 -2
crates/jacquard-api/src/app_bsky/bookmark/get_bookmarks.rs
··· 46 46 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.bsky.bookmark.getBookmarks 51 51 pub struct GetBookmarksResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetBookmarksResponse { ··· 62 62 type Response = GetBookmarksResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.bsky.bookmark.getBookmarks 67 67 pub struct GetBookmarksRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetBookmarksRequest {
+1 -1
crates/jacquard-api/src/app_bsky/embed/external.rs
··· 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[builder(into)] 26 26 #[serde(borrow)] 27 - pub thumb: Option<jacquard_common::types::blob::Blob<'a>>, 27 + pub thumb: Option<jacquard_common::types::blob::BlobRef<'a>>, 28 28 #[serde(borrow)] 29 29 #[builder(into)] 30 30 pub title: jacquard_common::CowStr<'a>,
+1 -1
crates/jacquard-api/src/app_bsky/embed/images.rs
··· 27 27 #[serde(borrow)] 28 28 pub aspect_ratio: Option<crate::app_bsky::embed::AspectRatio<'a>>, 29 29 #[serde(borrow)] 30 - pub image: jacquard_common::types::blob::Blob<'a>, 30 + pub image: jacquard_common::types::blob::BlobRef<'a>, 31 31 } 32 32 33 33 #[jacquard_derive::lexicon]
+2 -2
crates/jacquard-api/src/app_bsky/embed/video.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct Caption<'a> { 21 21 #[serde(borrow)] 22 - pub file: jacquard_common::types::blob::Blob<'a>, 22 + pub file: jacquard_common::types::blob::BlobRef<'a>, 23 23 pub lang: jacquard_common::types::string::Language, 24 24 } 25 25 ··· 51 51 pub captions: Option<Vec<crate::app_bsky::embed::video::Caption<'a>>>, 52 52 /// The mp4 video file. May be up to 100mb, formerly limited to 50mb. 53 53 #[serde(borrow)] 54 - pub video: jacquard_common::types::blob::Blob<'a>, 54 + pub video: jacquard_common::types::blob::BlobRef<'a>, 55 55 } 56 56 57 57 #[jacquard_derive::lexicon]
+2 -2
crates/jacquard-api/src/app_bsky/feed/describe_feed_generator.rs
··· 76 76 jacquard_derive::IntoStatic 77 77 )] 78 78 pub struct DescribeFeedGenerator; 79 - ///Response type for 79 + /// Response type for 80 80 ///app.bsky.feed.describeFeedGenerator 81 81 pub struct DescribeFeedGeneratorResponse; 82 82 impl jacquard_common::xrpc::XrpcResp for DescribeFeedGeneratorResponse { ··· 92 92 type Response = DescribeFeedGeneratorResponse; 93 93 } 94 94 95 - ///Endpoint type for 95 + /// Endpoint type for 96 96 ///app.bsky.feed.describeFeedGenerator 97 97 pub struct DescribeFeedGeneratorRequest; 98 98 impl jacquard_common::xrpc::XrpcEndpoint for DescribeFeedGeneratorRequest {
+1 -1
crates/jacquard-api/src/app_bsky/feed/generator.rs
··· 26 26 #[serde(skip_serializing_if = "std::option::Option::is_none")] 27 27 #[builder(into)] 28 28 #[serde(borrow)] 29 - pub avatar: Option<jacquard_common::types::blob::Blob<'a>>, 29 + pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[builder(into)] 32 32 #[serde(borrow)]
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_actor_feeds.rs
··· 48 48 pub feeds: Vec<crate::app_bsky::feed::GeneratorView<'a>>, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///app.bsky.feed.getActorFeeds 53 53 pub struct GetActorFeedsResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for GetActorFeedsResponse { ··· 64 64 type Response = GetActorFeedsResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///app.bsky.feed.getActorFeeds 69 69 pub struct GetActorFeedsRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for GetActorFeedsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs
··· 91 91 } 92 92 } 93 93 94 - ///Response type for 94 + /// Response type for 95 95 ///app.bsky.feed.getActorLikes 96 96 pub struct GetActorLikesResponse; 97 97 impl jacquard_common::xrpc::XrpcResp for GetActorLikesResponse { ··· 107 107 type Response = GetActorLikesResponse; 108 108 } 109 109 110 - ///Endpoint type for 110 + /// Endpoint type for 111 111 ///app.bsky.feed.getActorLikes 112 112 pub struct GetActorLikesRequest; 113 113 impl jacquard_common::xrpc::XrpcEndpoint for GetActorLikesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs
··· 99 99 } 100 100 } 101 101 102 - ///Response type for 102 + /// Response type for 103 103 ///app.bsky.feed.getAuthorFeed 104 104 pub struct GetAuthorFeedResponse; 105 105 impl jacquard_common::xrpc::XrpcResp for GetAuthorFeedResponse { ··· 115 115 type Response = GetAuthorFeedResponse; 116 116 } 117 117 118 - ///Endpoint type for 118 + /// Endpoint type for 119 119 ///app.bsky.feed.getAuthorFeed 120 120 pub struct GetAuthorFeedRequest; 121 121 impl jacquard_common::xrpc::XrpcEndpoint for GetAuthorFeedRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_feed.rs
··· 82 82 } 83 83 } 84 84 85 - ///Response type for 85 + /// Response type for 86 86 ///app.bsky.feed.getFeed 87 87 pub struct GetFeedResponse; 88 88 impl jacquard_common::xrpc::XrpcResp for GetFeedResponse { ··· 98 98 type Response = GetFeedResponse; 99 99 } 100 100 101 - ///Endpoint type for 101 + /// Endpoint type for 102 102 ///app.bsky.feed.getFeed 103 103 pub struct GetFeedRequest; 104 104 impl jacquard_common::xrpc::XrpcEndpoint for GetFeedRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_feed_generator.rs
··· 42 42 pub view: crate::app_bsky::feed::GeneratorView<'a>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///app.bsky.feed.getFeedGenerator 47 47 pub struct GetFeedGeneratorResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for GetFeedGeneratorResponse { ··· 58 58 type Response = GetFeedGeneratorResponse; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///app.bsky.feed.getFeedGenerator 63 63 pub struct GetFeedGeneratorRequest; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for GetFeedGeneratorRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_feed_generators.rs
··· 38 38 pub feeds: Vec<crate::app_bsky::feed::GeneratorView<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///app.bsky.feed.getFeedGenerators 43 43 pub struct GetFeedGeneratorsResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetFeedGeneratorsResponse { ··· 54 54 type Response = GetFeedGeneratorsResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///app.bsky.feed.getFeedGenerators 59 59 pub struct GetFeedGeneratorsRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetFeedGeneratorsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs
··· 86 86 } 87 87 } 88 88 89 - ///Response type for 89 + /// Response type for 90 90 ///app.bsky.feed.getFeedSkeleton 91 91 pub struct GetFeedSkeletonResponse; 92 92 impl jacquard_common::xrpc::XrpcResp for GetFeedSkeletonResponse { ··· 102 102 type Response = GetFeedSkeletonResponse; 103 103 } 104 104 105 - ///Endpoint type for 105 + /// Endpoint type for 106 106 ///app.bsky.feed.getFeedSkeleton 107 107 pub struct GetFeedSkeletonRequest; 108 108 impl jacquard_common::xrpc::XrpcEndpoint for GetFeedSkeletonRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_likes.rs
··· 75 75 pub uri: jacquard_common::types::string::AtUri<'a>, 76 76 } 77 77 78 - ///Response type for 78 + /// Response type for 79 79 ///app.bsky.feed.getLikes 80 80 pub struct GetLikesResponse; 81 81 impl jacquard_common::xrpc::XrpcResp for GetLikesResponse { ··· 91 91 type Response = GetLikesResponse; 92 92 } 93 93 94 - ///Endpoint type for 94 + /// Endpoint type for 95 95 ///app.bsky.feed.getLikes 96 96 pub struct GetLikesRequest; 97 97 impl jacquard_common::xrpc::XrpcEndpoint for GetLikesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs
··· 82 82 } 83 83 } 84 84 85 - ///Response type for 85 + /// Response type for 86 86 ///app.bsky.feed.getListFeed 87 87 pub struct GetListFeedResponse; 88 88 impl jacquard_common::xrpc::XrpcResp for GetListFeedResponse { ··· 98 98 type Response = GetListFeedResponse; 99 99 } 100 100 101 - ///Endpoint type for 101 + /// Endpoint type for 102 102 ///app.bsky.feed.getListFeed 103 103 pub struct GetListFeedRequest; 104 104 impl jacquard_common::xrpc::XrpcEndpoint for GetListFeedRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs
··· 102 102 } 103 103 } 104 104 105 - ///Response type for 105 + /// Response type for 106 106 ///app.bsky.feed.getPostThread 107 107 pub struct GetPostThreadResponse; 108 108 impl jacquard_common::xrpc::XrpcResp for GetPostThreadResponse { ··· 118 118 type Response = GetPostThreadResponse; 119 119 } 120 120 121 - ///Endpoint type for 121 + /// Endpoint type for 122 122 ///app.bsky.feed.getPostThread 123 123 pub struct GetPostThreadRequest; 124 124 impl jacquard_common::xrpc::XrpcEndpoint for GetPostThreadRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_posts.rs
··· 38 38 pub posts: Vec<crate::app_bsky::feed::PostView<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///app.bsky.feed.getPosts 43 43 pub struct GetPostsResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetPostsResponse { ··· 54 54 type Response = GetPostsResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///app.bsky.feed.getPosts 59 59 pub struct GetPostsRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetPostsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_quotes.rs
··· 56 56 pub uri: jacquard_common::types::string::AtUri<'a>, 57 57 } 58 58 59 - ///Response type for 59 + /// Response type for 60 60 ///app.bsky.feed.getQuotes 61 61 pub struct GetQuotesResponse; 62 62 impl jacquard_common::xrpc::XrpcResp for GetQuotesResponse { ··· 72 72 type Response = GetQuotesResponse; 73 73 } 74 74 75 - ///Endpoint type for 75 + /// Endpoint type for 76 76 ///app.bsky.feed.getQuotes 77 77 pub struct GetQuotesRequest; 78 78 impl jacquard_common::xrpc::XrpcEndpoint for GetQuotesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_reposted_by.rs
··· 56 56 pub uri: jacquard_common::types::string::AtUri<'a>, 57 57 } 58 58 59 - ///Response type for 59 + /// Response type for 60 60 ///app.bsky.feed.getRepostedBy 61 61 pub struct GetRepostedByResponse; 62 62 impl jacquard_common::xrpc::XrpcResp for GetRepostedByResponse { ··· 72 72 type Response = GetRepostedByResponse; 73 73 } 74 74 75 - ///Endpoint type for 75 + /// Endpoint type for 76 76 ///app.bsky.feed.getRepostedBy 77 77 pub struct GetRepostedByRequest; 78 78 impl jacquard_common::xrpc::XrpcEndpoint for GetRepostedByRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_suggested_feeds.rs
··· 46 46 pub feeds: Vec<crate::app_bsky::feed::GeneratorView<'a>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.bsky.feed.getSuggestedFeeds 51 51 pub struct GetSuggestedFeedsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetSuggestedFeedsResponse { ··· 62 62 type Response = GetSuggestedFeedsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.bsky.feed.getSuggestedFeeds 67 67 pub struct GetSuggestedFeedsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestedFeedsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/get_timeline.rs
··· 50 50 pub feed: Vec<crate::app_bsky::feed::FeedViewPost<'a>>, 51 51 } 52 52 53 - ///Response type for 53 + /// Response type for 54 54 ///app.bsky.feed.getTimeline 55 55 pub struct GetTimelineResponse; 56 56 impl jacquard_common::xrpc::XrpcResp for GetTimelineResponse { ··· 66 66 type Response = GetTimelineResponse; 67 67 } 68 68 69 - ///Endpoint type for 69 + /// Endpoint type for 70 70 ///app.bsky.feed.getTimeline 71 71 pub struct GetTimelineRequest; 72 72 impl jacquard_common::xrpc::XrpcEndpoint for GetTimelineRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/search_posts.rs
··· 117 117 } 118 118 } 119 119 120 - ///Response type for 120 + /// Response type for 121 121 ///app.bsky.feed.searchPosts 122 122 pub struct SearchPostsResponse; 123 123 impl jacquard_common::xrpc::XrpcResp for SearchPostsResponse { ··· 133 133 type Response = SearchPostsResponse; 134 134 } 135 135 136 - ///Endpoint type for 136 + /// Endpoint type for 137 137 ///app.bsky.feed.searchPosts 138 138 pub struct SearchPostsRequest; 139 139 impl jacquard_common::xrpc::XrpcEndpoint for SearchPostsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/feed/send_interactions.rs
··· 43 43 )] 44 44 #[serde(rename_all = "camelCase")] 45 45 pub struct SendInteractionsOutput<'a> {} 46 - ///Response type for 46 + /// Response type for 47 47 ///app.bsky.feed.sendInteractions 48 48 pub struct SendInteractionsResponse; 49 49 impl jacquard_common::xrpc::XrpcResp for SendInteractionsResponse { ··· 61 61 type Response = SendInteractionsResponse; 62 62 } 63 63 64 - ///Endpoint type for 64 + /// Endpoint type for 65 65 ///app.bsky.feed.sendInteractions 66 66 pub struct SendInteractionsRequest; 67 67 impl jacquard_common::xrpc::XrpcEndpoint for SendInteractionsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_actor_starter_packs.rs
··· 48 48 pub starter_packs: Vec<crate::app_bsky::graph::StarterPackViewBasic<'a>>, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///app.bsky.graph.getActorStarterPacks 53 53 pub struct GetActorStarterPacksResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for GetActorStarterPacksResponse { ··· 64 64 type Response = GetActorStarterPacksResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///app.bsky.graph.getActorStarterPacks 69 69 pub struct GetActorStarterPacksRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for GetActorStarterPacksRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_blocks.rs
··· 46 46 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.bsky.graph.getBlocks 51 51 pub struct GetBlocksResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetBlocksResponse { ··· 62 62 type Response = GetBlocksResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.bsky.graph.getBlocks 67 67 pub struct GetBlocksRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetBlocksRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_followers.rs
··· 50 50 pub subject: crate::app_bsky::actor::ProfileView<'a>, 51 51 } 52 52 53 - ///Response type for 53 + /// Response type for 54 54 ///app.bsky.graph.getFollowers 55 55 pub struct GetFollowersResponse; 56 56 impl jacquard_common::xrpc::XrpcResp for GetFollowersResponse { ··· 66 66 type Response = GetFollowersResponse; 67 67 } 68 68 69 - ///Endpoint type for 69 + /// Endpoint type for 70 70 ///app.bsky.graph.getFollowers 71 71 pub struct GetFollowersRequest; 72 72 impl jacquard_common::xrpc::XrpcEndpoint for GetFollowersRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_follows.rs
··· 50 50 pub subject: crate::app_bsky::actor::ProfileView<'a>, 51 51 } 52 52 53 - ///Response type for 53 + /// Response type for 54 54 ///app.bsky.graph.getFollows 55 55 pub struct GetFollowsResponse; 56 56 impl jacquard_common::xrpc::XrpcResp for GetFollowsResponse { ··· 66 66 type Response = GetFollowsResponse; 67 67 } 68 68 69 - ///Endpoint type for 69 + /// Endpoint type for 70 70 ///app.bsky.graph.getFollows 71 71 pub struct GetFollowsRequest; 72 72 impl jacquard_common::xrpc::XrpcEndpoint for GetFollowsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_known_followers.rs
··· 50 50 pub subject: crate::app_bsky::actor::ProfileView<'a>, 51 51 } 52 52 53 - ///Response type for 53 + /// Response type for 54 54 ///app.bsky.graph.getKnownFollowers 55 55 pub struct GetKnownFollowersResponse; 56 56 impl jacquard_common::xrpc::XrpcResp for GetKnownFollowersResponse { ··· 66 66 type Response = GetKnownFollowersResponse; 67 67 } 68 68 69 - ///Endpoint type for 69 + /// Endpoint type for 70 70 ///app.bsky.graph.getKnownFollowers 71 71 pub struct GetKnownFollowersRequest; 72 72 impl jacquard_common::xrpc::XrpcEndpoint for GetKnownFollowersRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_list.rs
··· 50 50 pub list: crate::app_bsky::graph::ListView<'a>, 51 51 } 52 52 53 - ///Response type for 53 + /// Response type for 54 54 ///app.bsky.graph.getList 55 55 pub struct GetListResponse; 56 56 impl jacquard_common::xrpc::XrpcResp for GetListResponse { ··· 66 66 type Response = GetListResponse; 67 67 } 68 68 69 - ///Endpoint type for 69 + /// Endpoint type for 70 70 ///app.bsky.graph.getList 71 71 pub struct GetListRequest; 72 72 impl jacquard_common::xrpc::XrpcEndpoint for GetListRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_list_blocks.rs
··· 46 46 pub lists: Vec<crate::app_bsky::graph::ListView<'a>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.bsky.graph.getListBlocks 51 51 pub struct GetListBlocksResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetListBlocksResponse { ··· 62 62 type Response = GetListBlocksResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.bsky.graph.getListBlocks 67 67 pub struct GetListBlocksRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetListBlocksRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_list_mutes.rs
··· 46 46 pub lists: Vec<crate::app_bsky::graph::ListView<'a>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.bsky.graph.getListMutes 51 51 pub struct GetListMutesResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetListMutesResponse { ··· 62 62 type Response = GetListMutesResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.bsky.graph.getListMutes 67 67 pub struct GetListMutesRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetListMutesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_lists.rs
··· 51 51 pub lists: Vec<crate::app_bsky::graph::ListView<'a>>, 52 52 } 53 53 54 - ///Response type for 54 + /// Response type for 55 55 ///app.bsky.graph.getLists 56 56 pub struct GetListsResponse; 57 57 impl jacquard_common::xrpc::XrpcResp for GetListsResponse { ··· 67 67 type Response = GetListsResponse; 68 68 } 69 69 70 - ///Endpoint type for 70 + /// Endpoint type for 71 71 ///app.bsky.graph.getLists 72 72 pub struct GetListsRequest; 73 73 impl jacquard_common::xrpc::XrpcEndpoint for GetListsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_lists_with_membership.rs
··· 73 73 pub lists_with_membership: Vec<jacquard_common::types::value::Data<'a>>, 74 74 } 75 75 76 - ///Response type for 76 + /// Response type for 77 77 ///app.bsky.graph.getListsWithMembership 78 78 pub struct GetListsWithMembershipResponse; 79 79 impl jacquard_common::xrpc::XrpcResp for GetListsWithMembershipResponse { ··· 89 89 type Response = GetListsWithMembershipResponse; 90 90 } 91 91 92 - ///Endpoint type for 92 + /// Endpoint type for 93 93 ///app.bsky.graph.getListsWithMembership 94 94 pub struct GetListsWithMembershipRequest; 95 95 impl jacquard_common::xrpc::XrpcEndpoint for GetListsWithMembershipRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_mutes.rs
··· 46 46 pub mutes: Vec<crate::app_bsky::actor::ProfileView<'a>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.bsky.graph.getMutes 51 51 pub struct GetMutesResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetMutesResponse { ··· 62 62 type Response = GetMutesResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.bsky.graph.getMutes 67 67 pub struct GetMutesRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetMutesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_relationships.rs
··· 100 100 } 101 101 } 102 102 103 - ///Response type for 103 + /// Response type for 104 104 ///app.bsky.graph.getRelationships 105 105 pub struct GetRelationshipsResponse; 106 106 impl jacquard_common::xrpc::XrpcResp for GetRelationshipsResponse { ··· 116 116 type Response = GetRelationshipsResponse; 117 117 } 118 118 119 - ///Endpoint type for 119 + /// Endpoint type for 120 120 ///app.bsky.graph.getRelationships 121 121 pub struct GetRelationshipsRequest; 122 122 impl jacquard_common::xrpc::XrpcEndpoint for GetRelationshipsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_starter_pack.rs
··· 38 38 pub starter_pack: crate::app_bsky::graph::StarterPackView<'a>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///app.bsky.graph.getStarterPack 43 43 pub struct GetStarterPackResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetStarterPackResponse { ··· 54 54 type Response = GetStarterPackResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///app.bsky.graph.getStarterPack 59 59 pub struct GetStarterPackRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetStarterPackRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_starter_packs.rs
··· 38 38 pub starter_packs: Vec<crate::app_bsky::graph::StarterPackViewBasic<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///app.bsky.graph.getStarterPacks 43 43 pub struct GetStarterPacksResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetStarterPacksResponse { ··· 54 54 type Response = GetStarterPacksResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///app.bsky.graph.getStarterPacks 59 59 pub struct GetStarterPacksRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetStarterPacksRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_starter_packs_with_membership.rs
··· 48 48 pub starter_packs_with_membership: Vec<jacquard_common::types::value::Data<'a>>, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///app.bsky.graph.getStarterPacksWithMembership 53 53 pub struct GetStarterPacksWithMembershipResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for GetStarterPacksWithMembershipResponse { ··· 64 64 type Response = GetStarterPacksWithMembershipResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///app.bsky.graph.getStarterPacksWithMembership 69 69 pub struct GetStarterPacksWithMembershipRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for GetStarterPacksWithMembershipRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/get_suggested_follows_by_actor.rs
··· 44 44 pub suggestions: Vec<crate::app_bsky::actor::ProfileView<'a>>, 45 45 } 46 46 47 - ///Response type for 47 + /// Response type for 48 48 ///app.bsky.graph.getSuggestedFollowsByActor 49 49 pub struct GetSuggestedFollowsByActorResponse; 50 50 impl jacquard_common::xrpc::XrpcResp for GetSuggestedFollowsByActorResponse { ··· 60 60 type Response = GetSuggestedFollowsByActorResponse; 61 61 } 62 62 63 - ///Endpoint type for 63 + /// Endpoint type for 64 64 ///app.bsky.graph.getSuggestedFollowsByActor 65 65 pub struct GetSuggestedFollowsByActorRequest; 66 66 impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestedFollowsByActorRequest {
+1 -1
crates/jacquard-api/src/app_bsky/graph/list.rs
··· 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[builder(into)] 24 24 #[serde(borrow)] 25 - pub avatar: Option<jacquard_common::types::blob::Blob<'a>>, 25 + pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 26 26 pub created_at: jacquard_common::types::string::Datetime, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[builder(into)]
+2 -2
crates/jacquard-api/src/app_bsky/graph/mute_actor.rs
··· 30 30 >, 31 31 } 32 32 33 - ///Response type for 33 + /// Response type for 34 34 ///app.bsky.graph.muteActor 35 35 pub struct MuteActorResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for MuteActorResponse { ··· 48 48 type Response = MuteActorResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///app.bsky.graph.muteActor 53 53 pub struct MuteActorRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for MuteActorRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/mute_actor_list.rs
··· 30 30 >, 31 31 } 32 32 33 - ///Response type for 33 + /// Response type for 34 34 ///app.bsky.graph.muteActorList 35 35 pub struct MuteActorListResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for MuteActorListResponse { ··· 48 48 type Response = MuteActorListResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///app.bsky.graph.muteActorList 53 53 pub struct MuteActorListRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for MuteActorListRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/mute_thread.rs
··· 30 30 >, 31 31 } 32 32 33 - ///Response type for 33 + /// Response type for 34 34 ///app.bsky.graph.muteThread 35 35 pub struct MuteThreadResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for MuteThreadResponse { ··· 48 48 type Response = MuteThreadResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///app.bsky.graph.muteThread 53 53 pub struct MuteThreadRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for MuteThreadRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/search_starter_packs.rs
··· 49 49 pub starter_packs: Vec<crate::app_bsky::graph::StarterPackViewBasic<'a>>, 50 50 } 51 51 52 - ///Response type for 52 + /// Response type for 53 53 ///app.bsky.graph.searchStarterPacks 54 54 pub struct SearchStarterPacksResponse; 55 55 impl jacquard_common::xrpc::XrpcResp for SearchStarterPacksResponse { ··· 65 65 type Response = SearchStarterPacksResponse; 66 66 } 67 67 68 - ///Endpoint type for 68 + /// Endpoint type for 69 69 ///app.bsky.graph.searchStarterPacks 70 70 pub struct SearchStarterPacksRequest; 71 71 impl jacquard_common::xrpc::XrpcEndpoint for SearchStarterPacksRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/unmute_actor.rs
··· 30 30 >, 31 31 } 32 32 33 - ///Response type for 33 + /// Response type for 34 34 ///app.bsky.graph.unmuteActor 35 35 pub struct UnmuteActorResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for UnmuteActorResponse { ··· 48 48 type Response = UnmuteActorResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///app.bsky.graph.unmuteActor 53 53 pub struct UnmuteActorRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for UnmuteActorRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/unmute_actor_list.rs
··· 30 30 >, 31 31 } 32 32 33 - ///Response type for 33 + /// Response type for 34 34 ///app.bsky.graph.unmuteActorList 35 35 pub struct UnmuteActorListResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for UnmuteActorListResponse { ··· 48 48 type Response = UnmuteActorListResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///app.bsky.graph.unmuteActorList 53 53 pub struct UnmuteActorListRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for UnmuteActorListRequest {
+2 -2
crates/jacquard-api/src/app_bsky/graph/unmute_thread.rs
··· 30 30 >, 31 31 } 32 32 33 - ///Response type for 33 + /// Response type for 34 34 ///app.bsky.graph.unmuteThread 35 35 pub struct UnmuteThreadResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for UnmuteThreadResponse { ··· 48 48 type Response = UnmuteThreadResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///app.bsky.graph.unmuteThread 53 53 pub struct UnmuteThreadRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for UnmuteThreadRequest {
+2 -2
crates/jacquard-api/src/app_bsky/labeler/get_services.rs
··· 60 60 LabelerViewDetailed(Box<crate::app_bsky::labeler::LabelerViewDetailed<'a>>), 61 61 } 62 62 63 - ///Response type for 63 + /// Response type for 64 64 ///app.bsky.labeler.getServices 65 65 pub struct GetServicesResponse; 66 66 impl jacquard_common::xrpc::XrpcResp for GetServicesResponse { ··· 76 76 type Response = GetServicesResponse; 77 77 } 78 78 79 - ///Endpoint type for 79 + /// Endpoint type for 80 80 ///app.bsky.labeler.getServices 81 81 pub struct GetServicesRequest; 82 82 impl jacquard_common::xrpc::XrpcEndpoint for GetServicesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/notification/get_preferences.rs
··· 34 34 pub preferences: crate::app_bsky::notification::Preferences<'a>, 35 35 } 36 36 37 - ///Response type for 37 + /// Response type for 38 38 ///app.bsky.notification.getPreferences 39 39 pub struct GetPreferencesResponse; 40 40 impl jacquard_common::xrpc::XrpcResp for GetPreferencesResponse { ··· 50 50 type Response = GetPreferencesResponse; 51 51 } 52 52 53 - ///Endpoint type for 53 + /// Endpoint type for 54 54 ///app.bsky.notification.getPreferences 55 55 pub struct GetPreferencesRequest; 56 56 impl jacquard_common::xrpc::XrpcEndpoint for GetPreferencesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/notification/get_unread_count.rs
··· 39 39 pub count: i64, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.bsky.notification.getUnreadCount 44 44 pub struct GetUnreadCountResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetUnreadCountResponse { ··· 55 55 type Response = GetUnreadCountResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.bsky.notification.getUnreadCount 60 60 pub struct GetUnreadCountRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetUnreadCountRequest {
+2 -2
crates/jacquard-api/src/app_bsky/notification/list_activity_subscriptions.rs
··· 46 46 pub subscriptions: Vec<crate::app_bsky::actor::ProfileView<'a>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.bsky.notification.listActivitySubscriptions 51 51 pub struct ListActivitySubscriptionsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for ListActivitySubscriptionsResponse { ··· 62 62 type Response = ListActivitySubscriptionsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.bsky.notification.listActivitySubscriptions 67 67 pub struct ListActivitySubscriptionsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for ListActivitySubscriptionsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/notification/list_notifications.rs
··· 57 57 pub seen_at: std::option::Option<jacquard_common::types::string::Datetime>, 58 58 } 59 59 60 - ///Response type for 60 + /// Response type for 61 61 ///app.bsky.notification.listNotifications 62 62 pub struct ListNotificationsResponse; 63 63 impl jacquard_common::xrpc::XrpcResp for ListNotificationsResponse { ··· 73 73 type Response = ListNotificationsResponse; 74 74 } 75 75 76 - ///Endpoint type for 76 + /// Endpoint type for 77 77 ///app.bsky.notification.listNotifications 78 78 pub struct ListNotificationsRequest; 79 79 impl jacquard_common::xrpc::XrpcEndpoint for ListNotificationsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs
··· 53 53 pub subject: jacquard_common::types::string::Did<'a>, 54 54 } 55 55 56 - ///Response type for 56 + /// Response type for 57 57 ///app.bsky.notification.putActivitySubscription 58 58 pub struct PutActivitySubscriptionResponse; 59 59 impl jacquard_common::xrpc::XrpcResp for PutActivitySubscriptionResponse { ··· 71 71 type Response = PutActivitySubscriptionResponse; 72 72 } 73 73 74 - ///Endpoint type for 74 + /// Endpoint type for 75 75 ///app.bsky.notification.putActivitySubscription 76 76 pub struct PutActivitySubscriptionRequest; 77 77 impl jacquard_common::xrpc::XrpcEndpoint for PutActivitySubscriptionRequest {
+2 -2
crates/jacquard-api/src/app_bsky/notification/put_preferences.rs
··· 29 29 >, 30 30 } 31 31 32 - ///Response type for 32 + /// Response type for 33 33 ///app.bsky.notification.putPreferences 34 34 pub struct PutPreferencesResponse; 35 35 impl jacquard_common::xrpc::XrpcResp for PutPreferencesResponse { ··· 47 47 type Response = PutPreferencesResponse; 48 48 } 49 49 50 - ///Endpoint type for 50 + /// Endpoint type for 51 51 ///app.bsky.notification.putPreferences 52 52 pub struct PutPreferencesRequest; 53 53 impl jacquard_common::xrpc::XrpcEndpoint for PutPreferencesRequest {
+2 -2
crates/jacquard-api/src/app_bsky/notification/put_preferences_v2.rs
··· 95 95 pub preferences: crate::app_bsky::notification::Preferences<'a>, 96 96 } 97 97 98 - ///Response type for 98 + /// Response type for 99 99 ///app.bsky.notification.putPreferencesV2 100 100 pub struct PutPreferencesV2Response; 101 101 impl jacquard_common::xrpc::XrpcResp for PutPreferencesV2Response { ··· 113 113 type Response = PutPreferencesV2Response; 114 114 } 115 115 116 - ///Endpoint type for 116 + /// Endpoint type for 117 117 ///app.bsky.notification.putPreferencesV2 118 118 pub struct PutPreferencesV2Request; 119 119 impl jacquard_common::xrpc::XrpcEndpoint for PutPreferencesV2Request {
+2 -2
crates/jacquard-api/src/app_bsky/notification/register_push.rs
··· 43 43 >, 44 44 } 45 45 46 - ///Response type for 46 + /// Response type for 47 47 ///app.bsky.notification.registerPush 48 48 pub struct RegisterPushResponse; 49 49 impl jacquard_common::xrpc::XrpcResp for RegisterPushResponse { ··· 61 61 type Response = RegisterPushResponse; 62 62 } 63 63 64 - ///Endpoint type for 64 + /// Endpoint type for 65 65 ///app.bsky.notification.registerPush 66 66 pub struct RegisterPushRequest; 67 67 impl jacquard_common::xrpc::XrpcEndpoint for RegisterPushRequest {
+2 -2
crates/jacquard-api/src/app_bsky/notification/unregister_push.rs
··· 39 39 >, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.bsky.notification.unregisterPush 44 44 pub struct UnregisterPushResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for UnregisterPushResponse { ··· 57 57 type Response = UnregisterPushResponse; 58 58 } 59 59 60 - ///Endpoint type for 60 + /// Endpoint type for 61 61 ///app.bsky.notification.unregisterPush 62 62 pub struct UnregisterPushRequest; 63 63 impl jacquard_common::xrpc::XrpcEndpoint for UnregisterPushRequest {
+2 -2
crates/jacquard-api/src/app_bsky/notification/update_seen.rs
··· 29 29 >, 30 30 } 31 31 32 - ///Response type for 32 + /// Response type for 33 33 ///app.bsky.notification.updateSeen 34 34 pub struct UpdateSeenResponse; 35 35 impl jacquard_common::xrpc::XrpcResp for UpdateSeenResponse { ··· 47 47 type Response = UpdateSeenResponse; 48 48 } 49 49 50 - ///Endpoint type for 50 + /// Endpoint type for 51 51 ///app.bsky.notification.updateSeen 52 52 pub struct UpdateSeenRequest; 53 53 impl jacquard_common::xrpc::XrpcEndpoint for UpdateSeenRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_age_assurance_state.rs
··· 34 34 jacquard_derive::IntoStatic 35 35 )] 36 36 pub struct GetAgeAssuranceState; 37 - ///Response type for 37 + /// Response type for 38 38 ///app.bsky.unspecced.getAgeAssuranceState 39 39 pub struct GetAgeAssuranceStateResponse; 40 40 impl jacquard_common::xrpc::XrpcResp for GetAgeAssuranceStateResponse { ··· 50 50 type Response = GetAgeAssuranceStateResponse; 51 51 } 52 52 53 - ///Endpoint type for 53 + /// Endpoint type for 54 54 ///app.bsky.unspecced.getAgeAssuranceState 55 55 pub struct GetAgeAssuranceStateRequest; 56 56 impl jacquard_common::xrpc::XrpcEndpoint for GetAgeAssuranceStateRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_config.rs
··· 56 56 jacquard_derive::IntoStatic 57 57 )] 58 58 pub struct GetConfig; 59 - ///Response type for 59 + /// Response type for 60 60 ///app.bsky.unspecced.getConfig 61 61 pub struct GetConfigResponse; 62 62 impl jacquard_common::xrpc::XrpcResp for GetConfigResponse { ··· 72 72 type Response = GetConfigResponse; 73 73 } 74 74 75 - ///Endpoint type for 75 + /// Endpoint type for 76 76 ///app.bsky.unspecced.getConfig 77 77 pub struct GetConfigRequest; 78 78 impl jacquard_common::xrpc::XrpcEndpoint for GetConfigRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs.rs
··· 39 39 pub starter_packs: Vec<crate::app_bsky::graph::StarterPackView<'a>>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.bsky.unspecced.getOnboardingSuggestedStarterPacks 44 44 pub struct GetOnboardingSuggestedStarterPacksResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetOnboardingSuggestedStarterPacksResponse { ··· 55 55 type Response = GetOnboardingSuggestedStarterPacksResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.bsky.unspecced.getOnboardingSuggestedStarterPacks 60 60 pub struct GetOnboardingSuggestedStarterPacksRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetOnboardingSuggestedStarterPacksRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs_skeleton.rs
··· 42 42 pub starter_packs: Vec<jacquard_common::types::string::AtUri<'a>>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton 47 47 pub struct GetOnboardingSuggestedStarterPacksSkeletonResponse; 48 48 impl jacquard_common::xrpc::XrpcResp ··· 60 60 type Response = GetOnboardingSuggestedStarterPacksSkeletonResponse; 61 61 } 62 62 63 - ///Endpoint type for 63 + /// Endpoint type for 64 64 ///app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton 65 65 pub struct GetOnboardingSuggestedStarterPacksSkeletonRequest; 66 66 impl jacquard_common::xrpc::XrpcEndpoint
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs
··· 42 42 pub thread: Vec<jacquard_common::types::value::Data<'a>>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///app.bsky.unspecced.getPostThreadOtherV2 47 47 pub struct GetPostThreadOtherV2Response; 48 48 impl jacquard_common::xrpc::XrpcResp for GetPostThreadOtherV2Response { ··· 58 58 type Response = GetPostThreadOtherV2Response; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///app.bsky.unspecced.getPostThreadOtherV2 63 63 pub struct GetPostThreadOtherV2Request; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for GetPostThreadOtherV2Request {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs
··· 61 61 pub threadgate: std::option::Option<crate::app_bsky::feed::ThreadgateView<'a>>, 62 62 } 63 63 64 - ///Response type for 64 + /// Response type for 65 65 ///app.bsky.unspecced.getPostThreadV2 66 66 pub struct GetPostThreadV2Response; 67 67 impl jacquard_common::xrpc::XrpcResp for GetPostThreadV2Response { ··· 77 77 type Response = GetPostThreadV2Response; 78 78 } 79 79 80 - ///Endpoint type for 80 + /// Endpoint type for 81 81 ///app.bsky.unspecced.getPostThreadV2 82 82 pub struct GetPostThreadV2Request; 83 83 impl jacquard_common::xrpc::XrpcEndpoint for GetPostThreadV2Request {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds.rs
··· 39 39 pub feeds: Vec<crate::app_bsky::feed::GeneratorView<'a>>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.bsky.unspecced.getSuggestedFeeds 44 44 pub struct GetSuggestedFeedsResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetSuggestedFeedsResponse { ··· 55 55 type Response = GetSuggestedFeedsResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.bsky.unspecced.getSuggestedFeeds 60 60 pub struct GetSuggestedFeedsRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestedFeedsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds_skeleton.rs
··· 42 42 pub feeds: Vec<jacquard_common::types::string::AtUri<'a>>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///app.bsky.unspecced.getSuggestedFeedsSkeleton 47 47 pub struct GetSuggestedFeedsSkeletonResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for GetSuggestedFeedsSkeletonResponse { ··· 58 58 type Response = GetSuggestedFeedsSkeletonResponse; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///app.bsky.unspecced.getSuggestedFeedsSkeleton 63 63 pub struct GetSuggestedFeedsSkeletonRequest; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestedFeedsSkeletonRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs.rs
··· 39 39 pub starter_packs: Vec<crate::app_bsky::graph::StarterPackView<'a>>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.bsky.unspecced.getSuggestedStarterPacks 44 44 pub struct GetSuggestedStarterPacksResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetSuggestedStarterPacksResponse { ··· 55 55 type Response = GetSuggestedStarterPacksResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.bsky.unspecced.getSuggestedStarterPacks 60 60 pub struct GetSuggestedStarterPacksRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestedStarterPacksRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs_skeleton.rs
··· 42 42 pub starter_packs: Vec<jacquard_common::types::string::AtUri<'a>>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///app.bsky.unspecced.getSuggestedStarterPacksSkeleton 47 47 pub struct GetSuggestedStarterPacksSkeletonResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for GetSuggestedStarterPacksSkeletonResponse { ··· 58 58 type Response = GetSuggestedStarterPacksSkeletonResponse; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///app.bsky.unspecced.getSuggestedStarterPacksSkeleton 63 63 pub struct GetSuggestedStarterPacksSkeletonRequest; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestedStarterPacksSkeletonRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users.rs
··· 43 43 pub actors: Vec<crate::app_bsky::actor::ProfileView<'a>>, 44 44 } 45 45 46 - ///Response type for 46 + /// Response type for 47 47 ///app.bsky.unspecced.getSuggestedUsers 48 48 pub struct GetSuggestedUsersResponse; 49 49 impl jacquard_common::xrpc::XrpcResp for GetSuggestedUsersResponse { ··· 59 59 type Response = GetSuggestedUsersResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///app.bsky.unspecced.getSuggestedUsers 64 64 pub struct GetSuggestedUsersRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestedUsersRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users_skeleton.rs
··· 46 46 pub dids: Vec<jacquard_common::types::string::Did<'a>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.bsky.unspecced.getSuggestedUsersSkeleton 51 51 pub struct GetSuggestedUsersSkeletonResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetSuggestedUsersSkeletonResponse { ··· 62 62 type Response = GetSuggestedUsersSkeletonResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.bsky.unspecced.getSuggestedUsersSkeleton 67 67 pub struct GetSuggestedUsersSkeletonRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestedUsersSkeletonRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_suggestions_skeleton.rs
··· 59 59 pub relative_to_did: std::option::Option<jacquard_common::types::string::Did<'a>>, 60 60 } 61 61 62 - ///Response type for 62 + /// Response type for 63 63 ///app.bsky.unspecced.getSuggestionsSkeleton 64 64 pub struct GetSuggestionsSkeletonResponse; 65 65 impl jacquard_common::xrpc::XrpcResp for GetSuggestionsSkeletonResponse { ··· 75 75 type Response = GetSuggestionsSkeletonResponse; 76 76 } 77 77 78 - ///Endpoint type for 78 + /// Endpoint type for 79 79 ///app.bsky.unspecced.getSuggestionsSkeleton 80 80 pub struct GetSuggestionsSkeletonRequest; 81 81 impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestionsSkeletonRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs
··· 34 34 pub suggestions: Vec<jacquard_common::types::value::Data<'a>>, 35 35 } 36 36 37 - ///Response type for 37 + /// Response type for 38 38 ///app.bsky.unspecced.getTaggedSuggestions 39 39 pub struct GetTaggedSuggestionsResponse; 40 40 impl jacquard_common::xrpc::XrpcResp for GetTaggedSuggestionsResponse { ··· 50 50 type Response = GetTaggedSuggestionsResponse; 51 51 } 52 52 53 - ///Endpoint type for 53 + /// Endpoint type for 54 54 ///app.bsky.unspecced.getTaggedSuggestions 55 55 pub struct GetTaggedSuggestionsRequest; 56 56 impl jacquard_common::xrpc::XrpcEndpoint for GetTaggedSuggestionsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/get_trends.rs
··· 39 39 pub trends: Vec<crate::app_bsky::unspecced::TrendView<'a>>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.bsky.unspecced.getTrends 44 44 pub struct GetTrendsResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetTrendsResponse { ··· 55 55 type Response = GetTrendsResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.bsky.unspecced.getTrends 60 60 pub struct GetTrendsRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetTrendsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs
··· 98 98 } 99 99 } 100 100 101 - ///Response type for 101 + /// Response type for 102 102 ///app.bsky.unspecced.initAgeAssurance 103 103 pub struct InitAgeAssuranceResponse; 104 104 impl jacquard_common::xrpc::XrpcResp for InitAgeAssuranceResponse { ··· 116 116 type Response = InitAgeAssuranceResponse; 117 117 } 118 118 119 - ///Endpoint type for 119 + /// Endpoint type for 120 120 ///app.bsky.unspecced.initAgeAssurance 121 121 pub struct InitAgeAssuranceRequest; 122 122 impl jacquard_common::xrpc::XrpcEndpoint for InitAgeAssuranceRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs
··· 91 91 } 92 92 } 93 93 94 - ///Response type for 94 + /// Response type for 95 95 ///app.bsky.unspecced.searchActorsSkeleton 96 96 pub struct SearchActorsSkeletonResponse; 97 97 impl jacquard_common::xrpc::XrpcResp for SearchActorsSkeletonResponse { ··· 107 107 type Response = SearchActorsSkeletonResponse; 108 108 } 109 109 110 - ///Endpoint type for 110 + /// Endpoint type for 111 111 ///app.bsky.unspecced.searchActorsSkeleton 112 112 pub struct SearchActorsSkeletonRequest; 113 113 impl jacquard_common::xrpc::XrpcEndpoint for SearchActorsSkeletonRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs
··· 120 120 } 121 121 } 122 122 123 - ///Response type for 123 + /// Response type for 124 124 ///app.bsky.unspecced.searchPostsSkeleton 125 125 pub struct SearchPostsSkeletonResponse; 126 126 impl jacquard_common::xrpc::XrpcResp for SearchPostsSkeletonResponse { ··· 136 136 type Response = SearchPostsSkeletonResponse; 137 137 } 138 138 139 - ///Endpoint type for 139 + /// Endpoint type for 140 140 ///app.bsky.unspecced.searchPostsSkeleton 141 141 pub struct SearchPostsSkeletonRequest; 142 142 impl jacquard_common::xrpc::XrpcEndpoint for SearchPostsSkeletonRequest {
+2 -2
crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs
··· 89 89 } 90 90 } 91 91 92 - ///Response type for 92 + /// Response type for 93 93 ///app.bsky.unspecced.searchStarterPacksSkeleton 94 94 pub struct SearchStarterPacksSkeletonResponse; 95 95 impl jacquard_common::xrpc::XrpcResp for SearchStarterPacksSkeletonResponse { ··· 105 105 type Response = SearchStarterPacksSkeletonResponse; 106 106 } 107 107 108 - ///Endpoint type for 108 + /// Endpoint type for 109 109 ///app.bsky.unspecced.searchStarterPacksSkeleton 110 110 pub struct SearchStarterPacksSkeletonRequest; 111 111 impl jacquard_common::xrpc::XrpcEndpoint for SearchStarterPacksSkeletonRequest {
+1 -1
crates/jacquard-api/src/app_bsky/video.rs
··· 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[builder(into)] 27 27 #[serde(borrow)] 28 - pub blob: Option<jacquard_common::types::blob::Blob<'a>>, 28 + pub blob: Option<jacquard_common::types::blob::BlobRef<'a>>, 29 29 #[serde(borrow)] 30 30 pub did: jacquard_common::types::string::Did<'a>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+2 -2
crates/jacquard-api/src/app_bsky/video/get_job_status.rs
··· 39 39 pub job_status: crate::app_bsky::video::JobStatus<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.bsky.video.getJobStatus 44 44 pub struct GetJobStatusResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetJobStatusResponse { ··· 55 55 type Response = GetJobStatusResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.bsky.video.getJobStatus 60 60 pub struct GetJobStatusRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetJobStatusRequest {
+2 -2
crates/jacquard-api/src/app_bsky/video/get_upload_limits.rs
··· 42 42 jacquard_derive::IntoStatic 43 43 )] 44 44 pub struct GetUploadLimits; 45 - ///Response type for 45 + /// Response type for 46 46 ///app.bsky.video.getUploadLimits 47 47 pub struct GetUploadLimitsResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for GetUploadLimitsResponse { ··· 58 58 type Response = GetUploadLimitsResponse; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///app.bsky.video.getUploadLimits 63 63 pub struct GetUploadLimitsRequest; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for GetUploadLimitsRequest {
+2 -2
crates/jacquard-api/src/app_bsky/video/upload_video.rs
··· 37 37 pub job_status: crate::app_bsky::video::JobStatus<'a>, 38 38 } 39 39 40 - ///Response type for 40 + /// Response type for 41 41 ///app.bsky.video.uploadVideo 42 42 pub struct UploadVideoResponse; 43 43 impl jacquard_common::xrpc::XrpcResp for UploadVideoResponse { ··· 70 70 } 71 71 } 72 72 73 - ///Endpoint type for 73 + /// Endpoint type for 74 74 ///app.bsky.video.uploadVideo 75 75 pub struct UploadVideoRequest; 76 76 impl jacquard_common::xrpc::XrpcEndpoint for UploadVideoRequest {
+2 -2
crates/jacquard-api/src/app_ocho/auth/at_proto_callback.rs
··· 29 29 pub state: jacquard_common::CowStr<'a>, 30 30 } 31 31 32 - ///Response type for 32 + /// Response type for 33 33 ///app.ocho.auth.atProtoCallback 34 34 pub struct AtProtoCallbackResponse; 35 35 impl jacquard_common::xrpc::XrpcResp for AtProtoCallbackResponse { ··· 45 45 type Response = AtProtoCallbackResponse; 46 46 } 47 47 48 - ///Endpoint type for 48 + /// Endpoint type for 49 49 ///app.ocho.auth.atProtoCallback 50 50 pub struct AtProtoCallbackRequest; 51 51 impl jacquard_common::xrpc::XrpcEndpoint for AtProtoCallbackRequest {
+2 -2
crates/jacquard-api/src/app_ocho/auth/authorize.rs
··· 50 50 pub url: jacquard_common::CowStr<'a>, 51 51 } 52 52 53 - ///Response type for 53 + /// Response type for 54 54 ///app.ocho.auth.authorize 55 55 pub struct AuthorizeResponse; 56 56 impl jacquard_common::xrpc::XrpcResp for AuthorizeResponse { ··· 68 68 type Response = AuthorizeResponse; 69 69 } 70 70 71 - ///Endpoint type for 71 + /// Endpoint type for 72 72 ///app.ocho.auth.authorize 73 73 pub struct AuthorizeRequest; 74 74 impl jacquard_common::xrpc::XrpcEndpoint for AuthorizeRequest {
+2 -2
crates/jacquard-api/src/app_ocho/auth/github_callback.rs
··· 26 26 pub state: jacquard_common::CowStr<'a>, 27 27 } 28 28 29 - ///Response type for 29 + /// Response type for 30 30 ///app.ocho.auth.githubCallback 31 31 pub struct GithubCallbackResponse; 32 32 impl jacquard_common::xrpc::XrpcResp for GithubCallbackResponse { ··· 42 42 type Response = GithubCallbackResponse; 43 43 } 44 44 45 - ///Endpoint type for 45 + /// Endpoint type for 46 46 ///app.ocho.auth.githubCallback 47 47 pub struct GithubCallbackRequest; 48 48 impl jacquard_common::xrpc::XrpcEndpoint for GithubCallbackRequest {
+2 -2
crates/jacquard-api/src/app_ocho/auth/google_callback.rs
··· 26 26 pub state: jacquard_common::CowStr<'a>, 27 27 } 28 28 29 - ///Response type for 29 + /// Response type for 30 30 ///app.ocho.auth.googleCallback 31 31 pub struct GoogleCallbackResponse; 32 32 impl jacquard_common::xrpc::XrpcResp for GoogleCallbackResponse { ··· 42 42 type Response = GoogleCallbackResponse; 43 43 } 44 44 45 - ///Endpoint type for 45 + /// Endpoint type for 46 46 ///app.ocho.auth.googleCallback 47 47 pub struct GoogleCallbackRequest; 48 48 impl jacquard_common::xrpc::XrpcEndpoint for GoogleCallbackRequest {
+2 -2
crates/jacquard-api/src/app_ocho/auth/request_email_update.rs
··· 32 32 jacquard_derive::IntoStatic 33 33 )] 34 34 pub struct RequestEmailUpdate; 35 - ///Response type for 35 + /// Response type for 36 36 ///app.ocho.auth.requestEmailUpdate 37 37 pub struct RequestEmailUpdateResponse; 38 38 impl jacquard_common::xrpc::XrpcResp for RequestEmailUpdateResponse { ··· 50 50 type Response = RequestEmailUpdateResponse; 51 51 } 52 52 53 - ///Endpoint type for 53 + /// Endpoint type for 54 54 ///app.ocho.auth.requestEmailUpdate 55 55 pub struct RequestEmailUpdateRequest; 56 56 impl jacquard_common::xrpc::XrpcEndpoint for RequestEmailUpdateRequest {
+2 -2
crates/jacquard-api/src/app_ocho/auth/update_email.rs
··· 80 80 } 81 81 } 82 82 83 - ///Response type for 83 + /// Response type for 84 84 ///app.ocho.auth.updateEmail 85 85 pub struct UpdateEmailResponse; 86 86 impl jacquard_common::xrpc::XrpcResp for UpdateEmailResponse { ··· 98 98 type Response = UpdateEmailResponse; 99 99 } 100 100 101 - ///Endpoint type for 101 + /// Endpoint type for 102 102 ///app.ocho.auth.updateEmail 103 103 pub struct UpdateEmailRequest; 104 104 impl jacquard_common::xrpc::XrpcEndpoint for UpdateEmailRequest {
+2 -2
crates/jacquard-api/src/app_ocho/auth/update_handle.rs
··· 31 31 >, 32 32 } 33 33 34 - ///Response type for 34 + /// Response type for 35 35 ///app.ocho.auth.updateHandle 36 36 pub struct UpdateHandleResponse; 37 37 impl jacquard_common::xrpc::XrpcResp for UpdateHandleResponse { ··· 49 49 type Response = UpdateHandleResponse; 50 50 } 51 51 52 - ///Endpoint type for 52 + /// Endpoint type for 53 53 ///app.ocho.auth.updateHandle 54 54 pub struct UpdateHandleRequest; 55 55 impl jacquard_common::xrpc::XrpcEndpoint for UpdateHandleRequest {
+2 -2
crates/jacquard-api/src/app_ocho/auth/whoami.rs
··· 39 39 jacquard_derive::IntoStatic 40 40 )] 41 41 pub struct Whoami; 42 - ///Response type for 42 + /// Response type for 43 43 ///app.ocho.auth.whoami 44 44 pub struct WhoamiResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for WhoamiResponse { ··· 55 55 type Response = WhoamiResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.ocho.auth.whoami 60 60 pub struct WhoamiRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for WhoamiRequest {
+2 -2
crates/jacquard-api/src/app_ocho/edu/get_verification_url.rs
··· 41 41 pub url: jacquard_common::CowStr<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///app.ocho.edu.getVerificationUrl 46 46 pub struct GetVerificationUrlResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for GetVerificationUrlResponse { ··· 57 57 type Response = GetVerificationUrlResponse; 58 58 } 59 59 60 - ///Endpoint type for 60 + /// Endpoint type for 61 61 ///app.ocho.edu.getVerificationUrl 62 62 pub struct GetVerificationUrlRequest; 63 63 impl jacquard_common::xrpc::XrpcEndpoint for GetVerificationUrlRequest {
+2 -2
crates/jacquard-api/src/app_ocho/edu/google_callback.rs
··· 26 26 pub state: jacquard_common::CowStr<'a>, 27 27 } 28 28 29 - ///Response type for 29 + /// Response type for 30 30 ///app.ocho.edu.googleCallback 31 31 pub struct GoogleCallbackResponse; 32 32 impl jacquard_common::xrpc::XrpcResp for GoogleCallbackResponse { ··· 42 42 type Response = GoogleCallbackResponse; 43 43 } 44 44 45 - ///Endpoint type for 45 + /// Endpoint type for 46 46 ///app.ocho.edu.googleCallback 47 47 pub struct GoogleCallbackRequest; 48 48 impl jacquard_common::xrpc::XrpcEndpoint for GoogleCallbackRequest {
+2 -2
crates/jacquard-api/src/app_ocho/edu/is_verified.rs
··· 39 39 pub verified: bool, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.ocho.edu.isVerified 44 44 pub struct IsVerifiedResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for IsVerifiedResponse { ··· 55 55 type Response = IsVerifiedResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.ocho.edu.isVerified 60 60 pub struct IsVerifiedRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for IsVerifiedRequest {
+2 -2
crates/jacquard-api/src/app_ocho/message/send.rs
··· 42 42 pub success: bool, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///app.ocho.message.send 47 47 pub struct SendResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for SendResponse { ··· 60 60 type Response = SendResponse; 61 61 } 62 62 63 - ///Endpoint type for 63 + /// Endpoint type for 64 64 ///app.ocho.message.send 65 65 pub struct SendRequest; 66 66 impl jacquard_common::xrpc::XrpcEndpoint for SendRequest {
+2 -2
crates/jacquard-api/src/app_ocho/payment/get_stripe_intent.rs
··· 61 61 pub publishable_key: jacquard_common::CowStr<'a>, 62 62 } 63 63 64 - ///Response type for 64 + /// Response type for 65 65 ///app.ocho.payment.getStripeIntent 66 66 pub struct GetStripeIntentResponse; 67 67 impl jacquard_common::xrpc::XrpcResp for GetStripeIntentResponse { ··· 77 77 type Response = GetStripeIntentResponse; 78 78 } 79 79 80 - ///Endpoint type for 80 + /// Endpoint type for 81 81 ///app.ocho.payment.getStripeIntent 82 82 pub struct GetStripeIntentRequest; 83 83 impl jacquard_common::xrpc::XrpcEndpoint for GetStripeIntentRequest {
+3 -3
crates/jacquard-api/src/app_ocho/plugin.rs
··· 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[serde(borrow)] 36 36 pub foreground_image_blob: std::option::Option< 37 - jacquard_common::types::blob::Blob<'a>, 37 + jacquard_common::types::blob::BlobRef<'a>, 38 38 >, 39 39 } 40 40 ··· 95 95 pub struct Asset<'a> { 96 96 /// The blob of the asset 97 97 #[serde(borrow)] 98 - pub blob: jacquard_common::types::blob::Blob<'a>, 98 + pub blob: jacquard_common::types::blob::BlobRef<'a>, 99 99 /// The hash of the asset 100 100 #[serde(borrow)] 101 101 #[builder(into)] ··· 392 392 pub favicon: std::option::Option<jacquard_common::CowStr<'a>>, 393 393 #[serde(skip_serializing_if = "std::option::Option::is_none")] 394 394 #[serde(borrow)] 395 - pub favicon_blob: std::option::Option<jacquard_common::types::blob::Blob<'a>>, 395 + pub favicon_blob: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 396 396 /// The output directory for the web app. 397 397 #[serde(skip_serializing_if = "std::option::Option::is_none")] 398 398 #[serde(borrow)]
+22 -5
crates/jacquard-api/src/app_ocho/plugin/get_launch_asset.rs
··· 26 26 } 27 27 28 28 /// The launch asset for the plugin, which is the main JavaScript bundle. 29 - #[jacquard_derive::lexicon] 30 29 #[derive( 31 30 serde::Serialize, 32 31 serde::Deserialize, ··· 37 36 jacquard_derive::IntoStatic 38 37 )] 39 38 #[serde(rename_all = "camelCase")] 40 - pub struct GetLaunchAssetOutput<'a> {} 41 - ///Response type for 39 + pub struct GetLaunchAssetOutput { 40 + pub body: bytes::Bytes, 41 + } 42 + 43 + /// Response type for 42 44 ///app.ocho.plugin.getLaunchAsset 43 45 pub struct GetLaunchAssetResponse; 44 46 impl jacquard_common::xrpc::XrpcResp for GetLaunchAssetResponse { 45 47 const NSID: &'static str = "app.ocho.plugin.getLaunchAsset"; 46 48 const ENCODING: &'static str = "text/javascript"; 47 - type Output<'de> = GetLaunchAssetOutput<'de>; 49 + type Output<'de> = GetLaunchAssetOutput; 48 50 type Err<'de> = jacquard_common::xrpc::GenericError<'de>; 51 + fn encode_output( 52 + output: &Self::Output<'_>, 53 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 54 + Ok(output.body.to_vec()) 55 + } 56 + fn decode_output<'de>( 57 + body: &'de [u8], 58 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 59 + where 60 + Self::Output<'de>: serde::Deserialize<'de>, 61 + { 62 + Ok(GetLaunchAssetOutput { 63 + body: bytes::Bytes::copy_from_slice(body), 64 + }) 65 + } 49 66 } 50 67 51 68 impl<'a> jacquard_common::xrpc::XrpcRequest for GetLaunchAsset<'a> { ··· 54 71 type Response = GetLaunchAssetResponse; 55 72 } 56 73 57 - ///Endpoint type for 74 + /// Endpoint type for 58 75 ///app.ocho.plugin.getLaunchAsset 59 76 pub struct GetLaunchAssetRequest; 60 77 impl jacquard_common::xrpc::XrpcEndpoint for GetLaunchAssetRequest {
+2 -2
crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs
··· 42 42 pub value: crate::app_ocho::plugin::Manifest<'a>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///app.ocho.plugin.getManifest 47 47 pub struct GetManifestResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for GetManifestResponse { ··· 58 58 type Response = GetManifestResponse; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///app.ocho.plugin.getManifest 63 63 pub struct GetManifestRequest; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for GetManifestRequest {
+2 -2
crates/jacquard-api/src/app_ocho/plugin/put_hosting_url.rs
··· 38 38 pub success: bool, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///app.ocho.plugin.putHostingUrl 43 43 pub struct PutHostingUrlResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for PutHostingUrlResponse { ··· 56 56 type Response = PutHostingUrlResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.ocho.plugin.putHostingUrl 61 61 pub struct PutHostingUrlRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for PutHostingUrlRequest {
+2 -2
crates/jacquard-api/src/app_ocho/push/register.rs
··· 39 39 pub success: bool, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.ocho.push.register 44 44 pub struct RegisterResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for RegisterResponse { ··· 57 57 type Response = RegisterResponse; 58 58 } 59 59 60 - ///Endpoint type for 60 + /// Endpoint type for 61 61 ///app.ocho.push.register 62 62 pub struct RegisterRequest; 63 63 impl jacquard_common::xrpc::XrpcEndpoint for RegisterRequest {
+2 -2
crates/jacquard-api/src/app_ocho/server/get_launch_token.rs
··· 39 39 pub token: jacquard_common::CowStr<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.ocho.server.getLaunchToken 44 44 pub struct GetLaunchTokenResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetLaunchTokenResponse { ··· 55 55 type Response = GetLaunchTokenResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.ocho.server.getLaunchToken 60 60 pub struct GetLaunchTokenRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetLaunchTokenRequest {
+2 -2
crates/jacquard-api/src/app_ocho/server/get_token.rs
··· 39 39 pub token: jacquard_common::CowStr<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.ocho.server.getToken 44 44 pub struct GetTokenResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetTokenResponse { ··· 55 55 type Response = GetTokenResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.ocho.server.getToken 60 60 pub struct GetTokenRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetTokenRequest {
+2 -2
crates/jacquard-api/src/app_ocho/server/swap_launch_token.rs
··· 50 50 pub token: jacquard_common::CowStr<'a>, 51 51 } 52 52 53 - ///Response type for 53 + /// Response type for 54 54 ///app.ocho.server.swapLaunchToken 55 55 pub struct SwapLaunchTokenResponse; 56 56 impl jacquard_common::xrpc::XrpcResp for SwapLaunchTokenResponse { ··· 66 66 type Response = SwapLaunchTokenResponse; 67 67 } 68 68 69 - ///Endpoint type for 69 + /// Endpoint type for 70 70 ///app.ocho.server.swapLaunchToken 71 71 pub struct SwapLaunchTokenRequest; 72 72 impl jacquard_common::xrpc::XrpcEndpoint for SwapLaunchTokenRequest {
+2 -2
crates/jacquard-api/src/app_ocho/state/get_config.rs
··· 84 84 jacquard_derive::IntoStatic 85 85 )] 86 86 pub struct GetConfig; 87 - ///Response type for 87 + /// Response type for 88 88 ///app.ocho.state.getConfig 89 89 pub struct GetConfigResponse; 90 90 impl jacquard_common::xrpc::XrpcResp for GetConfigResponse { ··· 100 100 type Response = GetConfigResponse; 101 101 } 102 102 103 - ///Endpoint type for 103 + /// Endpoint type for 104 104 ///app.ocho.state.getConfig 105 105 pub struct GetConfigRequest; 106 106 impl jacquard_common::xrpc::XrpcEndpoint for GetConfigRequest {
+2 -2
crates/jacquard-api/src/app_ocho/state/login.rs
··· 35 35 jacquard_derive::IntoStatic 36 36 )] 37 37 pub struct Login; 38 - ///Response type for 38 + /// Response type for 39 39 ///app.ocho.state.login 40 40 pub struct LoginResponse; 41 41 impl jacquard_common::xrpc::XrpcResp for LoginResponse { ··· 51 51 type Response = LoginResponse; 52 52 } 53 53 54 - ///Endpoint type for 54 + /// Endpoint type for 55 55 ///app.ocho.state.login 56 56 pub struct LoginRequest; 57 57 impl jacquard_common::xrpc::XrpcEndpoint for LoginRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/actor/get_actor_albums.rs
··· 46 46 pub albums: std::option::Option<Vec<crate::app_rocksky::album::AlbumViewBasic<'a>>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.rocksky.actor.getActorAlbums 51 51 pub struct GetActorAlbumsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetActorAlbumsResponse { ··· 62 62 type Response = GetActorAlbumsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.rocksky.actor.getActorAlbums 67 67 pub struct GetActorAlbumsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetActorAlbumsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/actor/get_actor_artists.rs
··· 48 48 >, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///app.rocksky.actor.getActorArtists 53 53 pub struct GetActorArtistsResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for GetActorArtistsResponse { ··· 64 64 type Response = GetActorArtistsResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///app.rocksky.actor.getActorArtists 69 69 pub struct GetActorArtistsRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for GetActorArtistsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/actor/get_actor_loved_songs.rs
··· 46 46 pub tracks: std::option::Option<Vec<crate::app_rocksky::song::SongViewBasic<'a>>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.rocksky.actor.getActorLovedSongs 51 51 pub struct GetActorLovedSongsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetActorLovedSongsResponse { ··· 62 62 type Response = GetActorLovedSongsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.rocksky.actor.getActorLovedSongs 67 67 pub struct GetActorLovedSongsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetActorLovedSongsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/actor/get_actor_playlists.rs
··· 48 48 >, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///app.rocksky.actor.getActorPlaylists 53 53 pub struct GetActorPlaylistsResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for GetActorPlaylistsResponse { ··· 64 64 type Response = GetActorPlaylistsResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///app.rocksky.actor.getActorPlaylists 69 69 pub struct GetActorPlaylistsRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for GetActorPlaylistsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/actor/get_actor_scrobbles.rs
··· 48 48 >, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///app.rocksky.actor.getActorScrobbles 53 53 pub struct GetActorScrobblesResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for GetActorScrobblesResponse { ··· 64 64 type Response = GetActorScrobblesResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///app.rocksky.actor.getActorScrobbles 69 69 pub struct GetActorScrobblesRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for GetActorScrobblesRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/actor/get_actor_songs.rs
··· 46 46 pub songs: std::option::Option<Vec<crate::app_rocksky::song::SongViewBasic<'a>>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.rocksky.actor.getActorSongs 51 51 pub struct GetActorSongsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetActorSongsResponse { ··· 62 62 type Response = GetActorSongsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.rocksky.actor.getActorSongs 67 67 pub struct GetActorSongsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetActorSongsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/actor/get_profile.rs
··· 40 40 pub value: crate::app_rocksky::actor::ProfileViewDetailed<'a>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.actor.getProfile 45 45 pub struct GetProfileResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetProfileResponse { ··· 56 56 type Response = GetProfileResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.actor.getProfile 61 61 pub struct GetProfileRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
+1 -1
crates/jacquard-api/src/app_rocksky/album.rs
··· 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[builder(into)] 29 29 #[serde(borrow)] 30 - pub album_art: Option<jacquard_common::types::blob::Blob<'a>>, 30 + pub album_art: Option<jacquard_common::types::blob::BlobRef<'a>>, 31 31 /// The Apple Music link of the album. 32 32 #[serde(skip_serializing_if = "std::option::Option::is_none")] 33 33 #[builder(into)]
+2 -2
crates/jacquard-api/src/app_rocksky/album/get_album.rs
··· 39 39 pub value: crate::app_rocksky::album::AlbumViewDetailed<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.rocksky.album.getAlbum 44 44 pub struct GetAlbumResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetAlbumResponse { ··· 55 55 type Response = GetAlbumResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.rocksky.album.getAlbum 60 60 pub struct GetAlbumRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetAlbumRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/album/get_album_tracks.rs
··· 40 40 pub tracks: std::option::Option<Vec<crate::app_rocksky::song::SongViewBasic<'a>>>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.album.getAlbumTracks 45 45 pub struct GetAlbumTracksResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetAlbumTracksResponse { ··· 56 56 type Response = GetAlbumTracksResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.album.getAlbumTracks 61 61 pub struct GetAlbumTracksRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetAlbumTracksRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/album/get_albums.rs
··· 44 44 pub albums: std::option::Option<Vec<crate::app_rocksky::album::AlbumViewBasic<'a>>>, 45 45 } 46 46 47 - ///Response type for 47 + /// Response type for 48 48 ///app.rocksky.album.getAlbums 49 49 pub struct GetAlbumsResponse; 50 50 impl jacquard_common::xrpc::XrpcResp for GetAlbumsResponse { ··· 60 60 type Response = GetAlbumsResponse; 61 61 } 62 62 63 - ///Endpoint type for 63 + /// Endpoint type for 64 64 ///app.rocksky.album.getAlbums 65 65 pub struct GetAlbumsRequest; 66 66 impl jacquard_common::xrpc::XrpcEndpoint for GetAlbumsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/apikey/create_apikey.rs
··· 44 44 pub value: jacquard_common::types::value::Data<'a>, 45 45 } 46 46 47 - ///Response type for 47 + /// Response type for 48 48 ///app.rocksky.apikey.createApikey 49 49 pub struct CreateApikeyResponse; 50 50 impl jacquard_common::xrpc::XrpcResp for CreateApikeyResponse { ··· 62 62 type Response = CreateApikeyResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.rocksky.apikey.createApikey 67 67 pub struct CreateApikeyRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for CreateApikeyRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/apikey/get_apikeys.rs
··· 42 42 pub api_keys: std::option::Option<Vec<jacquard_common::types::value::Data<'a>>>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///app.rocksky.apikey.getApikeys 47 47 pub struct GetApikeysResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for GetApikeysResponse { ··· 58 58 type Response = GetApikeysResponse; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///app.rocksky.apikey.getApikeys 63 63 pub struct GetApikeysRequest; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for GetApikeysRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/apikey/remove_apikey.rs
··· 52 52 jacquard_derive::IntoStatic 53 53 )] 54 54 pub struct RemoveApikey; 55 - ///Response type for 55 + /// Response type for 56 56 ///app.rocksky.apikey.removeApikey 57 57 pub struct RemoveApikeyResponse; 58 58 impl jacquard_common::xrpc::XrpcResp for RemoveApikeyResponse { ··· 70 70 type Response = RemoveApikeyResponse; 71 71 } 72 72 73 - ///Endpoint type for 73 + /// Endpoint type for 74 74 ///app.rocksky.apikey.removeApikey 75 75 pub struct RemoveApikeyRequest; 76 76 impl jacquard_common::xrpc::XrpcEndpoint for RemoveApikeyRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/apikey/update_apikey.rs
··· 47 47 pub value: jacquard_common::types::value::Data<'a>, 48 48 } 49 49 50 - ///Response type for 50 + /// Response type for 51 51 ///app.rocksky.apikey.updateApikey 52 52 pub struct UpdateApikeyResponse; 53 53 impl jacquard_common::xrpc::XrpcResp for UpdateApikeyResponse { ··· 65 65 type Response = UpdateApikeyResponse; 66 66 } 67 67 68 - ///Endpoint type for 68 + /// Endpoint type for 69 69 ///app.rocksky.apikey.updateApikey 70 70 pub struct UpdateApikeyRequest; 71 71 impl jacquard_common::xrpc::XrpcEndpoint for UpdateApikeyRequest {
+1 -1
crates/jacquard-api/src/app_rocksky/artist.rs
··· 52 52 #[serde(skip_serializing_if = "std::option::Option::is_none")] 53 53 #[builder(into)] 54 54 #[serde(borrow)] 55 - pub picture: Option<jacquard_common::types::blob::Blob<'a>>, 55 + pub picture: Option<jacquard_common::types::blob::BlobRef<'a>>, 56 56 /// The tags of the artist. 57 57 #[serde(skip_serializing_if = "std::option::Option::is_none")] 58 58 #[builder(into)]
+2 -2
crates/jacquard-api/src/app_rocksky/artist/get_artist.rs
··· 39 39 pub value: crate::app_rocksky::artist::ArtistViewDetailed<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.rocksky.artist.getArtist 44 44 pub struct GetArtistResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetArtistResponse { ··· 55 55 type Response = GetArtistResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.rocksky.artist.getArtist 60 60 pub struct GetArtistRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetArtistRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/artist/get_artist_albums.rs
··· 40 40 pub albums: std::option::Option<Vec<crate::app_rocksky::album::AlbumViewBasic<'a>>>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.artist.getArtistAlbums 45 45 pub struct GetArtistAlbumsResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetArtistAlbumsResponse { ··· 56 56 type Response = GetArtistAlbumsResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.artist.getArtistAlbums 61 61 pub struct GetArtistAlbumsRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetArtistAlbumsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/artist/get_artist_tracks.rs
··· 47 47 pub tracks: std::option::Option<Vec<crate::app_rocksky::song::SongViewBasic<'a>>>, 48 48 } 49 49 50 - ///Response type for 50 + /// Response type for 51 51 ///app.rocksky.artist.getArtistTracks 52 52 pub struct GetArtistTracksResponse; 53 53 impl jacquard_common::xrpc::XrpcResp for GetArtistTracksResponse { ··· 63 63 type Response = GetArtistTracksResponse; 64 64 } 65 65 66 - ///Endpoint type for 66 + /// Endpoint type for 67 67 ///app.rocksky.artist.getArtistTracks 68 68 pub struct GetArtistTracksRequest; 69 69 impl jacquard_common::xrpc::XrpcEndpoint for GetArtistTracksRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/artist/get_artists.rs
··· 46 46 >, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.rocksky.artist.getArtists 51 51 pub struct GetArtistsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetArtistsResponse { ··· 62 62 type Response = GetArtistsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.rocksky.artist.getArtists 67 67 pub struct GetArtistsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetArtistsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/charts/get_scrobbles_chart.rs
··· 49 49 pub value: crate::app_rocksky::charts::ChartsView<'a>, 50 50 } 51 51 52 - ///Response type for 52 + /// Response type for 53 53 ///app.rocksky.charts.getScrobblesChart 54 54 pub struct GetScrobblesChartResponse; 55 55 impl jacquard_common::xrpc::XrpcResp for GetScrobblesChartResponse { ··· 65 65 type Response = GetScrobblesChartResponse; 66 66 } 67 67 68 - ///Endpoint type for 68 + /// Endpoint type for 69 69 ///app.rocksky.charts.getScrobblesChart 70 70 pub struct GetScrobblesChartRequest; 71 71 impl jacquard_common::xrpc::XrpcEndpoint for GetScrobblesChartRequest {
+22 -5
crates/jacquard-api/src/app_rocksky/dropbox/download_file.rs
··· 23 23 pub file_id: jacquard_common::CowStr<'a>, 24 24 } 25 25 26 - #[jacquard_derive::lexicon] 27 26 #[derive( 28 27 serde::Serialize, 29 28 serde::Deserialize, ··· 34 33 jacquard_derive::IntoStatic 35 34 )] 36 35 #[serde(rename_all = "camelCase")] 37 - pub struct DownloadFileOutput<'a> {} 38 - ///Response type for 36 + pub struct DownloadFileOutput { 37 + pub body: bytes::Bytes, 38 + } 39 + 40 + /// Response type for 39 41 ///app.rocksky.dropbox.downloadFile 40 42 pub struct DownloadFileResponse; 41 43 impl jacquard_common::xrpc::XrpcResp for DownloadFileResponse { 42 44 const NSID: &'static str = "app.rocksky.dropbox.downloadFile"; 43 45 const ENCODING: &'static str = "application/octet-stream"; 44 - type Output<'de> = DownloadFileOutput<'de>; 46 + type Output<'de> = DownloadFileOutput; 45 47 type Err<'de> = jacquard_common::xrpc::GenericError<'de>; 48 + fn encode_output( 49 + output: &Self::Output<'_>, 50 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 51 + Ok(output.body.to_vec()) 52 + } 53 + fn decode_output<'de>( 54 + body: &'de [u8], 55 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 56 + where 57 + Self::Output<'de>: serde::Deserialize<'de>, 58 + { 59 + Ok(DownloadFileOutput { 60 + body: bytes::Bytes::copy_from_slice(body), 61 + }) 62 + } 46 63 } 47 64 48 65 impl<'a> jacquard_common::xrpc::XrpcRequest for DownloadFile<'a> { ··· 51 68 type Response = DownloadFileResponse; 52 69 } 53 70 54 - ///Endpoint type for 71 + /// Endpoint type for 55 72 ///app.rocksky.dropbox.downloadFile 56 73 pub struct DownloadFileRequest; 57 74 impl jacquard_common::xrpc::XrpcEndpoint for DownloadFileRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/dropbox/get_files.rs
··· 41 41 pub value: crate::app_rocksky::dropbox::FileListView<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///app.rocksky.dropbox.getFiles 46 46 pub struct GetFilesResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for GetFilesResponse { ··· 57 57 type Response = GetFilesResponse; 58 58 } 59 59 60 - ///Endpoint type for 60 + /// Endpoint type for 61 61 ///app.rocksky.dropbox.getFiles 62 62 pub struct GetFilesRequest; 63 63 impl jacquard_common::xrpc::XrpcEndpoint for GetFilesRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/dropbox/get_metadata.rs
··· 40 40 pub value: crate::app_rocksky::dropbox::FileView<'a>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.dropbox.getMetadata 45 45 pub struct GetMetadataResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetMetadataResponse { ··· 56 56 type Response = GetMetadataResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.dropbox.getMetadata 61 61 pub struct GetMetadataRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetMetadataRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/dropbox/get_temporary_link.rs
··· 40 40 pub value: crate::app_rocksky::dropbox::TemporaryLinkView<'a>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.dropbox.getTemporaryLink 45 45 pub struct GetTemporaryLinkResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetTemporaryLinkResponse { ··· 56 56 type Response = GetTemporaryLinkResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.dropbox.getTemporaryLink 61 61 pub struct GetTemporaryLinkRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetTemporaryLinkRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/feed/get_now_playings.rs
··· 40 40 pub value: crate::app_rocksky::feed::NowPlayingsView<'a>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.feed.getNowPlayings 45 45 pub struct GetNowPlayingsResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetNowPlayingsResponse { ··· 56 56 type Response = GetNowPlayingsResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.feed.getNowPlayings 61 61 pub struct GetNowPlayingsRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetNowPlayingsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/feed/search.rs
··· 40 40 pub value: crate::app_rocksky::feed::SearchResultsView<'a>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.feed.search 45 45 pub struct SearchResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for SearchResponse { ··· 56 56 type Response = SearchResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.feed.search 61 61 pub struct SearchRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for SearchRequest {
+22 -5
crates/jacquard-api/src/app_rocksky/googledrive/download_file.rs
··· 23 23 pub file_id: jacquard_common::CowStr<'a>, 24 24 } 25 25 26 - #[jacquard_derive::lexicon] 27 26 #[derive( 28 27 serde::Serialize, 29 28 serde::Deserialize, ··· 34 33 jacquard_derive::IntoStatic 35 34 )] 36 35 #[serde(rename_all = "camelCase")] 37 - pub struct DownloadFileOutput<'a> {} 38 - ///Response type for 36 + pub struct DownloadFileOutput { 37 + pub body: bytes::Bytes, 38 + } 39 + 40 + /// Response type for 39 41 ///app.rocksky.googledrive.downloadFile 40 42 pub struct DownloadFileResponse; 41 43 impl jacquard_common::xrpc::XrpcResp for DownloadFileResponse { 42 44 const NSID: &'static str = "app.rocksky.googledrive.downloadFile"; 43 45 const ENCODING: &'static str = "application/octet-stream"; 44 - type Output<'de> = DownloadFileOutput<'de>; 46 + type Output<'de> = DownloadFileOutput; 45 47 type Err<'de> = jacquard_common::xrpc::GenericError<'de>; 48 + fn encode_output( 49 + output: &Self::Output<'_>, 50 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 51 + Ok(output.body.to_vec()) 52 + } 53 + fn decode_output<'de>( 54 + body: &'de [u8], 55 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 56 + where 57 + Self::Output<'de>: serde::Deserialize<'de>, 58 + { 59 + Ok(DownloadFileOutput { 60 + body: bytes::Bytes::copy_from_slice(body), 61 + }) 62 + } 46 63 } 47 64 48 65 impl<'a> jacquard_common::xrpc::XrpcRequest for DownloadFile<'a> { ··· 51 68 type Response = DownloadFileResponse; 52 69 } 53 70 54 - ///Endpoint type for 71 + /// Endpoint type for 55 72 ///app.rocksky.googledrive.downloadFile 56 73 pub struct DownloadFileRequest; 57 74 impl jacquard_common::xrpc::XrpcEndpoint for DownloadFileRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/googledrive/get_file.rs
··· 40 40 pub value: crate::app_rocksky::googledrive::FileView<'a>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.googledrive.getFile 45 45 pub struct GetFileResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetFileResponse { ··· 56 56 type Response = GetFileResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.googledrive.getFile 61 61 pub struct GetFileRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetFileRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/googledrive/get_files.rs
··· 41 41 pub value: crate::app_rocksky::googledrive::FileListView<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///app.rocksky.googledrive.getFiles 46 46 pub struct GetFilesResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for GetFilesResponse { ··· 57 57 type Response = GetFilesResponse; 58 58 } 59 59 60 - ///Endpoint type for 60 + /// Endpoint type for 61 61 ///app.rocksky.googledrive.getFiles 62 62 pub struct GetFilesRequest; 63 63 impl jacquard_common::xrpc::XrpcEndpoint for GetFilesRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/like/dislike_shout.rs
··· 41 41 pub value: crate::app_rocksky::shout::ShoutView<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///app.rocksky.like.dislikeShout 46 46 pub struct DislikeShoutResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for DislikeShoutResponse { ··· 59 59 type Response = DislikeShoutResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///app.rocksky.like.dislikeShout 64 64 pub struct DislikeShoutRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for DislikeShoutRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/like/dislike_song.rs
··· 41 41 pub value: crate::app_rocksky::song::SongViewDetailed<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///app.rocksky.like.dislikeSong 46 46 pub struct DislikeSongResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for DislikeSongResponse { ··· 59 59 type Response = DislikeSongResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///app.rocksky.like.dislikeSong 64 64 pub struct DislikeSongRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for DislikeSongRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/like/like_shout.rs
··· 41 41 pub value: crate::app_rocksky::shout::ShoutView<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///app.rocksky.like.likeShout 46 46 pub struct LikeShoutResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for LikeShoutResponse { ··· 59 59 type Response = LikeShoutResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///app.rocksky.like.likeShout 64 64 pub struct LikeShoutRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for LikeShoutRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/like/like_song.rs
··· 41 41 pub value: crate::app_rocksky::song::SongViewDetailed<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///app.rocksky.like.likeSong 46 46 pub struct LikeSongResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for LikeSongResponse { ··· 59 59 type Response = LikeSongResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///app.rocksky.like.likeSong 64 64 pub struct LikeSongRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for LikeSongRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/player/get_currently_playing.rs
··· 40 40 pub value: crate::app_rocksky::player::CurrentlyPlayingViewDetailed<'a>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.player.getCurrentlyPlaying 45 45 pub struct GetCurrentlyPlayingResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetCurrentlyPlayingResponse { ··· 56 56 type Response = GetCurrentlyPlayingResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.player.getCurrentlyPlaying 61 61 pub struct GetCurrentlyPlayingRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetCurrentlyPlayingRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/player/next.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct Next; 20 - ///Response type for 20 + /// Response type for 21 21 ///app.rocksky.player.next 22 22 pub struct NextResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for NextResponse { ··· 35 35 type Response = NextResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///app.rocksky.player.next 40 40 pub struct NextRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for NextRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/player/pause.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct Pause; 20 - ///Response type for 20 + /// Response type for 21 21 ///app.rocksky.player.pause 22 22 pub struct PauseResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for PauseResponse { ··· 35 35 type Response = PauseResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///app.rocksky.player.pause 40 40 pub struct PauseRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for PauseRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/player/play.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct Play; 20 - ///Response type for 20 + /// Response type for 21 21 ///app.rocksky.player.play 22 22 pub struct PlayResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for PlayResponse { ··· 35 35 type Response = PlayResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///app.rocksky.player.play 40 40 pub struct PlayRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for PlayRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/player/previous.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct Previous; 20 - ///Response type for 20 + /// Response type for 21 21 ///app.rocksky.player.previous 22 22 pub struct PreviousResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for PreviousResponse { ··· 35 35 type Response = PreviousResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///app.rocksky.player.previous 40 40 pub struct PreviousRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for PreviousRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/player/seek.rs
··· 33 33 jacquard_derive::IntoStatic 34 34 )] 35 35 pub struct Seek; 36 - ///Response type for 36 + /// Response type for 37 37 ///app.rocksky.player.seek 38 38 pub struct SeekResponse; 39 39 impl jacquard_common::xrpc::XrpcResp for SeekResponse { ··· 51 51 type Response = SeekResponse; 52 52 } 53 53 54 - ///Endpoint type for 54 + /// Endpoint type for 55 55 ///app.rocksky.player.seek 56 56 pub struct SeekRequest; 57 57 impl jacquard_common::xrpc::XrpcEndpoint for SeekRequest {
+1 -1
crates/jacquard-api/src/app_rocksky/playlist.rs
··· 42 42 #[serde(skip_serializing_if = "std::option::Option::is_none")] 43 43 #[builder(into)] 44 44 #[serde(borrow)] 45 - pub picture: Option<jacquard_common::types::blob::Blob<'a>>, 45 + pub picture: Option<jacquard_common::types::blob::BlobRef<'a>>, 46 46 /// The Spotify link of the playlist. 47 47 #[serde(skip_serializing_if = "std::option::Option::is_none")] 48 48 #[builder(into)]
+2 -2
crates/jacquard-api/src/app_rocksky/playlist/get_playlist.rs
··· 39 39 pub value: crate::app_rocksky::playlist::PlaylistViewDetailed<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.rocksky.playlist.getPlaylist 44 44 pub struct GetPlaylistResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetPlaylistResponse { ··· 55 55 type Response = GetPlaylistResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.rocksky.playlist.getPlaylist 60 60 pub struct GetPlaylistRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetPlaylistRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/playlist/get_playlists.rs
··· 44 44 >, 45 45 } 46 46 47 - ///Response type for 47 + /// Response type for 48 48 ///app.rocksky.playlist.getPlaylists 49 49 pub struct GetPlaylistsResponse; 50 50 impl jacquard_common::xrpc::XrpcResp for GetPlaylistsResponse { ··· 60 60 type Response = GetPlaylistsResponse; 61 61 } 62 62 63 - ///Endpoint type for 63 + /// Endpoint type for 64 64 ///app.rocksky.playlist.getPlaylists 65 65 pub struct GetPlaylistsRequest; 66 66 impl jacquard_common::xrpc::XrpcEndpoint for GetPlaylistsRequest {
+1 -1
crates/jacquard-api/src/app_rocksky/radio.rs
··· 35 35 #[serde(skip_serializing_if = "std::option::Option::is_none")] 36 36 #[builder(into)] 37 37 #[serde(borrow)] 38 - pub logo: Option<jacquard_common::types::blob::Blob<'a>>, 38 + pub logo: Option<jacquard_common::types::blob::BlobRef<'a>>, 39 39 /// The name of the radio station. 40 40 #[serde(borrow)] 41 41 #[builder(into)]
+1 -1
crates/jacquard-api/src/app_rocksky/scrobble.rs
··· 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[builder(into)] 33 33 #[serde(borrow)] 34 - pub album_art: Option<jacquard_common::types::blob::Blob<'a>>, 34 + pub album_art: Option<jacquard_common::types::blob::BlobRef<'a>>, 35 35 /// The album artist of the song. 36 36 #[serde(borrow)] 37 37 #[builder(into)]
+2 -2
crates/jacquard-api/src/app_rocksky/scrobble/create_scrobble.rs
··· 118 118 pub value: crate::app_rocksky::scrobble::ScrobbleViewBasic<'a>, 119 119 } 120 120 121 - ///Response type for 121 + /// Response type for 122 122 ///app.rocksky.scrobble.createScrobble 123 123 pub struct CreateScrobbleResponse; 124 124 impl jacquard_common::xrpc::XrpcResp for CreateScrobbleResponse { ··· 136 136 type Response = CreateScrobbleResponse; 137 137 } 138 138 139 - ///Endpoint type for 139 + /// Endpoint type for 140 140 ///app.rocksky.scrobble.createScrobble 141 141 pub struct CreateScrobbleRequest; 142 142 impl jacquard_common::xrpc::XrpcEndpoint for CreateScrobbleRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/scrobble/get_scrobble.rs
··· 39 39 pub value: crate::app_rocksky::scrobble::ScrobbleViewDetailed<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.rocksky.scrobble.getScrobble 44 44 pub struct GetScrobbleResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetScrobbleResponse { ··· 55 55 type Response = GetScrobbleResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.rocksky.scrobble.getScrobble 60 60 pub struct GetScrobbleRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetScrobbleRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/scrobble/get_scrobbles.rs
··· 49 49 >, 50 50 } 51 51 52 - ///Response type for 52 + /// Response type for 53 53 ///app.rocksky.scrobble.getScrobbles 54 54 pub struct GetScrobblesResponse; 55 55 impl jacquard_common::xrpc::XrpcResp for GetScrobblesResponse { ··· 65 65 type Response = GetScrobblesResponse; 66 66 } 67 67 68 - ///Endpoint type for 68 + /// Endpoint type for 69 69 ///app.rocksky.scrobble.getScrobbles 70 70 pub struct GetScrobblesRequest; 71 71 impl jacquard_common::xrpc::XrpcEndpoint for GetScrobblesRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/shout/create_shout.rs
··· 41 41 pub value: crate::app_rocksky::shout::ShoutView<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///app.rocksky.shout.createShout 46 46 pub struct CreateShoutResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for CreateShoutResponse { ··· 59 59 type Response = CreateShoutResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///app.rocksky.shout.createShout 64 64 pub struct CreateShoutRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for CreateShoutRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/shout/get_album_shouts.rs
··· 46 46 pub shouts: std::option::Option<Vec<jacquard_common::types::value::Data<'a>>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.rocksky.shout.getAlbumShouts 51 51 pub struct GetAlbumShoutsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetAlbumShoutsResponse { ··· 62 62 type Response = GetAlbumShoutsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.rocksky.shout.getAlbumShouts 67 67 pub struct GetAlbumShoutsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetAlbumShoutsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/shout/get_artist_shouts.rs
··· 46 46 pub shouts: std::option::Option<Vec<jacquard_common::types::value::Data<'a>>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.rocksky.shout.getArtistShouts 51 51 pub struct GetArtistShoutsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetArtistShoutsResponse { ··· 62 62 type Response = GetArtistShoutsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.rocksky.shout.getArtistShouts 67 67 pub struct GetArtistShoutsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetArtistShoutsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/shout/get_profile_shouts.rs
··· 46 46 pub shouts: std::option::Option<Vec<jacquard_common::types::value::Data<'a>>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.rocksky.shout.getProfileShouts 51 51 pub struct GetProfileShoutsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetProfileShoutsResponse { ··· 62 62 type Response = GetProfileShoutsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.rocksky.shout.getProfileShouts 67 67 pub struct GetProfileShoutsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetProfileShoutsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/shout/get_shout_replies.rs
··· 46 46 pub shouts: std::option::Option<Vec<jacquard_common::types::value::Data<'a>>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///app.rocksky.shout.getShoutReplies 51 51 pub struct GetShoutRepliesResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for GetShoutRepliesResponse { ··· 62 62 type Response = GetShoutRepliesResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.rocksky.shout.getShoutReplies 67 67 pub struct GetShoutRepliesRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for GetShoutRepliesRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/shout/get_track_shouts.rs
··· 40 40 pub shouts: std::option::Option<Vec<jacquard_common::types::value::Data<'a>>>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.shout.getTrackShouts 45 45 pub struct GetTrackShoutsResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetTrackShoutsResponse { ··· 56 56 type Response = GetTrackShoutsResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.shout.getTrackShouts 61 61 pub struct GetTrackShoutsRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetTrackShoutsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/shout/remove_shout.rs
··· 52 52 jacquard_derive::IntoStatic 53 53 )] 54 54 pub struct RemoveShout; 55 - ///Response type for 55 + /// Response type for 56 56 ///app.rocksky.shout.removeShout 57 57 pub struct RemoveShoutResponse; 58 58 impl jacquard_common::xrpc::XrpcResp for RemoveShoutResponse { ··· 70 70 type Response = RemoveShoutResponse; 71 71 } 72 72 73 - ///Endpoint type for 73 + /// Endpoint type for 74 74 ///app.rocksky.shout.removeShout 75 75 pub struct RemoveShoutRequest; 76 76 impl jacquard_common::xrpc::XrpcEndpoint for RemoveShoutRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/shout/reply_shout.rs
··· 43 43 pub value: crate::app_rocksky::shout::ShoutView<'a>, 44 44 } 45 45 46 - ///Response type for 46 + /// Response type for 47 47 ///app.rocksky.shout.replyShout 48 48 pub struct ReplyShoutResponse; 49 49 impl jacquard_common::xrpc::XrpcResp for ReplyShoutResponse { ··· 61 61 type Response = ReplyShoutResponse; 62 62 } 63 63 64 - ///Endpoint type for 64 + /// Endpoint type for 65 65 ///app.rocksky.shout.replyShout 66 66 pub struct ReplyShoutRequest; 67 67 impl jacquard_common::xrpc::XrpcEndpoint for ReplyShoutRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/shout/report_shout.rs
··· 44 44 pub value: crate::app_rocksky::shout::ShoutView<'a>, 45 45 } 46 46 47 - ///Response type for 47 + /// Response type for 48 48 ///app.rocksky.shout.reportShout 49 49 pub struct ReportShoutResponse; 50 50 impl jacquard_common::xrpc::XrpcResp for ReportShoutResponse { ··· 62 62 type Response = ReportShoutResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///app.rocksky.shout.reportShout 67 67 pub struct ReportShoutRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for ReportShoutRequest {
+1 -1
crates/jacquard-api/src/app_rocksky/song.rs
··· 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")] 32 32 #[builder(into)] 33 33 #[serde(borrow)] 34 - pub album_art: Option<jacquard_common::types::blob::Blob<'a>>, 34 + pub album_art: Option<jacquard_common::types::blob::BlobRef<'a>>, 35 35 /// The album artist of the song. 36 36 #[serde(borrow)] 37 37 #[builder(into)]
+2 -2
crates/jacquard-api/src/app_rocksky/song/create_song.rs
··· 77 77 pub value: crate::app_rocksky::song::SongViewDetailed<'a>, 78 78 } 79 79 80 - ///Response type for 80 + /// Response type for 81 81 ///app.rocksky.song.createSong 82 82 pub struct CreateSongResponse; 83 83 impl jacquard_common::xrpc::XrpcResp for CreateSongResponse { ··· 95 95 type Response = CreateSongResponse; 96 96 } 97 97 98 - ///Endpoint type for 98 + /// Endpoint type for 99 99 ///app.rocksky.song.createSong 100 100 pub struct CreateSongRequest; 101 101 impl jacquard_common::xrpc::XrpcEndpoint for CreateSongRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/song/get_song.rs
··· 39 39 pub value: crate::app_rocksky::song::SongViewDetailed<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.rocksky.song.getSong 44 44 pub struct GetSongResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetSongResponse { ··· 55 55 type Response = GetSongResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.rocksky.song.getSong 60 60 pub struct GetSongRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetSongRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/song/get_songs.rs
··· 44 44 pub songs: std::option::Option<Vec<crate::app_rocksky::song::SongViewBasic<'a>>>, 45 45 } 46 46 47 - ///Response type for 47 + /// Response type for 48 48 ///app.rocksky.song.getSongs 49 49 pub struct GetSongsResponse; 50 50 impl jacquard_common::xrpc::XrpcResp for GetSongsResponse { ··· 60 60 type Response = GetSongsResponse; 61 61 } 62 62 63 - ///Endpoint type for 63 + /// Endpoint type for 64 64 ///app.rocksky.song.getSongs 65 65 pub struct GetSongsRequest; 66 66 impl jacquard_common::xrpc::XrpcEndpoint for GetSongsRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/spotify/get_currently_playing.rs
··· 40 40 pub value: crate::app_rocksky::player::CurrentlyPlayingViewDetailed<'a>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///app.rocksky.spotify.getCurrentlyPlaying 45 45 pub struct GetCurrentlyPlayingResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetCurrentlyPlayingResponse { ··· 56 56 type Response = GetCurrentlyPlayingResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///app.rocksky.spotify.getCurrentlyPlaying 61 61 pub struct GetCurrentlyPlayingRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetCurrentlyPlayingRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/spotify/next.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct Next; 20 - ///Response type for 20 + /// Response type for 21 21 ///app.rocksky.spotify.next 22 22 pub struct NextResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for NextResponse { ··· 35 35 type Response = NextResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///app.rocksky.spotify.next 40 40 pub struct NextRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for NextRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/spotify/pause.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct Pause; 20 - ///Response type for 20 + /// Response type for 21 21 ///app.rocksky.spotify.pause 22 22 pub struct PauseResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for PauseResponse { ··· 35 35 type Response = PauseResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///app.rocksky.spotify.pause 40 40 pub struct PauseRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for PauseRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/spotify/play.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct Play; 20 - ///Response type for 20 + /// Response type for 21 21 ///app.rocksky.spotify.play 22 22 pub struct PlayResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for PlayResponse { ··· 35 35 type Response = PlayResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///app.rocksky.spotify.play 40 40 pub struct PlayRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for PlayRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/spotify/previous.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct Previous; 20 - ///Response type for 20 + /// Response type for 21 21 ///app.rocksky.spotify.previous 22 22 pub struct PreviousResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for PreviousResponse { ··· 35 35 type Response = PreviousResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///app.rocksky.spotify.previous 40 40 pub struct PreviousRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for PreviousRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/spotify/seek.rs
··· 33 33 jacquard_derive::IntoStatic 34 34 )] 35 35 pub struct Seek; 36 - ///Response type for 36 + /// Response type for 37 37 ///app.rocksky.spotify.seek 38 38 pub struct SeekResponse; 39 39 impl jacquard_common::xrpc::XrpcResp for SeekResponse { ··· 51 51 type Response = SeekResponse; 52 52 } 53 53 54 - ///Endpoint type for 54 + /// Endpoint type for 55 55 ///app.rocksky.spotify.seek 56 56 pub struct SeekRequest; 57 57 impl jacquard_common::xrpc::XrpcEndpoint for SeekRequest {
+2 -2
crates/jacquard-api/src/app_rocksky/stats/get_stats.rs
··· 39 39 pub value: crate::app_rocksky::stats::StatsView<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///app.rocksky.stats.getStats 44 44 pub struct GetStatsResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetStatsResponse { ··· 55 55 type Response = GetStatsResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///app.rocksky.stats.getStats 60 60 pub struct GetStatsRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetStatsRequest {
+1 -1
crates/jacquard-api/src/blog_pckt/blog.rs
··· 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[builder(into)] 27 27 #[serde(borrow)] 28 - pub icon: Option<jacquard_common::types::blob::Blob<'a>>, 28 + pub icon: Option<jacquard_common::types::blob::BlobRef<'a>>, 29 29 #[serde(borrow)] 30 30 #[builder(into)] 31 31 pub name: jacquard_common::CowStr<'a>,
+2 -2
crates/jacquard-api/src/blog_pckt/post.rs
··· 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[builder(into)] 31 31 #[serde(borrow)] 32 - pub cover: Option<jacquard_common::types::blob::Blob<'a>>, 32 + pub cover: Option<jacquard_common::types::blob::BlobRef<'a>>, 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 34 #[builder(into)] 35 35 #[serde(borrow)] 36 - pub images: Option<Vec<jacquard_common::types::blob::Blob<'a>>>, 36 + pub images: Option<Vec<jacquard_common::types::blob::BlobRef<'a>>>, 37 37 #[serde(skip_serializing_if = "std::option::Option::is_none")] 38 38 #[builder(into)] 39 39 pub published_at: Option<jacquard_common::types::string::Datetime>,
+1 -1
crates/jacquard-api/src/blog_pckt/publication.rs
··· 40 40 #[serde(skip_serializing_if = "std::option::Option::is_none")] 41 41 #[builder(into)] 42 42 #[serde(borrow)] 43 - pub icon: Option<jacquard_common::types::blob::Blob<'a>>, 43 + pub icon: Option<jacquard_common::types::blob::BlobRef<'a>>, 44 44 /// Publication name/title 45 45 #[serde(borrow)] 46 46 #[builder(into)]
+1 -1
crates/jacquard-api/src/buzz_bookhive/book.rs
··· 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[builder(into)] 29 29 #[serde(borrow)] 30 - pub cover: Option<jacquard_common::types::blob::Blob<'a>>, 30 + pub cover: Option<jacquard_common::types::blob::BlobRef<'a>>, 31 31 pub created_at: jacquard_common::types::string::Datetime, 32 32 /// The date the user finished reading the book 33 33 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+3 -3
crates/jacquard-api/src/buzz_bookhive/get_book.rs
··· 44 44 /// Cover image of the book 45 45 #[serde(skip_serializing_if = "std::option::Option::is_none")] 46 46 #[serde(borrow)] 47 - pub cover: std::option::Option<jacquard_common::types::blob::Blob<'a>>, 47 + pub cover: std::option::Option<jacquard_common::types::blob::BlobRef<'a>>, 48 48 #[serde(skip_serializing_if = "std::option::Option::is_none")] 49 49 pub created_at: std::option::Option<jacquard_common::types::string::Datetime>, 50 50 /// The date the user finished reading the book ··· 68 68 pub status: std::option::Option<jacquard_common::CowStr<'a>>, 69 69 } 70 70 71 - ///Response type for 71 + /// Response type for 72 72 ///buzz.bookhive.getBook 73 73 pub struct GetBookResponse; 74 74 impl jacquard_common::xrpc::XrpcResp for GetBookResponse { ··· 84 84 type Response = GetBookResponse; 85 85 } 86 86 87 - ///Endpoint type for 87 + /// Endpoint type for 88 88 ///buzz.bookhive.getBook 89 89 pub struct GetBookRequest; 90 90 impl jacquard_common::xrpc::XrpcEndpoint for GetBookRequest {
+2 -2
crates/jacquard-api/src/buzz_bookhive/get_profile.rs
··· 51 51 pub profile: crate::buzz_bookhive::Profile<'a>, 52 52 } 53 53 54 - ///Response type for 54 + /// Response type for 55 55 ///buzz.bookhive.getProfile 56 56 pub struct GetProfileResponse; 57 57 impl jacquard_common::xrpc::XrpcResp for GetProfileResponse { ··· 67 67 type Response = GetProfileResponse; 68 68 } 69 69 70 - ///Endpoint type for 70 + /// Endpoint type for 71 71 ///buzz.bookhive.getProfile 72 72 pub struct GetProfileRequest; 73 73 impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
+2 -2
crates/jacquard-api/src/buzz_bookhive/search_books.rs
··· 51 51 pub offset: std::option::Option<i64>, 52 52 } 53 53 54 - ///Response type for 54 + /// Response type for 55 55 ///buzz.bookhive.searchBooks 56 56 pub struct SearchBooksResponse; 57 57 impl jacquard_common::xrpc::XrpcResp for SearchBooksResponse { ··· 67 67 type Response = SearchBooksResponse; 68 68 } 69 69 70 - ///Endpoint type for 70 + /// Endpoint type for 71 71 ///buzz.bookhive.searchBooks 72 72 pub struct SearchBooksRequest; 73 73 impl jacquard_common::xrpc::XrpcEndpoint for SearchBooksRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/actor/delete_account.rs
··· 30 30 jacquard_derive::IntoStatic 31 31 )] 32 32 pub struct DeleteAccount; 33 - ///Response type for 33 + /// Response type for 34 34 ///chat.bsky.actor.deleteAccount 35 35 pub struct DeleteAccountResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for DeleteAccountResponse { ··· 48 48 type Response = DeleteAccountResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///chat.bsky.actor.deleteAccount 53 53 pub struct DeleteAccountRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for DeleteAccountRequest {
+22 -5
crates/jacquard-api/src/chat_bsky/actor/export_account_data.rs
··· 5 5 // This file was automatically generated from Lexicon schemas. 6 6 // Any manual changes will be overwritten on the next regeneration. 7 7 8 - #[jacquard_derive::lexicon] 9 8 #[derive( 10 9 serde::Serialize, 11 10 serde::Deserialize, ··· 16 15 jacquard_derive::IntoStatic 17 16 )] 18 17 #[serde(rename_all = "camelCase")] 19 - pub struct ExportAccountDataOutput<'a> {} 18 + pub struct ExportAccountDataOutput { 19 + pub body: bytes::Bytes, 20 + } 21 + 20 22 /// XRPC request marker type 21 23 #[derive( 22 24 Debug, ··· 29 31 jacquard_derive::IntoStatic 30 32 )] 31 33 pub struct ExportAccountData; 32 - ///Response type for 34 + /// Response type for 33 35 ///chat.bsky.actor.exportAccountData 34 36 pub struct ExportAccountDataResponse; 35 37 impl jacquard_common::xrpc::XrpcResp for ExportAccountDataResponse { 36 38 const NSID: &'static str = "chat.bsky.actor.exportAccountData"; 37 39 const ENCODING: &'static str = "application/jsonl"; 38 - type Output<'de> = ExportAccountDataOutput<'de>; 40 + type Output<'de> = ExportAccountDataOutput; 39 41 type Err<'de> = jacquard_common::xrpc::GenericError<'de>; 42 + fn encode_output( 43 + output: &Self::Output<'_>, 44 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 45 + Ok(output.body.to_vec()) 46 + } 47 + fn decode_output<'de>( 48 + body: &'de [u8], 49 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 50 + where 51 + Self::Output<'de>: serde::Deserialize<'de>, 52 + { 53 + Ok(ExportAccountDataOutput { 54 + body: bytes::Bytes::copy_from_slice(body), 55 + }) 56 + } 40 57 } 41 58 42 59 impl jacquard_common::xrpc::XrpcRequest for ExportAccountData { ··· 45 62 type Response = ExportAccountDataResponse; 46 63 } 47 64 48 - ///Endpoint type for 65 + /// Endpoint type for 49 66 ///chat.bsky.actor.exportAccountData 50 67 pub struct ExportAccountDataRequest; 51 68 impl jacquard_common::xrpc::XrpcEndpoint for ExportAccountDataRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/accept_convo.rs
··· 41 41 pub rev: std::option::Option<jacquard_common::CowStr<'a>>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///chat.bsky.convo.acceptConvo 46 46 pub struct AcceptConvoResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for AcceptConvoResponse { ··· 59 59 type Response = AcceptConvoResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///chat.bsky.convo.acceptConvo 64 64 pub struct AcceptConvoRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for AcceptConvoRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs
··· 97 97 } 98 98 } 99 99 100 - ///Response type for 100 + /// Response type for 101 101 ///chat.bsky.convo.addReaction 102 102 pub struct AddReactionResponse; 103 103 impl jacquard_common::xrpc::XrpcResp for AddReactionResponse { ··· 115 115 type Response = AddReactionResponse; 116 116 } 117 117 118 - ///Endpoint type for 118 + /// Endpoint type for 119 119 ///chat.bsky.convo.addReaction 120 120 pub struct AddReactionRequest; 121 121 impl jacquard_common::xrpc::XrpcEndpoint for AddReactionRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/delete_message_for_self.rs
··· 41 41 pub value: crate::chat_bsky::convo::DeletedMessageView<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///chat.bsky.convo.deleteMessageForSelf 46 46 pub struct DeleteMessageForSelfResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for DeleteMessageForSelfResponse { ··· 59 59 type Response = DeleteMessageForSelfResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///chat.bsky.convo.deleteMessageForSelf 64 64 pub struct DeleteMessageForSelfRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for DeleteMessageForSelfRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/get_convo.rs
··· 39 39 pub convo: crate::chat_bsky::convo::ConvoView<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///chat.bsky.convo.getConvo 44 44 pub struct GetConvoResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetConvoResponse { ··· 55 55 type Response = GetConvoResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///chat.bsky.convo.getConvo 60 60 pub struct GetConvoRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetConvoRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/get_convo_availability.rs
··· 40 40 pub convo: std::option::Option<crate::chat_bsky::convo::ConvoView<'a>>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///chat.bsky.convo.getConvoAvailability 45 45 pub struct GetConvoAvailabilityResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetConvoAvailabilityResponse { ··· 56 56 type Response = GetConvoAvailabilityResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///chat.bsky.convo.getConvoAvailability 61 61 pub struct GetConvoAvailabilityRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetConvoAvailabilityRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/get_convo_for_members.rs
··· 38 38 pub convo: crate::chat_bsky::convo::ConvoView<'a>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///chat.bsky.convo.getConvoForMembers 43 43 pub struct GetConvoForMembersResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetConvoForMembersResponse { ··· 54 54 type Response = GetConvoForMembersResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///chat.bsky.convo.getConvoForMembers 59 59 pub struct GetConvoForMembersRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetConvoForMembersRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/get_log.rs
··· 78 78 LogRemoveReaction(Box<crate::chat_bsky::convo::LogRemoveReaction<'a>>), 79 79 } 80 80 81 - ///Response type for 81 + /// Response type for 82 82 ///chat.bsky.convo.getLog 83 83 pub struct GetLogResponse; 84 84 impl jacquard_common::xrpc::XrpcResp for GetLogResponse { ··· 94 94 type Response = GetLogResponse; 95 95 } 96 96 97 - ///Endpoint type for 97 + /// Endpoint type for 98 98 ///chat.bsky.convo.getLog 99 99 pub struct GetLogRequest; 100 100 impl jacquard_common::xrpc::XrpcEndpoint for GetLogRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/get_messages.rs
··· 68 68 DeletedMessageView(Box<crate::chat_bsky::convo::DeletedMessageView<'a>>), 69 69 } 70 70 71 - ///Response type for 71 + /// Response type for 72 72 ///chat.bsky.convo.getMessages 73 73 pub struct GetMessagesResponse; 74 74 impl jacquard_common::xrpc::XrpcResp for GetMessagesResponse { ··· 84 84 type Response = GetMessagesResponse; 85 85 } 86 86 87 - ///Endpoint type for 87 + /// Endpoint type for 88 88 ///chat.bsky.convo.getMessages 89 89 pub struct GetMessagesRequest; 90 90 impl jacquard_common::xrpc::XrpcEndpoint for GetMessagesRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/leave_convo.rs
··· 41 41 pub rev: jacquard_common::CowStr<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///chat.bsky.convo.leaveConvo 46 46 pub struct LeaveConvoResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for LeaveConvoResponse { ··· 59 59 type Response = LeaveConvoResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///chat.bsky.convo.leaveConvo 64 64 pub struct LeaveConvoRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for LeaveConvoRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/list_convos.rs
··· 54 54 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 55 55 } 56 56 57 - ///Response type for 57 + /// Response type for 58 58 ///chat.bsky.convo.listConvos 59 59 pub struct ListConvosResponse; 60 60 impl jacquard_common::xrpc::XrpcResp for ListConvosResponse { ··· 70 70 type Response = ListConvosResponse; 71 71 } 72 72 73 - ///Endpoint type for 73 + /// Endpoint type for 74 74 ///chat.bsky.convo.listConvos 75 75 pub struct ListConvosRequest; 76 76 impl jacquard_common::xrpc::XrpcEndpoint for ListConvosRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/mute_convo.rs
··· 38 38 pub convo: crate::chat_bsky::convo::ConvoView<'a>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///chat.bsky.convo.muteConvo 43 43 pub struct MuteConvoResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for MuteConvoResponse { ··· 56 56 type Response = MuteConvoResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///chat.bsky.convo.muteConvo 61 61 pub struct MuteConvoRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for MuteConvoRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs
··· 87 87 } 88 88 } 89 89 90 - ///Response type for 90 + /// Response type for 91 91 ///chat.bsky.convo.removeReaction 92 92 pub struct RemoveReactionResponse; 93 93 impl jacquard_common::xrpc::XrpcResp for RemoveReactionResponse { ··· 105 105 type Response = RemoveReactionResponse; 106 106 } 107 107 108 - ///Endpoint type for 108 + /// Endpoint type for 109 109 ///chat.bsky.convo.removeReaction 110 110 pub struct RemoveReactionRequest; 111 111 impl jacquard_common::xrpc::XrpcEndpoint for RemoveReactionRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/send_message.rs
··· 50 50 pub value: crate::chat_bsky::convo::MessageView<'a>, 51 51 } 52 52 53 - ///Response type for 53 + /// Response type for 54 54 ///chat.bsky.convo.sendMessage 55 55 pub struct SendMessageResponse; 56 56 impl jacquard_common::xrpc::XrpcResp for SendMessageResponse { ··· 68 68 type Response = SendMessageResponse; 69 69 } 70 70 71 - ///Endpoint type for 71 + /// Endpoint type for 72 72 ///chat.bsky.convo.sendMessage 73 73 pub struct SendMessageRequest; 74 74 impl jacquard_common::xrpc::XrpcEndpoint for SendMessageRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs
··· 66 66 pub items: Vec<crate::chat_bsky::convo::MessageView<'a>>, 67 67 } 68 68 69 - ///Response type for 69 + /// Response type for 70 70 ///chat.bsky.convo.sendMessageBatch 71 71 pub struct SendMessageBatchResponse; 72 72 impl jacquard_common::xrpc::XrpcResp for SendMessageBatchResponse { ··· 84 84 type Response = SendMessageBatchResponse; 85 85 } 86 86 87 - ///Endpoint type for 87 + /// Endpoint type for 88 88 ///chat.bsky.convo.sendMessageBatch 89 89 pub struct SendMessageBatchRequest; 90 90 impl jacquard_common::xrpc::XrpcEndpoint for SendMessageBatchRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/unmute_convo.rs
··· 38 38 pub convo: crate::chat_bsky::convo::ConvoView<'a>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///chat.bsky.convo.unmuteConvo 43 43 pub struct UnmuteConvoResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for UnmuteConvoResponse { ··· 56 56 type Response = UnmuteConvoResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///chat.bsky.convo.unmuteConvo 61 61 pub struct UnmuteConvoRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for UnmuteConvoRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs
··· 39 39 pub updated_count: i64, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///chat.bsky.convo.updateAllRead 44 44 pub struct UpdateAllReadResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for UpdateAllReadResponse { ··· 57 57 type Response = UpdateAllReadResponse; 58 58 } 59 59 60 - ///Endpoint type for 60 + /// Endpoint type for 61 61 ///chat.bsky.convo.updateAllRead 62 62 pub struct UpdateAllReadRequest; 63 63 impl jacquard_common::xrpc::XrpcEndpoint for UpdateAllReadRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/convo/update_read.rs
··· 41 41 pub convo: crate::chat_bsky::convo::ConvoView<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///chat.bsky.convo.updateRead 46 46 pub struct UpdateReadResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for UpdateReadResponse { ··· 59 59 type Response = UpdateReadResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///chat.bsky.convo.updateRead 64 64 pub struct UpdateReadRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for UpdateReadRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs
··· 42 42 pub month: jacquard_common::types::value::Data<'a>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///chat.bsky.moderation.getActorMetadata 47 47 pub struct GetActorMetadataResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for GetActorMetadataResponse { ··· 58 58 type Response = GetActorMetadataResponse; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///chat.bsky.moderation.getActorMetadata 63 63 pub struct GetActorMetadataRequest; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for GetActorMetadataRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/moderation/get_message_context.rs
··· 68 68 DeletedMessageView(Box<crate::chat_bsky::convo::DeletedMessageView<'a>>), 69 69 } 70 70 71 - ///Response type for 71 + /// Response type for 72 72 ///chat.bsky.moderation.getMessageContext 73 73 pub struct GetMessageContextResponse; 74 74 impl jacquard_common::xrpc::XrpcResp for GetMessageContextResponse { ··· 84 84 type Response = GetMessageContextResponse; 85 85 } 86 86 87 - ///Endpoint type for 87 + /// Endpoint type for 88 88 ///chat.bsky.moderation.getMessageContext 89 89 pub struct GetMessageContextRequest; 90 90 impl jacquard_common::xrpc::XrpcEndpoint for GetMessageContextRequest {
+2 -2
crates/jacquard-api/src/chat_bsky/moderation/update_actor_access.rs
··· 35 35 >, 36 36 } 37 37 38 - ///Response type for 38 + /// Response type for 39 39 ///chat.bsky.moderation.updateActorAccess 40 40 pub struct UpdateActorAccessResponse; 41 41 impl jacquard_common::xrpc::XrpcResp for UpdateActorAccessResponse { ··· 53 53 type Response = UpdateActorAccessResponse; 54 54 } 55 55 56 - ///Endpoint type for 56 + /// Endpoint type for 57 57 ///chat.bsky.moderation.updateActorAccess 58 58 pub struct UpdateActorAccessRequest; 59 59 impl jacquard_common::xrpc::XrpcEndpoint for UpdateActorAccessRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/delete_account.rs
··· 30 30 >, 31 31 } 32 32 33 - ///Response type for 33 + /// Response type for 34 34 ///com.atproto.admin.deleteAccount 35 35 pub struct DeleteAccountResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for DeleteAccountResponse { ··· 48 48 type Response = DeleteAccountResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///com.atproto.admin.deleteAccount 53 53 pub struct DeleteAccountRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for DeleteAccountRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/disable_account_invites.rs
··· 35 35 >, 36 36 } 37 37 38 - ///Response type for 38 + /// Response type for 39 39 ///com.atproto.admin.disableAccountInvites 40 40 pub struct DisableAccountInvitesResponse; 41 41 impl jacquard_common::xrpc::XrpcResp for DisableAccountInvitesResponse { ··· 53 53 type Response = DisableAccountInvitesResponse; 54 54 } 55 55 56 - ///Endpoint type for 56 + /// Endpoint type for 57 57 ///com.atproto.admin.disableAccountInvites 58 58 pub struct DisableAccountInvitesRequest; 59 59 impl jacquard_common::xrpc::XrpcEndpoint for DisableAccountInvitesRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/disable_invite_codes.rs
··· 26 26 pub codes: std::option::Option<Vec<jacquard_common::CowStr<'a>>>, 27 27 } 28 28 29 - ///Response type for 29 + /// Response type for 30 30 ///com.atproto.admin.disableInviteCodes 31 31 pub struct DisableInviteCodesResponse; 32 32 impl jacquard_common::xrpc::XrpcResp for DisableInviteCodesResponse { ··· 44 44 type Response = DisableInviteCodesResponse; 45 45 } 46 46 47 - ///Endpoint type for 47 + /// Endpoint type for 48 48 ///com.atproto.admin.disableInviteCodes 49 49 pub struct DisableInviteCodesRequest; 50 50 impl jacquard_common::xrpc::XrpcEndpoint for DisableInviteCodesRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/enable_account_invites.rs
··· 35 35 >, 36 36 } 37 37 38 - ///Response type for 38 + /// Response type for 39 39 ///com.atproto.admin.enableAccountInvites 40 40 pub struct EnableAccountInvitesResponse; 41 41 impl jacquard_common::xrpc::XrpcResp for EnableAccountInvitesResponse { ··· 53 53 type Response = EnableAccountInvitesResponse; 54 54 } 55 55 56 - ///Endpoint type for 56 + /// Endpoint type for 57 57 ///com.atproto.admin.enableAccountInvites 58 58 pub struct EnableAccountInvitesRequest; 59 59 impl jacquard_common::xrpc::XrpcEndpoint for EnableAccountInvitesRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/get_account_info.rs
··· 39 39 pub value: crate::com_atproto::admin::AccountView<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///com.atproto.admin.getAccountInfo 44 44 pub struct GetAccountInfoResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetAccountInfoResponse { ··· 55 55 type Response = GetAccountInfoResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///com.atproto.admin.getAccountInfo 60 60 pub struct GetAccountInfoRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetAccountInfoRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/get_account_infos.rs
··· 38 38 pub infos: Vec<crate::com_atproto::admin::AccountView<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///com.atproto.admin.getAccountInfos 43 43 pub struct GetAccountInfosResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetAccountInfosResponse { ··· 54 54 type Response = GetAccountInfosResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///com.atproto.admin.getAccountInfos 59 59 pub struct GetAccountInfosRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetAccountInfosRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/get_invite_codes.rs
··· 51 51 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 52 52 } 53 53 54 - ///Response type for 54 + /// Response type for 55 55 ///com.atproto.admin.getInviteCodes 56 56 pub struct GetInviteCodesResponse; 57 57 impl jacquard_common::xrpc::XrpcResp for GetInviteCodesResponse { ··· 67 67 type Response = GetInviteCodesResponse; 68 68 } 69 69 70 - ///Endpoint type for 70 + /// Endpoint type for 71 71 ///com.atproto.admin.getInviteCodes 72 72 pub struct GetInviteCodesRequest; 73 73 impl jacquard_common::xrpc::XrpcEndpoint for GetInviteCodesRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/get_subject_status.rs
··· 72 72 RepoBlobRef(Box<crate::com_atproto::admin::RepoBlobRef<'a>>), 73 73 } 74 74 75 - ///Response type for 75 + /// Response type for 76 76 ///com.atproto.admin.getSubjectStatus 77 77 pub struct GetSubjectStatusResponse; 78 78 impl jacquard_common::xrpc::XrpcResp for GetSubjectStatusResponse { ··· 88 88 type Response = GetSubjectStatusResponse; 89 89 } 90 90 91 - ///Endpoint type for 91 + /// Endpoint type for 92 92 ///com.atproto.admin.getSubjectStatus 93 93 pub struct GetSubjectStatusRequest; 94 94 impl jacquard_common::xrpc::XrpcEndpoint for GetSubjectStatusRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/search_accounts.rs
··· 50 50 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 51 51 } 52 52 53 - ///Response type for 53 + /// Response type for 54 54 ///com.atproto.admin.searchAccounts 55 55 pub struct SearchAccountsResponse; 56 56 impl jacquard_common::xrpc::XrpcResp for SearchAccountsResponse { ··· 66 66 type Response = SearchAccountsResponse; 67 67 } 68 68 69 - ///Endpoint type for 69 + /// Endpoint type for 70 70 ///com.atproto.admin.searchAccounts 71 71 pub struct SearchAccountsRequest; 72 72 impl jacquard_common::xrpc::XrpcEndpoint for SearchAccountsRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/send_email.rs
··· 59 59 pub sent: bool, 60 60 } 61 61 62 - ///Response type for 62 + /// Response type for 63 63 ///com.atproto.admin.sendEmail 64 64 pub struct SendEmailResponse; 65 65 impl jacquard_common::xrpc::XrpcResp for SendEmailResponse { ··· 77 77 type Response = SendEmailResponse; 78 78 } 79 79 80 - ///Endpoint type for 80 + /// Endpoint type for 81 81 ///com.atproto.admin.sendEmail 82 82 pub struct SendEmailRequest; 83 83 impl jacquard_common::xrpc::XrpcEndpoint for SendEmailRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/update_account_email.rs
··· 34 34 >, 35 35 } 36 36 37 - ///Response type for 37 + /// Response type for 38 38 ///com.atproto.admin.updateAccountEmail 39 39 pub struct UpdateAccountEmailResponse; 40 40 impl jacquard_common::xrpc::XrpcResp for UpdateAccountEmailResponse { ··· 52 52 type Response = UpdateAccountEmailResponse; 53 53 } 54 54 55 - ///Endpoint type for 55 + /// Endpoint type for 56 56 ///com.atproto.admin.updateAccountEmail 57 57 pub struct UpdateAccountEmailRequest; 58 58 impl jacquard_common::xrpc::XrpcEndpoint for UpdateAccountEmailRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/update_account_handle.rs
··· 32 32 >, 33 33 } 34 34 35 - ///Response type for 35 + /// Response type for 36 36 ///com.atproto.admin.updateAccountHandle 37 37 pub struct UpdateAccountHandleResponse; 38 38 impl jacquard_common::xrpc::XrpcResp for UpdateAccountHandleResponse { ··· 50 50 type Response = UpdateAccountHandleResponse; 51 51 } 52 52 53 - ///Endpoint type for 53 + /// Endpoint type for 54 54 ///com.atproto.admin.updateAccountHandle 55 55 pub struct UpdateAccountHandleRequest; 56 56 impl jacquard_common::xrpc::XrpcEndpoint for UpdateAccountHandleRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/update_account_password.rs
··· 33 33 >, 34 34 } 35 35 36 - ///Response type for 36 + /// Response type for 37 37 ///com.atproto.admin.updateAccountPassword 38 38 pub struct UpdateAccountPasswordResponse; 39 39 impl jacquard_common::xrpc::XrpcResp for UpdateAccountPasswordResponse { ··· 51 51 type Response = UpdateAccountPasswordResponse; 52 52 } 53 53 54 - ///Endpoint type for 54 + /// Endpoint type for 55 55 ///com.atproto.admin.updateAccountPassword 56 56 pub struct UpdateAccountPasswordRequest; 57 57 impl jacquard_common::xrpc::XrpcEndpoint for UpdateAccountPasswordRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/update_account_signing_key.rs
··· 33 33 >, 34 34 } 35 35 36 - ///Response type for 36 + /// Response type for 37 37 ///com.atproto.admin.updateAccountSigningKey 38 38 pub struct UpdateAccountSigningKeyResponse; 39 39 impl jacquard_common::xrpc::XrpcResp for UpdateAccountSigningKeyResponse { ··· 51 51 type Response = UpdateAccountSigningKeyResponse; 52 52 } 53 53 54 - ///Endpoint type for 54 + /// Endpoint type for 55 55 ///com.atproto.admin.updateAccountSigningKey 56 56 pub struct UpdateAccountSigningKeyRequest; 57 57 impl jacquard_common::xrpc::XrpcEndpoint for UpdateAccountSigningKeyRequest {
+2 -2
crates/jacquard-api/src/com_atproto/admin/update_subject_status.rs
··· 99 99 RepoBlobRef(Box<crate::com_atproto::admin::RepoBlobRef<'a>>), 100 100 } 101 101 102 - ///Response type for 102 + /// Response type for 103 103 ///com.atproto.admin.updateSubjectStatus 104 104 pub struct UpdateSubjectStatusResponse; 105 105 impl jacquard_common::xrpc::XrpcResp for UpdateSubjectStatusResponse { ··· 117 117 type Response = UpdateSubjectStatusResponse; 118 118 } 119 119 120 - ///Endpoint type for 120 + /// Endpoint type for 121 121 ///com.atproto.admin.updateSubjectStatus 122 122 pub struct UpdateSubjectStatusRequest; 123 123 impl jacquard_common::xrpc::XrpcEndpoint for UpdateSubjectStatusRequest {
+2 -2
crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs
··· 102 102 } 103 103 } 104 104 105 - ///Response type for 105 + /// Response type for 106 106 ///com.atproto.identity.refreshIdentity 107 107 pub struct RefreshIdentityResponse; 108 108 impl jacquard_common::xrpc::XrpcResp for RefreshIdentityResponse { ··· 120 120 type Response = RefreshIdentityResponse; 121 121 } 122 122 123 - ///Endpoint type for 123 + /// Endpoint type for 124 124 ///com.atproto.identity.refreshIdentity 125 125 pub struct RefreshIdentityRequest; 126 126 impl jacquard_common::xrpc::XrpcEndpoint for RefreshIdentityRequest {
+2 -2
crates/jacquard-api/src/com_atproto/identity/request_plc_operation_signature.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct RequestPlcOperationSignature; 20 - ///Response type for 20 + /// Response type for 21 21 ///com.atproto.identity.requestPlcOperationSignature 22 22 pub struct RequestPlcOperationSignatureResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for RequestPlcOperationSignatureResponse { ··· 35 35 type Response = RequestPlcOperationSignatureResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///com.atproto.identity.requestPlcOperationSignature 40 40 pub struct RequestPlcOperationSignatureRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for RequestPlcOperationSignatureRequest {
+2 -2
crates/jacquard-api/src/com_atproto/identity/resolve_did.rs
··· 84 84 } 85 85 } 86 86 87 - ///Response type for 87 + /// Response type for 88 88 ///com.atproto.identity.resolveDid 89 89 pub struct ResolveDidResponse; 90 90 impl jacquard_common::xrpc::XrpcResp for ResolveDidResponse { ··· 100 100 type Response = ResolveDidResponse; 101 101 } 102 102 103 - ///Endpoint type for 103 + /// Endpoint type for 104 104 ///com.atproto.identity.resolveDid 105 105 pub struct ResolveDidRequest; 106 106 impl jacquard_common::xrpc::XrpcEndpoint for ResolveDidRequest {
+2 -2
crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs
··· 73 73 } 74 74 } 75 75 76 - ///Response type for 76 + /// Response type for 77 77 ///com.atproto.identity.resolveHandle 78 78 pub struct ResolveHandleResponse; 79 79 impl jacquard_common::xrpc::XrpcResp for ResolveHandleResponse { ··· 89 89 type Response = ResolveHandleResponse; 90 90 } 91 91 92 - ///Endpoint type for 92 + /// Endpoint type for 93 93 ///com.atproto.identity.resolveHandle 94 94 pub struct ResolveHandleRequest; 95 95 impl jacquard_common::xrpc::XrpcEndpoint for ResolveHandleRequest {
+2 -2
crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs
··· 94 94 } 95 95 } 96 96 97 - ///Response type for 97 + /// Response type for 98 98 ///com.atproto.identity.resolveIdentity 99 99 pub struct ResolveIdentityResponse; 100 100 impl jacquard_common::xrpc::XrpcResp for ResolveIdentityResponse { ··· 110 110 type Response = ResolveIdentityResponse; 111 111 } 112 112 113 - ///Endpoint type for 113 + /// Endpoint type for 114 114 ///com.atproto.identity.resolveIdentity 115 115 pub struct ResolveIdentityRequest; 116 116 impl jacquard_common::xrpc::XrpcEndpoint for ResolveIdentityRequest {
+2 -2
crates/jacquard-api/src/com_atproto/identity/sign_plc_operation.rs
··· 55 55 pub operation: jacquard_common::types::value::Data<'a>, 56 56 } 57 57 58 - ///Response type for 58 + /// Response type for 59 59 ///com.atproto.identity.signPlcOperation 60 60 pub struct SignPlcOperationResponse; 61 61 impl jacquard_common::xrpc::XrpcResp for SignPlcOperationResponse { ··· 73 73 type Response = SignPlcOperationResponse; 74 74 } 75 75 76 - ///Endpoint type for 76 + /// Endpoint type for 77 77 ///com.atproto.identity.signPlcOperation 78 78 pub struct SignPlcOperationRequest; 79 79 impl jacquard_common::xrpc::XrpcEndpoint for SignPlcOperationRequest {
+2 -2
crates/jacquard-api/src/com_atproto/identity/submit_plc_operation.rs
··· 30 30 >, 31 31 } 32 32 33 - ///Response type for 33 + /// Response type for 34 34 ///com.atproto.identity.submitPlcOperation 35 35 pub struct SubmitPlcOperationResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for SubmitPlcOperationResponse { ··· 48 48 type Response = SubmitPlcOperationResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///com.atproto.identity.submitPlcOperation 53 53 pub struct SubmitPlcOperationRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for SubmitPlcOperationRequest {
+2 -2
crates/jacquard-api/src/com_atproto/identity/update_handle.rs
··· 31 31 >, 32 32 } 33 33 34 - ///Response type for 34 + /// Response type for 35 35 ///com.atproto.identity.updateHandle 36 36 pub struct UpdateHandleResponse; 37 37 impl jacquard_common::xrpc::XrpcResp for UpdateHandleResponse { ··· 49 49 type Response = UpdateHandleResponse; 50 50 } 51 51 52 - ///Endpoint type for 52 + /// Endpoint type for 53 53 ///com.atproto.identity.updateHandle 54 54 pub struct UpdateHandleRequest; 55 55 impl jacquard_common::xrpc::XrpcEndpoint for UpdateHandleRequest {
+2 -2
crates/jacquard-api/src/com_atproto/label/query_labels.rs
··· 51 51 pub labels: Vec<crate::com_atproto::label::Label<'a>>, 52 52 } 53 53 54 - ///Response type for 54 + /// Response type for 55 55 ///com.atproto.label.queryLabels 56 56 pub struct QueryLabelsResponse; 57 57 impl jacquard_common::xrpc::XrpcResp for QueryLabelsResponse { ··· 67 67 type Response = QueryLabelsResponse; 68 68 } 69 69 70 - ///Endpoint type for 70 + /// Endpoint type for 71 71 ///com.atproto.label.queryLabels 72 72 pub struct QueryLabelsRequest; 73 73 impl jacquard_common::xrpc::XrpcEndpoint for QueryLabelsRequest {
+2 -2
crates/jacquard-api/src/com_atproto/moderation/create_report.rs
··· 105 105 StrongRef(Box<crate::com_atproto::repo::strong_ref::StrongRef<'a>>), 106 106 } 107 107 108 - ///Response type for 108 + /// Response type for 109 109 ///com.atproto.moderation.createReport 110 110 pub struct CreateReportResponse; 111 111 impl jacquard_common::xrpc::XrpcResp for CreateReportResponse { ··· 123 123 type Response = CreateReportResponse; 124 124 } 125 125 126 - ///Endpoint type for 126 + /// Endpoint type for 127 127 ///com.atproto.moderation.createReport 128 128 pub struct CreateReportRequest; 129 129 impl jacquard_common::xrpc::XrpcEndpoint for CreateReportRequest {
+2 -2
crates/jacquard-api/src/com_atproto/repo/apply_writes.rs
··· 225 225 } 226 226 } 227 227 228 - ///Response type for 228 + /// Response type for 229 229 ///com.atproto.repo.applyWrites 230 230 pub struct ApplyWritesResponse; 231 231 impl jacquard_common::xrpc::XrpcResp for ApplyWritesResponse { ··· 243 243 type Response = ApplyWritesResponse; 244 244 } 245 245 246 - ///Endpoint type for 246 + /// Endpoint type for 247 247 ///com.atproto.repo.applyWrites 248 248 pub struct ApplyWritesRequest; 249 249 impl jacquard_common::xrpc::XrpcEndpoint for ApplyWritesRequest {
+2 -2
crates/jacquard-api/src/com_atproto/repo/create_record.rs
··· 114 114 } 115 115 } 116 116 117 - ///Response type for 117 + /// Response type for 118 118 ///com.atproto.repo.createRecord 119 119 pub struct CreateRecordResponse; 120 120 impl jacquard_common::xrpc::XrpcResp for CreateRecordResponse { ··· 132 132 type Response = CreateRecordResponse; 133 133 } 134 134 135 - ///Endpoint type for 135 + /// Endpoint type for 136 136 ///com.atproto.repo.createRecord 137 137 pub struct CreateRecordRequest; 138 138 impl jacquard_common::xrpc::XrpcEndpoint for CreateRecordRequest {
+2 -2
crates/jacquard-api/src/com_atproto/repo/delete_record.rs
··· 101 101 } 102 102 } 103 103 104 - ///Response type for 104 + /// Response type for 105 105 ///com.atproto.repo.deleteRecord 106 106 pub struct DeleteRecordResponse; 107 107 impl jacquard_common::xrpc::XrpcResp for DeleteRecordResponse { ··· 119 119 type Response = DeleteRecordResponse; 120 120 } 121 121 122 - ///Endpoint type for 122 + /// Endpoint type for 123 123 ///com.atproto.repo.deleteRecord 124 124 pub struct DeleteRecordRequest; 125 125 impl jacquard_common::xrpc::XrpcEndpoint for DeleteRecordRequest {
+2 -2
crates/jacquard-api/src/com_atproto/repo/describe_repo.rs
··· 48 48 pub handle_is_correct: bool, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///com.atproto.repo.describeRepo 53 53 pub struct DescribeRepoResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for DescribeRepoResponse { ··· 64 64 type Response = DescribeRepoResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///com.atproto.repo.describeRepo 69 69 pub struct DescribeRepoRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for DescribeRepoRequest {
+2 -2
crates/jacquard-api/src/com_atproto/repo/get_record.rs
··· 86 86 } 87 87 } 88 88 89 - ///Response type for 89 + /// Response type for 90 90 ///com.atproto.repo.getRecord 91 91 pub struct GetRecordResponse; 92 92 impl jacquard_common::xrpc::XrpcResp for GetRecordResponse { ··· 102 102 type Response = GetRecordResponse; 103 103 } 104 104 105 - ///Endpoint type for 105 + /// Endpoint type for 106 106 ///com.atproto.repo.getRecord 107 107 pub struct GetRecordRequest; 108 108 impl jacquard_common::xrpc::XrpcEndpoint for GetRecordRequest {
+2 -2
crates/jacquard-api/src/com_atproto/repo/import_repo.rs
··· 21 21 pub body: bytes::Bytes, 22 22 } 23 23 24 - ///Response type for 24 + /// Response type for 25 25 ///com.atproto.repo.importRepo 26 26 pub struct ImportRepoResponse; 27 27 impl jacquard_common::xrpc::XrpcResp for ImportRepoResponse { ··· 54 54 } 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///com.atproto.repo.importRepo 59 59 pub struct ImportRepoRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for ImportRepoRequest {
+2 -2
crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs
··· 46 46 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///com.atproto.repo.listMissingBlobs 51 51 pub struct ListMissingBlobsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for ListMissingBlobsResponse { ··· 62 62 type Response = ListMissingBlobsResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///com.atproto.repo.listMissingBlobs 67 67 pub struct ListMissingBlobsRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for ListMissingBlobsRequest {
+2 -2
crates/jacquard-api/src/com_atproto/repo/list_records.rs
··· 52 52 pub records: Vec<jacquard_common::types::value::Data<'a>>, 53 53 } 54 54 55 - ///Response type for 55 + /// Response type for 56 56 ///com.atproto.repo.listRecords 57 57 pub struct ListRecordsResponse; 58 58 impl jacquard_common::xrpc::XrpcResp for ListRecordsResponse { ··· 68 68 type Response = ListRecordsResponse; 69 69 } 70 70 71 - ///Endpoint type for 71 + /// Endpoint type for 72 72 ///com.atproto.repo.listRecords 73 73 pub struct ListRecordsRequest; 74 74 impl jacquard_common::xrpc::XrpcEndpoint for ListRecordsRequest {
+2 -2
crates/jacquard-api/src/com_atproto/repo/put_record.rs
··· 114 114 } 115 115 } 116 116 117 - ///Response type for 117 + /// Response type for 118 118 ///com.atproto.repo.putRecord 119 119 pub struct PutRecordResponse; 120 120 impl jacquard_common::xrpc::XrpcResp for PutRecordResponse { ··· 132 132 type Response = PutRecordResponse; 133 133 } 134 134 135 - ///Endpoint type for 135 + /// Endpoint type for 136 136 ///com.atproto.repo.putRecord 137 137 pub struct PutRecordRequest; 138 138 impl jacquard_common::xrpc::XrpcEndpoint for PutRecordRequest {
+3 -3
crates/jacquard-api/src/com_atproto/repo/upload_blob.rs
··· 34 34 #[serde(rename_all = "camelCase")] 35 35 pub struct UploadBlobOutput<'a> { 36 36 #[serde(borrow)] 37 - pub blob: jacquard_common::types::blob::Blob<'a>, 37 + pub blob: jacquard_common::types::blob::BlobRef<'a>, 38 38 } 39 39 40 - ///Response type for 40 + /// Response type for 41 41 ///com.atproto.repo.uploadBlob 42 42 pub struct UploadBlobResponse; 43 43 impl jacquard_common::xrpc::XrpcResp for UploadBlobResponse { ··· 70 70 } 71 71 } 72 72 73 - ///Endpoint type for 73 + /// Endpoint type for 74 74 ///com.atproto.repo.uploadBlob 75 75 pub struct UploadBlobRequest; 76 76 impl jacquard_common::xrpc::XrpcEndpoint for UploadBlobRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/activate_account.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct ActivateAccount; 20 - ///Response type for 20 + /// Response type for 21 21 ///com.atproto.server.activateAccount 22 22 pub struct ActivateAccountResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for ActivateAccountResponse { ··· 35 35 type Response = ActivateAccountResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///com.atproto.server.activateAccount 40 40 pub struct ActivateAccountRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for ActivateAccountRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/check_account_status.rs
··· 42 42 jacquard_derive::IntoStatic 43 43 )] 44 44 pub struct CheckAccountStatus; 45 - ///Response type for 45 + /// Response type for 46 46 ///com.atproto.server.checkAccountStatus 47 47 pub struct CheckAccountStatusResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for CheckAccountStatusResponse { ··· 58 58 type Response = CheckAccountStatusResponse; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///com.atproto.server.checkAccountStatus 63 63 pub struct CheckAccountStatusRequest; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for CheckAccountStatusRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/confirm_email.rs
··· 85 85 } 86 86 } 87 87 88 - ///Response type for 88 + /// Response type for 89 89 ///com.atproto.server.confirmEmail 90 90 pub struct ConfirmEmailResponse; 91 91 impl jacquard_common::xrpc::XrpcResp for ConfirmEmailResponse { ··· 103 103 type Response = ConfirmEmailResponse; 104 104 } 105 105 106 - ///Endpoint type for 106 + /// Endpoint type for 107 107 ///com.atproto.server.confirmEmail 108 108 pub struct ConfirmEmailRequest; 109 109 impl jacquard_common::xrpc::XrpcEndpoint for ConfirmEmailRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/create_account.rs
··· 182 182 } 183 183 } 184 184 185 - ///Response type for 185 + /// Response type for 186 186 ///com.atproto.server.createAccount 187 187 pub struct CreateAccountResponse; 188 188 impl jacquard_common::xrpc::XrpcResp for CreateAccountResponse { ··· 200 200 type Response = CreateAccountResponse; 201 201 } 202 202 203 - ///Endpoint type for 203 + /// Endpoint type for 204 204 ///com.atproto.server.createAccount 205 205 pub struct CreateAccountRequest; 206 206 impl jacquard_common::xrpc::XrpcEndpoint for CreateAccountRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/create_app_password.rs
··· 102 102 } 103 103 } 104 104 105 - ///Response type for 105 + /// Response type for 106 106 ///com.atproto.server.createAppPassword 107 107 pub struct CreateAppPasswordResponse; 108 108 impl jacquard_common::xrpc::XrpcResp for CreateAppPasswordResponse { ··· 120 120 type Response = CreateAppPasswordResponse; 121 121 } 122 122 123 - ///Endpoint type for 123 + /// Endpoint type for 124 124 ///com.atproto.server.createAppPassword 125 125 pub struct CreateAppPasswordRequest; 126 126 impl jacquard_common::xrpc::XrpcEndpoint for CreateAppPasswordRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/create_invite_code.rs
··· 50 50 pub code: jacquard_common::CowStr<'a>, 51 51 } 52 52 53 - ///Response type for 53 + /// Response type for 54 54 ///com.atproto.server.createInviteCode 55 55 pub struct CreateInviteCodeResponse; 56 56 impl jacquard_common::xrpc::XrpcResp for CreateInviteCodeResponse { ··· 68 68 type Response = CreateInviteCodeResponse; 69 69 } 70 70 71 - ///Endpoint type for 71 + /// Endpoint type for 72 72 ///com.atproto.server.createInviteCode 73 73 pub struct CreateInviteCodeRequest; 74 74 impl jacquard_common::xrpc::XrpcEndpoint for CreateInviteCodeRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs
··· 70 70 pub codes: Vec<jacquard_common::types::value::Data<'a>>, 71 71 } 72 72 73 - ///Response type for 73 + /// Response type for 74 74 ///com.atproto.server.createInviteCodes 75 75 pub struct CreateInviteCodesResponse; 76 76 impl jacquard_common::xrpc::XrpcResp for CreateInviteCodesResponse { ··· 88 88 type Response = CreateInviteCodesResponse; 89 89 } 90 90 91 - ///Endpoint type for 91 + /// Endpoint type for 92 92 ///com.atproto.server.createInviteCodes 93 93 pub struct CreateInviteCodesRequest; 94 94 impl jacquard_common::xrpc::XrpcEndpoint for CreateInviteCodesRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/create_session.rs
··· 112 112 } 113 113 } 114 114 115 - ///Response type for 115 + /// Response type for 116 116 ///com.atproto.server.createSession 117 117 pub struct CreateSessionResponse; 118 118 impl jacquard_common::xrpc::XrpcResp for CreateSessionResponse { ··· 130 130 type Response = CreateSessionResponse; 131 131 } 132 132 133 - ///Endpoint type for 133 + /// Endpoint type for 134 134 ///com.atproto.server.createSession 135 135 pub struct CreateSessionRequest; 136 136 impl jacquard_common::xrpc::XrpcEndpoint for CreateSessionRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/deactivate_account.rs
··· 23 23 pub delete_after: std::option::Option<jacquard_common::types::string::Datetime>, 24 24 } 25 25 26 - ///Response type for 26 + /// Response type for 27 27 ///com.atproto.server.deactivateAccount 28 28 pub struct DeactivateAccountResponse; 29 29 impl jacquard_common::xrpc::XrpcResp for DeactivateAccountResponse { ··· 41 41 type Response = DeactivateAccountResponse; 42 42 } 43 43 44 - ///Endpoint type for 44 + /// Endpoint type for 45 45 ///com.atproto.server.deactivateAccount 46 46 pub struct DeactivateAccountRequest; 47 47 impl jacquard_common::xrpc::XrpcEndpoint for DeactivateAccountRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/delete_account.rs
··· 79 79 } 80 80 } 81 81 82 - ///Response type for 82 + /// Response type for 83 83 ///com.atproto.server.deleteAccount 84 84 pub struct DeleteAccountResponse; 85 85 impl jacquard_common::xrpc::XrpcResp for DeleteAccountResponse { ··· 97 97 type Response = DeleteAccountResponse; 98 98 } 99 99 100 - ///Endpoint type for 100 + /// Endpoint type for 101 101 ///com.atproto.server.deleteAccount 102 102 pub struct DeleteAccountRequest; 103 103 impl jacquard_common::xrpc::XrpcEndpoint for DeleteAccountRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/delete_session.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct DeleteSession; 20 - ///Response type for 20 + /// Response type for 21 21 ///com.atproto.server.deleteSession 22 22 pub struct DeleteSessionResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for DeleteSessionResponse { ··· 35 35 type Response = DeleteSessionResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///com.atproto.server.deleteSession 40 40 pub struct DeleteSessionRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for DeleteSessionRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/describe_server.rs
··· 89 89 jacquard_derive::IntoStatic 90 90 )] 91 91 pub struct DescribeServer; 92 - ///Response type for 92 + /// Response type for 93 93 ///com.atproto.server.describeServer 94 94 pub struct DescribeServerResponse; 95 95 impl jacquard_common::xrpc::XrpcResp for DescribeServerResponse { ··· 105 105 type Response = DescribeServerResponse; 106 106 } 107 107 108 - ///Endpoint type for 108 + /// Endpoint type for 109 109 ///com.atproto.server.describeServer 110 110 pub struct DescribeServerRequest; 111 111 impl jacquard_common::xrpc::XrpcEndpoint for DescribeServerRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs
··· 76 76 } 77 77 } 78 78 79 - ///Response type for 79 + /// Response type for 80 80 ///com.atproto.server.getAccountInviteCodes 81 81 pub struct GetAccountInviteCodesResponse; 82 82 impl jacquard_common::xrpc::XrpcResp for GetAccountInviteCodesResponse { ··· 92 92 type Response = GetAccountInviteCodesResponse; 93 93 } 94 94 95 - ///Endpoint type for 95 + /// Endpoint type for 96 96 ///com.atproto.server.getAccountInviteCodes 97 97 pub struct GetAccountInviteCodesRequest; 98 98 impl jacquard_common::xrpc::XrpcEndpoint for GetAccountInviteCodesRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/get_service_auth.rs
··· 79 79 } 80 80 } 81 81 82 - ///Response type for 82 + /// Response type for 83 83 ///com.atproto.server.getServiceAuth 84 84 pub struct GetServiceAuthResponse; 85 85 impl jacquard_common::xrpc::XrpcResp for GetServiceAuthResponse { ··· 95 95 type Response = GetServiceAuthResponse; 96 96 } 97 97 98 - ///Endpoint type for 98 + /// Endpoint type for 99 99 ///com.atproto.server.getServiceAuth 100 100 pub struct GetServiceAuthRequest; 101 101 impl jacquard_common::xrpc::XrpcEndpoint for GetServiceAuthRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/get_session.rs
··· 51 51 jacquard_derive::IntoStatic 52 52 )] 53 53 pub struct GetSession; 54 - ///Response type for 54 + /// Response type for 55 55 ///com.atproto.server.getSession 56 56 pub struct GetSessionResponse; 57 57 impl jacquard_common::xrpc::XrpcResp for GetSessionResponse { ··· 67 67 type Response = GetSessionResponse; 68 68 } 69 69 70 - ///Endpoint type for 70 + /// Endpoint type for 71 71 ///com.atproto.server.getSession 72 72 pub struct GetSessionRequest; 73 73 impl jacquard_common::xrpc::XrpcEndpoint for GetSessionRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/list_app_passwords.rs
··· 89 89 jacquard_derive::IntoStatic 90 90 )] 91 91 pub struct ListAppPasswords; 92 - ///Response type for 92 + /// Response type for 93 93 ///com.atproto.server.listAppPasswords 94 94 pub struct ListAppPasswordsResponse; 95 95 impl jacquard_common::xrpc::XrpcResp for ListAppPasswordsResponse { ··· 105 105 type Response = ListAppPasswordsResponse; 106 106 } 107 107 108 - ///Endpoint type for 108 + /// Endpoint type for 109 109 ///com.atproto.server.listAppPasswords 110 110 pub struct ListAppPasswordsRequest; 111 111 impl jacquard_common::xrpc::XrpcEndpoint for ListAppPasswordsRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/refresh_session.rs
··· 82 82 jacquard_derive::IntoStatic 83 83 )] 84 84 pub struct RefreshSession; 85 - ///Response type for 85 + /// Response type for 86 86 ///com.atproto.server.refreshSession 87 87 pub struct RefreshSessionResponse; 88 88 impl jacquard_common::xrpc::XrpcResp for RefreshSessionResponse { ··· 100 100 type Response = RefreshSessionResponse; 101 101 } 102 102 103 - ///Endpoint type for 103 + /// Endpoint type for 104 104 ///com.atproto.server.refreshSession 105 105 pub struct RefreshSessionRequest; 106 106 impl jacquard_common::xrpc::XrpcEndpoint for RefreshSessionRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/request_account_delete.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct RequestAccountDelete; 20 - ///Response type for 20 + /// Response type for 21 21 ///com.atproto.server.requestAccountDelete 22 22 pub struct RequestAccountDeleteResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for RequestAccountDeleteResponse { ··· 35 35 type Response = RequestAccountDeleteResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///com.atproto.server.requestAccountDelete 40 40 pub struct RequestAccountDeleteRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for RequestAccountDeleteRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/request_email_confirmation.rs
··· 17 17 jacquard_derive::IntoStatic 18 18 )] 19 19 pub struct RequestEmailConfirmation; 20 - ///Response type for 20 + /// Response type for 21 21 ///com.atproto.server.requestEmailConfirmation 22 22 pub struct RequestEmailConfirmationResponse; 23 23 impl jacquard_common::xrpc::XrpcResp for RequestEmailConfirmationResponse { ··· 35 35 type Response = RequestEmailConfirmationResponse; 36 36 } 37 37 38 - ///Endpoint type for 38 + /// Endpoint type for 39 39 ///com.atproto.server.requestEmailConfirmation 40 40 pub struct RequestEmailConfirmationRequest; 41 41 impl jacquard_common::xrpc::XrpcEndpoint for RequestEmailConfirmationRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/request_email_update.rs
··· 32 32 jacquard_derive::IntoStatic 33 33 )] 34 34 pub struct RequestEmailUpdate; 35 - ///Response type for 35 + /// Response type for 36 36 ///com.atproto.server.requestEmailUpdate 37 37 pub struct RequestEmailUpdateResponse; 38 38 impl jacquard_common::xrpc::XrpcResp for RequestEmailUpdateResponse { ··· 50 50 type Response = RequestEmailUpdateResponse; 51 51 } 52 52 53 - ///Endpoint type for 53 + /// Endpoint type for 54 54 ///com.atproto.server.requestEmailUpdate 55 55 pub struct RequestEmailUpdateRequest; 56 56 impl jacquard_common::xrpc::XrpcEndpoint for RequestEmailUpdateRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/request_password_reset.rs
··· 22 22 pub email: jacquard_common::CowStr<'a>, 23 23 } 24 24 25 - ///Response type for 25 + /// Response type for 26 26 ///com.atproto.server.requestPasswordReset 27 27 pub struct RequestPasswordResetResponse; 28 28 impl jacquard_common::xrpc::XrpcResp for RequestPasswordResetResponse { ··· 40 40 type Response = RequestPasswordResetResponse; 41 41 } 42 42 43 - ///Endpoint type for 43 + /// Endpoint type for 44 44 ///com.atproto.server.requestPasswordReset 45 45 pub struct RequestPasswordResetRequest; 46 46 impl jacquard_common::xrpc::XrpcEndpoint for RequestPasswordResetRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/reserve_signing_key.rs
··· 42 42 pub signing_key: jacquard_common::CowStr<'a>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///com.atproto.server.reserveSigningKey 47 47 pub struct ReserveSigningKeyResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for ReserveSigningKeyResponse { ··· 60 60 type Response = ReserveSigningKeyResponse; 61 61 } 62 62 63 - ///Endpoint type for 63 + /// Endpoint type for 64 64 ///com.atproto.server.reserveSigningKey 65 65 pub struct ReserveSigningKeyRequest; 66 66 impl jacquard_common::xrpc::XrpcEndpoint for ReserveSigningKeyRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/reset_password.rs
··· 67 67 } 68 68 } 69 69 70 - ///Response type for 70 + /// Response type for 71 71 ///com.atproto.server.resetPassword 72 72 pub struct ResetPasswordResponse; 73 73 impl jacquard_common::xrpc::XrpcResp for ResetPasswordResponse { ··· 85 85 type Response = ResetPasswordResponse; 86 86 } 87 87 88 - ///Endpoint type for 88 + /// Endpoint type for 89 89 ///com.atproto.server.resetPassword 90 90 pub struct ResetPasswordRequest; 91 91 impl jacquard_common::xrpc::XrpcEndpoint for ResetPasswordRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/revoke_app_password.rs
··· 22 22 pub name: jacquard_common::CowStr<'a>, 23 23 } 24 24 25 - ///Response type for 25 + /// Response type for 26 26 ///com.atproto.server.revokeAppPassword 27 27 pub struct RevokeAppPasswordResponse; 28 28 impl jacquard_common::xrpc::XrpcResp for RevokeAppPasswordResponse { ··· 40 40 type Response = RevokeAppPasswordResponse; 41 41 } 42 42 43 - ///Endpoint type for 43 + /// Endpoint type for 44 44 ///com.atproto.server.revokeAppPassword 45 45 pub struct RevokeAppPasswordRequest; 46 46 impl jacquard_common::xrpc::XrpcEndpoint for RevokeAppPasswordRequest {
+2 -2
crates/jacquard-api/src/com_atproto/server/update_email.rs
··· 80 80 } 81 81 } 82 82 83 - ///Response type for 83 + /// Response type for 84 84 ///com.atproto.server.updateEmail 85 85 pub struct UpdateEmailResponse; 86 86 impl jacquard_common::xrpc::XrpcResp for UpdateEmailResponse { ··· 98 98 type Response = UpdateEmailResponse; 99 99 } 100 100 101 - ///Endpoint type for 101 + /// Endpoint type for 102 102 ///com.atproto.server.updateEmail 103 103 pub struct UpdateEmailRequest; 104 104 impl jacquard_common::xrpc::XrpcEndpoint for UpdateEmailRequest {
+22 -5
crates/jacquard-api/src/com_atproto/sync/get_blob.rs
··· 24 24 pub did: jacquard_common::types::string::Did<'a>, 25 25 } 26 26 27 - #[jacquard_derive::lexicon] 28 27 #[derive( 29 28 serde::Serialize, 30 29 serde::Deserialize, ··· 35 34 jacquard_derive::IntoStatic 36 35 )] 37 36 #[serde(rename_all = "camelCase")] 38 - pub struct GetBlobOutput<'a> {} 37 + pub struct GetBlobOutput { 38 + pub body: bytes::Bytes, 39 + } 40 + 39 41 #[jacquard_derive::open_union] 40 42 #[derive( 41 43 serde::Serialize, ··· 106 108 } 107 109 } 108 110 109 - ///Response type for 111 + /// Response type for 110 112 ///com.atproto.sync.getBlob 111 113 pub struct GetBlobResponse; 112 114 impl jacquard_common::xrpc::XrpcResp for GetBlobResponse { 113 115 const NSID: &'static str = "com.atproto.sync.getBlob"; 114 116 const ENCODING: &'static str = "*/*"; 115 - type Output<'de> = GetBlobOutput<'de>; 117 + type Output<'de> = GetBlobOutput; 116 118 type Err<'de> = GetBlobError<'de>; 119 + fn encode_output( 120 + output: &Self::Output<'_>, 121 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 122 + Ok(output.body.to_vec()) 123 + } 124 + fn decode_output<'de>( 125 + body: &'de [u8], 126 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 127 + where 128 + Self::Output<'de>: serde::Deserialize<'de>, 129 + { 130 + Ok(GetBlobOutput { 131 + body: bytes::Bytes::copy_from_slice(body), 132 + }) 133 + } 117 134 } 118 135 119 136 impl<'a> jacquard_common::xrpc::XrpcRequest for GetBlob<'a> { ··· 122 139 type Response = GetBlobResponse; 123 140 } 124 141 125 - ///Endpoint type for 142 + /// Endpoint type for 126 143 ///com.atproto.sync.getBlob 127 144 pub struct GetBlobRequest; 128 145 impl jacquard_common::xrpc::XrpcEndpoint for GetBlobRequest {
+22 -5
crates/jacquard-api/src/com_atproto/sync/get_blocks.rs
··· 24 24 pub did: jacquard_common::types::string::Did<'a>, 25 25 } 26 26 27 - #[jacquard_derive::lexicon] 28 27 #[derive( 29 28 serde::Serialize, 30 29 serde::Deserialize, ··· 35 34 jacquard_derive::IntoStatic 36 35 )] 37 36 #[serde(rename_all = "camelCase")] 38 - pub struct GetBlocksOutput<'a> {} 37 + pub struct GetBlocksOutput { 38 + pub body: bytes::Bytes, 39 + } 40 + 39 41 #[jacquard_derive::open_union] 40 42 #[derive( 41 43 serde::Serialize, ··· 106 108 } 107 109 } 108 110 109 - ///Response type for 111 + /// Response type for 110 112 ///com.atproto.sync.getBlocks 111 113 pub struct GetBlocksResponse; 112 114 impl jacquard_common::xrpc::XrpcResp for GetBlocksResponse { 113 115 const NSID: &'static str = "com.atproto.sync.getBlocks"; 114 116 const ENCODING: &'static str = "application/vnd.ipld.car"; 115 - type Output<'de> = GetBlocksOutput<'de>; 117 + type Output<'de> = GetBlocksOutput; 116 118 type Err<'de> = GetBlocksError<'de>; 119 + fn encode_output( 120 + output: &Self::Output<'_>, 121 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 122 + Ok(output.body.to_vec()) 123 + } 124 + fn decode_output<'de>( 125 + body: &'de [u8], 126 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 127 + where 128 + Self::Output<'de>: serde::Deserialize<'de>, 129 + { 130 + Ok(GetBlocksOutput { 131 + body: bytes::Bytes::copy_from_slice(body), 132 + }) 133 + } 117 134 } 118 135 119 136 impl<'a> jacquard_common::xrpc::XrpcRequest for GetBlocks<'a> { ··· 122 139 type Response = GetBlocksResponse; 123 140 } 124 141 125 - ///Endpoint type for 142 + /// Endpoint type for 126 143 ///com.atproto.sync.getBlocks 127 144 pub struct GetBlocksRequest; 128 145 impl jacquard_common::xrpc::XrpcEndpoint for GetBlocksRequest {
+22 -5
crates/jacquard-api/src/com_atproto/sync/get_checkout.rs
··· 22 22 pub did: jacquard_common::types::string::Did<'a>, 23 23 } 24 24 25 - #[jacquard_derive::lexicon] 26 25 #[derive( 27 26 serde::Serialize, 28 27 serde::Deserialize, ··· 33 32 jacquard_derive::IntoStatic 34 33 )] 35 34 #[serde(rename_all = "camelCase")] 36 - pub struct GetCheckoutOutput<'a> {} 37 - ///Response type for 35 + pub struct GetCheckoutOutput { 36 + pub body: bytes::Bytes, 37 + } 38 + 39 + /// Response type for 38 40 ///com.atproto.sync.getCheckout 39 41 pub struct GetCheckoutResponse; 40 42 impl jacquard_common::xrpc::XrpcResp for GetCheckoutResponse { 41 43 const NSID: &'static str = "com.atproto.sync.getCheckout"; 42 44 const ENCODING: &'static str = "application/vnd.ipld.car"; 43 - type Output<'de> = GetCheckoutOutput<'de>; 45 + type Output<'de> = GetCheckoutOutput; 44 46 type Err<'de> = jacquard_common::xrpc::GenericError<'de>; 47 + fn encode_output( 48 + output: &Self::Output<'_>, 49 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 50 + Ok(output.body.to_vec()) 51 + } 52 + fn decode_output<'de>( 53 + body: &'de [u8], 54 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 55 + where 56 + Self::Output<'de>: serde::Deserialize<'de>, 57 + { 58 + Ok(GetCheckoutOutput { 59 + body: bytes::Bytes::copy_from_slice(body), 60 + }) 61 + } 45 62 } 46 63 47 64 impl<'a> jacquard_common::xrpc::XrpcRequest for GetCheckout<'a> { ··· 50 67 type Response = GetCheckoutResponse; 51 68 } 52 69 53 - ///Endpoint type for 70 + /// Endpoint type for 54 71 ///com.atproto.sync.getCheckout 55 72 pub struct GetCheckoutRequest; 56 73 impl jacquard_common::xrpc::XrpcEndpoint for GetCheckoutRequest {
+2 -2
crates/jacquard-api/src/com_atproto/sync/get_head.rs
··· 72 72 } 73 73 } 74 74 75 - ///Response type for 75 + /// Response type for 76 76 ///com.atproto.sync.getHead 77 77 pub struct GetHeadResponse; 78 78 impl jacquard_common::xrpc::XrpcResp for GetHeadResponse { ··· 88 88 type Response = GetHeadResponse; 89 89 } 90 90 91 - ///Endpoint type for 91 + /// Endpoint type for 92 92 ///com.atproto.sync.getHead 93 93 pub struct GetHeadRequest; 94 94 impl jacquard_common::xrpc::XrpcEndpoint for GetHeadRequest {
+2 -2
crates/jacquard-api/src/com_atproto/sync/get_host_status.rs
··· 83 83 } 84 84 } 85 85 86 - ///Response type for 86 + /// Response type for 87 87 ///com.atproto.sync.getHostStatus 88 88 pub struct GetHostStatusResponse; 89 89 impl jacquard_common::xrpc::XrpcResp for GetHostStatusResponse { ··· 99 99 type Response = GetHostStatusResponse; 100 100 } 101 101 102 - ///Endpoint type for 102 + /// Endpoint type for 103 103 ///com.atproto.sync.getHostStatus 104 104 pub struct GetHostStatusRequest; 105 105 impl jacquard_common::xrpc::XrpcEndpoint for GetHostStatusRequest {
+2 -2
crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs
··· 100 100 } 101 101 } 102 102 103 - ///Response type for 103 + /// Response type for 104 104 ///com.atproto.sync.getLatestCommit 105 105 pub struct GetLatestCommitResponse; 106 106 impl jacquard_common::xrpc::XrpcResp for GetLatestCommitResponse { ··· 116 116 type Response = GetLatestCommitResponse; 117 117 } 118 118 119 - ///Endpoint type for 119 + /// Endpoint type for 120 120 ///com.atproto.sync.getLatestCommit 121 121 pub struct GetLatestCommitRequest; 122 122 impl jacquard_common::xrpc::XrpcEndpoint for GetLatestCommitRequest {
+22 -5
crates/jacquard-api/src/com_atproto/sync/get_record.rs
··· 28 28 >, 29 29 } 30 30 31 - #[jacquard_derive::lexicon] 32 31 #[derive( 33 32 serde::Serialize, 34 33 serde::Deserialize, ··· 39 38 jacquard_derive::IntoStatic 40 39 )] 41 40 #[serde(rename_all = "camelCase")] 42 - pub struct GetRecordOutput<'a> {} 41 + pub struct GetRecordOutput { 42 + pub body: bytes::Bytes, 43 + } 44 + 43 45 #[jacquard_derive::open_union] 44 46 #[derive( 45 47 serde::Serialize, ··· 110 112 } 111 113 } 112 114 113 - ///Response type for 115 + /// Response type for 114 116 ///com.atproto.sync.getRecord 115 117 pub struct GetRecordResponse; 116 118 impl jacquard_common::xrpc::XrpcResp for GetRecordResponse { 117 119 const NSID: &'static str = "com.atproto.sync.getRecord"; 118 120 const ENCODING: &'static str = "application/vnd.ipld.car"; 119 - type Output<'de> = GetRecordOutput<'de>; 121 + type Output<'de> = GetRecordOutput; 120 122 type Err<'de> = GetRecordError<'de>; 123 + fn encode_output( 124 + output: &Self::Output<'_>, 125 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 126 + Ok(output.body.to_vec()) 127 + } 128 + fn decode_output<'de>( 129 + body: &'de [u8], 130 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 131 + where 132 + Self::Output<'de>: serde::Deserialize<'de>, 133 + { 134 + Ok(GetRecordOutput { 135 + body: bytes::Bytes::copy_from_slice(body), 136 + }) 137 + } 121 138 } 122 139 123 140 impl<'a> jacquard_common::xrpc::XrpcRequest for GetRecord<'a> { ··· 126 143 type Response = GetRecordResponse; 127 144 } 128 145 129 - ///Endpoint type for 146 + /// Endpoint type for 130 147 ///com.atproto.sync.getRecord 131 148 pub struct GetRecordRequest; 132 149 impl jacquard_common::xrpc::XrpcEndpoint for GetRecordRequest {
+22 -5
crates/jacquard-api/src/com_atproto/sync/get_repo.rs
··· 24 24 pub since: std::option::Option<jacquard_common::types::string::Tid>, 25 25 } 26 26 27 - #[jacquard_derive::lexicon] 28 27 #[derive( 29 28 serde::Serialize, 30 29 serde::Deserialize, ··· 35 34 jacquard_derive::IntoStatic 36 35 )] 37 36 #[serde(rename_all = "camelCase")] 38 - pub struct GetRepoOutput<'a> {} 37 + pub struct GetRepoOutput { 38 + pub body: bytes::Bytes, 39 + } 40 + 39 41 #[jacquard_derive::open_union] 40 42 #[derive( 41 43 serde::Serialize, ··· 97 99 } 98 100 } 99 101 100 - ///Response type for 102 + /// Response type for 101 103 ///com.atproto.sync.getRepo 102 104 pub struct GetRepoResponse; 103 105 impl jacquard_common::xrpc::XrpcResp for GetRepoResponse { 104 106 const NSID: &'static str = "com.atproto.sync.getRepo"; 105 107 const ENCODING: &'static str = "application/vnd.ipld.car"; 106 - type Output<'de> = GetRepoOutput<'de>; 108 + type Output<'de> = GetRepoOutput; 107 109 type Err<'de> = GetRepoError<'de>; 110 + fn encode_output( 111 + output: &Self::Output<'_>, 112 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 113 + Ok(output.body.to_vec()) 114 + } 115 + fn decode_output<'de>( 116 + body: &'de [u8], 117 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 118 + where 119 + Self::Output<'de>: serde::Deserialize<'de>, 120 + { 121 + Ok(GetRepoOutput { 122 + body: bytes::Bytes::copy_from_slice(body), 123 + }) 124 + } 108 125 } 109 126 110 127 impl<'a> jacquard_common::xrpc::XrpcRequest for GetRepo<'a> { ··· 113 130 type Response = GetRepoResponse; 114 131 } 115 132 116 - ///Endpoint type for 133 + /// Endpoint type for 117 134 ///com.atproto.sync.getRepo 118 135 pub struct GetRepoRequest; 119 136 impl jacquard_common::xrpc::XrpcEndpoint for GetRepoRequest {
+2 -2
crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs
··· 80 80 } 81 81 } 82 82 83 - ///Response type for 83 + /// Response type for 84 84 ///com.atproto.sync.getRepoStatus 85 85 pub struct GetRepoStatusResponse; 86 86 impl jacquard_common::xrpc::XrpcResp for GetRepoStatusResponse { ··· 96 96 type Response = GetRepoStatusResponse; 97 97 } 98 98 99 - ///Endpoint type for 99 + /// Endpoint type for 100 100 ///com.atproto.sync.getRepoStatus 101 101 pub struct GetRepoStatusRequest; 102 102 impl jacquard_common::xrpc::XrpcEndpoint for GetRepoStatusRequest {
+2 -2
crates/jacquard-api/src/com_atproto/sync/list_blobs.rs
··· 111 111 } 112 112 } 113 113 114 - ///Response type for 114 + /// Response type for 115 115 ///com.atproto.sync.listBlobs 116 116 pub struct ListBlobsResponse; 117 117 impl jacquard_common::xrpc::XrpcResp for ListBlobsResponse { ··· 127 127 type Response = ListBlobsResponse; 128 128 } 129 129 130 - ///Endpoint type for 130 + /// Endpoint type for 131 131 ///com.atproto.sync.listBlobs 132 132 pub struct ListBlobsRequest; 133 133 impl jacquard_common::xrpc::XrpcEndpoint for ListBlobsRequest {
+2 -2
crates/jacquard-api/src/com_atproto/sync/list_hosts.rs
··· 73 73 pub hosts: Vec<jacquard_common::types::value::Data<'a>>, 74 74 } 75 75 76 - ///Response type for 76 + /// Response type for 77 77 ///com.atproto.sync.listHosts 78 78 pub struct ListHostsResponse; 79 79 impl jacquard_common::xrpc::XrpcResp for ListHostsResponse { ··· 89 89 type Response = ListHostsResponse; 90 90 } 91 91 92 - ///Endpoint type for 92 + /// Endpoint type for 93 93 ///com.atproto.sync.listHosts 94 94 pub struct ListHostsRequest; 95 95 impl jacquard_common::xrpc::XrpcEndpoint for ListHostsRequest {
+2 -2
crates/jacquard-api/src/com_atproto/sync/list_repos.rs
··· 46 46 pub repos: Vec<jacquard_common::types::value::Data<'a>>, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///com.atproto.sync.listRepos 51 51 pub struct ListReposResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for ListReposResponse { ··· 62 62 type Response = ListReposResponse; 63 63 } 64 64 65 - ///Endpoint type for 65 + /// Endpoint type for 66 66 ///com.atproto.sync.listRepos 67 67 pub struct ListReposRequest; 68 68 impl jacquard_common::xrpc::XrpcEndpoint for ListReposRequest {
+2 -2
crates/jacquard-api/src/com_atproto/sync/list_repos_by_collection.rs
··· 48 48 pub repos: Vec<jacquard_common::types::value::Data<'a>>, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///com.atproto.sync.listReposByCollection 53 53 pub struct ListReposByCollectionResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for ListReposByCollectionResponse { ··· 64 64 type Response = ListReposByCollectionResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///com.atproto.sync.listReposByCollection 69 69 pub struct ListReposByCollectionRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for ListReposByCollectionRequest {
+2 -2
crates/jacquard-api/src/com_atproto/sync/notify_of_update.rs
··· 23 23 pub hostname: jacquard_common::CowStr<'a>, 24 24 } 25 25 26 - ///Response type for 26 + /// Response type for 27 27 ///com.atproto.sync.notifyOfUpdate 28 28 pub struct NotifyOfUpdateResponse; 29 29 impl jacquard_common::xrpc::XrpcResp for NotifyOfUpdateResponse { ··· 41 41 type Response = NotifyOfUpdateResponse; 42 42 } 43 43 44 - ///Endpoint type for 44 + /// Endpoint type for 45 45 ///com.atproto.sync.notifyOfUpdate 46 46 pub struct NotifyOfUpdateRequest; 47 47 impl jacquard_common::xrpc::XrpcEndpoint for NotifyOfUpdateRequest {
+2 -2
crates/jacquard-api/src/com_atproto/sync/request_crawl.rs
··· 57 57 } 58 58 } 59 59 60 - ///Response type for 60 + /// Response type for 61 61 ///com.atproto.sync.requestCrawl 62 62 pub struct RequestCrawlResponse; 63 63 impl jacquard_common::xrpc::XrpcResp for RequestCrawlResponse { ··· 75 75 type Response = RequestCrawlResponse; 76 76 } 77 77 78 - ///Endpoint type for 78 + /// Endpoint type for 79 79 ///com.atproto.sync.requestCrawl 80 80 pub struct RequestCrawlRequest; 81 81 impl jacquard_common::xrpc::XrpcEndpoint for RequestCrawlRequest {
+19 -16
crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs
··· 15 15 PartialEq, 16 16 Eq, 17 17 jacquard_derive::IntoStatic, 18 - bon::Builder, 18 + bon::Builder 19 19 )] 20 20 #[serde(rename_all = "camelCase")] 21 21 pub struct Account<'a> { ··· 42 42 PartialEq, 43 43 Eq, 44 44 jacquard_derive::IntoStatic, 45 - bon::Builder, 45 + bon::Builder 46 46 )] 47 47 #[serde(rename_all = "camelCase")] 48 48 pub struct Commit<'a> { ··· 87 87 PartialEq, 88 88 Eq, 89 89 jacquard_derive::IntoStatic, 90 - bon::Builder, 90 + bon::Builder 91 91 )] 92 92 #[serde(rename_all = "camelCase")] 93 93 pub struct Identity<'a> { ··· 111 111 PartialEq, 112 112 Eq, 113 113 jacquard_derive::IntoStatic, 114 - Default, 114 + Default 115 115 )] 116 116 #[serde(rename_all = "camelCase")] 117 117 pub struct Info<'a> { ··· 130 130 PartialEq, 131 131 Eq, 132 132 bon::Builder, 133 - jacquard_derive::IntoStatic, 133 + jacquard_derive::IntoStatic 134 134 )] 135 135 #[builder(start_fn = new)] 136 136 #[serde(rename_all = "camelCase")] ··· 141 141 142 142 #[jacquard_derive::open_union] 143 143 #[derive( 144 - serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, 144 + serde::Serialize, 145 + serde::Deserialize, 146 + Debug, 147 + Clone, 148 + PartialEq, 149 + Eq, 150 + jacquard_derive::IntoStatic 145 151 )] 146 152 #[serde(tag = "$type")] 147 153 #[serde(bound(deserialize = "'de: 'a"))] ··· 168 174 Eq, 169 175 thiserror::Error, 170 176 miette::Diagnostic, 171 - jacquard_derive::IntoStatic, 177 + jacquard_derive::IntoStatic 172 178 )] 173 179 #[serde(tag = "error", content = "message")] 174 180 #[serde(bound(deserialize = "'de: 'a"))] ··· 207 213 pub struct SubscribeReposStream; 208 214 impl jacquard_common::xrpc::SubscriptionResp for SubscribeReposStream { 209 215 const NSID: &'static str = "com.atproto.sync.subscribeRepos"; 210 - const ENCODING: jacquard_common::xrpc::MessageEncoding = 211 - jacquard_common::xrpc::MessageEncoding::DagCbor; 216 + const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::DagCbor; 212 217 type Message<'de> = SubscribeReposMessage<'de>; 213 218 type Error<'de> = SubscribeReposError<'de>; 214 219 } 215 220 216 221 impl jacquard_common::xrpc::XrpcSubscription for SubscribeRepos { 217 222 const NSID: &'static str = "com.atproto.sync.subscribeRepos"; 218 - const ENCODING: jacquard_common::xrpc::MessageEncoding = 219 - jacquard_common::xrpc::MessageEncoding::DagCbor; 223 + const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::DagCbor; 220 224 type Stream = SubscribeReposStream; 221 225 } 222 226 223 227 pub struct SubscribeReposEndpoint; 224 228 impl jacquard_common::xrpc::SubscriptionEndpoint for SubscribeReposEndpoint { 225 229 const PATH: &'static str = "/xrpc/com.atproto.sync.subscribeRepos"; 226 - const ENCODING: jacquard_common::xrpc::MessageEncoding = 227 - jacquard_common::xrpc::MessageEncoding::DagCbor; 230 + const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::DagCbor; 228 231 type Params<'de> = SubscribeRepos; 229 232 type Stream = SubscribeReposStream; 230 233 } ··· 239 242 PartialEq, 240 243 Eq, 241 244 jacquard_derive::IntoStatic, 242 - bon::Builder, 245 + bon::Builder 243 246 )] 244 247 #[serde(rename_all = "camelCase")] 245 248 pub struct RepoOp<'a> { ··· 269 272 PartialEq, 270 273 Eq, 271 274 jacquard_derive::IntoStatic, 272 - bon::Builder, 275 + bon::Builder 273 276 )] 274 277 #[serde(rename_all = "camelCase")] 275 278 pub struct Sync<'a> { ··· 286 289 pub seq: i64, 287 290 /// Timestamp of when this message was originally broadcast. 288 291 pub time: jacquard_common::types::string::Datetime, 289 - } 292 + }
+2 -2
crates/jacquard-api/src/com_atproto/temp/add_reserved_handle.rs
··· 35 35 )] 36 36 #[serde(rename_all = "camelCase")] 37 37 pub struct AddReservedHandleOutput<'a> {} 38 - ///Response type for 38 + /// Response type for 39 39 ///com.atproto.temp.addReservedHandle 40 40 pub struct AddReservedHandleResponse; 41 41 impl jacquard_common::xrpc::XrpcResp for AddReservedHandleResponse { ··· 53 53 type Response = AddReservedHandleResponse; 54 54 } 55 55 56 - ///Endpoint type for 56 + /// Endpoint type for 57 57 ///com.atproto.temp.addReservedHandle 58 58 pub struct AddReservedHandleRequest; 59 59 impl jacquard_common::xrpc::XrpcEndpoint for AddReservedHandleRequest {
+2 -2
crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs
··· 105 105 } 106 106 } 107 107 108 - ///Response type for 108 + /// Response type for 109 109 ///com.atproto.temp.checkHandleAvailability 110 110 pub struct CheckHandleAvailabilityResponse; 111 111 impl jacquard_common::xrpc::XrpcResp for CheckHandleAvailabilityResponse { ··· 121 121 type Response = CheckHandleAvailabilityResponse; 122 122 } 123 123 124 - ///Endpoint type for 124 + /// Endpoint type for 125 125 ///com.atproto.temp.checkHandleAvailability 126 126 pub struct CheckHandleAvailabilityRequest; 127 127 impl jacquard_common::xrpc::XrpcEndpoint for CheckHandleAvailabilityRequest {
+2 -2
crates/jacquard-api/src/com_atproto/temp/check_signup_queue.rs
··· 36 36 jacquard_derive::IntoStatic 37 37 )] 38 38 pub struct CheckSignupQueue; 39 - ///Response type for 39 + /// Response type for 40 40 ///com.atproto.temp.checkSignupQueue 41 41 pub struct CheckSignupQueueResponse; 42 42 impl jacquard_common::xrpc::XrpcResp for CheckSignupQueueResponse { ··· 52 52 type Response = CheckSignupQueueResponse; 53 53 } 54 54 55 - ///Endpoint type for 55 + /// Endpoint type for 56 56 ///com.atproto.temp.checkSignupQueue 57 57 pub struct CheckSignupQueueRequest; 58 58 impl jacquard_common::xrpc::XrpcEndpoint for CheckSignupQueueRequest {
+2 -2
crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs
··· 76 76 } 77 77 } 78 78 79 - ///Response type for 79 + /// Response type for 80 80 ///com.atproto.temp.dereferenceScope 81 81 pub struct DereferenceScopeResponse; 82 82 impl jacquard_common::xrpc::XrpcResp for DereferenceScopeResponse { ··· 92 92 type Response = DereferenceScopeResponse; 93 93 } 94 94 95 - ///Endpoint type for 95 + /// Endpoint type for 96 96 ///com.atproto.temp.dereferenceScope 97 97 pub struct DereferenceScopeRequest; 98 98 impl jacquard_common::xrpc::XrpcEndpoint for DereferenceScopeRequest {
+2 -2
crates/jacquard-api/src/com_atproto/temp/fetch_labels.rs
··· 41 41 pub labels: Vec<crate::com_atproto::label::Label<'a>>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///com.atproto.temp.fetchLabels 46 46 pub struct FetchLabelsResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for FetchLabelsResponse { ··· 57 57 type Response = FetchLabelsResponse; 58 58 } 59 59 60 - ///Endpoint type for 60 + /// Endpoint type for 61 61 ///com.atproto.temp.fetchLabels 62 62 pub struct FetchLabelsRequest; 63 63 impl jacquard_common::xrpc::XrpcEndpoint for FetchLabelsRequest {
+2 -2
crates/jacquard-api/src/com_atproto/temp/request_phone_verification.rs
··· 22 22 pub phone_number: jacquard_common::CowStr<'a>, 23 23 } 24 24 25 - ///Response type for 25 + /// Response type for 26 26 ///com.atproto.temp.requestPhoneVerification 27 27 pub struct RequestPhoneVerificationResponse; 28 28 impl jacquard_common::xrpc::XrpcResp for RequestPhoneVerificationResponse { ··· 40 40 type Response = RequestPhoneVerificationResponse; 41 41 } 42 42 43 - ///Endpoint type for 43 + /// Endpoint type for 44 44 ///com.atproto.temp.requestPhoneVerification 45 45 pub struct RequestPhoneVerificationRequest; 46 46 impl jacquard_common::xrpc::XrpcEndpoint for RequestPhoneVerificationRequest {
+2 -2
crates/jacquard-api/src/com_atproto/temp/revoke_account_credentials.rs
··· 30 30 >, 31 31 } 32 32 33 - ///Response type for 33 + /// Response type for 34 34 ///com.atproto.temp.revokeAccountCredentials 35 35 pub struct RevokeAccountCredentialsResponse; 36 36 impl jacquard_common::xrpc::XrpcResp for RevokeAccountCredentialsResponse { ··· 48 48 type Response = RevokeAccountCredentialsResponse; 49 49 } 50 50 51 - ///Endpoint type for 51 + /// Endpoint type for 52 52 ///com.atproto.temp.revokeAccountCredentials 53 53 pub struct RevokeAccountCredentialsRequest; 54 54 impl jacquard_common::xrpc::XrpcEndpoint for RevokeAccountCredentialsRequest {
+2 -2
crates/jacquard-api/src/com_bad_example/identity/resolve_mini_doc.rs
··· 52 52 pub signing_key: jacquard_common::CowStr<'a>, 53 53 } 54 54 55 - ///Response type for 55 + /// Response type for 56 56 ///com.bad-example.identity.resolveMiniDoc 57 57 pub struct ResolveMiniDocResponse; 58 58 impl jacquard_common::xrpc::XrpcResp for ResolveMiniDocResponse { ··· 68 68 type Response = ResolveMiniDocResponse; 69 69 } 70 70 71 - ///Endpoint type for 71 + /// Endpoint type for 72 72 ///com.bad-example.identity.resolveMiniDoc 73 73 pub struct ResolveMiniDocRequest; 74 74 impl jacquard_common::xrpc::XrpcEndpoint for ResolveMiniDocRequest {
+2 -2
crates/jacquard-api/src/com_shinolabs/pinksea/get_author_feed.rs
··· 43 43 pub oekaki: Vec<crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki<'a>>, 44 44 } 45 45 46 - ///Response type for 46 + /// Response type for 47 47 ///com.shinolabs.pinksea.getAuthorFeed 48 48 pub struct GetAuthorFeedResponse; 49 49 impl jacquard_common::xrpc::XrpcResp for GetAuthorFeedResponse { ··· 59 59 type Response = GetAuthorFeedResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///com.shinolabs.pinksea.getAuthorFeed 64 64 pub struct GetAuthorFeedRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for GetAuthorFeedRequest {
+2 -2
crates/jacquard-api/src/com_shinolabs/pinksea/get_author_replies.rs
··· 43 43 pub oekaki: Vec<crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki<'a>>, 44 44 } 45 45 46 - ///Response type for 46 + /// Response type for 47 47 ///com.shinolabs.pinksea.getAuthorReplies 48 48 pub struct GetAuthorRepliesResponse; 49 49 impl jacquard_common::xrpc::XrpcResp for GetAuthorRepliesResponse { ··· 59 59 type Response = GetAuthorRepliesResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///com.shinolabs.pinksea.getAuthorReplies 64 64 pub struct GetAuthorRepliesRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for GetAuthorRepliesRequest {
+2 -2
crates/jacquard-api/src/com_shinolabs/pinksea/get_handle_from_did.rs
··· 39 39 pub handle: jacquard_common::types::string::Handle<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///com.shinolabs.pinksea.getHandleFromDid 44 44 pub struct GetHandleFromDidResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetHandleFromDidResponse { ··· 55 55 type Response = GetHandleFromDidResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///com.shinolabs.pinksea.getHandleFromDid 60 60 pub struct GetHandleFromDidRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetHandleFromDidRequest {
+2 -2
crates/jacquard-api/src/com_shinolabs/pinksea/get_identity.rs
··· 38 38 pub handle: jacquard_common::types::string::Handle<'a>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///com.shinolabs.pinksea.getIdentity 43 43 pub struct GetIdentityResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetIdentityResponse { ··· 54 54 type Response = GetIdentityResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///com.shinolabs.pinksea.getIdentity 59 59 pub struct GetIdentityRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetIdentityRequest {
+2 -2
crates/jacquard-api/src/com_shinolabs/pinksea/get_oekaki.rs
··· 66 66 ), 67 67 } 68 68 69 - ///Response type for 69 + /// Response type for 70 70 ///com.shinolabs.pinksea.getOekaki 71 71 pub struct GetOekakiResponse; 72 72 impl jacquard_common::xrpc::XrpcResp for GetOekakiResponse { ··· 82 82 type Response = GetOekakiResponse; 83 83 } 84 84 85 - ///Endpoint type for 85 + /// Endpoint type for 86 86 ///com.shinolabs.pinksea.getOekaki 87 87 pub struct GetOekakiRequest; 88 88 impl jacquard_common::xrpc::XrpcEndpoint for GetOekakiRequest {
+2 -2
crates/jacquard-api/src/com_shinolabs/pinksea/get_parent_for_reply.rs
··· 45 45 pub rkey: jacquard_common::CowStr<'a>, 46 46 } 47 47 48 - ///Response type for 48 + /// Response type for 49 49 ///com.shinolabs.pinksea.getParentForReply 50 50 pub struct GetParentForReplyResponse; 51 51 impl jacquard_common::xrpc::XrpcResp for GetParentForReplyResponse { ··· 61 61 type Response = GetParentForReplyResponse; 62 62 } 63 63 64 - ///Endpoint type for 64 + /// Endpoint type for 65 65 ///com.shinolabs.pinksea.getParentForReply 66 66 pub struct GetParentForReplyRequest; 67 67 impl jacquard_common::xrpc::XrpcEndpoint for GetParentForReplyRequest {
+2 -2
crates/jacquard-api/src/com_shinolabs/pinksea/get_recent.rs
··· 41 41 pub oekaki: Vec<crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki<'a>>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///com.shinolabs.pinksea.getRecent 46 46 pub struct GetRecentResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for GetRecentResponse { ··· 57 57 type Response = GetRecentResponse; 58 58 } 59 59 60 - ///Endpoint type for 60 + /// Endpoint type for 61 61 ///com.shinolabs.pinksea.getRecent 62 62 pub struct GetRecentRequest; 63 63 impl jacquard_common::xrpc::XrpcEndpoint for GetRecentRequest {
+2 -2
crates/jacquard-api/src/com_shinolabs/pinksea/get_tag_feed.rs
··· 44 44 pub oekaki: Vec<crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki<'a>>, 45 45 } 46 46 47 - ///Response type for 47 + /// Response type for 48 48 ///com.shinolabs.pinksea.getTagFeed 49 49 pub struct GetTagFeedResponse; 50 50 impl jacquard_common::xrpc::XrpcResp for GetTagFeedResponse { ··· 60 60 type Response = GetTagFeedResponse; 61 61 } 62 62 63 - ///Endpoint type for 63 + /// Endpoint type for 64 64 ///com.shinolabs.pinksea.getTagFeed 65 65 pub struct GetTagFeedRequest; 66 66 impl jacquard_common::xrpc::XrpcEndpoint for GetTagFeedRequest {
+1 -1
crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs
··· 20 20 pub struct Image<'a> { 21 21 /// The actual atproto image blob. 22 22 #[serde(borrow)] 23 - pub blob: jacquard_common::types::blob::Blob<'a>, 23 + pub blob: jacquard_common::types::blob::BlobRef<'a>, 24 24 #[serde(borrow)] 25 25 pub image_link: crate::com_shinolabs::pinksea::oekaki::ImageLink<'a>, 26 26 }
+1 -1
crates/jacquard-api/src/com_whtwnd/blog.rs
··· 25 25 #[serde(rename_all = "camelCase")] 26 26 pub struct BlobMetadata<'a> { 27 27 #[serde(borrow)] 28 - pub blobref: jacquard_common::types::blob::Blob<'a>, 28 + pub blobref: jacquard_common::types::blob::BlobRef<'a>, 29 29 #[serde(skip_serializing_if = "std::option::Option::is_none")] 30 30 #[builder(into)] 31 31 #[serde(borrow)]
+2 -2
crates/jacquard-api/src/com_whtwnd/blog/get_author_posts.rs
··· 38 38 pub post: Vec<crate::com_whtwnd::blog::BlogEntry<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///com.whtwnd.blog.getAuthorPosts 43 43 pub struct GetAuthorPostsResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetAuthorPostsResponse { ··· 54 54 type Response = GetAuthorPostsResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///com.whtwnd.blog.getAuthorPosts 59 59 pub struct GetAuthorPostsRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetAuthorPostsRequest {
+2 -2
crates/jacquard-api/src/com_whtwnd/blog/get_entry_metadata_by_name.rs
··· 81 81 } 82 82 } 83 83 84 - ///Response type for 84 + /// Response type for 85 85 ///com.whtwnd.blog.getEntryMetadataByName 86 86 pub struct GetEntryMetadataByNameResponse; 87 87 impl jacquard_common::xrpc::XrpcResp for GetEntryMetadataByNameResponse { ··· 97 97 type Response = GetEntryMetadataByNameResponse; 98 98 } 99 99 100 - ///Endpoint type for 100 + /// Endpoint type for 101 101 ///com.whtwnd.blog.getEntryMetadataByName 102 102 pub struct GetEntryMetadataByNameRequest; 103 103 impl jacquard_common::xrpc::XrpcEndpoint for GetEntryMetadataByNameRequest {
+2 -2
crates/jacquard-api/src/com_whtwnd/blog/get_mentions_by_entry.rs
··· 38 38 pub mentions: Vec<jacquard_common::types::string::AtUri<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///com.whtwnd.blog.getMentionsByEntry 43 43 pub struct GetMentionsByEntryResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetMentionsByEntryResponse { ··· 54 54 type Response = GetMentionsByEntryResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///com.whtwnd.blog.getMentionsByEntry 59 59 pub struct GetMentionsByEntryRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetMentionsByEntryRequest {
+2 -2
crates/jacquard-api/src/com_whtwnd/blog/notify_of_new_entry.rs
··· 66 66 } 67 67 } 68 68 69 - ///Response type for 69 + /// Response type for 70 70 ///com.whtwnd.blog.notifyOfNewEntry 71 71 pub struct NotifyOfNewEntryResponse; 72 72 impl jacquard_common::xrpc::XrpcResp for NotifyOfNewEntryResponse { ··· 84 84 type Response = NotifyOfNewEntryResponse; 85 85 } 86 86 87 - ///Endpoint type for 87 + /// Endpoint type for 88 88 ///com.whtwnd.blog.notifyOfNewEntry 89 89 pub struct NotifyOfNewEntryRequest; 90 90 impl jacquard_common::xrpc::XrpcEndpoint for NotifyOfNewEntryRequest {
+2 -2
crates/jacquard-api/src/community_lexicon/bookmarks/get_actor_bookmarks.rs
··· 49 49 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 50 50 } 51 51 52 - ///Response type for 52 + /// Response type for 53 53 ///community.lexicon.bookmarks.getActorBookmarks 54 54 pub struct GetActorBookmarksResponse; 55 55 impl jacquard_common::xrpc::XrpcResp for GetActorBookmarksResponse { ··· 65 65 type Response = GetActorBookmarksResponse; 66 66 } 67 67 68 - ///Endpoint type for 68 + /// Endpoint type for 69 69 ///community.lexicon.bookmarks.getActorBookmarks 70 70 pub struct GetActorBookmarksRequest; 71 71 impl jacquard_common::xrpc::XrpcEndpoint for GetActorBookmarksRequest {
+1 -1
crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs
··· 22 22 #[serde(skip_serializing_if = "std::option::Option::is_none")] 23 23 #[builder(into)] 24 24 #[serde(borrow)] 25 - pub attachment: Option<jacquard_common::types::blob::Blob<'a>>, 25 + pub attachment: Option<jacquard_common::types::blob::BlobRef<'a>>, 26 26 /// The date and time when the post was created 27 27 pub created_at: jacquard_common::types::string::Datetime, 28 28 /// Determines the parent of the post. Must either be a `dev.ocbwoy3.blueboard.board` or a `dev.ocbwoy3.blueboard.post`.
+2 -2
crates/jacquard-api/src/events_smokesignal/automation/invoke_webhook.rs
··· 48 48 )] 49 49 #[serde(rename_all = "camelCase")] 50 50 pub struct InvokeWebhookOutput<'a> {} 51 - ///Response type for 51 + /// Response type for 52 52 ///events.smokesignal.automation.InvokeWebhook 53 53 pub struct InvokeWebhookResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for InvokeWebhookResponse { ··· 66 66 type Response = InvokeWebhookResponse; 67 67 } 68 68 69 - ///Endpoint type for 69 + /// Endpoint type for 70 70 ///events.smokesignal.automation.InvokeWebhook 71 71 pub struct InvokeWebhookRequest; 72 72 impl jacquard_common::xrpc::XrpcEndpoint for InvokeWebhookRequest {
+2 -2
crates/jacquard-api/src/garden_lexicon/ngerakines/helloworld/hello.rs
··· 42 42 pub message: jacquard_common::CowStr<'a>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///garden.lexicon.ngerakines.helloworld.Hello 47 47 pub struct HelloResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for HelloResponse { ··· 58 58 type Response = HelloResponse; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///garden.lexicon.ngerakines.helloworld.Hello 63 63 pub struct HelloRequest; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for HelloRequest {
+22 -5
crates/jacquard-api/src/garden_lexicon/ngerakines/semeion/sign.rs
··· 21 21 pub body: bytes::Bytes, 22 22 } 23 23 24 - #[jacquard_derive::lexicon] 25 24 #[derive( 26 25 serde::Serialize, 27 26 serde::Deserialize, ··· 32 31 jacquard_derive::IntoStatic 33 32 )] 34 33 #[serde(rename_all = "camelCase")] 35 - pub struct SignOutput<'a> {} 36 - ///Response type for 34 + pub struct SignOutput { 35 + pub body: bytes::Bytes, 36 + } 37 + 38 + /// Response type for 37 39 ///garden.lexicon.ngerakines.semeion.Sign 38 40 pub struct SignResponse; 39 41 impl jacquard_common::xrpc::XrpcResp for SignResponse { 40 42 const NSID: &'static str = "garden.lexicon.ngerakines.semeion.Sign"; 41 43 const ENCODING: &'static str = "application/octet-stream"; 42 - type Output<'de> = SignOutput<'de>; 44 + type Output<'de> = SignOutput; 43 45 type Err<'de> = jacquard_common::xrpc::GenericError<'de>; 46 + fn encode_output( 47 + output: &Self::Output<'_>, 48 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 49 + Ok(output.body.to_vec()) 50 + } 51 + fn decode_output<'de>( 52 + body: &'de [u8], 53 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 54 + where 55 + Self::Output<'de>: serde::Deserialize<'de>, 56 + { 57 + Ok(SignOutput { 58 + body: bytes::Bytes::copy_from_slice(body), 59 + }) 60 + } 44 61 } 45 62 46 63 impl jacquard_common::xrpc::XrpcRequest for Sign { ··· 66 83 } 67 84 } 68 85 69 - ///Endpoint type for 86 + /// Endpoint type for 70 87 ///garden.lexicon.ngerakines.semeion.Sign 71 88 pub struct SignRequest; 72 89 impl jacquard_common::xrpc::XrpcEndpoint for SignRequest {
+1 -1
crates/jacquard-api/src/moe_karashiiro/kpaste/paste.rs
··· 20 20 pub struct Paste<'a> { 21 21 /// Blob reference to the paste content 22 22 #[serde(borrow)] 23 - pub content: jacquard_common::types::blob::Blob<'a>, 23 + pub content: jacquard_common::types::blob::BlobRef<'a>, 24 24 /// When the paste was created 25 25 pub created_at: jacquard_common::types::string::Datetime, 26 26 /// Programming language for syntax highlighting
+1 -1
crates/jacquard-api/src/net_altq/aqfile.rs
··· 79 79 pub attribution: Option<jacquard_common::types::ident::AtIdentifier<'a>>, 80 80 /// The uploaded blob reference. Note: Individual PDS instances may enforce lower size limits. 81 81 #[serde(borrow)] 82 - pub blob: jacquard_common::types::blob::Blob<'a>, 82 + pub blob: jacquard_common::types::blob::BlobRef<'a>, 83 83 /// Optional cryptographic checksum for integrity verification. 84 84 #[serde(skip_serializing_if = "std::option::Option::is_none")] 85 85 #[builder(into)]
+1 -1
crates/jacquard-api/src/net_anisota/feed/list.rs
··· 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[builder(into)] 25 25 #[serde(borrow)] 26 - pub avatar: Option<jacquard_common::types::blob::Blob<'a>>, 26 + pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 27 27 /// When the list was created 28 28 pub created_at: jacquard_common::types::string::Datetime, 29 29 /// Optional description of the list
+1 -1
crates/jacquard-api/src/network_slices/actor/profile.rs
··· 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[builder(into)] 25 25 #[serde(borrow)] 26 - pub avatar: Option<jacquard_common::types::blob::Blob<'a>>, 26 + pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[builder(into)] 29 29 pub created_at: Option<jacquard_common::types::string::Datetime>,
+2 -2
crates/jacquard-api/src/network_slices/slice/clear_slice_records.rs
··· 41 41 pub message: jacquard_common::CowStr<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///network.slices.slice.clearSliceRecords 46 46 pub struct ClearSliceRecordsResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for ClearSliceRecordsResponse { ··· 59 59 type Response = ClearSliceRecordsResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///network.slices.slice.clearSliceRecords 64 64 pub struct ClearSliceRecordsRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for ClearSliceRecordsRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/create_o_auth_client.rs
··· 91 91 pub value: crate::network_slices::slice::get_o_auth_clients::OauthClientDetails<'a>, 92 92 } 93 93 94 - ///Response type for 94 + /// Response type for 95 95 ///network.slices.slice.createOAuthClient 96 96 pub struct CreateOAuthClientResponse; 97 97 impl jacquard_common::xrpc::XrpcResp for CreateOAuthClientResponse { ··· 109 109 type Response = CreateOAuthClientResponse; 110 110 } 111 111 112 - ///Endpoint type for 112 + /// Endpoint type for 113 113 ///network.slices.slice.createOAuthClient 114 114 pub struct CreateOAuthClientRequest; 115 115 impl jacquard_common::xrpc::XrpcEndpoint for CreateOAuthClientRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/delete_o_auth_client.rs
··· 41 41 pub message: jacquard_common::CowStr<'a>, 42 42 } 43 43 44 - ///Response type for 44 + /// Response type for 45 45 ///network.slices.slice.deleteOAuthClient 46 46 pub struct DeleteOAuthClientResponse; 47 47 impl jacquard_common::xrpc::XrpcResp for DeleteOAuthClientResponse { ··· 59 59 type Response = DeleteOAuthClientResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///network.slices.slice.deleteOAuthClient 64 64 pub struct DeleteOAuthClientRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for DeleteOAuthClientRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/get_actors.rs
··· 83 83 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 84 84 } 85 85 86 - ///Response type for 86 + /// Response type for 87 87 ///network.slices.slice.getActors 88 88 pub struct GetActorsResponse; 89 89 impl jacquard_common::xrpc::XrpcResp for GetActorsResponse { ··· 101 101 type Response = GetActorsResponse; 102 102 } 103 103 104 - ///Endpoint type for 104 + /// Endpoint type for 105 105 ///network.slices.slice.getActors 106 106 pub struct GetActorsRequest; 107 107 impl jacquard_common::xrpc::XrpcEndpoint for GetActorsRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/get_jetstream_logs.rs
··· 43 43 pub logs: Vec<crate::network_slices::slice::get_job_logs::LogEntry<'a>>, 44 44 } 45 45 46 - ///Response type for 46 + /// Response type for 47 47 ///network.slices.slice.getJetstreamLogs 48 48 pub struct GetJetstreamLogsResponse; 49 49 impl jacquard_common::xrpc::XrpcResp for GetJetstreamLogsResponse { ··· 59 59 type Response = GetJetstreamLogsResponse; 60 60 } 61 61 62 - ///Endpoint type for 62 + /// Endpoint type for 63 63 ///network.slices.slice.getJetstreamLogs 64 64 pub struct GetJetstreamLogsRequest; 65 65 impl jacquard_common::xrpc::XrpcEndpoint for GetJetstreamLogsRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/get_jetstream_status.rs
··· 34 34 pub connected: bool, 35 35 } 36 36 37 - ///Response type for 37 + /// Response type for 38 38 ///network.slices.slice.getJetstreamStatus 39 39 pub struct GetJetstreamStatusResponse; 40 40 impl jacquard_common::xrpc::XrpcResp for GetJetstreamStatusResponse { ··· 50 50 type Response = GetJetstreamStatusResponse; 51 51 } 52 52 53 - ///Endpoint type for 53 + /// Endpoint type for 54 54 ///network.slices.slice.getJetstreamStatus 55 55 pub struct GetJetstreamStatusRequest; 56 56 impl jacquard_common::xrpc::XrpcEndpoint for GetJetstreamStatusRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/get_job_logs.rs
··· 93 93 pub logs: Vec<jacquard_common::types::value::Data<'a>>, 94 94 } 95 95 96 - ///Response type for 96 + /// Response type for 97 97 ///network.slices.slice.getJobLogs 98 98 pub struct GetJobLogsResponse; 99 99 impl jacquard_common::xrpc::XrpcResp for GetJobLogsResponse { ··· 109 109 type Response = GetJobLogsResponse; 110 110 } 111 111 112 - ///Endpoint type for 112 + /// Endpoint type for 113 113 ///network.slices.slice.getJobLogs 114 114 pub struct GetJobLogsRequest; 115 115 impl jacquard_common::xrpc::XrpcEndpoint for GetJobLogsRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/get_job_status.rs
··· 85 85 pub value: jacquard_common::types::value::Data<'a>, 86 86 } 87 87 88 - ///Response type for 88 + /// Response type for 89 89 ///network.slices.slice.getJobStatus 90 90 pub struct GetJobStatusResponse; 91 91 impl jacquard_common::xrpc::XrpcResp for GetJobStatusResponse { ··· 101 101 type Response = GetJobStatusResponse; 102 102 } 103 103 104 - ///Endpoint type for 104 + /// Endpoint type for 105 105 ///network.slices.slice.getJobStatus 106 106 pub struct GetJobStatusRequest; 107 107 impl jacquard_common::xrpc::XrpcEndpoint for GetJobStatusRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/get_o_auth_clients.rs
··· 39 39 pub clients: Vec<jacquard_common::types::value::Data<'a>>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///network.slices.slice.getOAuthClients 44 44 pub struct GetOAuthClientsResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetOAuthClientsResponse { ··· 55 55 type Response = GetOAuthClientsResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///network.slices.slice.getOAuthClients 60 60 pub struct GetOAuthClientsRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetOAuthClientsRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/get_slice_records.rs
··· 90 90 pub records: Vec<jacquard_common::types::value::Data<'a>>, 91 91 } 92 92 93 - ///Response type for 93 + /// Response type for 94 94 ///network.slices.slice.getSliceRecords 95 95 pub struct GetSliceRecordsResponse; 96 96 impl jacquard_common::xrpc::XrpcResp for GetSliceRecordsResponse { ··· 108 108 type Response = GetSliceRecordsResponse; 109 109 } 110 110 111 - ///Endpoint type for 111 + /// Endpoint type for 112 112 ///network.slices.slice.getSliceRecords 113 113 pub struct GetSliceRecordsRequest; 114 114 impl jacquard_common::xrpc::XrpcEndpoint for GetSliceRecordsRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/get_sparklines.rs
··· 58 58 pub sparklines: Vec<jacquard_common::types::value::Data<'a>>, 59 59 } 60 60 61 - ///Response type for 61 + /// Response type for 62 62 ///network.slices.slice.getSparklines 63 63 pub struct GetSparklinesResponse; 64 64 impl jacquard_common::xrpc::XrpcResp for GetSparklinesResponse { ··· 76 76 type Response = GetSparklinesResponse; 77 77 } 78 78 79 - ///Endpoint type for 79 + /// Endpoint type for 80 80 ///network.slices.slice.getSparklines 81 81 pub struct GetSparklinesRequest; 82 82 impl jacquard_common::xrpc::XrpcEndpoint for GetSparklinesRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/get_sync_summary.rs
··· 76 76 pub would_be_capped: bool, 77 77 } 78 78 79 - ///Response type for 79 + /// Response type for 80 80 ///network.slices.slice.getSyncSummary 81 81 pub struct GetSyncSummaryResponse; 82 82 impl jacquard_common::xrpc::XrpcResp for GetSyncSummaryResponse { ··· 92 92 type Response = GetSyncSummaryResponse; 93 93 } 94 94 95 - ///Endpoint type for 95 + /// Endpoint type for 96 96 ///network.slices.slice.getSyncSummary 97 97 pub struct GetSyncSummaryRequest; 98 98 impl jacquard_common::xrpc::XrpcEndpoint for GetSyncSummaryRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/start_sync.rs
··· 64 64 pub message: jacquard_common::CowStr<'a>, 65 65 } 66 66 67 - ///Response type for 67 + /// Response type for 68 68 ///network.slices.slice.startSync 69 69 pub struct StartSyncResponse; 70 70 impl jacquard_common::xrpc::XrpcResp for StartSyncResponse { ··· 82 82 type Response = StartSyncResponse; 83 83 } 84 84 85 - ///Endpoint type for 85 + /// Endpoint type for 86 86 ///network.slices.slice.startSync 87 87 pub struct StartSyncRequest; 88 88 impl jacquard_common::xrpc::XrpcEndpoint for StartSyncRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/stats.rs
··· 71 71 pub total_records: i64, 72 72 } 73 73 74 - ///Response type for 74 + /// Response type for 75 75 ///network.slices.slice.stats 76 76 pub struct StatsResponse; 77 77 impl jacquard_common::xrpc::XrpcResp for StatsResponse { ··· 87 87 type Response = StatsResponse; 88 88 } 89 89 90 - ///Endpoint type for 90 + /// Endpoint type for 91 91 ///network.slices.slice.stats 92 92 pub struct StatsRequest; 93 93 impl jacquard_common::xrpc::XrpcEndpoint for StatsRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/sync_user_collections.rs
··· 46 46 pub timed_out: bool, 47 47 } 48 48 49 - ///Response type for 49 + /// Response type for 50 50 ///network.slices.slice.syncUserCollections 51 51 pub struct SyncUserCollectionsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for SyncUserCollectionsResponse { ··· 64 64 type Response = SyncUserCollectionsResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///network.slices.slice.syncUserCollections 69 69 pub struct SyncUserCollectionsRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for SyncUserCollectionsRequest {
+2 -2
crates/jacquard-api/src/network_slices/slice/update_o_auth_client.rs
··· 68 68 pub value: crate::network_slices::slice::get_o_auth_clients::OauthClientDetails<'a>, 69 69 } 70 70 71 - ///Response type for 71 + /// Response type for 72 72 ///network.slices.slice.updateOAuthClient 73 73 pub struct UpdateOAuthClientResponse; 74 74 impl jacquard_common::xrpc::XrpcResp for UpdateOAuthClientResponse { ··· 86 86 type Response = UpdateOAuthClientResponse; 87 87 } 88 88 89 - ///Endpoint type for 89 + /// Endpoint type for 90 90 ///network.slices.slice.updateOAuthClient 91 91 pub struct UpdateOAuthClientRequest; 92 92 impl jacquard_common::xrpc::XrpcEndpoint for UpdateOAuthClientRequest {
+2 -2
crates/jacquard-api/src/place_atwork/get_listing.rs
··· 104 104 } 105 105 } 106 106 107 - ///Response type for 107 + /// Response type for 108 108 ///place.atwork.getListing 109 109 pub struct GetListingResponse; 110 110 impl jacquard_common::xrpc::XrpcResp for GetListingResponse { ··· 120 120 type Response = GetListingResponse; 121 121 } 122 122 123 - ///Endpoint type for 123 + /// Endpoint type for 124 124 ///place.atwork.getListing 125 125 pub struct GetListingRequest; 126 126 impl jacquard_common::xrpc::XrpcEndpoint for GetListingRequest {
+2 -2
crates/jacquard-api/src/place_atwork/get_listings.rs
··· 71 71 pub listings: Vec<jacquard_common::types::value::Data<'a>>, 72 72 } 73 73 74 - ///Response type for 74 + /// Response type for 75 75 ///place.atwork.getListings 76 76 pub struct GetListingsResponse; 77 77 impl jacquard_common::xrpc::XrpcResp for GetListingsResponse { ··· 87 87 type Response = GetListingsResponse; 88 88 } 89 89 90 - ///Endpoint type for 90 + /// Endpoint type for 91 91 ///place.atwork.getListings 92 92 pub struct GetListingsRequest; 93 93 impl jacquard_common::xrpc::XrpcEndpoint for GetListingsRequest {
+1 -1
crates/jacquard-api/src/place_atwork/listing.rs
··· 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[builder(into)] 30 30 #[serde(borrow)] 31 - pub banner: Option<jacquard_common::types::blob::Blob<'a>>, 31 + pub banner: Option<jacquard_common::types::blob::BlobRef<'a>>, 32 32 /// The description of the job listing. 33 33 #[serde(borrow)] 34 34 #[builder(into)]
+3 -3
crates/jacquard-api/src/place_atwork/profile.rs
··· 59 59 #[serde(skip_serializing_if = "std::option::Option::is_none")] 60 60 #[builder(into)] 61 61 #[serde(borrow)] 62 - pub avatar: Option<jacquard_common::types::blob::Blob<'a>>, 62 + pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 63 63 /// Larger horizontal image to display behind profile view. 64 64 #[serde(skip_serializing_if = "std::option::Option::is_none")] 65 65 #[builder(into)] 66 66 #[serde(borrow)] 67 - pub banner: Option<jacquard_common::types::blob::Blob<'a>>, 67 + pub banner: Option<jacquard_common::types::blob::BlobRef<'a>>, 68 68 /// A free text description of the identity. 69 69 #[serde(skip_serializing_if = "std::option::Option::is_none")] 70 70 #[builder(into)] ··· 89 89 #[serde(skip_serializing_if = "std::option::Option::is_none")] 90 90 #[builder(into)] 91 91 #[serde(borrow)] 92 - pub resume: Option<jacquard_common::types::blob::Blob<'a>>, 92 + pub resume: Option<jacquard_common::types::blob::BlobRef<'a>>, 93 93 /// The current status of the identity. 94 94 #[serde(skip_serializing_if = "std::option::Option::is_none")] 95 95 #[builder(into)]
+2 -2
crates/jacquard-api/src/place_atwork/search_listings.rs
··· 101 101 } 102 102 } 103 103 104 - ///Response type for 104 + /// Response type for 105 105 ///place.atwork.searchListings 106 106 pub struct SearchListingsResponse; 107 107 impl jacquard_common::xrpc::XrpcResp for SearchListingsResponse { ··· 117 117 type Response = SearchListingsResponse; 118 118 } 119 119 120 - ///Endpoint type for 120 + /// Endpoint type for 121 121 ///place.atwork.searchListings 122 122 pub struct SearchListingsRequest; 123 123 impl jacquard_common::xrpc::XrpcEndpoint for SearchListingsRequest {
+2 -2
crates/jacquard-api/src/place_stream/graph/get_following_user.rs
··· 42 42 pub follow: std::option::Option<crate::com_atproto::repo::strong_ref::StrongRef<'a>>, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///place.stream.graph.getFollowingUser 47 47 pub struct GetFollowingUserResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for GetFollowingUserResponse { ··· 58 58 type Response = GetFollowingUserResponse; 59 59 } 60 60 61 - ///Endpoint type for 61 + /// Endpoint type for 62 62 ///place.stream.graph.getFollowingUser 63 63 pub struct GetFollowingUserRequest; 64 64 impl jacquard_common::xrpc::XrpcEndpoint for GetFollowingUserRequest {
+2 -2
crates/jacquard-api/src/place_stream/live/get_live_users.rs
··· 45 45 >, 46 46 } 47 47 48 - ///Response type for 48 + /// Response type for 49 49 ///place.stream.live.getLiveUsers 50 50 pub struct GetLiveUsersResponse; 51 51 impl jacquard_common::xrpc::XrpcResp for GetLiveUsersResponse { ··· 61 61 type Response = GetLiveUsersResponse; 62 62 } 63 63 64 - ///Endpoint type for 64 + /// Endpoint type for 65 65 ///place.stream.live.getLiveUsers 66 66 pub struct GetLiveUsersRequest; 67 67 impl jacquard_common::xrpc::XrpcEndpoint for GetLiveUsersRequest {
+26 -15
crates/jacquard-api/src/place_stream/live/get_profile_card.rs
··· 13 13 PartialEq, 14 14 Eq, 15 15 bon::Builder, 16 - jacquard_derive::IntoStatic 16 + jacquard_derive::IntoStatic, 17 17 )] 18 18 #[builder(start_fn = new)] 19 19 #[serde(rename_all = "camelCase")] ··· 23 23 pub id: jacquard_common::CowStr<'a>, 24 24 } 25 25 26 - #[jacquard_derive::lexicon] 27 26 #[derive( 28 - serde::Serialize, 29 - serde::Deserialize, 30 - Debug, 31 - Clone, 32 - PartialEq, 33 - Eq, 34 - jacquard_derive::IntoStatic 27 + serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, 35 28 )] 36 29 #[serde(rename_all = "camelCase")] 37 - pub struct GetProfileCardOutput<'a> {} 30 + pub struct GetProfileCardOutput { 31 + pub body: bytes::Bytes, 32 + } 33 + 38 34 #[jacquard_derive::open_union] 39 35 #[derive( 40 36 serde::Serialize, ··· 45 41 Eq, 46 42 thiserror::Error, 47 43 miette::Diagnostic, 48 - jacquard_derive::IntoStatic 44 + jacquard_derive::IntoStatic, 49 45 )] 50 46 #[serde(tag = "error", content = "message")] 51 47 #[serde(bound(deserialize = "'de: 'a"))] ··· 69 65 } 70 66 } 71 67 72 - ///Response type for 68 + /// Response type for 73 69 ///place.stream.live.getProfileCard 74 70 pub struct GetProfileCardResponse; 75 71 impl jacquard_common::xrpc::XrpcResp for GetProfileCardResponse { 76 72 const NSID: &'static str = "place.stream.live.getProfileCard"; 77 73 const ENCODING: &'static str = "*/*"; 78 - type Output<'de> = GetProfileCardOutput<'de>; 74 + type Output<'de> = GetProfileCardOutput; 79 75 type Err<'de> = GetProfileCardError<'de>; 76 + fn encode_output( 77 + output: &Self::Output<'_>, 78 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 79 + Ok(output.body.to_vec()) 80 + } 81 + fn decode_output<'de>( 82 + body: &'de [u8], 83 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 84 + where 85 + Self::Output<'de>: serde::Deserialize<'de>, 86 + { 87 + Ok(GetProfileCardOutput { 88 + body: bytes::Bytes::copy_from_slice(body), 89 + }) 90 + } 80 91 } 81 92 82 93 impl<'a> jacquard_common::xrpc::XrpcRequest for GetProfileCard<'a> { ··· 85 96 type Response = GetProfileCardResponse; 86 97 } 87 98 88 - ///Endpoint type for 99 + /// Endpoint type for 89 100 ///place.stream.live.getProfileCard 90 101 pub struct GetProfileCardRequest; 91 102 impl jacquard_common::xrpc::XrpcEndpoint for GetProfileCardRequest { ··· 93 104 const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; 94 105 type Request<'de> = GetProfileCard<'de>; 95 106 type Response = GetProfileCardResponse; 96 - } 107 + }
+2 -2
crates/jacquard-api/src/place_stream/live/get_segments.rs
··· 47 47 >, 48 48 } 49 49 50 - ///Response type for 50 + /// Response type for 51 51 ///place.stream.live.getSegments 52 52 pub struct GetSegmentsResponse; 53 53 impl jacquard_common::xrpc::XrpcResp for GetSegmentsResponse { ··· 63 63 type Response = GetSegmentsResponse; 64 64 } 65 65 66 - ///Endpoint type for 66 + /// Endpoint type for 67 67 ///place.stream.live.getSegments 68 68 pub struct GetSegmentsRequest; 69 69 impl jacquard_common::xrpc::XrpcEndpoint for GetSegmentsRequest {
+1 -1
crates/jacquard-api/src/place_stream/livestream.rs
··· 68 68 #[serde(skip_serializing_if = "std::option::Option::is_none")] 69 69 #[builder(into)] 70 70 #[serde(borrow)] 71 - pub thumb: Option<jacquard_common::types::blob::Blob<'a>>, 71 + pub thumb: Option<jacquard_common::types::blob::BlobRef<'a>>, 72 72 /// The title of the livestream, as it will be announced to followers. 73 73 #[serde(borrow)] 74 74 #[builder(into)]
+2 -2
crates/jacquard-api/src/place_stream/server/create_webhook.rs
··· 139 139 } 140 140 } 141 141 142 - ///Response type for 142 + /// Response type for 143 143 ///place.stream.server.createWebhook 144 144 pub struct CreateWebhookResponse; 145 145 impl jacquard_common::xrpc::XrpcResp for CreateWebhookResponse { ··· 157 157 type Response = CreateWebhookResponse; 158 158 } 159 159 160 - ///Endpoint type for 160 + /// Endpoint type for 161 161 ///place.stream.server.createWebhook 162 162 pub struct CreateWebhookRequest; 163 163 impl jacquard_common::xrpc::XrpcEndpoint for CreateWebhookRequest {
+2 -2
crates/jacquard-api/src/place_stream/server/delete_webhook.rs
··· 84 84 } 85 85 } 86 86 87 - ///Response type for 87 + /// Response type for 88 88 ///place.stream.server.deleteWebhook 89 89 pub struct DeleteWebhookResponse; 90 90 impl jacquard_common::xrpc::XrpcResp for DeleteWebhookResponse { ··· 102 102 type Response = DeleteWebhookResponse; 103 103 } 104 104 105 - ///Endpoint type for 105 + /// Endpoint type for 106 106 ///place.stream.server.deleteWebhook 107 107 pub struct DeleteWebhookRequest; 108 108 impl jacquard_common::xrpc::XrpcEndpoint for DeleteWebhookRequest {
+2 -2
crates/jacquard-api/src/place_stream/server/get_webhook.rs
··· 84 84 } 85 85 } 86 86 87 - ///Response type for 87 + /// Response type for 88 88 ///place.stream.server.getWebhook 89 89 pub struct GetWebhookResponse; 90 90 impl jacquard_common::xrpc::XrpcResp for GetWebhookResponse { ··· 100 100 type Response = GetWebhookResponse; 101 101 } 102 102 103 - ///Endpoint type for 103 + /// Endpoint type for 104 104 ///place.stream.server.getWebhook 105 105 pub struct GetWebhookRequest; 106 106 impl jacquard_common::xrpc::XrpcEndpoint for GetWebhookRequest {
+2 -2
crates/jacquard-api/src/place_stream/server/list_webhooks.rs
··· 88 88 } 89 89 } 90 90 91 - ///Response type for 91 + /// Response type for 92 92 ///place.stream.server.listWebhooks 93 93 pub struct ListWebhooksResponse; 94 94 impl jacquard_common::xrpc::XrpcResp for ListWebhooksResponse { ··· 104 104 type Response = ListWebhooksResponse; 105 105 } 106 106 107 - ///Endpoint type for 107 + /// Endpoint type for 108 108 ///place.stream.server.listWebhooks 109 109 pub struct ListWebhooksRequest; 110 110 impl jacquard_common::xrpc::XrpcEndpoint for ListWebhooksRequest {
+2 -2
crates/jacquard-api/src/place_stream/server/update_webhook.rs
··· 139 139 } 140 140 } 141 141 142 - ///Response type for 142 + /// Response type for 143 143 ///place.stream.server.updateWebhook 144 144 pub struct UpdateWebhookResponse; 145 145 impl jacquard_common::xrpc::XrpcResp for UpdateWebhookResponse { ··· 157 157 type Response = UpdateWebhookResponse; 158 158 } 159 159 160 - ///Endpoint type for 160 + /// Endpoint type for 161 161 ///place.stream.server.updateWebhook 162 162 pub struct UpdateWebhookRequest; 163 163 impl jacquard_common::xrpc::XrpcEndpoint for UpdateWebhookRequest {
+1 -1
crates/jacquard-api/src/pub_leaflet/blocks/image.rs
··· 43 43 #[serde(borrow)] 44 44 pub aspect_ratio: crate::pub_leaflet::blocks::image::AspectRatio<'a>, 45 45 #[serde(borrow)] 46 - pub image: jacquard_common::types::blob::Blob<'a>, 46 + pub image: jacquard_common::types::blob::BlobRef<'a>, 47 47 }
+1 -1
crates/jacquard-api/src/pub_leaflet/blocks/website.rs
··· 25 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 26 #[builder(into)] 27 27 #[serde(borrow)] 28 - pub preview_image: Option<jacquard_common::types::blob::Blob<'a>>, 28 + pub preview_image: Option<jacquard_common::types::blob::BlobRef<'a>>, 29 29 #[serde(borrow)] 30 30 pub src: jacquard_common::types::string::Uri<'a>, 31 31 #[serde(skip_serializing_if = "std::option::Option::is_none")]
+1 -1
crates/jacquard-api/src/pub_leaflet/publication.rs
··· 30 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 31 #[builder(into)] 32 32 #[serde(borrow)] 33 - pub icon: Option<jacquard_common::types::blob::Blob<'a>>, 33 + pub icon: Option<jacquard_common::types::blob::BlobRef<'a>>, 34 34 #[serde(borrow)] 35 35 #[builder(into)] 36 36 pub name: jacquard_common::CowStr<'a>,
+1 -1
crates/jacquard-api/src/pub_leaflet/theme/background_image.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct BackgroundImage<'a> { 21 21 #[serde(borrow)] 22 - pub image: jacquard_common::types::blob::Blob<'a>, 22 + pub image: jacquard_common::types::blob::BlobRef<'a>, 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[builder(into)] 25 25 pub repeat: Option<bool>,
+2 -2
crates/jacquard-api/src/sh_tangled/knot/list_keys.rs
··· 82 82 } 83 83 } 84 84 85 - ///Response type for 85 + /// Response type for 86 86 ///sh.tangled.knot.listKeys 87 87 pub struct ListKeysResponse; 88 88 impl jacquard_common::xrpc::XrpcResp for ListKeysResponse { ··· 98 98 type Response = ListKeysResponse; 99 99 } 100 100 101 - ///Endpoint type for 101 + /// Endpoint type for 102 102 ///sh.tangled.knot.listKeys 103 103 pub struct ListKeysRequest; 104 104 impl jacquard_common::xrpc::XrpcEndpoint for ListKeysRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/knot/version.rs
··· 57 57 jacquard_derive::IntoStatic 58 58 )] 59 59 pub struct Version; 60 - ///Response type for 60 + /// Response type for 61 61 ///sh.tangled.knot.version 62 62 pub struct VersionResponse; 63 63 impl jacquard_common::xrpc::XrpcResp for VersionResponse { ··· 73 73 type Response = VersionResponse; 74 74 } 75 75 76 - ///Endpoint type for 76 + /// Endpoint type for 77 77 ///sh.tangled.knot.version 78 78 pub struct VersionRequest; 79 79 impl jacquard_common::xrpc::XrpcEndpoint for VersionRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/owner.rs
··· 68 68 jacquard_derive::IntoStatic 69 69 )] 70 70 pub struct Owner; 71 - ///Response type for 71 + /// Response type for 72 72 ///sh.tangled.owner 73 73 pub struct OwnerResponse; 74 74 impl jacquard_common::xrpc::XrpcResp for OwnerResponse { ··· 84 84 type Response = OwnerResponse; 85 85 } 86 86 87 - ///Endpoint type for 87 + /// Endpoint type for 88 88 ///sh.tangled.owner 89 89 pub struct OwnerRequest; 90 90 impl jacquard_common::xrpc::XrpcEndpoint for OwnerRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/add_secret.rs
··· 36 36 >, 37 37 } 38 38 39 - ///Response type for 39 + /// Response type for 40 40 ///sh.tangled.repo.addSecret 41 41 pub struct AddSecretResponse; 42 42 impl jacquard_common::xrpc::XrpcResp for AddSecretResponse { ··· 54 54 type Response = AddSecretResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///sh.tangled.repo.addSecret 59 59 pub struct AddSecretRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for AddSecretRequest {
+22 -5
crates/jacquard-api/src/sh_tangled/repo/archive.rs
··· 36 36 } 37 37 38 38 /// Binary archive data 39 - #[jacquard_derive::lexicon] 40 39 #[derive( 41 40 serde::Serialize, 42 41 serde::Deserialize, ··· 47 46 jacquard_derive::IntoStatic 48 47 )] 49 48 #[serde(rename_all = "camelCase")] 50 - pub struct ArchiveOutput<'a> {} 49 + pub struct ArchiveOutput { 50 + pub body: bytes::Bytes, 51 + } 52 + 51 53 #[jacquard_derive::open_union] 52 54 #[derive( 53 55 serde::Serialize, ··· 113 115 } 114 116 } 115 117 116 - ///Response type for 118 + /// Response type for 117 119 ///sh.tangled.repo.archive 118 120 pub struct ArchiveResponse; 119 121 impl jacquard_common::xrpc::XrpcResp for ArchiveResponse { 120 122 const NSID: &'static str = "sh.tangled.repo.archive"; 121 123 const ENCODING: &'static str = "*/*"; 122 - type Output<'de> = ArchiveOutput<'de>; 124 + type Output<'de> = ArchiveOutput; 123 125 type Err<'de> = ArchiveError<'de>; 126 + fn encode_output( 127 + output: &Self::Output<'_>, 128 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 129 + Ok(output.body.to_vec()) 130 + } 131 + fn decode_output<'de>( 132 + body: &'de [u8], 133 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 134 + where 135 + Self::Output<'de>: serde::Deserialize<'de>, 136 + { 137 + Ok(ArchiveOutput { 138 + body: bytes::Bytes::copy_from_slice(body), 139 + }) 140 + } 124 141 } 125 142 126 143 impl<'a> jacquard_common::xrpc::XrpcRequest for Archive<'a> { ··· 129 146 type Response = ArchiveResponse; 130 147 } 131 148 132 - ///Endpoint type for 149 + /// Endpoint type for 133 150 ///sh.tangled.repo.archive 134 151 pub struct ArchiveRequest; 135 152 impl jacquard_common::xrpc::XrpcEndpoint for ArchiveRequest {
+1 -1
crates/jacquard-api/src/sh_tangled/repo/artifact.rs
··· 20 20 pub struct Artifact<'a> { 21 21 /// the artifact 22 22 #[serde(borrow)] 23 - pub artifact: jacquard_common::types::blob::Blob<'a>, 23 + pub artifact: jacquard_common::types::blob::BlobRef<'a>, 24 24 /// time of creation of this artifact 25 25 pub created_at: jacquard_common::types::string::Datetime, 26 26 /// name of the artifact
+2 -2
crates/jacquard-api/src/sh_tangled/repo/blob.rs
··· 172 172 } 173 173 } 174 174 175 - ///Response type for 175 + /// Response type for 176 176 ///sh.tangled.repo.blob 177 177 pub struct BlobResponse; 178 178 impl jacquard_common::xrpc::XrpcResp for BlobResponse { ··· 188 188 type Response = BlobResponse; 189 189 } 190 190 191 - ///Endpoint type for 191 + /// Endpoint type for 192 192 ///sh.tangled.repo.blob 193 193 pub struct BlobRequest; 194 194 impl jacquard_common::xrpc::XrpcEndpoint for BlobRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/branch.rs
··· 117 117 } 118 118 } 119 119 120 - ///Response type for 120 + /// Response type for 121 121 ///sh.tangled.repo.branch 122 122 pub struct BranchResponse; 123 123 impl jacquard_common::xrpc::XrpcResp for BranchResponse { ··· 133 133 type Response = BranchResponse; 134 134 } 135 135 136 - ///Endpoint type for 136 + /// Endpoint type for 137 137 ///sh.tangled.repo.branch 138 138 pub struct BranchRequest; 139 139 impl jacquard_common::xrpc::XrpcEndpoint for BranchRequest {
+22 -5
crates/jacquard-api/src/sh_tangled/repo/branches.rs
··· 30 30 pub repo: jacquard_common::CowStr<'a>, 31 31 } 32 32 33 - #[jacquard_derive::lexicon] 34 33 #[derive( 35 34 serde::Serialize, 36 35 serde::Deserialize, ··· 41 40 jacquard_derive::IntoStatic 42 41 )] 43 42 #[serde(rename_all = "camelCase")] 44 - pub struct BranchesOutput<'a> {} 43 + pub struct BranchesOutput { 44 + pub body: bytes::Bytes, 45 + } 46 + 45 47 #[jacquard_derive::open_union] 46 48 #[derive( 47 49 serde::Serialize, ··· 87 89 } 88 90 } 89 91 90 - ///Response type for 92 + /// Response type for 91 93 ///sh.tangled.repo.branches 92 94 pub struct BranchesResponse; 93 95 impl jacquard_common::xrpc::XrpcResp for BranchesResponse { 94 96 const NSID: &'static str = "sh.tangled.repo.branches"; 95 97 const ENCODING: &'static str = "*/*"; 96 - type Output<'de> = BranchesOutput<'de>; 98 + type Output<'de> = BranchesOutput; 97 99 type Err<'de> = BranchesError<'de>; 100 + fn encode_output( 101 + output: &Self::Output<'_>, 102 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 103 + Ok(output.body.to_vec()) 104 + } 105 + fn decode_output<'de>( 106 + body: &'de [u8], 107 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 108 + where 109 + Self::Output<'de>: serde::Deserialize<'de>, 110 + { 111 + Ok(BranchesOutput { 112 + body: bytes::Bytes::copy_from_slice(body), 113 + }) 114 + } 98 115 } 99 116 100 117 impl<'a> jacquard_common::xrpc::XrpcRequest for Branches<'a> { ··· 103 120 type Response = BranchesResponse; 104 121 } 105 122 106 - ///Endpoint type for 123 + /// Endpoint type for 107 124 ///sh.tangled.repo.branches 108 125 pub struct BranchesRequest; 109 126 impl jacquard_common::xrpc::XrpcEndpoint for BranchesRequest {
+22 -5
crates/jacquard-api/src/sh_tangled/repo/compare.rs
··· 30 30 } 31 31 32 32 /// Compare output in application/json 33 - #[jacquard_derive::lexicon] 34 33 #[derive( 35 34 serde::Serialize, 36 35 serde::Deserialize, ··· 41 40 jacquard_derive::IntoStatic 42 41 )] 43 42 #[serde(rename_all = "camelCase")] 44 - pub struct CompareOutput<'a> {} 43 + pub struct CompareOutput { 44 + pub body: bytes::Bytes, 45 + } 46 + 45 47 #[jacquard_derive::open_union] 46 48 #[derive( 47 49 serde::Serialize, ··· 107 109 } 108 110 } 109 111 110 - ///Response type for 112 + /// Response type for 111 113 ///sh.tangled.repo.compare 112 114 pub struct CompareResponse; 113 115 impl jacquard_common::xrpc::XrpcResp for CompareResponse { 114 116 const NSID: &'static str = "sh.tangled.repo.compare"; 115 117 const ENCODING: &'static str = "*/*"; 116 - type Output<'de> = CompareOutput<'de>; 118 + type Output<'de> = CompareOutput; 117 119 type Err<'de> = CompareError<'de>; 120 + fn encode_output( 121 + output: &Self::Output<'_>, 122 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 123 + Ok(output.body.to_vec()) 124 + } 125 + fn decode_output<'de>( 126 + body: &'de [u8], 127 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 128 + where 129 + Self::Output<'de>: serde::Deserialize<'de>, 130 + { 131 + Ok(CompareOutput { 132 + body: bytes::Bytes::copy_from_slice(body), 133 + }) 134 + } 118 135 } 119 136 120 137 impl<'a> jacquard_common::xrpc::XrpcRequest for Compare<'a> { ··· 123 140 type Response = CompareResponse; 124 141 } 125 142 126 - ///Endpoint type for 143 + /// Endpoint type for 127 144 ///sh.tangled.repo.compare 128 145 pub struct CompareRequest; 129 146 impl jacquard_common::xrpc::XrpcEndpoint for CompareRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/create.rs
··· 31 31 pub source: std::option::Option<jacquard_common::CowStr<'a>>, 32 32 } 33 33 34 - ///Response type for 34 + /// Response type for 35 35 ///sh.tangled.repo.create 36 36 pub struct CreateResponse; 37 37 impl jacquard_common::xrpc::XrpcResp for CreateResponse { ··· 49 49 type Response = CreateResponse; 50 50 } 51 51 52 - ///Endpoint type for 52 + /// Endpoint type for 53 53 ///sh.tangled.repo.create 54 54 pub struct CreateRequest; 55 55 impl jacquard_common::xrpc::XrpcEndpoint for CreateRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/delete.rs
··· 39 39 >, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///sh.tangled.repo.delete 44 44 pub struct DeleteResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for DeleteResponse { ··· 57 57 type Response = DeleteResponse; 58 58 } 59 59 60 - ///Endpoint type for 60 + /// Endpoint type for 61 61 ///sh.tangled.repo.delete 62 62 pub struct DeleteRequest; 63 63 impl jacquard_common::xrpc::XrpcEndpoint for DeleteRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/delete_branch.rs
··· 33 33 >, 34 34 } 35 35 36 - ///Response type for 36 + /// Response type for 37 37 ///sh.tangled.repo.deleteBranch 38 38 pub struct DeleteBranchResponse; 39 39 impl jacquard_common::xrpc::XrpcResp for DeleteBranchResponse { ··· 51 51 type Response = DeleteBranchResponse; 52 52 } 53 53 54 - ///Endpoint type for 54 + /// Endpoint type for 55 55 ///sh.tangled.repo.deleteBranch 56 56 pub struct DeleteBranchRequest; 57 57 impl jacquard_common::xrpc::XrpcEndpoint for DeleteBranchRequest {
+22 -5
crates/jacquard-api/src/sh_tangled/repo/diff.rs
··· 26 26 pub repo: jacquard_common::CowStr<'a>, 27 27 } 28 28 29 - #[jacquard_derive::lexicon] 30 29 #[derive( 31 30 serde::Serialize, 32 31 serde::Deserialize, ··· 37 36 jacquard_derive::IntoStatic 38 37 )] 39 38 #[serde(rename_all = "camelCase")] 40 - pub struct DiffOutput<'a> {} 39 + pub struct DiffOutput { 40 + pub body: bytes::Bytes, 41 + } 42 + 41 43 #[jacquard_derive::open_union] 42 44 #[derive( 43 45 serde::Serialize, ··· 93 95 } 94 96 } 95 97 96 - ///Response type for 98 + /// Response type for 97 99 ///sh.tangled.repo.diff 98 100 pub struct DiffResponse; 99 101 impl jacquard_common::xrpc::XrpcResp for DiffResponse { 100 102 const NSID: &'static str = "sh.tangled.repo.diff"; 101 103 const ENCODING: &'static str = "*/*"; 102 - type Output<'de> = DiffOutput<'de>; 104 + type Output<'de> = DiffOutput; 103 105 type Err<'de> = DiffError<'de>; 106 + fn encode_output( 107 + output: &Self::Output<'_>, 108 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 109 + Ok(output.body.to_vec()) 110 + } 111 + fn decode_output<'de>( 112 + body: &'de [u8], 113 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 114 + where 115 + Self::Output<'de>: serde::Deserialize<'de>, 116 + { 117 + Ok(DiffOutput { 118 + body: bytes::Bytes::copy_from_slice(body), 119 + }) 120 + } 104 121 } 105 122 106 123 impl<'a> jacquard_common::xrpc::XrpcRequest for Diff<'a> { ··· 109 126 type Response = DiffResponse; 110 127 } 111 128 112 - ///Endpoint type for 129 + /// Endpoint type for 113 130 ///sh.tangled.repo.diff 114 131 pub struct DiffRequest; 115 132 impl jacquard_common::xrpc::XrpcEndpoint for DiffRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/fork_status.rs
··· 63 63 pub status: i64, 64 64 } 65 65 66 - ///Response type for 66 + /// Response type for 67 67 ///sh.tangled.repo.forkStatus 68 68 pub struct ForkStatusResponse; 69 69 impl jacquard_common::xrpc::XrpcResp for ForkStatusResponse { ··· 81 81 type Response = ForkStatusResponse; 82 82 } 83 83 84 - ///Endpoint type for 84 + /// Endpoint type for 85 85 ///sh.tangled.repo.forkStatus 86 86 pub struct ForkStatusRequest; 87 87 impl jacquard_common::xrpc::XrpcEndpoint for ForkStatusRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs
··· 42 42 >, 43 43 } 44 44 45 - ///Response type for 45 + /// Response type for 46 46 ///sh.tangled.repo.forkSync 47 47 pub struct ForkSyncResponse; 48 48 impl jacquard_common::xrpc::XrpcResp for ForkSyncResponse { ··· 60 60 type Response = ForkSyncResponse; 61 61 } 62 62 63 - ///Endpoint type for 63 + /// Endpoint type for 64 64 ///sh.tangled.repo.forkSync 65 65 pub struct ForkSyncRequest; 66 66 impl jacquard_common::xrpc::XrpcEndpoint for ForkSyncRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/get_default_branch.rs
··· 101 101 } 102 102 } 103 103 104 - ///Response type for 104 + /// Response type for 105 105 ///sh.tangled.repo.getDefaultBranch 106 106 pub struct GetDefaultBranchResponse; 107 107 impl jacquard_common::xrpc::XrpcResp for GetDefaultBranchResponse { ··· 117 117 type Response = GetDefaultBranchResponse; 118 118 } 119 119 120 - ///Endpoint type for 120 + /// Endpoint type for 121 121 ///sh.tangled.repo.getDefaultBranch 122 122 pub struct GetDefaultBranchRequest; 123 123 impl jacquard_common::xrpc::XrpcEndpoint for GetDefaultBranchRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs
··· 63 63 pub success: bool, 64 64 } 65 65 66 - ///Response type for 66 + /// Response type for 67 67 ///sh.tangled.repo.hiddenRef 68 68 pub struct HiddenRefResponse; 69 69 impl jacquard_common::xrpc::XrpcResp for HiddenRefResponse { ··· 81 81 type Response = HiddenRefResponse; 82 82 } 83 83 84 - ///Endpoint type for 84 + /// Endpoint type for 85 85 ///sh.tangled.repo.hiddenRef 86 86 pub struct HiddenRefRequest; 87 87 impl jacquard_common::xrpc::XrpcEndpoint for HiddenRefRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/languages.rs
··· 145 145 } 146 146 } 147 147 148 - ///Response type for 148 + /// Response type for 149 149 ///sh.tangled.repo.languages 150 150 pub struct LanguagesResponse; 151 151 impl jacquard_common::xrpc::XrpcResp for LanguagesResponse { ··· 161 161 type Response = LanguagesResponse; 162 162 } 163 163 164 - ///Endpoint type for 164 + /// Endpoint type for 165 165 ///sh.tangled.repo.languages 166 166 pub struct LanguagesRequest; 167 167 impl jacquard_common::xrpc::XrpcEndpoint for LanguagesRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs
··· 38 38 pub secrets: Vec<jacquard_common::types::value::Data<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///sh.tangled.repo.listSecrets 43 43 pub struct ListSecretsResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for ListSecretsResponse { ··· 54 54 type Response = ListSecretsResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///sh.tangled.repo.listSecrets 59 59 pub struct ListSecretsRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for ListSecretsRequest {
+22 -5
crates/jacquard-api/src/sh_tangled/repo/log.rs
··· 38 38 pub repo: jacquard_common::CowStr<'a>, 39 39 } 40 40 41 - #[jacquard_derive::lexicon] 42 41 #[derive( 43 42 serde::Serialize, 44 43 serde::Deserialize, ··· 49 48 jacquard_derive::IntoStatic 50 49 )] 51 50 #[serde(rename_all = "camelCase")] 52 - pub struct LogOutput<'a> {} 51 + pub struct LogOutput { 52 + pub body: bytes::Bytes, 53 + } 54 + 53 55 #[jacquard_derive::open_union] 54 56 #[derive( 55 57 serde::Serialize, ··· 115 117 } 116 118 } 117 119 118 - ///Response type for 120 + /// Response type for 119 121 ///sh.tangled.repo.log 120 122 pub struct LogResponse; 121 123 impl jacquard_common::xrpc::XrpcResp for LogResponse { 122 124 const NSID: &'static str = "sh.tangled.repo.log"; 123 125 const ENCODING: &'static str = "*/*"; 124 - type Output<'de> = LogOutput<'de>; 126 + type Output<'de> = LogOutput; 125 127 type Err<'de> = LogError<'de>; 128 + fn encode_output( 129 + output: &Self::Output<'_>, 130 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 131 + Ok(output.body.to_vec()) 132 + } 133 + fn decode_output<'de>( 134 + body: &'de [u8], 135 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 136 + where 137 + Self::Output<'de>: serde::Deserialize<'de>, 138 + { 139 + Ok(LogOutput { 140 + body: bytes::Bytes::copy_from_slice(body), 141 + }) 142 + } 126 143 } 127 144 128 145 impl<'a> jacquard_common::xrpc::XrpcRequest for Log<'a> { ··· 131 148 type Response = LogResponse; 132 149 } 133 150 134 - ///Endpoint type for 151 + /// Endpoint type for 135 152 ///sh.tangled.repo.log 136 153 pub struct LogRequest; 137 154 impl jacquard_common::xrpc::XrpcEndpoint for LogRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/merge.rs
··· 63 63 >, 64 64 } 65 65 66 - ///Response type for 66 + /// Response type for 67 67 ///sh.tangled.repo.merge 68 68 pub struct MergeResponse; 69 69 impl jacquard_common::xrpc::XrpcResp for MergeResponse { ··· 81 81 type Response = MergeResponse; 82 82 } 83 83 84 - ///Endpoint type for 84 + /// Endpoint type for 85 85 ///sh.tangled.repo.merge 86 86 pub struct MergeRequest; 87 87 impl jacquard_common::xrpc::XrpcEndpoint for MergeRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/merge_check.rs
··· 92 92 pub message: std::option::Option<jacquard_common::CowStr<'a>>, 93 93 } 94 94 95 - ///Response type for 95 + /// Response type for 96 96 ///sh.tangled.repo.mergeCheck 97 97 pub struct MergeCheckResponse; 98 98 impl jacquard_common::xrpc::XrpcResp for MergeCheckResponse { ··· 110 110 type Response = MergeCheckResponse; 111 111 } 112 112 113 - ///Endpoint type for 113 + /// Endpoint type for 114 114 ///sh.tangled.repo.mergeCheck 115 115 pub struct MergeCheckRequest; 116 116 impl jacquard_common::xrpc::XrpcEndpoint for MergeCheckRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs
··· 33 33 >, 34 34 } 35 35 36 - ///Response type for 36 + /// Response type for 37 37 ///sh.tangled.repo.removeSecret 38 38 pub struct RemoveSecretResponse; 39 39 impl jacquard_common::xrpc::XrpcResp for RemoveSecretResponse { ··· 51 51 type Response = RemoveSecretResponse; 52 52 } 53 53 54 - ///Endpoint type for 54 + /// Endpoint type for 55 55 ///sh.tangled.repo.removeSecret 56 56 pub struct RemoveSecretRequest; 57 57 impl jacquard_common::xrpc::XrpcEndpoint for RemoveSecretRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/set_default_branch.rs
··· 33 33 >, 34 34 } 35 35 36 - ///Response type for 36 + /// Response type for 37 37 ///sh.tangled.repo.setDefaultBranch 38 38 pub struct SetDefaultBranchResponse; 39 39 impl jacquard_common::xrpc::XrpcResp for SetDefaultBranchResponse { ··· 51 51 type Response = SetDefaultBranchResponse; 52 52 } 53 53 54 - ///Endpoint type for 54 + /// Endpoint type for 55 55 ///sh.tangled.repo.setDefaultBranch 56 56 pub struct SetDefaultBranchRequest; 57 57 impl jacquard_common::xrpc::XrpcEndpoint for SetDefaultBranchRequest {
+22 -5
crates/jacquard-api/src/sh_tangled/repo/tags.rs
··· 30 30 pub repo: jacquard_common::CowStr<'a>, 31 31 } 32 32 33 - #[jacquard_derive::lexicon] 34 33 #[derive( 35 34 serde::Serialize, 36 35 serde::Deserialize, ··· 41 40 jacquard_derive::IntoStatic 42 41 )] 43 42 #[serde(rename_all = "camelCase")] 44 - pub struct TagsOutput<'a> {} 43 + pub struct TagsOutput { 44 + pub body: bytes::Bytes, 45 + } 46 + 45 47 #[jacquard_derive::open_union] 46 48 #[derive( 47 49 serde::Serialize, ··· 87 89 } 88 90 } 89 91 90 - ///Response type for 92 + /// Response type for 91 93 ///sh.tangled.repo.tags 92 94 pub struct TagsResponse; 93 95 impl jacquard_common::xrpc::XrpcResp for TagsResponse { 94 96 const NSID: &'static str = "sh.tangled.repo.tags"; 95 97 const ENCODING: &'static str = "*/*"; 96 - type Output<'de> = TagsOutput<'de>; 98 + type Output<'de> = TagsOutput; 97 99 type Err<'de> = TagsError<'de>; 100 + fn encode_output( 101 + output: &Self::Output<'_>, 102 + ) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 103 + Ok(output.body.to_vec()) 104 + } 105 + fn decode_output<'de>( 106 + body: &'de [u8], 107 + ) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 108 + where 109 + Self::Output<'de>: serde::Deserialize<'de>, 110 + { 111 + Ok(TagsOutput { 112 + body: bytes::Bytes::copy_from_slice(body), 113 + }) 114 + } 98 115 } 99 116 100 117 impl<'a> jacquard_common::xrpc::XrpcRequest for Tags<'a> { ··· 103 120 type Response = TagsResponse; 104 121 } 105 122 106 - ///Endpoint type for 123 + /// Endpoint type for 107 124 ///sh.tangled.repo.tags 108 125 pub struct TagsRequest; 109 126 impl jacquard_common::xrpc::XrpcEndpoint for TagsRequest {
+2 -2
crates/jacquard-api/src/sh_tangled/repo/tree.rs
··· 152 152 } 153 153 } 154 154 155 - ///Response type for 155 + /// Response type for 156 156 ///sh.tangled.repo.tree 157 157 pub struct TreeResponse; 158 158 impl jacquard_common::xrpc::XrpcResp for TreeResponse { ··· 168 168 type Response = TreeResponse; 169 169 } 170 170 171 - ///Endpoint type for 171 + /// Endpoint type for 172 172 ///sh.tangled.repo.tree 173 173 pub struct TreeRequest; 174 174 impl jacquard_common::xrpc::XrpcEndpoint for TreeRequest {
+2 -2
crates/jacquard-api/src/sh_weaver/actor/get_profile.rs
··· 39 39 pub value: crate::sh_weaver::actor::ProfileDataView<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///sh.weaver.actor.getProfile 44 44 pub struct GetProfileResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetProfileResponse { ··· 55 55 type Response = GetProfileResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///sh.weaver.actor.getProfile 60 60 pub struct GetProfileRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
+1 -1
crates/jacquard-api/src/sh_weaver/actor/profile.rs
··· 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[builder(into)] 25 25 #[serde(borrow)] 26 - pub avatar: Option<jacquard_common::types::blob::Blob<'a>>, 26 + pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 27 27 /// Include link to this account on Bluesky. 28 28 #[serde(skip_serializing_if = "std::option::Option::is_none")] 29 29 #[builder(into)]
+1 -1
crates/jacquard-api/src/sh_weaver/edit/diff.rs
··· 24 24 #[serde(borrow)] 25 25 pub root: crate::com_atproto::repo::strong_ref::StrongRef<'a>, 26 26 #[serde(borrow)] 27 - pub snapshot: jacquard_common::types::blob::Blob<'a>, 27 + pub snapshot: jacquard_common::types::blob::BlobRef<'a>, 28 28 } 29 29 30 30 impl<'a> Diff<'a> {
+1 -1
crates/jacquard-api/src/sh_weaver/edit/root.rs
··· 24 24 #[serde(borrow)] 25 25 pub doc: crate::sh_weaver::edit::DocRef<'a>, 26 26 #[serde(borrow)] 27 - pub snapshot: jacquard_common::types::blob::Blob<'a>, 27 + pub snapshot: jacquard_common::types::blob::BlobRef<'a>, 28 28 #[serde(borrow)] 29 29 pub uri: jacquard_common::types::string::AtUri<'a>, 30 30 }
+1 -1
crates/jacquard-api/src/sh_weaver/embed/external.rs
··· 24 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 25 #[builder(into)] 26 26 #[serde(borrow)] 27 - pub thumb: Option<jacquard_common::types::blob::Blob<'a>>, 27 + pub thumb: Option<jacquard_common::types::blob::BlobRef<'a>>, 28 28 #[serde(borrow)] 29 29 #[builder(into)] 30 30 pub title: jacquard_common::CowStr<'a>,
+1 -1
crates/jacquard-api/src/sh_weaver/embed/images.rs
··· 32 32 #[serde(borrow)] 33 33 pub dimensions: Option<ImageDimensions<'a>>, 34 34 #[serde(borrow)] 35 - pub image: jacquard_common::types::blob::Blob<'a>, 35 + pub image: jacquard_common::types::blob::BlobRef<'a>, 36 36 } 37 37 38 38 #[jacquard_derive::open_union]
+2 -2
crates/jacquard-api/src/sh_weaver/embed/video.rs
··· 19 19 #[serde(rename_all = "camelCase")] 20 20 pub struct Caption<'a> { 21 21 #[serde(borrow)] 22 - pub file: jacquard_common::types::blob::Blob<'a>, 22 + pub file: jacquard_common::types::blob::BlobRef<'a>, 23 23 pub lang: jacquard_common::types::string::Language, 24 24 } 25 25 ··· 51 51 pub captions: Option<Vec<crate::sh_weaver::embed::video::Caption<'a>>>, 52 52 /// The mp4 video file. May be up to 100mb, formerly limited to 50mb. 53 53 #[serde(borrow)] 54 - pub video: jacquard_common::types::blob::Blob<'a>, 54 + pub video: jacquard_common::types::blob::BlobRef<'a>, 55 55 } 56 56 57 57 #[jacquard_derive::lexicon]
+2 -2
crates/jacquard-api/src/sh_weaver/notebook.rs
··· 191 191 #[serde(skip_serializing_if = "std::option::Option::is_none")] 192 192 #[builder(into)] 193 193 #[serde(borrow)] 194 - pub css: Option<jacquard_common::types::blob::Blob<'a>>, 194 + pub css: Option<jacquard_common::types::blob::BlobRef<'a>>, 195 195 #[serde(borrow)] 196 - pub html: jacquard_common::types::blob::Blob<'a>, 196 + pub html: jacquard_common::types::blob::BlobRef<'a>, 197 197 } 198 198 199 199 /// An array of tags associated with the notebook entry. Tags can help categorize and organize entries.
+1 -1
crates/jacquard-api/src/sh_weaver/publish/blob.rs
··· 21 21 pub struct Blob<'a> { 22 22 /// Reference to the uploaded file 23 23 #[serde(borrow)] 24 - pub upload: jacquard_common::types::blob::Blob<'a>, 24 + pub upload: jacquard_common::types::blob::BlobRef<'a>, 25 25 } 26 26 27 27 impl<'a> Blob<'a> {
+2 -2
crates/jacquard-api/src/social_clippr/actor/get_preferences.rs
··· 35 35 pub preferences: crate::social_clippr::actor::Preferences<'a>, 36 36 } 37 37 38 - ///Response type for 38 + /// Response type for 39 39 ///social.clippr.actor.getPreferences 40 40 pub struct GetPreferencesResponse; 41 41 impl jacquard_common::xrpc::XrpcResp for GetPreferencesResponse { ··· 51 51 type Response = GetPreferencesResponse; 52 52 } 53 53 54 - ///Endpoint type for 54 + /// Endpoint type for 55 55 ///social.clippr.actor.getPreferences 56 56 pub struct GetPreferencesRequest; 57 57 impl jacquard_common::xrpc::XrpcEndpoint for GetPreferencesRequest {
+2 -2
crates/jacquard-api/src/social_clippr/actor/get_profile.rs
··· 39 39 pub value: crate::social_clippr::actor::ProfileView<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///social.clippr.actor.getProfile 44 44 pub struct GetProfileResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetProfileResponse { ··· 55 55 type Response = GetProfileResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///social.clippr.actor.getProfile 60 60 pub struct GetProfileRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
+1 -1
crates/jacquard-api/src/social_clippr/actor/profile.rs
··· 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[builder(into)] 25 25 #[serde(borrow)] 26 - pub avatar: Option<jacquard_common::types::blob::Blob<'a>>, 26 + pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 27 27 /// The creation date of the profile 28 28 pub created_at: jacquard_common::types::string::Datetime, 29 29 /// Text for user to describe themselves
+2 -2
crates/jacquard-api/src/social_clippr/actor/put_preferences.rs
··· 31 31 >, 32 32 } 33 33 34 - ///Response type for 34 + /// Response type for 35 35 ///social.clippr.actor.putPreferences 36 36 pub struct PutPreferencesResponse; 37 37 impl jacquard_common::xrpc::XrpcResp for PutPreferencesResponse { ··· 49 49 type Response = PutPreferencesResponse; 50 50 } 51 51 52 - ///Endpoint type for 52 + /// Endpoint type for 53 53 ///social.clippr.actor.putPreferences 54 54 pub struct PutPreferencesRequest; 55 55 impl jacquard_common::xrpc::XrpcEndpoint for PutPreferencesRequest {
+2 -2
crates/jacquard-api/src/social_clippr/actor/search_clips.rs
··· 54 54 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 55 55 } 56 56 57 - ///Response type for 57 + /// Response type for 58 58 ///social.clippr.actor.searchClips 59 59 pub struct SearchClipsResponse; 60 60 impl jacquard_common::xrpc::XrpcResp for SearchClipsResponse { ··· 70 70 type Response = SearchClipsResponse; 71 71 } 72 72 73 - ///Endpoint type for 73 + /// Endpoint type for 74 74 ///social.clippr.actor.searchClips 75 75 pub struct SearchClipsRequest; 76 76 impl jacquard_common::xrpc::XrpcEndpoint for SearchClipsRequest {
+2 -2
crates/jacquard-api/src/social_clippr/actor/search_profiles.rs
··· 51 51 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 52 52 } 53 53 54 - ///Response type for 54 + /// Response type for 55 55 ///social.clippr.actor.searchProfiles 56 56 pub struct SearchProfilesResponse; 57 57 impl jacquard_common::xrpc::XrpcResp for SearchProfilesResponse { ··· 67 67 type Response = SearchProfilesResponse; 68 68 } 69 69 70 - ///Endpoint type for 70 + /// Endpoint type for 71 71 ///social.clippr.actor.searchProfiles 72 72 pub struct SearchProfilesRequest; 73 73 impl jacquard_common::xrpc::XrpcEndpoint for SearchProfilesRequest {
+2 -2
crates/jacquard-api/src/social_clippr/actor/search_tags.rs
··· 54 54 pub tags: Vec<crate::social_clippr::feed::TagView<'a>>, 55 55 } 56 56 57 - ///Response type for 57 + /// Response type for 58 58 ///social.clippr.actor.searchTags 59 59 pub struct SearchTagsResponse; 60 60 impl jacquard_common::xrpc::XrpcResp for SearchTagsResponse { ··· 70 70 type Response = SearchTagsResponse; 71 71 } 72 72 73 - ///Endpoint type for 73 + /// Endpoint type for 74 74 ///social.clippr.actor.searchTags 75 75 pub struct SearchTagsRequest; 76 76 impl jacquard_common::xrpc::XrpcEndpoint for SearchTagsRequest {
+2 -2
crates/jacquard-api/src/social_clippr/feed/get_clips.rs
··· 39 39 pub clips: Vec<crate::social_clippr::feed::ClipView<'a>>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///social.clippr.feed.getClips 44 44 pub struct GetClipsResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetClipsResponse { ··· 55 55 type Response = GetClipsResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///social.clippr.feed.getClips 60 60 pub struct GetClipsRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetClipsRequest {
+2 -2
crates/jacquard-api/src/social_clippr/feed/get_profile_clips.rs
··· 53 53 pub feed: Vec<crate::social_clippr::feed::ClipView<'a>>, 54 54 } 55 55 56 - ///Response type for 56 + /// Response type for 57 57 ///social.clippr.feed.getProfileClips 58 58 pub struct GetProfileClipsResponse; 59 59 impl jacquard_common::xrpc::XrpcResp for GetProfileClipsResponse { ··· 69 69 type Response = GetProfileClipsResponse; 70 70 } 71 71 72 - ///Endpoint type for 72 + /// Endpoint type for 73 73 ///social.clippr.feed.getProfileClips 74 74 pub struct GetProfileClipsRequest; 75 75 impl jacquard_common::xrpc::XrpcEndpoint for GetProfileClipsRequest {
+2 -2
crates/jacquard-api/src/social_clippr/feed/get_profile_tags.rs
··· 48 48 pub feed: Vec<crate::social_clippr::feed::TagView<'a>>, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///social.clippr.feed.getProfileTags 53 53 pub struct GetProfileTagsResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for GetProfileTagsResponse { ··· 64 64 type Response = GetProfileTagsResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///social.clippr.feed.getProfileTags 69 69 pub struct GetProfileTagsRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for GetProfileTagsRequest {
+2 -2
crates/jacquard-api/src/social_clippr/feed/get_tag_list.rs
··· 40 40 pub tags: Vec<crate::social_clippr::feed::TagView<'a>>, 41 41 } 42 42 43 - ///Response type for 43 + /// Response type for 44 44 ///social.clippr.feed.getTagList 45 45 pub struct GetTagListResponse; 46 46 impl jacquard_common::xrpc::XrpcResp for GetTagListResponse { ··· 56 56 type Response = GetTagListResponse; 57 57 } 58 58 59 - ///Endpoint type for 59 + /// Endpoint type for 60 60 ///social.clippr.feed.getTagList 61 61 pub struct GetTagListRequest; 62 62 impl jacquard_common::xrpc::XrpcEndpoint for GetTagListRequest {
+2 -2
crates/jacquard-api/src/social_clippr/feed/get_tags.rs
··· 39 39 pub tags: Vec<crate::social_clippr::feed::TagView<'a>>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///social.clippr.feed.getTags 44 44 pub struct GetTagsResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for GetTagsResponse { ··· 55 55 type Response = GetTagsResponse; 56 56 } 57 57 58 - ///Endpoint type for 58 + /// Endpoint type for 59 59 ///social.clippr.feed.getTags 60 60 pub struct GetTagsRequest; 61 61 impl jacquard_common::xrpc::XrpcEndpoint for GetTagsRequest {
+1 -1
crates/jacquard-api/src/social_grain/actor/profile.rs
··· 23 23 #[serde(skip_serializing_if = "std::option::Option::is_none")] 24 24 #[builder(into)] 25 25 #[serde(borrow)] 26 - pub avatar: Option<jacquard_common::types::blob::Blob<'a>>, 26 + pub avatar: Option<jacquard_common::types::blob::BlobRef<'a>>, 27 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 28 #[builder(into)] 29 29 pub created_at: Option<jacquard_common::types::string::Datetime>,
+1 -1
crates/jacquard-api/src/social_grain/photo.rs
··· 32 32 #[builder(into)] 33 33 pub created_at: Option<jacquard_common::types::string::Datetime>, 34 34 #[serde(borrow)] 35 - pub photo: jacquard_common::types::blob::Blob<'a>, 35 + pub photo: jacquard_common::types::blob::BlobRef<'a>, 36 36 } 37 37 38 38 impl<'a> Photo<'a> {
+2 -2
crates/jacquard-api/src/tools_ozone/communication/create_template.rs
··· 87 87 } 88 88 } 89 89 90 - ///Response type for 90 + /// Response type for 91 91 ///tools.ozone.communication.createTemplate 92 92 pub struct CreateTemplateResponse; 93 93 impl jacquard_common::xrpc::XrpcResp for CreateTemplateResponse { ··· 105 105 type Response = CreateTemplateResponse; 106 106 } 107 107 108 - ///Endpoint type for 108 + /// Endpoint type for 109 109 ///tools.ozone.communication.createTemplate 110 110 pub struct CreateTemplateRequest; 111 111 impl jacquard_common::xrpc::XrpcEndpoint for CreateTemplateRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/communication/delete_template.rs
··· 22 22 pub id: jacquard_common::CowStr<'a>, 23 23 } 24 24 25 - ///Response type for 25 + /// Response type for 26 26 ///tools.ozone.communication.deleteTemplate 27 27 pub struct DeleteTemplateResponse; 28 28 impl jacquard_common::xrpc::XrpcResp for DeleteTemplateResponse { ··· 40 40 type Response = DeleteTemplateResponse; 41 41 } 42 42 43 - ///Endpoint type for 43 + /// Endpoint type for 44 44 ///tools.ozone.communication.deleteTemplate 45 45 pub struct DeleteTemplateRequest; 46 46 impl jacquard_common::xrpc::XrpcEndpoint for DeleteTemplateRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/communication/list_templates.rs
··· 35 35 jacquard_derive::IntoStatic 36 36 )] 37 37 pub struct ListTemplates; 38 - ///Response type for 38 + /// Response type for 39 39 ///tools.ozone.communication.listTemplates 40 40 pub struct ListTemplatesResponse; 41 41 impl jacquard_common::xrpc::XrpcResp for ListTemplatesResponse { ··· 51 51 type Response = ListTemplatesResponse; 52 52 } 53 53 54 - ///Endpoint type for 54 + /// Endpoint type for 55 55 ///tools.ozone.communication.listTemplates 56 56 pub struct ListTemplatesRequest; 57 57 impl jacquard_common::xrpc::XrpcEndpoint for ListTemplatesRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/communication/update_template.rs
··· 95 95 } 96 96 } 97 97 98 - ///Response type for 98 + /// Response type for 99 99 ///tools.ozone.communication.updateTemplate 100 100 pub struct UpdateTemplateResponse; 101 101 impl jacquard_common::xrpc::XrpcResp for UpdateTemplateResponse { ··· 113 113 type Response = UpdateTemplateResponse; 114 114 } 115 115 116 - ///Endpoint type for 116 + /// Endpoint type for 117 117 ///tools.ozone.communication.updateTemplate 118 118 pub struct UpdateTemplateRequest; 119 119 impl jacquard_common::xrpc::XrpcEndpoint for UpdateTemplateRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs
··· 179 179 pub events: Vec<jacquard_common::types::value::Data<'a>>, 180 180 } 181 181 182 - ///Response type for 182 + /// Response type for 183 183 ///tools.ozone.hosting.getAccountHistory 184 184 pub struct GetAccountHistoryResponse; 185 185 impl jacquard_common::xrpc::XrpcResp for GetAccountHistoryResponse { ··· 195 195 type Response = GetAccountHistoryResponse; 196 196 } 197 197 198 - ///Endpoint type for 198 + /// Endpoint type for 199 199 ///tools.ozone.hosting.getAccountHistory 200 200 pub struct GetAccountHistoryRequest; 201 201 impl jacquard_common::xrpc::XrpcEndpoint for GetAccountHistoryRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/cancel_scheduled_actions.rs
··· 100 100 pub value: jacquard_common::types::value::Data<'a>, 101 101 } 102 102 103 - ///Response type for 103 + /// Response type for 104 104 ///tools.ozone.moderation.cancelScheduledActions 105 105 pub struct CancelScheduledActionsResponse; 106 106 impl jacquard_common::xrpc::XrpcResp for CancelScheduledActionsResponse { ··· 118 118 type Response = CancelScheduledActionsResponse; 119 119 } 120 120 121 - ///Endpoint type for 121 + /// Endpoint type for 122 122 ///tools.ozone.moderation.cancelScheduledActions 123 123 pub struct CancelScheduledActionsRequest; 124 124 impl jacquard_common::xrpc::XrpcEndpoint for CancelScheduledActionsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs
··· 206 206 } 207 207 } 208 208 209 - ///Response type for 209 + /// Response type for 210 210 ///tools.ozone.moderation.emitEvent 211 211 pub struct EmitEventResponse; 212 212 impl jacquard_common::xrpc::XrpcResp for EmitEventResponse { ··· 224 224 type Response = EmitEventResponse; 225 225 } 226 226 227 - ///Endpoint type for 227 + /// Endpoint type for 228 228 ///tools.ozone.moderation.emitEvent 229 229 pub struct EmitEventRequest; 230 230 impl jacquard_common::xrpc::XrpcEndpoint for EmitEventRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs
··· 72 72 } 73 73 } 74 74 75 - ///Response type for 75 + /// Response type for 76 76 ///tools.ozone.moderation.getAccountTimeline 77 77 pub struct GetAccountTimelineResponse; 78 78 impl jacquard_common::xrpc::XrpcResp for GetAccountTimelineResponse { ··· 88 88 type Response = GetAccountTimelineResponse; 89 89 } 90 90 91 - ///Endpoint type for 91 + /// Endpoint type for 92 92 ///tools.ozone.moderation.getAccountTimeline 93 93 pub struct GetAccountTimelineRequest; 94 94 impl jacquard_common::xrpc::XrpcEndpoint for GetAccountTimelineRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/get_event.rs
··· 38 38 pub value: crate::tools_ozone::moderation::ModEventViewDetail<'a>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///tools.ozone.moderation.getEvent 43 43 pub struct GetEventResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetEventResponse { ··· 54 54 type Response = GetEventResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///tools.ozone.moderation.getEvent 59 59 pub struct GetEventRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetEventRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/get_record.rs
··· 76 76 } 77 77 } 78 78 79 - ///Response type for 79 + /// Response type for 80 80 ///tools.ozone.moderation.getRecord 81 81 pub struct GetRecordResponse; 82 82 impl jacquard_common::xrpc::XrpcResp for GetRecordResponse { ··· 92 92 type Response = GetRecordResponse; 93 93 } 94 94 95 - ///Endpoint type for 95 + /// Endpoint type for 96 96 ///tools.ozone.moderation.getRecord 97 97 pub struct GetRecordRequest; 98 98 impl jacquard_common::xrpc::XrpcEndpoint for GetRecordRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/get_records.rs
··· 57 57 RecordViewNotFound(Box<crate::tools_ozone::moderation::RecordViewNotFound<'a>>), 58 58 } 59 59 60 - ///Response type for 60 + /// Response type for 61 61 ///tools.ozone.moderation.getRecords 62 62 pub struct GetRecordsResponse; 63 63 impl jacquard_common::xrpc::XrpcResp for GetRecordsResponse { ··· 73 73 type Response = GetRecordsResponse; 74 74 } 75 75 76 - ///Endpoint type for 76 + /// Endpoint type for 77 77 ///tools.ozone.moderation.getRecords 78 78 pub struct GetRecordsRequest; 79 79 impl jacquard_common::xrpc::XrpcEndpoint for GetRecordsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs
··· 73 73 } 74 74 } 75 75 76 - ///Response type for 76 + /// Response type for 77 77 ///tools.ozone.moderation.getRepo 78 78 pub struct GetRepoResponse; 79 79 impl jacquard_common::xrpc::XrpcResp for GetRepoResponse { ··· 89 89 type Response = GetRepoResponse; 90 90 } 91 91 92 - ///Endpoint type for 92 + /// Endpoint type for 93 93 ///tools.ozone.moderation.getRepo 94 94 pub struct GetRepoRequest; 95 95 impl jacquard_common::xrpc::XrpcEndpoint for GetRepoRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/get_reporter_stats.rs
··· 38 38 pub stats: Vec<crate::tools_ozone::moderation::ReporterStats<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///tools.ozone.moderation.getReporterStats 43 43 pub struct GetReporterStatsResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetReporterStatsResponse { ··· 54 54 type Response = GetReporterStatsResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///tools.ozone.moderation.getReporterStats 59 59 pub struct GetReporterStatsRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetReporterStatsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/get_repos.rs
··· 57 57 RepoViewNotFound(Box<crate::tools_ozone::moderation::RepoViewNotFound<'a>>), 58 58 } 59 59 60 - ///Response type for 60 + /// Response type for 61 61 ///tools.ozone.moderation.getRepos 62 62 pub struct GetReposResponse; 63 63 impl jacquard_common::xrpc::XrpcResp for GetReposResponse { ··· 73 73 type Response = GetReposResponse; 74 74 } 75 75 76 - ///Endpoint type for 76 + /// Endpoint type for 77 77 ///tools.ozone.moderation.getRepos 78 78 pub struct GetReposRequest; 79 79 impl jacquard_common::xrpc::XrpcEndpoint for GetReposRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/get_subjects.rs
··· 38 38 pub subjects: Vec<crate::tools_ozone::moderation::SubjectView<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///tools.ozone.moderation.getSubjects 43 43 pub struct GetSubjectsResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for GetSubjectsResponse { ··· 54 54 type Response = GetSubjectsResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///tools.ozone.moderation.getSubjects 59 59 pub struct GetSubjectsRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for GetSubjectsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/list_scheduled_actions.rs
··· 73 73 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 74 74 } 75 75 76 - ///Response type for 76 + /// Response type for 77 77 ///tools.ozone.moderation.listScheduledActions 78 78 pub struct ListScheduledActionsResponse; 79 79 impl jacquard_common::xrpc::XrpcResp for ListScheduledActionsResponse { ··· 91 91 type Response = ListScheduledActionsResponse; 92 92 } 93 93 94 - ///Endpoint type for 94 + /// Endpoint type for 95 95 ///tools.ozone.moderation.listScheduledActions 96 96 pub struct ListScheduledActionsRequest; 97 97 impl jacquard_common::xrpc::XrpcEndpoint for ListScheduledActionsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/query_events.rs
··· 109 109 pub events: Vec<crate::tools_ozone::moderation::ModEventView<'a>>, 110 110 } 111 111 112 - ///Response type for 112 + /// Response type for 113 113 ///tools.ozone.moderation.queryEvents 114 114 pub struct QueryEventsResponse; 115 115 impl jacquard_common::xrpc::XrpcResp for QueryEventsResponse { ··· 125 125 type Response = QueryEventsResponse; 126 126 } 127 127 128 - ///Endpoint type for 128 + /// Endpoint type for 129 129 ///tools.ozone.moderation.queryEvents 130 130 pub struct QueryEventsRequest; 131 131 impl jacquard_common::xrpc::XrpcEndpoint for QueryEventsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/query_statuses.rs
··· 146 146 pub subject_statuses: Vec<crate::tools_ozone::moderation::SubjectStatusView<'a>>, 147 147 } 148 148 149 - ///Response type for 149 + /// Response type for 150 150 ///tools.ozone.moderation.queryStatuses 151 151 pub struct QueryStatusesResponse; 152 152 impl jacquard_common::xrpc::XrpcResp for QueryStatusesResponse { ··· 162 162 type Response = QueryStatusesResponse; 163 163 } 164 164 165 - ///Endpoint type for 165 + /// Endpoint type for 166 166 ///tools.ozone.moderation.queryStatuses 167 167 pub struct QueryStatusesRequest; 168 168 impl jacquard_common::xrpc::XrpcEndpoint for QueryStatusesRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs
··· 83 83 pub value: jacquard_common::types::value::Data<'a>, 84 84 } 85 85 86 - ///Response type for 86 + /// Response type for 87 87 ///tools.ozone.moderation.scheduleAction 88 88 pub struct ScheduleActionResponse; 89 89 impl jacquard_common::xrpc::XrpcResp for ScheduleActionResponse { ··· 101 101 type Response = ScheduleActionResponse; 102 102 } 103 103 104 - ///Endpoint type for 104 + /// Endpoint type for 105 105 ///tools.ozone.moderation.scheduleAction 106 106 pub struct ScheduleActionRequest; 107 107 impl jacquard_common::xrpc::XrpcEndpoint for ScheduleActionRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/moderation/search_repos.rs
··· 54 54 pub repos: Vec<crate::tools_ozone::moderation::RepoView<'a>>, 55 55 } 56 56 57 - ///Response type for 57 + /// Response type for 58 58 ///tools.ozone.moderation.searchRepos 59 59 pub struct SearchReposResponse; 60 60 impl jacquard_common::xrpc::XrpcResp for SearchReposResponse { ··· 70 70 type Response = SearchReposResponse; 71 71 } 72 72 73 - ///Endpoint type for 73 + /// Endpoint type for 74 74 ///tools.ozone.moderation.searchRepos 75 75 pub struct SearchReposRequest; 76 76 impl jacquard_common::xrpc::XrpcEndpoint for SearchReposRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs
··· 110 110 } 111 111 } 112 112 113 - ///Response type for 113 + /// Response type for 114 114 ///tools.ozone.safelink.addRule 115 115 pub struct AddRuleResponse; 116 116 impl jacquard_common::xrpc::XrpcResp for AddRuleResponse { ··· 128 128 type Response = AddRuleResponse; 129 129 } 130 130 131 - ///Endpoint type for 131 + /// Endpoint type for 132 132 ///tools.ozone.safelink.addRule 133 133 pub struct AddRuleRequest; 134 134 impl jacquard_common::xrpc::XrpcEndpoint for AddRuleRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/safelink/query_events.rs
··· 59 59 pub events: Vec<crate::tools_ozone::safelink::Event<'a>>, 60 60 } 61 61 62 - ///Response type for 62 + /// Response type for 63 63 ///tools.ozone.safelink.queryEvents 64 64 pub struct QueryEventsResponse; 65 65 impl jacquard_common::xrpc::XrpcResp for QueryEventsResponse { ··· 77 77 type Response = QueryEventsResponse; 78 78 } 79 79 80 - ///Endpoint type for 80 + /// Endpoint type for 81 81 ///tools.ozone.safelink.queryEvents 82 82 pub struct QueryEventsRequest; 83 83 impl jacquard_common::xrpc::XrpcEndpoint for QueryEventsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs
··· 71 71 pub rules: Vec<crate::tools_ozone::safelink::UrlRule<'a>>, 72 72 } 73 73 74 - ///Response type for 74 + /// Response type for 75 75 ///tools.ozone.safelink.queryRules 76 76 pub struct QueryRulesResponse; 77 77 impl jacquard_common::xrpc::XrpcResp for QueryRulesResponse { ··· 89 89 type Response = QueryRulesResponse; 90 90 } 91 91 92 - ///Endpoint type for 92 + /// Endpoint type for 93 93 ///tools.ozone.safelink.queryRules 94 94 pub struct QueryRulesRequest; 95 95 impl jacquard_common::xrpc::XrpcEndpoint for QueryRulesRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs
··· 96 96 } 97 97 } 98 98 99 - ///Response type for 99 + /// Response type for 100 100 ///tools.ozone.safelink.removeRule 101 101 pub struct RemoveRuleResponse; 102 102 impl jacquard_common::xrpc::XrpcResp for RemoveRuleResponse { ··· 114 114 type Response = RemoveRuleResponse; 115 115 } 116 116 117 - ///Endpoint type for 117 + /// Endpoint type for 118 118 ///tools.ozone.safelink.removeRule 119 119 pub struct RemoveRuleRequest; 120 120 impl jacquard_common::xrpc::XrpcEndpoint for RemoveRuleRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs
··· 100 100 } 101 101 } 102 102 103 - ///Response type for 103 + /// Response type for 104 104 ///tools.ozone.safelink.updateRule 105 105 pub struct UpdateRuleResponse; 106 106 impl jacquard_common::xrpc::XrpcResp for UpdateRuleResponse { ··· 118 118 type Response = UpdateRuleResponse; 119 119 } 120 120 121 - ///Endpoint type for 121 + /// Endpoint type for 122 122 ///tools.ozone.safelink.updateRule 123 123 pub struct UpdateRuleRequest; 124 124 impl jacquard_common::xrpc::XrpcEndpoint for UpdateRuleRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/server/get_config.rs
··· 51 51 jacquard_derive::IntoStatic 52 52 )] 53 53 pub struct GetConfig; 54 - ///Response type for 54 + /// Response type for 55 55 ///tools.ozone.server.getConfig 56 56 pub struct GetConfigResponse; 57 57 impl jacquard_common::xrpc::XrpcResp for GetConfigResponse { ··· 67 67 type Response = GetConfigResponse; 68 68 } 69 69 70 - ///Endpoint type for 70 + /// Endpoint type for 71 71 ///tools.ozone.server.getConfig 72 72 pub struct GetConfigRequest; 73 73 impl jacquard_common::xrpc::XrpcEndpoint for GetConfigRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/set/add_values.rs
··· 35 35 >, 36 36 } 37 37 38 - ///Response type for 38 + /// Response type for 39 39 ///tools.ozone.set.addValues 40 40 pub struct AddValuesResponse; 41 41 impl jacquard_common::xrpc::XrpcResp for AddValuesResponse { ··· 53 53 type Response = AddValuesResponse; 54 54 } 55 55 56 - ///Endpoint type for 56 + /// Endpoint type for 57 57 ///tools.ozone.set.addValues 58 58 pub struct AddValuesRequest; 59 59 impl jacquard_common::xrpc::XrpcEndpoint for AddValuesRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/set/delete_set.rs
··· 71 71 } 72 72 } 73 73 74 - ///Response type for 74 + /// Response type for 75 75 ///tools.ozone.set.deleteSet 76 76 pub struct DeleteSetResponse; 77 77 impl jacquard_common::xrpc::XrpcResp for DeleteSetResponse { ··· 89 89 type Response = DeleteSetResponse; 90 90 } 91 91 92 - ///Endpoint type for 92 + /// Endpoint type for 93 93 ///tools.ozone.set.deleteSet 94 94 pub struct DeleteSetRequest; 95 95 impl jacquard_common::xrpc::XrpcEndpoint for DeleteSetRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/set/delete_values.rs
··· 70 70 } 71 71 } 72 72 73 - ///Response type for 73 + /// Response type for 74 74 ///tools.ozone.set.deleteValues 75 75 pub struct DeleteValuesResponse; 76 76 impl jacquard_common::xrpc::XrpcResp for DeleteValuesResponse { ··· 88 88 type Response = DeleteValuesResponse; 89 89 } 90 90 91 - ///Endpoint type for 91 + /// Endpoint type for 92 92 ///tools.ozone.set.deleteValues 93 93 pub struct DeleteValuesRequest; 94 94 impl jacquard_common::xrpc::XrpcEndpoint for DeleteValuesRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/set/get_values.rs
··· 86 86 } 87 87 } 88 88 89 - ///Response type for 89 + /// Response type for 90 90 ///tools.ozone.set.getValues 91 91 pub struct GetValuesResponse; 92 92 impl jacquard_common::xrpc::XrpcResp for GetValuesResponse { ··· 102 102 type Response = GetValuesResponse; 103 103 } 104 104 105 - ///Endpoint type for 105 + /// Endpoint type for 106 106 ///tools.ozone.set.getValues 107 107 pub struct GetValuesRequest; 108 108 impl jacquard_common::xrpc::XrpcEndpoint for GetValuesRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/set/query_sets.rs
··· 60 60 pub sets: Vec<crate::tools_ozone::set::SetView<'a>>, 61 61 } 62 62 63 - ///Response type for 63 + /// Response type for 64 64 ///tools.ozone.set.querySets 65 65 pub struct QuerySetsResponse; 66 66 impl jacquard_common::xrpc::XrpcResp for QuerySetsResponse { ··· 76 76 type Response = QuerySetsResponse; 77 77 } 78 78 79 - ///Endpoint type for 79 + /// Endpoint type for 80 80 ///tools.ozone.set.querySets 81 81 pub struct QuerySetsRequest; 82 82 impl jacquard_common::xrpc::XrpcEndpoint for QuerySetsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/set/upsert_set.rs
··· 39 39 pub value: crate::tools_ozone::set::SetView<'a>, 40 40 } 41 41 42 - ///Response type for 42 + /// Response type for 43 43 ///tools.ozone.set.upsertSet 44 44 pub struct UpsertSetResponse; 45 45 impl jacquard_common::xrpc::XrpcResp for UpsertSetResponse { ··· 57 57 type Response = UpsertSetResponse; 58 58 } 59 59 60 - ///Endpoint type for 60 + /// Endpoint type for 61 61 ///tools.ozone.set.upsertSet 62 62 pub struct UpsertSetRequest; 63 63 impl jacquard_common::xrpc::XrpcEndpoint for UpsertSetRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/setting/list_options.rs
··· 58 58 pub options: Vec<crate::tools_ozone::setting::Option<'a>>, 59 59 } 60 60 61 - ///Response type for 61 + /// Response type for 62 62 ///tools.ozone.setting.listOptions 63 63 pub struct ListOptionsResponse; 64 64 impl jacquard_common::xrpc::XrpcResp for ListOptionsResponse { ··· 74 74 type Response = ListOptionsResponse; 75 75 } 76 76 77 - ///Endpoint type for 77 + /// Endpoint type for 78 78 ///tools.ozone.setting.listOptions 79 79 pub struct ListOptionsRequest; 80 80 impl jacquard_common::xrpc::XrpcEndpoint for ListOptionsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/setting/remove_options.rs
··· 46 46 )] 47 47 #[serde(rename_all = "camelCase")] 48 48 pub struct RemoveOptionsOutput<'a> {} 49 - ///Response type for 49 + /// Response type for 50 50 ///tools.ozone.setting.removeOptions 51 51 pub struct RemoveOptionsResponse; 52 52 impl jacquard_common::xrpc::XrpcResp for RemoveOptionsResponse { ··· 64 64 type Response = RemoveOptionsResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///tools.ozone.setting.removeOptions 69 69 pub struct RemoveOptionsRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for RemoveOptionsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs
··· 59 59 pub option: crate::tools_ozone::setting::Option<'a>, 60 60 } 61 61 62 - ///Response type for 62 + /// Response type for 63 63 ///tools.ozone.setting.upsertOption 64 64 pub struct UpsertOptionResponse; 65 65 impl jacquard_common::xrpc::XrpcResp for UpsertOptionResponse { ··· 77 77 type Response = UpsertOptionResponse; 78 78 } 79 79 80 - ///Endpoint type for 80 + /// Endpoint type for 81 81 ///tools.ozone.setting.upsertOption 82 82 pub struct UpsertOptionRequest; 83 83 impl jacquard_common::xrpc::XrpcEndpoint for UpsertOptionRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/signature/find_correlation.rs
··· 38 38 pub details: Vec<crate::tools_ozone::signature::SigDetail<'a>>, 39 39 } 40 40 41 - ///Response type for 41 + /// Response type for 42 42 ///tools.ozone.signature.findCorrelation 43 43 pub struct FindCorrelationResponse; 44 44 impl jacquard_common::xrpc::XrpcResp for FindCorrelationResponse { ··· 54 54 type Response = FindCorrelationResponse; 55 55 } 56 56 57 - ///Endpoint type for 57 + /// Endpoint type for 58 58 ///tools.ozone.signature.findCorrelation 59 59 pub struct FindCorrelationRequest; 60 60 impl jacquard_common::xrpc::XrpcEndpoint for FindCorrelationRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/signature/search_accounts.rs
··· 48 48 pub cursor: std::option::Option<jacquard_common::CowStr<'a>>, 49 49 } 50 50 51 - ///Response type for 51 + /// Response type for 52 52 ///tools.ozone.signature.searchAccounts 53 53 pub struct SearchAccountsResponse; 54 54 impl jacquard_common::xrpc::XrpcResp for SearchAccountsResponse { ··· 64 64 type Response = SearchAccountsResponse; 65 65 } 66 66 67 - ///Endpoint type for 67 + /// Endpoint type for 68 68 ///tools.ozone.signature.searchAccounts 69 69 pub struct SearchAccountsRequest; 70 70 impl jacquard_common::xrpc::XrpcEndpoint for SearchAccountsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/team/add_member.rs
··· 85 85 } 86 86 } 87 87 88 - ///Response type for 88 + /// Response type for 89 89 ///tools.ozone.team.addMember 90 90 pub struct AddMemberResponse; 91 91 impl jacquard_common::xrpc::XrpcResp for AddMemberResponse { ··· 103 103 type Response = AddMemberResponse; 104 104 } 105 105 106 - ///Endpoint type for 106 + /// Endpoint type for 107 107 ///tools.ozone.team.addMember 108 108 pub struct AddMemberRequest; 109 109 impl jacquard_common::xrpc::XrpcEndpoint for AddMemberRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/team/delete_member.rs
··· 75 75 } 76 76 } 77 77 78 - ///Response type for 78 + /// Response type for 79 79 ///tools.ozone.team.deleteMember 80 80 pub struct DeleteMemberResponse; 81 81 impl jacquard_common::xrpc::XrpcResp for DeleteMemberResponse { ··· 93 93 type Response = DeleteMemberResponse; 94 94 } 95 95 96 - ///Endpoint type for 96 + /// Endpoint type for 97 97 ///tools.ozone.team.deleteMember 98 98 pub struct DeleteMemberRequest; 99 99 impl jacquard_common::xrpc::XrpcEndpoint for DeleteMemberRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/team/list_members.rs
··· 55 55 pub members: Vec<crate::tools_ozone::team::Member<'a>>, 56 56 } 57 57 58 - ///Response type for 58 + /// Response type for 59 59 ///tools.ozone.team.listMembers 60 60 pub struct ListMembersResponse; 61 61 impl jacquard_common::xrpc::XrpcResp for ListMembersResponse { ··· 71 71 type Response = ListMembersResponse; 72 72 } 73 73 74 - ///Endpoint type for 74 + /// Endpoint type for 75 75 ///tools.ozone.team.listMembers 76 76 pub struct ListMembersRequest; 77 77 impl jacquard_common::xrpc::XrpcEndpoint for ListMembersRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/team/update_member.rs
··· 89 89 } 90 90 } 91 91 92 - ///Response type for 92 + /// Response type for 93 93 ///tools.ozone.team.updateMember 94 94 pub struct UpdateMemberResponse; 95 95 impl jacquard_common::xrpc::XrpcResp for UpdateMemberResponse { ··· 107 107 type Response = UpdateMemberResponse; 108 108 } 109 109 110 - ///Endpoint type for 110 + /// Endpoint type for 111 111 ///tools.ozone.team.updateMember 112 112 pub struct UpdateMemberRequest; 113 113 impl jacquard_common::xrpc::XrpcEndpoint for UpdateMemberRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs
··· 72 72 pub verifications: Vec<crate::tools_ozone::verification::VerificationView<'a>>, 73 73 } 74 74 75 - ///Response type for 75 + /// Response type for 76 76 ///tools.ozone.verification.grantVerifications 77 77 pub struct GrantVerificationsResponse; 78 78 impl jacquard_common::xrpc::XrpcResp for GrantVerificationsResponse { ··· 90 90 type Response = GrantVerificationsResponse; 91 91 } 92 92 93 - ///Endpoint type for 93 + /// Endpoint type for 94 94 ///tools.ozone.verification.grantVerifications 95 95 pub struct GrantVerificationsRequest; 96 96 impl jacquard_common::xrpc::XrpcEndpoint for GrantVerificationsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/verification/list_verifications.rs
··· 63 63 pub verifications: Vec<crate::tools_ozone::verification::VerificationView<'a>>, 64 64 } 65 65 66 - ///Response type for 66 + /// Response type for 67 67 ///tools.ozone.verification.listVerifications 68 68 pub struct ListVerificationsResponse; 69 69 impl jacquard_common::xrpc::XrpcResp for ListVerificationsResponse { ··· 79 79 type Response = ListVerificationsResponse; 80 80 } 81 81 82 - ///Endpoint type for 82 + /// Endpoint type for 83 83 ///tools.ozone.verification.listVerifications 84 84 pub struct ListVerificationsRequest; 85 85 impl jacquard_common::xrpc::XrpcEndpoint for ListVerificationsRequest {
+2 -2
crates/jacquard-api/src/tools_ozone/verification/revoke_verifications.rs
··· 56 56 pub revoked_verifications: Vec<jacquard_common::types::string::AtUri<'a>>, 57 57 } 58 58 59 - ///Response type for 59 + /// Response type for 60 60 ///tools.ozone.verification.revokeVerifications 61 61 pub struct RevokeVerificationsResponse; 62 62 impl jacquard_common::xrpc::XrpcResp for RevokeVerificationsResponse { ··· 74 74 type Response = RevokeVerificationsResponse; 75 75 } 76 76 77 - ///Endpoint type for 77 + /// Endpoint type for 78 78 ///tools.ozone.verification.revokeVerifications 79 79 pub struct RevokeVerificationsRequest; 80 80 impl jacquard_common::xrpc::XrpcEndpoint for RevokeVerificationsRequest {
+2 -2
crates/jacquard-api/src/tools_smokesignal/blahg/content/post.rs
··· 24 24 #[serde(borrow)] 25 25 pub alt: Option<jacquard_common::CowStr<'a>>, 26 26 #[serde(borrow)] 27 - pub content: jacquard_common::types::blob::Blob<'a>, 27 + pub content: jacquard_common::types::blob::BlobRef<'a>, 28 28 } 29 29 30 30 /// A blagh post ··· 51 51 #[serde(skip_serializing_if = "std::option::Option::is_none")] 52 52 #[builder(into)] 53 53 #[serde(borrow)] 54 - pub content: Option<jacquard_common::types::blob::Blob<'a>>, 54 + pub content: Option<jacquard_common::types::blob::BlobRef<'a>>, 55 55 /// Indicates human language of text content. 56 56 #[serde(skip_serializing_if = "std::option::Option::is_none")] 57 57 #[builder(into)]
+1 -1
crates/jacquard-api/src/uk_skyblur/post.rs
··· 34 34 #[serde(skip_serializing_if = "std::option::Option::is_none")] 35 35 #[builder(into)] 36 36 #[serde(borrow)] 37 - pub encrypt_body: Option<jacquard_common::types::blob::Blob<'a>>, 37 + pub encrypt_body: Option<jacquard_common::types::blob::BlobRef<'a>>, 38 38 /// The post main contents. Blurred text must be enclosed in brackets []. 39 39 #[serde(borrow)] 40 40 #[builder(into)]
+2 -2
crates/jacquard-api/src/uk_skyblur/post/decrypt_by_cid.rs
··· 61 61 pub text: jacquard_common::CowStr<'a>, 62 62 } 63 63 64 - ///Response type for 64 + /// Response type for 65 65 ///uk.skyblur.post.decryptByCid 66 66 pub struct DecryptByCidResponse; 67 67 impl jacquard_common::xrpc::XrpcResp for DecryptByCidResponse { ··· 79 79 type Response = DecryptByCidResponse; 80 80 } 81 81 82 - ///Endpoint type for 82 + /// Endpoint type for 83 83 ///uk.skyblur.post.decryptByCid 84 84 pub struct DecryptByCidRequest; 85 85 impl jacquard_common::xrpc::XrpcEndpoint for DecryptByCidRequest {
+2 -2
crates/jacquard-api/src/uk_skyblur/post/encrypt.rs
··· 45 45 pub message: std::option::Option<jacquard_common::CowStr<'a>>, 46 46 } 47 47 48 - ///Response type for 48 + /// Response type for 49 49 ///uk.skyblur.post.encrypt 50 50 pub struct EncryptResponse; 51 51 impl jacquard_common::xrpc::XrpcResp for EncryptResponse { ··· 63 63 type Response = EncryptResponse; 64 64 } 65 65 66 - ///Endpoint type for 66 + /// Endpoint type for 67 67 ///uk.skyblur.post.encrypt 68 68 pub struct EncryptRequest; 69 69 impl jacquard_common::xrpc::XrpcEndpoint for EncryptRequest {
+2 -2
crates/jacquard-api/src/uk_skyblur/post/get_post.rs
··· 59 59 pub text: jacquard_common::CowStr<'a>, 60 60 } 61 61 62 - ///Response type for 62 + /// Response type for 63 63 ///uk.skyblur.post.getPost 64 64 pub struct GetPostResponse; 65 65 impl jacquard_common::xrpc::XrpcResp for GetPostResponse { ··· 77 77 type Response = GetPostResponse; 78 78 } 79 79 80 - ///Endpoint type for 80 + /// Endpoint type for 81 81 ///uk.skyblur.post.getPost 82 82 pub struct GetPostRequest; 83 83 impl jacquard_common::xrpc::XrpcEndpoint for GetPostRequest {
+2 -2
crates/jacquard-api/src/win_tomo_x/pushat/push_notify.rs
··· 89 89 } 90 90 } 91 91 92 - ///Response type for 92 + /// Response type for 93 93 ///win.tomo-x.pushat.pushNotify 94 94 pub struct PushNotifyResponse; 95 95 impl jacquard_common::xrpc::XrpcResp for PushNotifyResponse { ··· 107 107 type Response = PushNotifyResponse; 108 108 } 109 109 110 - ///Endpoint type for 110 + /// Endpoint type for 111 111 ///win.tomo-x.pushat.pushNotify 112 112 pub struct PushNotifyRequest; 113 113 impl jacquard_common::xrpc::XrpcEndpoint for PushNotifyRequest {
+42
crates/jacquard-common/src/types/value.rs
··· 357 357 InvalidData(Bytes), 358 358 } 359 359 360 + impl<'d> RawData<'d> { 361 + /// Convert a CBOR-encoded byte slice into a `RawData` value. 362 + /// Parse a Data value from an IPLD value (CBOR) 363 + pub fn from_cbor(cbor: &'d Ipld) -> Result<Self, AtDataError> { 364 + Ok(match cbor { 365 + Ipld::Null => RawData::Null, 366 + Ipld::Bool(bool) => RawData::Boolean(*bool), 367 + Ipld::Integer(int) => { 368 + if *int > i64::MAX as i128 { 369 + RawData::UnsignedInt(*int as u64) 370 + } else { 371 + RawData::SignedInt(*int as i64) 372 + } 373 + } 374 + Ipld::Float(_) => { 375 + return Err(AtDataError::FloatNotAllowed); 376 + } 377 + Ipld::String(string) => Self::String(CowStr::Borrowed(&string)), 378 + Ipld::Bytes(items) => Self::Bytes(Bytes::copy_from_slice(items.as_slice())), 379 + Ipld::List(iplds) => Self::Array( 380 + iplds 381 + .into_iter() 382 + .filter_map(|item| RawData::from_cbor(item).ok()) 383 + .collect(), 384 + ), 385 + Ipld::Map(btree_map) => Self::Object( 386 + btree_map 387 + .into_iter() 388 + .filter_map(|(key, value)| { 389 + if let Ok(value) = RawData::from_cbor(value) { 390 + Some((key.to_smolstr(), value)) 391 + } else { 392 + None 393 + } 394 + }) 395 + .collect(), 396 + ), 397 + Ipld::Link(cid) => Self::CidLink(Cid::ipld(*cid)), 398 + }) 399 + } 400 + } 401 + 360 402 impl IntoStatic for RawData<'_> { 361 403 type Output = RawData<'static>; 362 404
+53 -24
crates/jacquard-common/src/xrpc.rs
··· 13 13 #[cfg(feature = "streaming")] 14 14 pub mod streaming; 15 15 16 + use ipld_core::ipld::Ipld; 16 17 #[cfg(feature = "streaming")] 17 18 pub use streaming::StreamingResponse; 18 19 ··· 140 141 const ENCODING: &'static str; 141 142 142 143 /// Response output type 143 - type Output<'de>: Deserialize<'de> + IntoStatic; 144 + type Output<'de>: Serialize + Deserialize<'de> + IntoStatic; 144 145 145 146 /// Error type for this request 146 147 type Err<'de>: Error + Deserialize<'de> + IntoStatic; 148 + 149 + /// Output body encoding function, similar to the request-side type 150 + fn encode_output(output: &Self::Output<'_>) -> Result<Vec<u8>, EncodeError> { 151 + Ok(serde_json::to_vec(output)?) 152 + } 153 + 154 + /// Decode the response output body. 155 + /// 156 + /// Default implementation deserializes from JSON. Override for non-JSON encodings. 157 + fn decode_output<'de>(body: &'de [u8]) -> Result<Self::Output<'de>, DecodeError> 158 + where 159 + Self::Output<'de>: Deserialize<'de>, 160 + { 161 + let body = serde_json::from_slice(body).map_err(|e| DecodeError::Json(e))?; 162 + 163 + Ok(body) 164 + } 147 165 } 148 166 149 167 /// XRPC server endpoint trait ··· 551 569 pub fn parse<'s>(&'s self) -> Result<RespOutput<'s, R>, XrpcError<RespErr<'s, R>>> { 552 570 // 200: parse as output 553 571 if self.status.is_success() { 554 - match serde_json::from_slice::<_>(&self.buffer) { 572 + match R::decode_output(&self.buffer) { 555 573 Ok(output) => Ok(output), 556 574 Err(e) => Err(XrpcError::Decode(e)), 557 575 } ··· 573 591 _ => Err(XrpcError::Generic(generic)), 574 592 } 575 593 } 576 - Err(e) => Err(XrpcError::Decode(e)), 594 + Err(e) => Err(XrpcError::Decode(DecodeError::Json(e))), 577 595 } 578 596 } 579 597 } ··· 590 608 _ => Err(XrpcError::Auth(AuthError::NotAuthenticated)), 591 609 } 592 610 } 593 - Err(e) => Err(XrpcError::Decode(e)), 611 + Err(e) => Err(XrpcError::Decode(DecodeError::Json(e))), 594 612 } 595 613 } 596 614 } ··· 603 621 if self.status.is_success() { 604 622 match serde_json::from_slice::<_>(&self.buffer) { 605 623 Ok(output) => Ok(output), 606 - Err(e) => Err(XrpcError::Decode(e)), 624 + Err(_) => { 625 + if let Ok(data) = serde_ipld_dagcbor::from_slice::<Ipld>(&self.buffer) { 626 + if let Ok(data) = Data::from_cbor(&data) { 627 + Ok(data.into_static()) 628 + } else { 629 + Ok(Data::Bytes(self.buffer.clone())) 630 + } 631 + } else { 632 + Ok(Data::Bytes(self.buffer.clone())) 633 + } 634 + } 607 635 } 608 636 // 400: try typed XRPC error, fallback to generic error 609 637 } else if self.status.as_u16() == 400 { ··· 623 651 _ => Err(XrpcError::Generic(generic)), 624 652 } 625 653 } 626 - Err(e) => Err(XrpcError::Decode(e)), 654 + Err(e) => Err(XrpcError::Decode(DecodeError::Json(e))), 627 655 } 628 656 } 629 657 } ··· 640 668 _ => Err(XrpcError::Auth(AuthError::NotAuthenticated)), 641 669 } 642 670 } 643 - Err(e) => Err(XrpcError::Decode(e)), 671 + Err(e) => Err(XrpcError::Decode(DecodeError::Json(e))), 644 672 } 645 673 } 646 674 } ··· 653 681 if self.status.is_success() { 654 682 match serde_json::from_slice::<_>(&self.buffer) { 655 683 Ok(output) => Ok(output), 656 - Err(e) => Err(XrpcError::Decode(e)), 684 + Err(_) => { 685 + if let Ok(data) = serde_ipld_dagcbor::from_slice::<Ipld>(&self.buffer) { 686 + if let Ok(data) = RawData::from_cbor(&data) { 687 + Ok(data.into_static()) 688 + } else { 689 + Ok(RawData::Bytes(self.buffer.clone())) 690 + } 691 + } else { 692 + Ok(RawData::Bytes(self.buffer.clone())) 693 + } 694 + } 657 695 } 658 696 // 400: try typed XRPC error, fallback to generic error 659 697 } else if self.status.as_u16() == 400 { ··· 673 711 _ => Err(XrpcError::Generic(generic)), 674 712 } 675 713 } 676 - Err(e) => Err(XrpcError::Decode(e)), 714 + Err(e) => Err(XrpcError::Decode(DecodeError::Json(e))), 677 715 } 678 716 } 679 717 } ··· 690 728 _ => Err(XrpcError::Auth(AuthError::NotAuthenticated)), 691 729 } 692 730 } 693 - Err(e) => Err(XrpcError::Decode(e)), 731 + Err(e) => Err(XrpcError::Decode(DecodeError::Json(e))), 694 732 } 695 733 } 696 734 } ··· 730 768 for<'a> RespOutput<'a, R>: IntoStatic<Output = RespOutput<'static, R>>, 731 769 for<'a> RespErr<'a, R>: IntoStatic<Output = RespErr<'static, R>>, 732 770 { 733 - // Use a helper to make lifetime inference work 734 - fn parse_output<'b, R: XrpcResp>( 735 - buffer: &'b [u8], 736 - ) -> Result<R::Output<'b>, serde_json::Error> { 737 - serde_json::from_slice(buffer) 738 - } 739 - 740 771 fn parse_error<'b, R: XrpcResp>(buffer: &'b [u8]) -> Result<R::Err<'b>, serde_json::Error> { 741 772 serde_json::from_slice(buffer) 742 773 } 743 774 744 775 // 200: parse as output 745 776 if self.status.is_success() { 746 - match parse_output::<R>(&self.buffer) { 747 - Ok(output) => { 748 - return Ok(output.into_static()); 749 - } 777 + match R::decode_output(&self.buffer) { 778 + Ok(output) => Ok(output.into_static()), 750 779 Err(e) => Err(XrpcError::Decode(e)), 751 780 } 752 781 // 400: try typed XRPC error, fallback to generic error ··· 767 796 _ => XrpcError::Generic(generic), 768 797 } 769 798 } 770 - Err(e) => XrpcError::Decode(e), 799 + Err(e) => XrpcError::Decode(DecodeError::Json(e)), 771 800 } 772 801 } 773 802 }; ··· 787 816 _ => XrpcError::Auth(AuthError::NotAuthenticated), 788 817 } 789 818 } 790 - Err(e) => XrpcError::Decode(e), 819 + Err(e) => XrpcError::Decode(DecodeError::Json(e)), 791 820 }; 792 821 793 822 Err(error.into_static()) ··· 867 896 /// Failed to decode the response body 868 897 #[error("Failed to decode response: {0}")] 869 898 #[diagnostic(code(jacquard_common::xrpc::decode))] 870 - Decode(#[from] serde_json::Error), 899 + Decode(#[from] DecodeError), 871 900 } 872 901 873 902 impl<E> IntoStatic for XrpcError<E>
+30 -15
crates/jacquard-lexicon/src/codegen/types.rs
··· 23 23 LexObjectProperty::CidLink(_) => { 24 24 Ok(quote! { jacquard_common::types::cid::CidLink<'a> }) 25 25 } 26 - LexObjectProperty::Blob(_) => Ok(quote! { jacquard_common::types::blob::Blob<'a> }), 26 + LexObjectProperty::Blob(_) => Ok(quote! { jacquard_common::types::blob::BlobRef<'a> }), 27 27 LexObjectProperty::Unknown(_) => Ok(quote! { jacquard_common::types::value::Data<'a> }), 28 28 LexObjectProperty::Array(array) => { 29 29 // For arrays with union items, check if multi-variant ··· 42 42 Ok(quote! { Vec<#ref_type> }) 43 43 } else { 44 44 // Multi-variant: use generated union type 45 - let union_name = self.generate_field_type_name(nsid, parent_type_name, field_name, "Item"); 46 - let union_ident = syn::Ident::new(&union_name, proc_macro2::Span::call_site()); 45 + let union_name = self.generate_field_type_name( 46 + nsid, 47 + parent_type_name, 48 + field_name, 49 + "Item", 50 + ); 51 + let union_ident = 52 + syn::Ident::new(&union_name, proc_macro2::Span::call_site()); 47 53 Ok(quote! { Vec<#union_ident<'a>> }) 48 54 } 49 55 } else { ··· 57 63 return Ok(quote! { jacquard_common::types::value::Data<'a> }); 58 64 } 59 65 // Generate unique nested object type name with collision detection 60 - let object_name = self.generate_field_type_name(nsid, parent_type_name, field_name, ""); 66 + let object_name = 67 + self.generate_field_type_name(nsid, parent_type_name, field_name, ""); 61 68 let object_ident = syn::Ident::new(&object_name, proc_macro2::Span::call_site()); 62 69 Ok(quote! { #object_ident<'a> }) 63 70 } ··· 83 90 }; 84 91 85 92 // Parse ref to get type name 86 - let (ref_nsid, ref_def) = if let Some((nsid_part, fragment)) = ref_str.split_once('#') { 87 - (nsid_part, fragment) 88 - } else { 89 - (ref_str.as_str(), "main") 90 - }; 93 + let (ref_nsid, ref_def) = 94 + if let Some((nsid_part, fragment)) = ref_str.split_once('#') { 95 + (nsid_part, fragment) 96 + } else { 97 + (ref_str.as_str(), "main") 98 + }; 91 99 let ref_type_name = self.def_to_type_name(ref_nsid, ref_def); 92 100 93 101 // If self-referential, keep union for indirection (variants are boxed) 94 102 if ref_type_name == parent_type_name { 95 - let union_name = self.generate_field_type_name(nsid, parent_type_name, field_name, ""); 96 - let union_ident = syn::Ident::new(&union_name, proc_macro2::Span::call_site()); 103 + let union_name = 104 + self.generate_field_type_name(nsid, parent_type_name, field_name, ""); 105 + let union_ident = 106 + syn::Ident::new(&union_name, proc_macro2::Span::call_site()); 97 107 Ok(quote! { #union_ident<'a> }) 98 108 } else { 99 109 // Non-self-ref single-variant: use the ref type directly ··· 101 111 } 102 112 } else { 103 113 // Multi-variant: generate union type with collision detection 104 - let union_name = self.generate_field_type_name(nsid, parent_type_name, field_name, ""); 114 + let union_name = 115 + self.generate_field_type_name(nsid, parent_type_name, field_name, ""); 105 116 let union_ident = syn::Ident::new(&union_name, proc_macro2::Span::call_site()); 106 117 Ok(quote! { #union_ident<'a> }) 107 118 } ··· 110 121 } 111 122 112 123 /// Convert array item to Rust type 113 - pub(super) fn array_item_to_rust_type(&self, nsid: &str, item: &LexArrayItem) -> Result<TokenStream> { 124 + pub(super) fn array_item_to_rust_type( 125 + &self, 126 + nsid: &str, 127 + item: &LexArrayItem, 128 + ) -> Result<TokenStream> { 114 129 match item { 115 130 LexArrayItem::Boolean(_) => Ok(quote! { bool }), 116 131 LexArrayItem::Integer(_) => Ok(quote! { i64 }), 117 132 LexArrayItem::String(s) => Ok(self.string_to_rust_type(s)), 118 133 LexArrayItem::Bytes(_) => Ok(quote! { bytes::Bytes }), 119 134 LexArrayItem::CidLink(_) => Ok(quote! { jacquard_common::types::cid::CidLink<'a> }), 120 - LexArrayItem::Blob(_) => Ok(quote! { jacquard_common::types::blob::Blob<'a> }), 135 + LexArrayItem::Blob(_) => Ok(quote! { jacquard_common::types::blob::BlobRef<'a> }), 121 136 LexArrayItem::Unknown(_) => Ok(quote! { jacquard_common::types::value::Data<'a> }), 122 137 LexArrayItem::Object(_) => { 123 138 // For inline objects in arrays, use Data since we can't generate a unique type name ··· 167 182 168 183 /// Convert ref to Rust type path 169 184 pub(super) fn ref_to_rust_type(&self, ref_str: &str) -> Result<TokenStream> { 170 - use crate::error::CodegenError; 171 185 use super::utils::sanitize_name; 186 + use crate::error::CodegenError; 172 187 173 188 // Parse NSID and fragment 174 189 let (ref_nsid, ref_def) = if let Some((nsid, fragment)) = ref_str.split_once('#') {
+55 -2
crates/jacquard-lexicon/src/codegen/xrpc.rs
··· 55 55 .as_ref() 56 56 .map(|o| o.encoding.as_ref()) 57 57 .unwrap_or("application/json"); 58 + 58 59 let xrpc_impl = self.generate_xrpc_request_impl( 59 60 nsid, 60 61 &type_base, ··· 610 611 let fields = if let Some(schema) = &body.schema { 611 612 self.generate_body_fields("", &struct_name, schema, false)? 612 613 } else { 613 - quote! {} 614 + quote! { 615 + pub body: bytes::Bytes, 616 + } 614 617 }; 615 618 616 619 let doc = self.generate_doc_comment(body.description.as_ref()); ··· 637 640 #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic, Default)] 638 641 #[serde(rename_all = "camelCase")] 639 642 pub struct #ident<'a> { 643 + #fields 644 + } 645 + } 646 + } else if body.schema.is_none() { 647 + quote! { 648 + #doc 649 + #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic)] 650 + #[serde(rename_all = "camelCase")] 651 + pub struct #ident { 640 652 #fields 641 653 } 642 654 } ··· 1014 1026 &format!("{}Output", type_base), 1015 1027 proc_macro2::Span::call_site(), 1016 1028 ); 1017 - quote! { #output_ident<'de> } 1029 + if output_encoding == "application/json" { 1030 + quote! { 1031 + #output_ident<'de> 1032 + } 1033 + } else { 1034 + quote! { 1035 + #output_ident 1036 + } 1037 + } 1018 1038 } else { 1019 1039 quote! { () } 1020 1040 }; ··· 1041 1061 proc_macro2::Span::call_site(), 1042 1062 ); 1043 1063 1064 + let decode_output_method = if output_encoding == "application/json" { 1065 + quote! {} 1066 + } else { 1067 + let output_ident = syn::Ident::new( 1068 + &format!("{}Output", type_base), 1069 + proc_macro2::Span::call_site(), 1070 + ); 1071 + quote! { 1072 + 1073 + fn decode_output<'de>(body: &'de [u8]) -> Result<Self::Output<'de>, jacquard_common::error::DecodeError> 1074 + where 1075 + Self::Output<'de>: serde::Deserialize<'de>, 1076 + { 1077 + Ok(#output_ident { 1078 + body: bytes::Bytes::copy_from_slice(body), 1079 + }) 1080 + } 1081 + } 1082 + }; 1083 + 1084 + let encode_output_method = if output_encoding == "application/json" { 1085 + quote! {} 1086 + } else { 1087 + quote! { 1088 + fn encode_output(output: &Self::Output<'_>) -> Result<Vec<u8>, jacquard_common::xrpc::EncodeError> { 1089 + Ok(output.body.to_vec()) 1090 + } 1091 + } 1092 + }; 1093 + 1044 1094 let response_type = quote! { 1045 1095 #[doc = " Response type for "] 1046 1096 #[doc = #nsid] ··· 1051 1101 const ENCODING: &'static str = #output_encoding; 1052 1102 type Output<'de> = #output_type; 1053 1103 type Err<'de> = #error_type; 1104 + 1105 + #encode_output_method 1106 + #decode_output_method 1054 1107 } 1055 1108 }; 1056 1109
+9 -9
crates/jacquard/src/client.rs
··· 451 451 response.into_output().map_err(|e| match e { 452 452 XrpcError::Auth(auth) => AgentError::Auth(auth), 453 453 XrpcError::Generic(g) => AgentError::Generic(g), 454 - XrpcError::Decode(e) => AgentError::Decode(DecodeError::Json(e)), 454 + XrpcError::Decode(e) => AgentError::Decode(e), 455 455 XrpcError::Xrpc(typed) => AgentError::SubOperation { 456 456 step: "create record", 457 457 error: Box::new(typed), ··· 629 629 let record = response.parse().map_err(|e| match e { 630 630 XrpcError::Auth(auth) => AgentError::Auth(auth), 631 631 XrpcError::Generic(g) => AgentError::Generic(g), 632 - XrpcError::Decode(e) => AgentError::Decode(DecodeError::Json(e)), 632 + XrpcError::Decode(e) => AgentError::Decode(e), 633 633 XrpcError::Xrpc(typed) => AgentError::SubOperation { 634 634 step: "get record", 635 635 error: format!("{:?}", typed).into(), ··· 685 685 response.into_output().map_err(|e| match e { 686 686 XrpcError::Auth(auth) => AgentError::Auth(auth), 687 687 XrpcError::Generic(g) => AgentError::Generic(g), 688 - XrpcError::Decode(e) => AgentError::Decode(DecodeError::Json(e)), 688 + XrpcError::Decode(e) => AgentError::Decode(e), 689 689 XrpcError::Xrpc(typed) => AgentError::SubOperation { 690 690 step: "delete record", 691 691 error: Box::new(typed), ··· 732 732 response.into_output().map_err(|e| match e { 733 733 XrpcError::Auth(auth) => AgentError::Auth(auth), 734 734 XrpcError::Generic(g) => AgentError::Generic(g), 735 - XrpcError::Decode(e) => AgentError::Decode(DecodeError::Json(e)), 735 + XrpcError::Decode(e) => AgentError::Decode(e), 736 736 XrpcError::Xrpc(typed) => AgentError::SubOperation { 737 737 step: "put record", 738 738 error: Box::new(typed), ··· 792 792 let output = response.into_output().map_err(|e| match e { 793 793 XrpcError::Auth(auth) => AgentError::Auth(auth), 794 794 XrpcError::Generic(g) => AgentError::Generic(g), 795 - XrpcError::Decode(e) => AgentError::Decode(DecodeError::Json(e)), 795 + XrpcError::Decode(e) => AgentError::Decode(e), 796 796 XrpcError::Xrpc(typed) => AgentError::SubOperation { 797 797 step: "upload blob", 798 798 error: Box::new(typed), 799 799 }, 800 800 })?; 801 - Ok(output.blob.into_static()) 801 + Ok(output.blob.blob().clone().into_static()) 802 802 } 803 803 } 804 804 ··· 833 833 let output = response.parse().map_err(|e| match e { 834 834 XrpcError::Auth(auth) => AgentError::Auth(auth), 835 835 XrpcError::Generic(g) => AgentError::Generic(g), 836 - XrpcError::Decode(e) => AgentError::Decode(DecodeError::Json(e)), 836 + XrpcError::Decode(e) => AgentError::Decode(e), 837 837 XrpcError::Xrpc(_) => AgentError::SubOperation { 838 838 step: "get vec", 839 839 error: format!("{:?}", e).into(), ··· 1054 1054 /// 1055 1055 /// Uses an in memory store and a public resolver. 1056 1056 /// Equivalent to a BasicClient that isn't wrapped in Agent 1057 - fn unauthenticated() -> Self { 1057 + pub fn unauthenticated() -> Self { 1058 1058 use std::sync::Arc; 1059 1059 let http = reqwest::Client::new(); 1060 1060 let resolver = jacquard_identity::PublicResolver::new(http, Default::default()); ··· 1082 1082 /// # Ok(()) 1083 1083 /// # } 1084 1084 /// ``` 1085 - async fn authenticated( 1085 + pub async fn authenticated( 1086 1086 identifier: CowStr<'_>, 1087 1087 password: CowStr<'_>, 1088 1088 session_id: Option<CowStr<'_>>,
+1 -13
examples/app_password_create_post.rs
··· 29 29 let agent: Agent<_> = Agent::from(session); 30 30 31 31 // Create a simple text post using the Agent convenience method 32 - let post = Post { 33 - text: CowStr::from(args.text), 34 - created_at: Datetime::now(), 35 - embed: None, 36 - entities: None, 37 - facets: None, 38 - labels: None, 39 - langs: None, 40 - reply: None, 41 - tags: None, 42 - extra_data: Default::default(), 43 - }; 44 - 32 + let post = Post::builder().text(args.text).build(); 45 33 let output = agent.create_record(post, None).await?; 46 34 println!("✓ Created post: {}", output.uri); 47 35