mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 05:41:43 +03:00
31 lines
569 B
Plaintext
31 lines
569 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]
|
|
[%yes %yes ?:(?=(%reader-comments vip) %yes %no)]
|
|
::
|
|
++ graph-permissions-remove
|
|
|= vip=vip-metadata:met
|
|
[%yes %self %self]
|
|
:: +notification-kind: no notifications for now
|
|
::
|
|
++ notification-kind ~
|
|
--
|
|
++ grab
|
|
|%
|
|
:: +noun: validate post
|
|
::
|
|
++ noun
|
|
|= p=*
|
|
=/ ip ;;(indexed-post p)
|
|
?> ?=(^ contents.p.ip)
|
|
--
|
|
::
|
|
++ grad %noun
|
|
--
|