Cotton code
32 lines · 1.6 KB · JSONRaw
{  "format_version": 1,  "id": "activity",  "name": "Activity",  "plural": "Activity",  "picture": null,  "builtin": true,  "engine": "assistant",  "columns": [    { "key": "title", "name": "Title", "type": "text", "required": true, "readonly": true },    { "key": "workspace_id", "name": "Project", "type": "text", "readonly": true },    { "key": "device_id", "name": "This device", "type": "text", "readonly": true },    { "key": "held", "name": "File", "type": "text", "readonly": true },    { "key": "pending", "name": "Waiting to sync", "type": "number", "readonly": true, "units": { "one": "change", "other": "changes", "zero": "Nothing waiting" } }  ],  "title": "title",  "date": null,  "project": null,  "order": null,  "slip": { "title": "title", "subtitle": "held", "trailing": "pending", "photo": null, "toggle": null },  "tile": { "face": "receipt" },  "page": [    { "heading": null, "columns": ["title"] },    { "heading": "This database", "columns": ["workspace_id", "device_id", "held", "pending"] },    { "heading": "What the assistant did", "list": { "table": "assistant_run" } },    { "heading": "What assistants did here", "list": { "table": "assistant_call" } }  ],  "delete": false,  "instructions": "What this database is, read on this device: one record, `this`. `held` says which file it is — a copy on this device, or the file this Mac is serving — and never a path on any disk; `pending` counts the changes this device still owes the server. Under it the assistant's runs and every call a connected assistant made here.",  "tables": []}