2020-09-17 21:56:21 +03:00
|
|
|
/- *group, store=graph-store
|
2020-09-02 08:18:07 +03:00
|
|
|
/+ resource
|
|
|
|
^?
|
|
|
|
|%
|
2020-09-03 17:12:12 +03:00
|
|
|
:: $associated: A group to associate, or a policy if it is unmanaged
|
|
|
|
::
|
|
|
|
+$ associated
|
|
|
|
$% [%group rid=resource]
|
|
|
|
[%policy =policy]
|
|
|
|
==
|
|
|
|
::
|
2020-09-03 08:07:18 +03:00
|
|
|
:: $error: An error from a graph-view poke
|
|
|
|
::
|
|
|
|
:: %offline: Ship is offline
|
|
|
|
:: %bad-perms: Not permitted
|
|
|
|
:: %unknown: Anything not described above
|
|
|
|
::
|
|
|
|
+$ error
|
|
|
|
?(%offline %bad-perms %unknown)
|
|
|
|
:: $action: A semantic action on graphs
|
|
|
|
::
|
|
|
|
:: %create: Create a graph and associated metadata
|
|
|
|
:: %delete: Delete a graph
|
|
|
|
:: %join: Join a graph
|
|
|
|
:: %invite: Invite users to a graph
|
|
|
|
:: %groupify: Make graph into managed group
|
|
|
|
::
|
|
|
|
+$ action
|
2020-09-02 08:18:07 +03:00
|
|
|
$%
|
|
|
|
$: %create
|
|
|
|
rid=resource
|
|
|
|
title=@t
|
|
|
|
description=@t
|
2020-09-15 04:23:13 +03:00
|
|
|
mark=(unit mark)
|
2020-09-03 17:12:12 +03:00
|
|
|
=associated
|
2020-09-22 20:44:52 +03:00
|
|
|
module=@t
|
2020-09-02 08:18:07 +03:00
|
|
|
==
|
2020-09-15 23:25:58 +03:00
|
|
|
[%delete rid=resource]
|
|
|
|
[%leave rid=resource]
|
|
|
|
[%join rid=resource =ship]
|
2020-09-03 17:12:12 +03:00
|
|
|
::[%invite rid=resource ships=(set ship)]
|
2020-09-15 23:25:58 +03:00
|
|
|
[%groupify rid=resource to=(unit resource)]
|
2020-09-17 21:56:21 +03:00
|
|
|
[%forward rid=resource =update:store]
|
2020-12-11 08:51:29 +03:00
|
|
|
[%eval =cord]
|
2021-02-27 01:59:13 +03:00
|
|
|
[%pending-indices pending=(map hash:store index:store)]
|
2020-09-02 08:18:07 +03:00
|
|
|
==
|
|
|
|
--
|
|
|
|
|