mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
hark-store: add %chat types
This commit is contained in:
parent
a3a8f72672
commit
cd11d994a4
@ -236,6 +236,10 @@
|
||||
|= [existing=notification:store new=notification:store]
|
||||
^- notification:store
|
||||
?- -.contents.existing
|
||||
::
|
||||
%chat
|
||||
?> ?=(%chat -.contents.new)
|
||||
existing(list.contents (weld list.contents.existing list.contents.new))
|
||||
::
|
||||
%graph
|
||||
?> ?=(%graph -.contents.new)
|
||||
|
@ -1,10 +1,11 @@
|
||||
/- *resource, graph-store, post, group-store, metadata-store
|
||||
/- *resource, graph-store, post, group-store, metadata-store, chat-store
|
||||
^?
|
||||
|%
|
||||
::
|
||||
+$ index
|
||||
$% [%graph group=resource graph=resource module=@t description=@t]
|
||||
[%group group=resource description=@t]
|
||||
[%chat chat=path]
|
||||
==
|
||||
::
|
||||
+$ group-contents
|
||||
@ -19,6 +20,7 @@
|
||||
+$ contents
|
||||
$% [%graph =(list post:post)]
|
||||
[%group =(list group-contents)]
|
||||
[%chat =(list envelope:chat-store)]
|
||||
==
|
||||
::
|
||||
+$ timebox
|
||||
|
Loading…
Reference in New Issue
Block a user