graph-store: update generators

This commit is contained in:
Logan Allen 2020-07-22 13:33:05 -07:00
parent 0a2e721d7f
commit 9d5f16901e
10 changed files with 31 additions and 31 deletions

View File

@ -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]]

View File

@ -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]]

View File

@ -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]]

View File

@ -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]]

View File

@ -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]]

View File

@ -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]]

View File

@ -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]]

View File

@ -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]]

View File

@ -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]]

View File

@ -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]]