shrub/pkg/arvo/sur/metadata-store.hoon
2020-06-24 10:28:57 +10:00

27 lines
573 B
Plaintext

|%
+$ group-path path
+$ app-name @tas
+$ app-path path
+$ md-resource [=app-name =app-path]
+$ associations (map [group-path md-resource] metadata)
::
+$ metadata
$: title=@t
description=@t
color=@ux
date-created=@da
creator=@p
==
::
+$ metadata-action
$% [%add =group-path resource=md-resource =metadata]
[%remove =group-path resource=md-resource]
==
::
+$ metadata-update
$% metadata-action
[%associations =associations]
[%update-metadata =group-path resource=md-resource =metadata]
==
--