kmp-domain 0.3.0

Domain model of the Kernel Memory Protocol: aggregates, value objects, repositories and projections, with no IO
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{NodeDetailProjection, NodeProjection, NodeRelationProjection};

#[derive(Debug, Clone, PartialEq, Eq)]
pub enum ProjectionMutation {
    EnsureNode(NodeProjection),
    UpsertNode(NodeProjection),
    UpdateNodeStatus { node_id: String, status: String },
    UpsertNodeRelation(Box<NodeRelationProjection>),
    UpsertNodeDetail(NodeDetailProjection),
}