2020-06-02 00:07:31 +03:00
|
|
|
/- *post
|
|
|
|
|%
|
2021-01-26 05:42:44 +03:00
|
|
|
::
|
|
|
|
+$ permissions
|
|
|
|
[admin=permission-level writer=permission-level reader=permission-level]
|
|
|
|
::
|
|
|
|
:: $permission-level: levels of permissions in increasing order
|
|
|
|
::
|
|
|
|
:: %no: May not add/remove node
|
|
|
|
:: %self: May only nodes beneath nodes that were added by
|
|
|
|
:: the same pilot, may remove nodes that the pilot 'owns'
|
|
|
|
:: %yes: May add a node or remove node
|
|
|
|
+$ permission-level
|
|
|
|
?(%no %self %yes)
|
2020-07-07 03:02:15 +03:00
|
|
|
+$ graph ((mop atom node) gth)
|
|
|
|
+$ marked-graph [p=graph q=(unit mark)]
|
|
|
|
::
|
|
|
|
+$ node [=post children=internal-graph]
|
|
|
|
+$ graphs (map resource marked-graph)
|
|
|
|
::
|
|
|
|
+$ tag-queries (jug term resource)
|
|
|
|
::
|
|
|
|
+$ update-log ((mop time logged-update) gth)
|
|
|
|
+$ update-logs (map resource update-log)
|
2020-06-12 21:02:52 +03:00
|
|
|
::
|
2021-01-26 05:42:44 +03:00
|
|
|
::
|
2020-06-02 22:44:22 +03:00
|
|
|
+$ internal-graph
|
2020-06-05 23:11:04 +03:00
|
|
|
$~ [%empty ~]
|
2020-06-09 00:44:51 +03:00
|
|
|
$% [%graph p=graph]
|
2020-06-05 23:11:04 +03:00
|
|
|
[%empty ~]
|
2020-06-02 00:07:31 +03:00
|
|
|
==
|
2020-06-02 22:44:22 +03:00
|
|
|
::
|
2020-06-26 21:38:11 +03:00
|
|
|
+$ network
|
|
|
|
$: =graphs
|
|
|
|
=tag-queries
|
2020-06-30 04:14:55 +03:00
|
|
|
=update-logs
|
2020-06-26 21:38:11 +03:00
|
|
|
archive=graphs
|
2020-07-31 00:43:40 +03:00
|
|
|
validators=(set mark)
|
2020-06-26 21:38:11 +03:00
|
|
|
==
|
2020-06-09 00:44:51 +03:00
|
|
|
::
|
2020-06-26 21:38:11 +03:00
|
|
|
+$ update
|
2020-06-30 04:14:55 +03:00
|
|
|
$% [%0 p=time q=update-0]
|
2020-06-09 00:44:51 +03:00
|
|
|
==
|
|
|
|
::
|
2020-06-30 21:08:22 +03:00
|
|
|
+$ logged-update
|
|
|
|
$% [%0 p=time q=logged-update-0]
|
|
|
|
==
|
|
|
|
::
|
|
|
|
+$ logged-update-0
|
2021-01-15 04:57:12 +03:00
|
|
|
$% [%add-graph =resource =graph mark=(unit mark) overwrite=?]
|
|
|
|
[%add-nodes =resource nodes=(map index node)]
|
2020-06-12 20:27:43 +03:00
|
|
|
[%remove-nodes =resource indices=(set index)]
|
2020-06-02 00:07:31 +03:00
|
|
|
[%add-signatures =uid =signatures]
|
|
|
|
[%remove-signatures =uid =signatures]
|
2020-06-30 21:08:22 +03:00
|
|
|
==
|
|
|
|
::
|
|
|
|
+$ update-0
|
|
|
|
$% logged-update-0
|
|
|
|
[%remove-graph =resource]
|
2020-06-02 00:07:31 +03:00
|
|
|
::
|
2020-06-09 00:44:51 +03:00
|
|
|
[%add-tag =term =resource]
|
|
|
|
[%remove-tag =term =resource]
|
2020-06-23 20:53:50 +03:00
|
|
|
::
|
|
|
|
[%archive-graph =resource]
|
|
|
|
[%unarchive-graph =resource]
|
2020-06-30 04:14:55 +03:00
|
|
|
[%run-updates =resource =update-log]
|
2020-06-26 21:38:11 +03:00
|
|
|
::
|
|
|
|
:: NOTE: cannot be sent as pokes
|
|
|
|
::
|
|
|
|
[%keys =resources]
|
|
|
|
[%tags tags=(set term)]
|
|
|
|
[%tag-queries =tag-queries]
|
2020-06-02 00:07:31 +03:00
|
|
|
==
|
|
|
|
--
|