summaryrefslogtreecommitdiff
path: root/actions/src/registry/server_registry.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-12 04:28:28 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-12 04:51:34 +0800
commitc5fb22694e95f12c24b8d8af76999be7aea3fcec (patch)
tree399d8a24ce491fb635f3d09f2123290fe784059e /actions/src/registry/server_registry.rs
parent444754489aca0454eb54e15a49fb8a6db0b68a07 (diff)
Reorganize crate structure and move documentation files
Diffstat (limited to 'actions/src/registry/server_registry.rs')
-rw-r--r--actions/src/registry/server_registry.rs36
1 files changed, 36 insertions, 0 deletions
diff --git a/actions/src/registry/server_registry.rs b/actions/src/registry/server_registry.rs
new file mode 100644
index 0000000..356e640
--- /dev/null
+++ b/actions/src/registry/server_registry.rs
@@ -0,0 +1,36 @@
+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_drop_sheet_action, register_edit_mapping_action, register_make_sheet_action,
+ register_merge_share_mapping_action, register_share_mapping_action,
+ },
+ track_action::register_track_file_action,
+ user_actions::register_change_virtual_file_edit_right_action,
+};
+
+pub fn server_action_pool() -> ActionPool {
+ let mut pool = ActionPool::new();
+
+ // Local Actions
+ register_set_upstream_vault_action(&mut pool);
+ register_update_to_latest_info_action(&mut pool);
+
+ // Sheet Actions
+ register_make_sheet_action(&mut pool);
+ register_drop_sheet_action(&mut pool);
+ register_edit_mapping_action(&mut pool);
+
+ // Share / Merge Share Actions
+ register_share_mapping_action(&mut pool);
+ register_merge_share_mapping_action(&mut pool);
+
+ // Track Action
+ register_track_file_action(&mut pool);
+
+ // User Actions
+ register_change_virtual_file_edit_right_action(&mut pool);
+
+ pool
+}