mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-27 00:44:27 +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)))
|
|
--
|
|
--
|