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

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

    pool
}