2021-03-30 20:20:32 +03:00
|
|
|
/- *post, met=metadata-store, graph=graph-store, hark=hark-graph-hook
|
2020-07-28 22:03:09 +03:00
|
|
|
|_ i=indexed-post
|
2020-07-27 22:56:30 +03:00
|
|
|
++ grow
|
|
|
|
|%
|
2020-07-28 22:03:09 +03:00
|
|
|
++ noun i
|
2021-01-26 07:50:33 +03:00
|
|
|
::
|
|
|
|
++ graph-permissions-add
|
|
|
|
|= vip=vip-metadata:met
|
2021-03-30 20:20:32 +03:00
|
|
|
^- permissions:graph
|
2021-01-26 07:50:33 +03:00
|
|
|
?+ index.p.i !!
|
|
|
|
[@ ~] [%yes %yes %no]
|
|
|
|
==
|
|
|
|
::
|
|
|
|
++ graph-permissions-remove
|
|
|
|
|= vip=vip-metadata:met
|
2021-03-30 20:20:32 +03:00
|
|
|
^- permissions:graph
|
2021-01-26 07:50:33 +03:00
|
|
|
?+ index.p.i !!
|
|
|
|
[@ ~] [%self %self %no]
|
|
|
|
==
|
|
|
|
::
|
2020-11-24 08:39:53 +03:00
|
|
|
++ notification-kind
|
2021-03-30 20:20:32 +03:00
|
|
|
^- (unit notif-kind:hark)
|
2020-11-24 08:39:53 +03:00
|
|
|
?+ index.p.i ~
|
2021-02-26 06:36:15 +03:00
|
|
|
[@ ~] `[%message [0 1] %count %none]
|
2020-11-24 08:39:53 +03:00
|
|
|
==
|
2021-02-23 01:54:45 +03:00
|
|
|
::
|
|
|
|
++ transform-add-nodes
|
2021-02-24 21:25:53 +03:00
|
|
|
|= [=index =post =atom was-parent-modified=?]
|
2021-02-23 01:54:45 +03:00
|
|
|
^- [^index ^post]
|
2021-02-24 21:25:53 +03:00
|
|
|
=- [- post(index -)]
|
|
|
|
[atom ~]
|
2020-07-27 22:56:30 +03:00
|
|
|
--
|
2020-07-22 03:37:28 +03:00
|
|
|
++ grab
|
|
|
|
|%
|
|
|
|
++ noun
|
2021-05-19 21:47:11 +03:00
|
|
|
|: p=`*`%*(. *indexed-post index.p [0 ~])
|
2020-07-28 22:03:09 +03:00
|
|
|
=/ ip ;;(indexed-post p)
|
|
|
|
?> ?=([@ ~] index.p.ip)
|
|
|
|
ip
|
2020-07-22 03:37:28 +03:00
|
|
|
--
|
2020-07-27 22:56:30 +03:00
|
|
|
::
|
|
|
|
++ grad %noun
|
2020-07-22 03:37:28 +03:00
|
|
|
--
|