mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 09:51:36 +03:00
35 lines
559 B
Plaintext
35 lines
559 B
Plaintext
/- *post, met=metadata-store
|
|
|_ i=indexed-post
|
|
++ grow
|
|
|%
|
|
++ noun i
|
|
::
|
|
++ graph-permissions-add
|
|
|= vip=vip-metadata:met
|
|
?+ index.p.i !!
|
|
[@ ~] [%yes %yes %no]
|
|
==
|
|
::
|
|
++ graph-permissions-remove
|
|
|= vip=vip-metadata:met
|
|
?+ index.p.i !!
|
|
[@ ~] [%self %self %no]
|
|
==
|
|
::
|
|
++ notification-kind
|
|
?+ index.p.i ~
|
|
[@ ~] `[%message [0 1] %count %none]
|
|
==
|
|
--
|
|
++ grab
|
|
|%
|
|
++ noun
|
|
|= p=*
|
|
=/ ip ;;(indexed-post p)
|
|
?> ?=([@ ~] index.p.ip)
|
|
ip
|
|
--
|
|
::
|
|
++ grad %noun
|
|
--
|