shrub/pkg/arvo/mar/publish/primary-delta.hoon

86 lines
1.8 KiB
Plaintext
Raw Normal View History

2019-12-14 01:27:37 +03:00
::
:::: /hoon/action/publish/mar
::
/- *publish
2019-12-19 01:45:37 +03:00
/+ *publish
2019-12-14 01:27:37 +03:00
::
|_ del=primary-delta
::
++ grad %noun
2019-12-14 01:27:37 +03:00
++ grab
|%
++ noun primary-delta
--
++ grow
|%
++ noun del
2019-12-14 01:27:37 +03:00
++ json
2019-12-19 01:45:37 +03:00
%+ frond:enjs:format -.del
2019-12-14 01:27:37 +03:00
?- -.del
%add-book
2019-12-19 01:45:37 +03:00
%+ frond:enjs:format (scot %p host.del)
%+ frond:enjs:format book.del
(notebook-short-json data.del)
2019-12-14 01:27:37 +03:00
::
%add-note
2019-12-19 01:45:37 +03:00
%+ frond:enjs:format (scot %p host.del)
%+ frond:enjs:format book.del
(note-full-json note.del data.del)
2019-12-14 01:27:37 +03:00
::
%add-comment
%- pairs:enjs:format
2019-12-19 01:45:37 +03:00
:~ host+s+(scot %p host.del)
2019-12-14 01:27:37 +03:00
book+s+book.del
note+s+note.del
2019-12-19 01:45:37 +03:00
comment+(comment-json comment-date.del data.del)
2019-12-14 01:27:37 +03:00
==
2019-12-19 01:45:37 +03:00
::
2019-12-14 01:27:37 +03:00
%edit-book
2019-12-19 01:45:37 +03:00
%+ frond:enjs:format (scot %p host.del)
%+ frond:enjs:format book.del
(notebook-short-json data.del)
2019-12-14 01:27:37 +03:00
::
%edit-note
2019-12-19 01:45:37 +03:00
%+ frond:enjs:format (scot %p host.del)
%+ frond:enjs:format book.del
(note-full-json note.del data.del)
2019-12-14 01:27:37 +03:00
::
%edit-comment
%- pairs:enjs:format
2019-12-19 01:45:37 +03:00
:~ host+s+(scot %p host.del)
2019-12-14 01:27:37 +03:00
book+s+book.del
note+s+note.del
2019-12-19 01:45:37 +03:00
comment+(comment-json comment-date.del data.del)
2019-12-14 01:27:37 +03:00
==
::
%del-book
%- pairs:enjs:format
2019-12-19 01:45:37 +03:00
:~ host+s+(scot %p host.del)
2019-12-14 01:27:37 +03:00
book+s+book.del
==
::
%del-note
%- pairs:enjs:format
2019-12-19 01:45:37 +03:00
:~ host+s+(scot %p host.del)
2019-12-14 01:27:37 +03:00
book+s+book.del
note+s+note.del
==
::
%del-comment
%- pairs:enjs:format
2019-12-19 01:45:37 +03:00
:~ host+s+(scot %p host.del)
2019-12-14 01:27:37 +03:00
book+s+book.del
note+s+note.del
2019-12-19 01:45:37 +03:00
comment+s+(scot %da comment.del)
2019-12-14 01:27:37 +03:00
==
2020-01-09 02:13:42 +03:00
::
%read
%- pairs:enjs:format
:~ host+s+(scot %p who.del)
book+s+book.del
note+s+note.del
==
2019-12-19 01:45:37 +03:00
==
2019-12-14 01:27:37 +03:00
--
--