urbit/pkg/arvo/mar/group/hook-action.hoon

31 lines
420 B
Plaintext
Raw Normal View History

/- *group-hook
=, dejs:format
2020-05-15 01:50:04 +03:00
|_ act=action
++ grad %noun
++ grow
|%
++ noun act
--
++ grab
|%
2020-05-15 01:50:04 +03:00
++ noun action
++ json
|= jon=^json
=< (parse-action jon)
|%
++ parse-action
%- of
:~
[%add add-action]
[%remove pa]
==
::
++ add-action
%- ot
:~ [%ship (su ;~(pfix sig fed:ag))]
[%path pa]
==
--
--
--