mesh/delivery-group group feat/sdk1 rejected: composed together: the checker's verdict at the members' heads (428d048dd50a): unit: git.novox.be/novox/mesh-sdk/…
mesh/delivery closed: a newer head of the same pull request
mesh/check failed: unit: git.novox.be/novox/mesh-sdk/go/process.TestStatePutWritesAKeyWhole: a Put through a short blackout: 0, mesh-mail's state send…
Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
15 lines
1017 B
Go
15 lines
1017 B
Go
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"}]}}`
|
|
)
|