2021-09-06 06:31:11 +03:00
|
|
|
/- *post, met=metadata-store, hark=hark-graph-hook
|
|
|
|
/+ graph=graph-store
|
2021-04-23 04:39:29 +03:00
|
|
|
|_ i=indexed-post
|
2021-09-06 06:31:11 +03:00
|
|
|
::
|
|
|
|
++ grow
|
2021-04-23 04:39:29 +03:00
|
|
|
|%
|
|
|
|
++ noun i
|
2021-06-03 21:56:22 +03:00
|
|
|
::
|
|
|
|
++ graph-indexed-post
|
|
|
|
^- indexed-post
|
|
|
|
?> ?=(?([@ ~] [@ @ ~]) index.p.i)
|
|
|
|
?> (lth i.index.p.i (bex 128))
|
|
|
|
i
|
|
|
|
::
|
2021-04-23 04:39:29 +03:00
|
|
|
++ notification-kind
|
2021-09-06 06:31:11 +03:00
|
|
|
|= title=cord
|
2021-04-23 04:39:29 +03:00
|
|
|
^- (unit notif-kind:hark)
|
|
|
|
?+ index.p.i ~
|
2021-09-06 06:31:11 +03:00
|
|
|
[@ @ ~]
|
|
|
|
:- ~
|
|
|
|
:* ~[text+'New messages from ' ship+author.p.i]
|
|
|
|
(hark-contents:graph contents.p.i)
|
|
|
|
[1 2] %count %none
|
|
|
|
==
|
2021-04-23 04:39:29 +03:00
|
|
|
==
|
|
|
|
::
|
|
|
|
--
|
|
|
|
++ grab
|
|
|
|
|%
|
2021-06-03 21:56:22 +03:00
|
|
|
++ noun indexed-post
|
2021-04-23 04:39:29 +03:00
|
|
|
--
|
|
|
|
::
|
|
|
|
++ grad %noun
|
|
|
|
--
|