link: prepare marks

Also renames an object attribute to closer match the hoon code.
This commit is contained in:
Fang 2020-02-05 17:46:47 +01:00
parent e3a4de4d31
commit bda077862e
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972
4 changed files with 31 additions and 2 deletions

View File

@ -139,7 +139,7 @@
%- pairs
:~ 'title'^s+title.page
'url'^s+url.page
'timestamp'^(time time.page)
'time'^(time time.page)
==
::
++ comment

View File

@ -0,0 +1,16 @@
:: link: subscription updates
::
::TODO this should include json conversion once mark performance improves
/+ *link
|_ =action
++ grow
|%
++ noun action
--
::
++ grab
|%
++ noun ^action
++ json action:de-json
--
--

View File

@ -0,0 +1,14 @@
:: link: initial subscription result
::
/- *link
|_ =initial
++ grow
|%
++ noun initial
--
::
++ grab
|%
++ noun ^initial
--
--

View File

@ -1,6 +1,5 @@
:: link: subscription updates
::
::TODO this should include json conversion once mark performance improves
/- *link
|_ =update
++ grow