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

63 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-09-03 17:12:12 +03:00
/- sur=graph-view
/+ resource, group-store
^?
=< [sur .]
=, sur
|%
++ dejs
=, dejs:format
|%
++ action
|^
^- $-(json ^action)
%- of
:~ create+create
delete+delete
join+join
2020-09-04 10:51:28 +03:00
leave+leave
2020-09-10 14:36:00 +03:00
groupify+groupify
2020-09-03 17:12:12 +03:00
::invite+invite
==
::
++ create
2020-09-15 04:23:13 +03:00
%- ou
:~ resource+(un dejs:resource)
title+(un so)
description+(un so)
mark+(uf ~ (mu so))
associated+(un associated)
module+(un so)
2020-09-10 13:20:00 +03:00
==
2020-09-03 17:12:12 +03:00
::
2020-09-04 10:51:28 +03:00
++ leave
%- ot
:~ resource+dejs:resource
==
::
2020-09-03 17:12:12 +03:00
++ delete
%- ot
:~ resource+dejs:resource
==
::
++ join
%- ot
:~ resource+dejs:resource
2020-09-11 03:10:44 +03:00
ship+(su ;~(pfix sig fed:ag))
2020-09-03 17:12:12 +03:00
==
::
2020-09-10 14:36:00 +03:00
++ groupify
%- ou
:~ resource+(un dejs:resource)
to+(uf ~ (mu dejs:resource))
==
2020-09-03 17:12:12 +03:00
++ invite !!
2020-09-04 10:51:28 +03:00
::
2020-09-03 17:12:12 +03:00
++ associated
%- of
:~ group+dejs:resource
policy+policy:dejs:group-store
==
--
--
--