persona-wire-core 0.5.1

persona-wire core: Domain (Graph + Specification + Compute + Constraint + AutoVersion + CRUD) + Application (NamedProjection registry, Use Case) + Infrastructure (SQLite storage, Rendering adapter). Transport-agnostic.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! CRUD primitive — node/edge level commands routed to the storage port.

use crate::domain::graph::{Edge, EdgeId, Node, NodeId};

#[derive(Debug, Clone)]
pub enum CrudCommand {
    CreateNode(Node),
    UpdateNode(Node),
    DeleteNode(NodeId),
    CreateEdge(Edge),
    UpdateEdge(Edge),
    DeleteEdge(EdgeId),
}