From d24805ba6ce8c59ebcda81d92628efb763ffcbfc Mon Sep 17 00:00:00 2001 From: Brooklyn Zelenka Date: Tue, 2 Jul 2024 14:21:28 -0700 Subject: [PATCH] Fixup diagram * -> / --- README.md | 37 +++++++++++-------------------------- 1 file changed, 11 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 7208fe8a..1cc65a70 100644 --- a/README.md +++ b/README.md @@ -426,44 +426,29 @@ The wildcard ability grants access to all other capabilities for the specified r %%{ init: { 'flowchart': { 'curve': 'linear' } } }%% flowchart BT - * + / - msg/* --> * + /msg --> / subgraph msgGraph [ ] - msg/send --> msg/* - msg/receive --> msg/* + /msg/send --> /msg + /msg/receive --> /msg end - crud/* --> * + /crud --> / subgraph crudGraph [ ] - crud/read --> crud/* - crud/mutate --> crud/* + /crud/read --> /crud + /crud/mutate --> /crud subgraph mutationGraph [ ] - crud/create --> crud/mutate - crud/update --> crud/mutate - crud/destroy --> crud/mutate + /crud/mutate/create --> /crud/mutate + /crud/mutate/update --> /crud/mutate + /crud/mutate/destroy --> /crud/mutate end end - ... --> * + ... --> / ``` -Conceptually it has this shape: - -``` ts -{ - "cmd": "*", - "args": { - "cmd": string, // Some other command - "args": {[string]: any} // That commad's arguments - }, - // ... -} -``` - -Since the nesting is fully redundant and infinitely nestable, it is instead used only in proof chains, and SHOULD NOT be invoked directly. - ### Reserved Commands #### `/ucan` Namespace