mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
54b3982b42
This commit changes the type of update:graph-store and as such, a new mark has been created. graph-store now consumes and produces %graph-update-1. This new mark type is backwards incompatible with the previous mark.
19 lines
317 B
Plaintext
19 lines
317 B
Plaintext
/+ *graph-store
|
|
=* as-octs as-octs:mimes:html
|
|
::
|
|
|_ upd=update:zero
|
|
++ grad %noun
|
|
++ grow
|
|
|%
|
|
++ noun upd
|
|
++ graph-update upd
|
|
++ mime [/application/x-urb-graph-update (as-octs (jam upd))]
|
|
--
|
|
::
|
|
++ grab
|
|
|%
|
|
++ noun update:zero
|
|
++ mime |=([* =octs] ;;(update:zero (cue q.octs)))
|
|
--
|
|
--
|