Cotton code
66 lines · 1.4 KB · JSONRaw
{  "views": [    {      "id": "all",      "label": "All",      "visibility": "owner",      "is_default": true,      "read": {        "table": "memory",        "where": {          "status": "active"        },        "empty": {          "line": "empty_views.memories.all",          "table": true        }      },      "sort": {        "column": "created_at",        "descending": true      },      "face": "cards"    },    {      "id": "archived",      "label": "Archived",      "visibility": "owner",      "is_default": false,      "read": {        "table": "memory",        "where": {          "status": "archived"        },        "archived": true,        "empty": {          "line": "empty_views.memories.archived",          "table": true        }      },      "sort": {        "column": "created_at",        "descending": true      },      "face": "cards"    }  ],  "id": "memories",  "name": "Memories",  "purpose": "What the owner has told their assistants to remember, by project.",  "picture": {    "photo": "photo:afa2e7071fc4a1861bf373c9f655432be3c584b1394989048eec4fc6bb1c789a",    "object": "tool-memory"  },  "card_stock": "cream",  "tables": [    "memory",    "vault_key"  ],  "instructions": "Memories are the sentences the owner's assistants keep. Archive retires one that no longer holds.",  "automations": [],  "author": {    "device": "cotton",    "name": "Cotton"  },  "signature": null}