mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 10:02:47 +03:00
5f4fc28bc9
Improved the namespacing by dropping the app prefix on types, e.g. chat-hook-action -> action. Compensated for shadowing by importing the /sur files behind a face. End result is that a chat-hook-action becomes an action:hook. Splits chat-json into lib/chat-{hook,store,view}. Uses ^? on changes files in /lib and /sur to discourage deeply nested importing.
20 lines
480 B
Plaintext
20 lines
480 B
Plaintext
/- *rw-security
|
|
^?
|
|
|%
|
|
+$ synced (map path ship)
|
|
+$ action
|
|
$% :: %add-owned: make a chatroom accessible to foreign ships
|
|
::
|
|
[%add-owned =path allow-history=?]
|
|
:: %add-synced: mirror a foreign chatroom to our chat-store
|
|
::
|
|
[%add-synced =ship =path ask-history=?]
|
|
:: %remove: stop mirroring a foreign chatroom or allowing a local
|
|
:: chatroom to be mirrored
|
|
::
|
|
[%remove =path]
|
|
==
|
|
::
|
|
+$ update [%initial =synced]
|
|
--
|