Cotton code
66 lines · 1.5 KB · JSONRaw
{  "views": [    {      "id": "past",      "label": "Past",      "visibility": "owner",      "is_default": true,      "read": {        "table": "transaction",        "where": {          "status": "actual"        }      },      "sort": {        "column": "occurred_on",        "descending": true      },      "face": "cards"    },    {      "id": "future",      "label": "Future",      "visibility": "owner",      "read": {        "table": "transaction",        "where": {          "status": "expected"        }      },      "sort": {        "column": "occurred_on"      },      "face": "cards"    },    {      "id": "bank_accounts",      "label": "Bank accounts",      "visibility": "owner",      "read": {        "table": "money_account"      },      "sort": {        "column": "name"      },      "face": "cards"    }  ],  "id": "money",  "name": "Money",  "picture": {    "photo": "photo:8dcc818171791b390006092d0c40c1bed9e261c7ce0b3693defa53ced27823d6",    "object": "tool-money"  },  "card_stock": "tan",  "tables": [    "transaction",    "money_account"  ],  "instructions": "Money is the owner's accounts and the movements through them, kept by Cotton's money engine. Read movements and accounts with the money tools; never guess an amount, a date or an account. The faces walk installs it over an invented household.",  "automations": [],  "author": {    "device": "synthetic-faces-walk-fixture",    "name": "Invented bookkeeper"  },  "signature": null}