Cotton code
99 lines · 2.1 KB · JSONRaw
{  "views": [    {      "id": "all",      "label": "All",      "is_default": true,      "visibility": "public",      "read": {        "table": "yoga_class"      },      "face": "cards",      "sort": {        "column": "name",        "descending": false      }    },    {      "id": "sharmilas",      "label": "Sharmila's Classes",      "is_default": false,      "visibility": "public",      "read": {        "table": "yoga_class",        "where": {          "category": "sharmilas"        }      },      "face": "cards",      "sort": {        "column": "name",        "descending": false      }    },    {      "id": "daily",      "label": "Daily Practice",      "is_default": false,      "visibility": "public",      "read": {        "table": "yoga_class",        "where": {          "category": "daily"        }      },      "face": "cards",      "sort": {        "column": "name",        "descending": false      }    },    {      "id": "beginners",      "label": "Yoga for Beginners",      "is_default": false,      "visibility": "public",      "read": {        "table": "yoga_class",        "where": {          "category": "beginners"        }      },      "face": "cards",      "sort": {        "column": "name",        "descending": false      }    },    {      "id": "prenatal",      "label": "Pre-natal Yoga",      "is_default": false,      "visibility": "public",      "read": {        "table": "yoga_class",        "where": {          "category": "prenatal"        }      },      "face": "cards",      "sort": {        "column": "name",        "descending": false      }    }  ],  "id": "yoga_classes",  "name": "Classes",  "picture": "tool-goals",  "card_stock": "sage",  "tables": [],  "instructions": "Classes shows each kind of class the studio teaches (yoga_class), by kind. When a class runs is the Schedule's.",  "automations": [],  "author": {    "device": "cotton",    "name": "Cotton"  },  "signature": null,  "purpose": "Every kind of class the studio teaches, with its words and photo."}