mirror of
https://github.com/urbit/shrub.git
synced 2024-12-26 13:31:36 +03:00
27 lines
537 B
Plaintext
27 lines
537 B
Plaintext
|%
|
|
+$ group-path path
|
|
+$ app-name @tas
|
|
+$ app-path path
|
|
+$ resource [=app-name =app-path]
|
|
+$ associations (map [group-path resource] metadata)
|
|
::
|
|
+$ metadata
|
|
$: title=@t
|
|
description=@t
|
|
color=@ux
|
|
date-created=@da
|
|
creator=@p
|
|
==
|
|
::
|
|
+$ metadata-action
|
|
$% [%add =group-path =resource =metadata]
|
|
[%remove =group-path =resource]
|
|
==
|
|
::
|
|
+$ metadata-update
|
|
$% metadata-action
|
|
[%associations =associations]
|
|
[%update-metadata =group-path =resource =metadata]
|
|
==
|
|
--
|