package catalogue // An item may carry attributes and a capability, a module may give several items to one collection, and a // placeholder may select by attributes (design 57 L3, issue 777). The controller leaves out of a plan an item whose // capability the machine lacks, accepts a selecting placeholder where it accepts the collection, and renders a // selected moved item into an old placeholder exactly as the contribution it replaces. const ( barsText = "top\n${collected:blocks:bar=top,place=status}bottom\n${collected:blocks:bar=bottom,place=status}${collected:blocks}" barContribute = `{"module":"power","version":"1","moved":true, "items":[{"collection":"blocks","name":"battery","if-capability":"battery","attributes":{"bar":"bottom","place":"status","order":"20"},"template":"files/battery"}, {"collection":"blocks","name":"clock","attributes":{"bar":"top","place":"status"},"template":"files/clock"}], "build":{"artifacts":[{"name":"files","kind":"archive","from":"files"}]}}` )