mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +03:00
32 lines
757 B
Plaintext
32 lines
757 B
Plaintext
|
/- spider, graph-view, met=metadata-store
|
||
|
/+ strandio
|
||
|
::
|
||
|
=* strand strand:spider
|
||
|
=* poke-our poke-our:strandio
|
||
|
::
|
||
|
^- thread:spider
|
||
|
|= arg=vase
|
||
|
=/ m (strand ,vase)
|
||
|
^- form:m
|
||
|
=+ !<([~ =update:met] arg)
|
||
|
?. ?=(%add -.update)
|
||
|
(pure:m !>(~))
|
||
|
;< =bowl:spider bind:m get-bowl:strandio
|
||
|
?: =(our.bowl entity.group.update)
|
||
|
(pure:m !>(~))
|
||
|
?. ?=(%group -.config.metadatum.update)
|
||
|
(pure:m !>(~))
|
||
|
?~ feed.config.metadatum.update
|
||
|
(pure:m !>(~))
|
||
|
?~ u.feed.config.metadatum.update
|
||
|
(pure:m !>(~))
|
||
|
=* feed u.u.feed.config.metadatum.update
|
||
|
;< ~ bind:m
|
||
|
%+ poke-our %spider
|
||
|
=- spider-start+!>([`tid.bowl ~ %graph-join -])
|
||
|
%+ slop !>(~)
|
||
|
!> ^- action:graph-view
|
||
|
[%join resource.feed entity.resource.feed]
|
||
|
(pure:m !>(~))
|
||
|
|