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