blob: 9c12d2440c54a948de626429435c63d79a581832 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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_make_sheet_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);
// Track Action
register_track_file_action(&mut pool);
// User Actions
register_change_virtual_file_edit_right_action(&mut pool);
pool
}
|