const {
    Collection
} = require("@bitev.io/core/types");

module.exports = Collection({
    "activeTask": false,
    "singleType": true,
    "hidden": false,
    "mode": "model",
    "slug": "configs",
    "timestamps": true,
    "auth": {
        "enabled": false,
        "by": "email"
    },
    "admin": {
        "label": "Configs",
        "timestampsFormat": "YY-MM-DD ,HH:mm:ss a"
    },
    "fields": [{
        "admin": {
            "label": "About",
            "sortable": false,
            "readonly": false,
            "hidden": false,
            "required": false
        },
        "name": "about",
        "type": "richtext",
        "unique": false,
        "hasMany": false,
        "linked": true,
        "required": false,
        "relationType": "one-to-many",
        "private": false,
        "onSideRelation": false
    }, {
        "admin": {
            "label": "Colour",
            "sortable": false,
            "readonly": false,
            "hidden": false,
            "required": false,
            "displayTemplate": "return item.id"
        },
        "name": "colour",
        "type": "colour",
        "unique": false,
        "hasMany": false,
        "linked": true,
        "required": false,
        "relationType": "one-to-many",
        "private": false,
        "index": false,
        "scalar": false,
        "onSideRelation": false,
        "computedFx": {
            "active": true,
            "fx": "return ;"
        },
        "medias": {
            "allowedTypes": ["images", "videos", "files"]
        }
    }],
    "behavior": "basic",
    "_v": true
})