reactive_graph_command_model/
type_system.rs1#![allow(dead_code, unused)]
5#![cfg_attr(rustfmt, rustfmt_skip)]
6
7pub static TYPE_SYSTEM_COMPONENTS: std::sync::LazyLock<
8 reactive_graph_graph::Components,
9> = std::sync::LazyLock::new(|| {
10 reactive_graph_graph::Components::new()
11 .component(crate::reactive_graph::command::command::COMMAND_TYPE.clone())
12});
13
14pub static TYPE_SYSTEM_ENTITY_TYPES: std::sync::LazyLock<
15 reactive_graph_graph::EntityTypes,
16> = std::sync::LazyLock::new(|| {
17 reactive_graph_graph::EntityTypes::new()
18 .entity(crate::reactive_graph::command::num_commands::NUM_COMMANDS_TYPE.clone())
19});
20
21pub static TYPE_SYSTEM_RELATION_TYPES: std::sync::LazyLock<
22 reactive_graph_graph::RelationTypes,
23> = std::sync::LazyLock::new(|| { reactive_graph_graph::RelationTypes::new() });
24
25pub static TYPE_SYSTEM_FLOW_TYPES: std::sync::LazyLock<
26 reactive_graph_graph::FlowTypes,
27> = std::sync::LazyLock::new(|| { reactive_graph_graph::FlowTypes::new() });
28
29pub static TYPE_SYSTEM: std::sync::LazyLock<reactive_graph_graph::TypeSystem> = std::sync::LazyLock::new(||
30{
31 reactive_graph_graph::TypeSystem::builder()
32 .components(TYPE_SYSTEM_COMPONENTS.clone())
33 .entity_types(TYPE_SYSTEM_ENTITY_TYPES.clone())
34 .relation_types(TYPE_SYSTEM_RELATION_TYPES.clone())
35 .flow_types(TYPE_SYSTEM_FLOW_TYPES.clone())
36 .build()
37});
38pub static TYPE_SYSTEM_ID: &str = "reactive_graph::command";
39pub static TYPE_SYSTEM_NAMESPACE: std::sync::LazyLock<reactive_graph_graph::Namespace> = std::sync::LazyLock::new(||
40{ std::str::FromStr::from_str(TYPE_SYSTEM_ID).unwrap() });