reactive_graph_std_connector_model/component/
connector.rs1use reactive_graph_graph::component_ty;
2use reactive_graph_graph::properties;
3use reactive_graph_reactive_model_api::relation_model;
4
5use crate::NAMESPACE_CONNECTOR;
6
7properties!(
8 ConnectorProperties,
9 (OUTBOUND_PROPERTY_NAME, "outbound_property_name", ""),
10 (INBOUND_PROPERTY_NAME, "inbound_property_name", "")
11);
12
13component_ty!(COMPONENT_CONNECTOR, NAMESPACE_CONNECTOR, COMPONENT_NAME_CONNECTOR, "connector");
14
15relation_model!(
16 Connector,
17 get outbound_property_name string,
18 get inbound_property_name string
19);