Wrapping up bedrock implementation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use remote_server::auth::RemoteServerAuthContext;
|
||||
use galaxyui::r#async::BoxFuture;
|
||||
use remote_server::auth::RemoteServerAuthContext;
|
||||
|
||||
use crate::auth::auth_state::AuthState;
|
||||
use crate::server::server_api::auth::AuthClient;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
use crate::server::server_api::{ServerApiEvent, ServerApiProvider};
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
use remote_server::manager::RemoteServerManager;
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
use galaxyui::SingletonEntity;
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
use remote_server::manager::RemoteServerManager;
|
||||
// Re-export everything from the `remote_server` crate so existing
|
||||
// `crate::remote_server::*` imports in `app` continue to work.
|
||||
pub use remote_server::*;
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
use crate::terminal::shell::ShellType;
|
||||
use repo_metadata::repositories::{DetectedRepositories, RepoDetectionSource};
|
||||
use repo_metadata::{RepoMetadataEvent, RepoMetadataModel, RepositoryIdentifier};
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::future::Future;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::Arc;
|
||||
use galaxy_core::channel::ChannelState;
|
||||
use galaxy_core::SessionId;
|
||||
use galaxy_util::standardized_path::StandardizedPath;
|
||||
use galaxyui::platform::TerminationMode;
|
||||
use galaxyui::r#async::{Spawnable, SpawnableOutput, SpawnedFutureHandle};
|
||||
use galaxyui::{Entity, ModelContext, SingletonEntity};
|
||||
use repo_metadata::repositories::{DetectedRepositories, RepoDetectionSource};
|
||||
use repo_metadata::{RepoMetadataEvent, RepoMetadataModel, RepositoryIdentifier};
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::future::Future;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::Arc;
|
||||
|
||||
use galaxy_files::{FileModel, FileModelEvent};
|
||||
use galaxy_util::content_version::ContentVersion;
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
mod proxy;
|
||||
|
||||
use super::server_model::{ConnectionId, ServerModel};
|
||||
use galaxyui::r#async::executor;
|
||||
use std::fs::Permissions;
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
use galaxyui::r#async::executor;
|
||||
|
||||
/// Run the `remote-server-proxy` subcommand.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user