2021-02-01 06:43:40 +03:00
|
|
|
/- spider,
|
|
|
|
metadata=metadata-store,
|
|
|
|
*group,
|
|
|
|
inv=invite-store,
|
|
|
|
store=group-store,
|
|
|
|
pull-hook
|
|
|
|
/+ strandio, resource, view=group-view
|
|
|
|
=>
|
|
|
|
|%
|
2021-07-29 17:23:21 +03:00
|
|
|
++ strand strand:spider
|
|
|
|
++ poke poke:strandio
|
|
|
|
++ raw-poke-our raw-poke-our:strandio
|
2021-02-01 06:43:40 +03:00
|
|
|
--
|
|
|
|
^- thread:spider
|
|
|
|
|= arg=vase
|
|
|
|
=/ m (strand ,vase)
|
|
|
|
=+ !<([~ =action:view] arg)
|
|
|
|
?> ?=(%leave -.action)
|
|
|
|
;< =bowl:spider bind:m get-bowl:strandio
|
|
|
|
=* rid resource.action
|
|
|
|
=/ pull-hook-act=cage
|
|
|
|
:- %pull-hook-action
|
|
|
|
!> ^- action:pull-hook
|
|
|
|
[%remove rid]
|
2021-12-13 14:29:00 +03:00
|
|
|
=/ leave=cage
|
|
|
|
:- %group-update-0
|
|
|
|
!> ^- update:store
|
|
|
|
[%remove-members rid (silt our.bowl ~)]
|
|
|
|
=/ remove=cage
|
|
|
|
:- %group-update-0
|
|
|
|
!> ^- update:store
|
|
|
|
[%remove-group rid ~]
|
|
|
|
;< ~ bind:m
|
|
|
|
(raw-poke-our %group-push-hook leave)
|
|
|
|
;< ~ bind:m
|
|
|
|
(raw-poke-our %group-pull-hook pull-hook-act)
|
|
|
|
;< ~ bind:m
|
|
|
|
(raw-poke-our %contact-pull-hook pull-hook-act)
|
|
|
|
;< ~ bind:m
|
|
|
|
(raw-poke-our %group-store remove)
|
2022-04-15 23:46:21 +03:00
|
|
|
;< ~ bind:m
|
|
|
|
(raw-poke-our %group-view group-view-action+!>([%done rid]))
|
2021-02-01 06:43:40 +03:00
|
|
|
(pure:m !>(~))
|