Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: crate dir #7080

Merged
merged 1 commit into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/appflowy_flutter/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 0532f3f001ca3110b8be345d6491fff690e95823

COCOAPODS: 1.15.2
COCOAPODS: 1.16.2
2 changes: 2 additions & 0 deletions frontend/rust-lib/flowy-ai/src/ai_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ pub trait AIUserService: Send + Sync + 'static {
fn application_root_dir(&self) -> Result<PathBuf, FlowyError>;
}


/// AIExternalService is an interface for external services that AI plugin can interact with.
#[async_trait]
pub trait AIExternalService: Send + Sync + 'static {
async fn query_chat_rag_ids(
Expand Down
3 changes: 1 addition & 2 deletions frontend/rust-lib/flowy-core/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ use flowy_server_pub::af_cloud_config::AFCloudConfiguration;
use flowy_user::services::entities::URL_SAFE_ENGINE;
use lib_infra::file_util::copy_dir_recursive;
use lib_infra::util::OperatingSystem;

use crate::integrate::log::create_log_filter;
use crate::log_filter::create_log_filter;

#[derive(Clone)]
pub struct AppFlowyCoreConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ use flowy_user_pub::cloud::{UserCloudService, UserCloudServiceProvider};
use flowy_user_pub::entities::{Authenticator, UserTokenState};
use lib_infra::async_trait::async_trait;

use crate::integrate::server::{Server, ServerProvider};
use crate::server_layer::{Server, ServerProvider};

#[async_trait]
impl StorageCloudService for ServerProvider {
Expand Down
Loading
Loading