ShtukbaseStandard
package file→ .shtukbase/packages/lenses/kit/examples/base/plants.md

kit/examples/base/plants.md

22 lines, 665 B.

  1. ---
  2. type: Collection
  3. title: "Plants"
  4. icon: "🌱"
  5. description: "What grows on the beds."
  6. itemType: Plant
  7. items: {mode: path, path: /plants, recursive: false}
  8. writeTo: /plants
  9. properties:
  10. description: {kind: text, label: "Gist"}
  11. statement: {kind: text, label: "Text"}
  12. art: {kind: text, label: "Picture"}
  13. order: {kind: number, label: "Order"}
  14. bed: {kind: relation, collection: /beds, label: "Bed"}
  15. mark:
  16. kind: select
  17. label: "Mark"
  18. options:
  19. - {name: later, label: "Not sown yet", color: gray}
  20. ---
  21. What grows. The field "Bed" puts a plant into the "What grows" frame and draws an arrow to the bed; the field "Mark" is a chip on the card.