ShtukbaseStandard
包文件→ .shtukbase/packages/lenses/kit/examples/base/plants.md

kit/examples/base/plants.md

22 行, 665 B.

  1. ---
  2. type: Collection
  3. title: "植物"
  4. icon: "🌱"
  5. description: "菜床上种的东西。"
  6. itemType: Plant
  7. items: {mode: path, path: /plants, recursive: false}
  8. writeTo: /plants
  9. properties:
  10. description: {kind: text, label: "概要"}
  11. statement: {kind: text, label: "正文"}
  12. art: {kind: text, label: "图片"}
  13. order: {kind: number, label: "顺序"}
  14. bed: {kind: relation, collection: /beds, label: "所在菜床"}
  15. mark:
  16. kind: select
  17. label: "标记"
  18. options:
  19. - {name: later, label: "尚未播种", color: gray}
  20. ---
  21. 种植的东西。字段“所在菜床”把植物放入“种植的东西”框中,并画出一条指向菜床的箭头;字段“标记”是卡片上的一个标签。