summaryrefslogtreecommitdiff
path: root/crates/vcs_actions/src/registry/server_registry.rs
blob: b99d6979e8a01cc258bd2ea752d9606087cf6458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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},
};

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);

    pool
}