mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-13 20:04:35 +03:00
link: prepare marks
Also renames an object attribute to closer match the hoon code.
This commit is contained in:
parent
e3a4de4d31
commit
bda077862e
@ -139,7 +139,7 @@
|
||||
%- pairs
|
||||
:~ 'title'^s+title.page
|
||||
'url'^s+url.page
|
||||
'timestamp'^(time time.page)
|
||||
'time'^(time time.page)
|
||||
==
|
||||
::
|
||||
++ comment
|
||||
|
16
pkg/arvo/mar/link/action.hoon
Normal file
16
pkg/arvo/mar/link/action.hoon
Normal 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
|
||||
--
|
||||
--
|
14
pkg/arvo/mar/link/initial.hoon
Normal file
14
pkg/arvo/mar/link/initial.hoon
Normal file
@ -0,0 +1,14 @@
|
||||
:: link: initial subscription result
|
||||
::
|
||||
/- *link
|
||||
|_ =initial
|
||||
++ grow
|
||||
|%
|
||||
++ noun initial
|
||||
--
|
||||
::
|
||||
++ grab
|
||||
|%
|
||||
++ noun ^initial
|
||||
--
|
||||
--
|
@ -1,6 +1,5 @@
|
||||
:: link: subscription updates
|
||||
::
|
||||
::TODO this should include json conversion once mark performance improves
|
||||
/- *link
|
||||
|_ =update
|
||||
++ grow
|
||||
|
Loading…
Reference in New Issue
Block a user