Cotton code
31 lines · 1.7 KB · JSONRaw
{"format_version":1,"id":"everything","list_route":"/everything","setup":true,"name":"Table","plural":"Everything","picture":"tool-everything","builtin":true,"engine":"everything","record_route":"/lists/[table]","columns":[{"key":"name","name":"Table","type":"text","required":true,"readonly":true},{"key":"held","name":"Records","type":"text","readonly":true},{  "key": "count",  "name": "Count",  "type": "number",  "readonly": true,  "units": {    "one": "{n} item",    "other": "{n} items",    "zero": "0 items"  }},{"key":"changed","name":"Last changed","type":"date","readonly":true},{"key":"source_absent","name":"Not installed","type":"text","readonly":true,"reading":"reads {value}, whose tool is not installed here","fact":false}],"title":"name","date":null,"project":null,"order":null,"slip":{"title":"name","subtitle":"count","trailing":"changed","photo":null,"toggle":null},"tile":{"face":"slip-list"},"page":[{"heading":null,"columns":["name","held","changed"]}],"add":false,"empty":{"title":"No tables in this database yet"},"delete":false,"instructions":"Every table in this database, one line each, with how many records it holds and when one last changed. A line opens that table's own list. The list is read only; records are added and changed in their own tools.","parts": {    "shape": "sheet",    "head": {      "facts": [        "held",        "changed"      ]    },    "links": [],    "lists": [],    "acts": {      "more": []    },    "cards": [      {"column": "held"},      {"column": "changed"}    ]  },  "tool":{"name":"Everything","key":"everything","icon":"library","card_stock":"grey","route":"/everything","purpose":"Search and browse the records in this database."},  "tables": []}