mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 14:42:02 +03:00
graph-store: update generators
This commit is contained in:
parent
0a2e721d7f
commit
9d5f16901e
@ -3,8 +3,8 @@
|
||||
/- *graph-store
|
||||
:- %say
|
||||
|= $: [now=@da eny=@uvJ =beak]
|
||||
[[=resource =graph ~] ~]
|
||||
[[=resource =graph mark=(unit mark) ~] ~]
|
||||
==
|
||||
:- %graph-action
|
||||
^- action
|
||||
[%0 [%add-graph resource graph]]
|
||||
:- %graph-update
|
||||
^- update
|
||||
[%0 now [%add-graph resource graph mark]]
|
||||
|
@ -5,6 +5,6 @@
|
||||
|= $: [now=@da eny=@uvJ =beak]
|
||||
[[=resource nodes=(map index node) ~] ~]
|
||||
==
|
||||
:- %graph-action
|
||||
^- action
|
||||
[%0 [%add-nodes resource nodes]]
|
||||
:- %graph-update
|
||||
^- updates
|
||||
[%0 now [%add-nodes resource nodes]]
|
||||
|
@ -5,6 +5,6 @@
|
||||
|= $: [now=@da eny=@uvJ =beak]
|
||||
[[=uid =signatures ~] ~]
|
||||
==
|
||||
:- %graph-action
|
||||
^- action
|
||||
[%0 [%add-signatures uid signatures]]
|
||||
:- %graph-update
|
||||
^- update
|
||||
[%0 now [%add-signatures uid signatures]]
|
||||
|
@ -5,6 +5,6 @@
|
||||
|= $: [now=@da eny=@uvJ =beak]
|
||||
[[=term =resource ~] ~]
|
||||
==
|
||||
:- %graph-action
|
||||
^- action
|
||||
[%0 [%add-tag term resource]]
|
||||
:- %graph-update
|
||||
^- update
|
||||
[%0 now [%add-tag term resource]]
|
||||
|
@ -5,6 +5,6 @@
|
||||
|= $: [now=@da eny=@uvJ =beak]
|
||||
[[=resource ~] ~]
|
||||
==
|
||||
:- %graph-action
|
||||
^- action
|
||||
[%0 [%archive-graph resource]]
|
||||
:- %graph-update
|
||||
^- update
|
||||
[%0 now [%archive-graph resource]]
|
||||
|
@ -5,6 +5,6 @@
|
||||
|= $: [now=@da eny=@uvJ =beak]
|
||||
[[=resource ~] ~]
|
||||
==
|
||||
:- %graph-action
|
||||
^- action
|
||||
[%0 [%remove-graph resource]]
|
||||
:- %graph-update
|
||||
^- update
|
||||
[%0 now [%remove-graph resource]]
|
||||
|
@ -5,6 +5,6 @@
|
||||
|= $: [now=@da eny=@uvJ =beak]
|
||||
[[=resource indices=(set index) ~] ~]
|
||||
==
|
||||
:- %graph-action
|
||||
^- action
|
||||
[%0 [%remove-nodes resource indices]]
|
||||
:- %graph-update
|
||||
^- update
|
||||
[%0 now [%remove-nodes resource indices]]
|
||||
|
@ -6,6 +6,6 @@
|
||||
|= $: [now=@da eny=@uvJ =beak]
|
||||
[[=uid =signatures ~] ~]
|
||||
==
|
||||
:- %graph-action
|
||||
^- action
|
||||
[%0 [%remove-signatures uid signatures]]
|
||||
:- %graph-update
|
||||
^- update
|
||||
[%0 now [%remove-signatures uid signatures]]
|
||||
|
@ -5,6 +5,6 @@
|
||||
|= $: [now=@da eny=@uvJ =beak]
|
||||
[[=term =resource ~] ~]
|
||||
==
|
||||
:- %graph-action
|
||||
^- action
|
||||
[%0 [%remove-tag term resource]]
|
||||
:- %graph-update
|
||||
^- update
|
||||
[%0 now [%remove-tag term resource]]
|
||||
|
@ -5,6 +5,6 @@
|
||||
|= $: [now=@da eny=@uvJ =beak]
|
||||
[[=resource ~] ~]
|
||||
==
|
||||
:- %graph-action
|
||||
^- action
|
||||
[%0 [%unarchive-graph resource]]
|
||||
:- %graph-update
|
||||
^- update
|
||||
[%0 now [%unarchive-graph resource]]
|
||||
|
Loading…
Reference in New Issue
Block a user