mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +03:00
20 lines
332 B
Plaintext
20 lines
332 B
Plaintext
|
/+ *graph-store
|
||
|
=* as-octs as-octs:mimes:html
|
||
|
::
|
||
|
|_ upd=update
|
||
|
++ grad %noun
|
||
|
++ grow
|
||
|
|%
|
||
|
++ noun upd
|
||
|
++ json (update:enjs upd)
|
||
|
++ mime [/application/x-urb-graph-update (as-octs (jam upd))]
|
||
|
--
|
||
|
::
|
||
|
++ grab
|
||
|
|%
|
||
|
++ noun update
|
||
|
++ json update:dejs
|
||
|
++ mime |=([* =octs] ;;(update (cue q.octs)))
|
||
|
--
|
||
|
--
|