Skip to content

Commit

Permalink
Some specta renaming on cloud services routes
Browse files Browse the repository at this point in the history
  • Loading branch information
fogodev committed Sep 27, 2024
1 parent e071008 commit 7987071
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 56 deletions.
2 changes: 2 additions & 0 deletions core/crates/cloud-services/src/p2p/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ pub struct Ticket(u64);

#[derive(Debug, Serialize, specta::Type)]
#[serde(tag = "kind", content = "data")]
#[specta(rename = "CloudP2PNotifyUser")]
pub enum NotifyUser {
ReceivedJoinSyncGroupRequest {
ticket: Ticket,
Expand Down Expand Up @@ -84,6 +85,7 @@ pub struct BasicLibraryCreationArgs {

#[derive(Debug, Deserialize, specta::Type)]
#[serde(tag = "kind", content = "data")]
#[specta(rename = "CloudP2PUserResponse")]
pub enum UserResponse {
AcceptDeviceInSyncGroup {
ticket: Ticket,
Expand Down
94 changes: 38 additions & 56 deletions packages/client/src/core.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7987071

Please sign in to comment.