feat: cut over rust web main shell
This commit is contained in:
@@ -8450,16 +8450,6 @@ fn execute_command(
|
||||
payload_json: request.payload_json,
|
||||
args_json: json!({
|
||||
"id": payload.document_id,
|
||||
"streamDeltaHint": tree_stream_delta_hint("remove_document", json!({
|
||||
"documentId": payload.document_id,
|
||||
})),
|
||||
"domainEventHint": tree_domain_event_hint("tree.node.purged"),
|
||||
"domainEventPlan": tree_domain_event_plan(
|
||||
"tree.node.purged",
|
||||
tree_stream_delta_hint("remove_document", json!({
|
||||
"documentId": payload.document_id,
|
||||
})),
|
||||
),
|
||||
}),
|
||||
}))
|
||||
}
|
||||
@@ -10991,31 +10981,7 @@ mod tests {
|
||||
"documentId": "doc_1",
|
||||
}),
|
||||
json!({
|
||||
"id": "doc_1",
|
||||
"streamDeltaHint": {
|
||||
"family": "tree",
|
||||
"kind": "remove_document",
|
||||
"args": {
|
||||
"documentId": "doc_1"
|
||||
}
|
||||
},
|
||||
"domainEventHint": {
|
||||
"family": "tree",
|
||||
"eventType": "tree.node.purged"
|
||||
},
|
||||
"domainEventPlan": {
|
||||
"family": "tree",
|
||||
"schema": "mnote.tree.domain_event",
|
||||
"schemaVersion": 1,
|
||||
"eventType": "tree.node.purged",
|
||||
"streamDeltaHint": {
|
||||
"family": "tree",
|
||||
"kind": "remove_document",
|
||||
"args": {
|
||||
"documentId": "doc_1"
|
||||
}
|
||||
}
|
||||
}
|
||||
"id": "doc_1"
|
||||
}),
|
||||
),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user