Cotton code
48 lines · 947 B · JSONRaw
{  "id": "moods",  "name": "Moods",  "purpose": "How you feel over time.",  "card_stock": "rose",  "instructions": "Moods are the lines the owner wrote about how they feel, with their emotions.",  "views": [    {      "id": "this_week",      "label": "This week",      "visibility": "owner",      "is_default": true,      "read": {        "table": "mood",        "where": { "at": { "within_days": 7 } }      },      "face": "cards",      "sort": {        "column": "at",        "descending": true      }    },    {      "id": "all",      "label": "All",      "visibility": "owner",      "is_default": false,      "read": {        "table": "mood"      },      "face": "cards",      "sort": {        "column": "at",        "descending": true      }    }  ],  "picture": null,  "automations": [],  "signature": null,  "author": {    "device": "cotton",    "name": "Cotton"  },  "tables": [    "mood"  ]}