shrub/pkg/arvo/sur/graph-view.hoon

37 lines
825 B
Plaintext
Raw Normal View History

2020-09-02 08:18:07 +03:00
/- group
/+ resource
^?
|%
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
mark=(unit mark)
associated=(each resource policy:group)
==
[%delete rid=resource ~]
[%join rid=resource =ship]
[%invite rid=resource ships=(set ship)]
[%groupify rid=resource title=@t description=@t]
==
--