Skip to content

Commit

Permalink
feat(cognitarium): design remove execute message
Browse files Browse the repository at this point in the history
  • Loading branch information
amimart committed Apr 20, 2023
1 parent 3934ddf commit bb901da
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contracts/okp4-cognitarium/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ pub enum ExecuteMsg {
/// Insert the Tuples extracted from the provided RDF graph.
/// It fails if a subject already exists.
Insert { input: GraphInput },

/// # Remove
/// Remove the resources matching the constraints expressed in [resource_sets].
Remove {
/// resource_sets represents multiple sets of resources matching the provided constraints
/// and identified by a key, the key can be used in other constraints to expressed links
/// between resources.
resource_sets: HashMap<String, ResourceConstraints>,
},
}

/// Query messages
Expand Down

0 comments on commit bb901da

Please sign in to comment.