Cotton code
51 lines · 1.0 KB · JSONRaw
{  "views": [    {      "id": "all",      "label": "All",      "visibility": "owner",      "is_default": true,      "read": {        "table": "document"      }    },    {      "id": "statements",      "label": "Statements",      "visibility": "owner",      "is_default": false,      "read": {        "table": "document",        "where": {          "doc_type": [            "bank_statement",            "card_statement",            "statement_other"          ]        },        "empty": {          "line": "empty_views.documents.statements",          "table": true        }      }    }  ],  "id": "documents",  "name": "Documents",  "purpose": "Your files and the information inside them.",  "picture": {    "photo": "photo:e1f1afc03a39eee6facd9c74b47b0eb62bf0d48378636a2e0cd0d363a5ba4ad3",    "object": "tool-documents"  },  "card_stock": "cream",  "tables": [    "document"  ],  "instructions": "",  "automations": [],  "author": {    "device": "cotton",    "name": "Cotton"  },  "signature": null}