diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-11-05 16:47:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-05 16:47:55 +0800 |
| commit | 5b920746babf527b75a542da74500eb5895468a4 (patch) | |
| tree | 5e6df4b73fc2721a9b23e43a94d5051e4f4f535d /crates/vcs_actions/src/registry | |
| parent | b036692826f7c5e7e87e1bc1d311152f48fbe843 (diff) | |
| parent | f34fd7e803f0e52f526b7a56c09fdb262ed9b8aa (diff) | |
Merge pull request #35 from JustEnoughVCS/jvcs_dev_actions
Jvcs dev actions
Diffstat (limited to 'crates/vcs_actions/src/registry')
| -rw-r--r-- | crates/vcs_actions/src/registry/client_registry.rs | 3 | ||||
| -rw-r--r-- | crates/vcs_actions/src/registry/server_registry.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/crates/vcs_actions/src/registry/client_registry.rs b/crates/vcs_actions/src/registry/client_registry.rs index a0b87a6..95c0939 100644 --- a/crates/vcs_actions/src/registry/client_registry.rs +++ b/crates/vcs_actions/src/registry/client_registry.rs @@ -13,7 +13,7 @@ use crate::{ local_actions::{ register_set_upstream_vault_action, register_update_to_latest_info_action, }, - sheet_actions::register_make_sheet_action, + sheet_actions::{register_drop_sheet_action, register_make_sheet_action}, }, connection::protocol::RemoteActionInvoke, }; @@ -27,6 +27,7 @@ fn register_actions(pool: &mut ActionPool) { // Sheet Actions register_make_sheet_action(pool); + register_drop_sheet_action(pool); } pub fn client_action_pool() -> ActionPool { diff --git a/crates/vcs_actions/src/registry/server_registry.rs b/crates/vcs_actions/src/registry/server_registry.rs index eade391..b99d697 100644 --- a/crates/vcs_actions/src/registry/server_registry.rs +++ b/crates/vcs_actions/src/registry/server_registry.rs @@ -2,7 +2,7 @@ use action_system::action_pool::ActionPool; use crate::actions::{ local_actions::{register_set_upstream_vault_action, register_update_to_latest_info_action}, - sheet_actions::register_make_sheet_action, + sheet_actions::{register_drop_sheet_action, register_make_sheet_action}, }; pub fn server_action_pool() -> ActionPool { @@ -14,6 +14,7 @@ pub fn server_action_pool() -> ActionPool { // Sheet Actions register_make_sheet_action(&mut pool); + register_drop_sheet_action(&mut pool); pool } |
