mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +03:00
3e7f0dd9d8
%delete tries to be as local as possible in its impact. %invite deals with un/managed branching for you.
43 lines
666 B
Plaintext
43 lines
666 B
Plaintext
/- *link-view
|
|
=, dejs:format
|
|
|_ act=view-action
|
|
++ grab
|
|
|%
|
|
++ noun view-action
|
|
++ json
|
|
|^ %- of
|
|
:~ %create^create
|
|
%delete^delete
|
|
%invite^invite
|
|
==
|
|
::
|
|
++ create
|
|
%- ot
|
|
:~ 'path'^pa
|
|
'title'^so
|
|
'description'^so
|
|
'members'^mems
|
|
'realGroup'^bo
|
|
==
|
|
::
|
|
++ mems
|
|
(of %group^pa %ships^ships ~)
|
|
::
|
|
++ delete
|
|
(ot 'path'^pa ~)
|
|
::
|
|
++ invite
|
|
(ot 'path'^pa 'ships'^ships ~)
|
|
::
|
|
::TODO stdlib
|
|
++ ships
|
|
(cu sy (ar (su ;~(pfix sig fed:ag))))
|
|
--
|
|
--
|
|
::
|
|
++ grow
|
|
|%
|
|
++ noun act
|
|
--
|
|
--
|