Skip to content

Commit

Permalink
refactor: rename deepLinks package to deeplinks
Browse files Browse the repository at this point in the history
  • Loading branch information
tymmesyde committed Mar 28, 2024
1 parent 1a70062 commit b5cff01
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions src/commonMain/rust/bridge/deep_links.rs
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
use stremio_core::deep_links::{DiscoverDeepLinks, LibraryDeepLinks};

use crate::protobuf::stremio::core::deep_links;
use crate::protobuf::stremio::core::deeplinks;

use super::ToProtobuf;

impl ToProtobuf<deep_links::DiscoverDeepLinks, ()> for DiscoverDeepLinks {
fn to_protobuf(&self, _args: &()) -> deep_links::DiscoverDeepLinks {
deep_links::DiscoverDeepLinks {
impl ToProtobuf<deeplinks::DiscoverDeepLinks, ()> for DiscoverDeepLinks {
fn to_protobuf(&self, _args: &()) -> deeplinks::DiscoverDeepLinks {
deeplinks::DiscoverDeepLinks {
discover: self.discover.clone(),
}
}
}

impl ToProtobuf<deep_links::LibraryDeepLinks, ()> for LibraryDeepLinks {
fn to_protobuf(&self, _args: &()) -> deep_links::LibraryDeepLinks {
deep_links::LibraryDeepLinks {
impl ToProtobuf<deeplinks::LibraryDeepLinks, ()> for LibraryDeepLinks {
fn to_protobuf(&self, _args: &()) -> deeplinks::LibraryDeepLinks {
deeplinks::LibraryDeepLinks {
library: self.library.clone(),
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/proto/stremio/core/deep_links/deep_links.proto
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
syntax = "proto2";

package stremio.core.deepLinks;
package stremio.core.deeplinks;

option java_package = "com.stremio.core.deepLinks";
option java_package = "com.stremio.core.deeplinks";

message DiscoverDeepLinks {
required string discover = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ message LoadablePage {
Error error = 4;
Page ready = 5;
}
required stremio.core.deepLinks.DiscoverDeepLinks deep_links = 6;
required stremio.core.deeplinks.DiscoverDeepLinks deep_links = 6;
}

message Page {
Expand Down

0 comments on commit b5cff01

Please sign in to comment.