const fields = {     

    "tables": {

        "table": {
            "type": "dropdown",
            "optionsFrom": {
                "source": "tables",
            },
            "help": "cbext_share_table"
        },

        "files": {
            "type": "checkbox",
            "optionsFrom": {
                "source": "fields",
                "parent": "table",
                "fieldsType": "file",
                "empty": "no_fields"
            },
            "help": "cbext_share_files"
        },
        
        "images": {
            "type": "checkbox",
            "optionsFrom": {
                "source": "fields",
                "parent": "table",
                "fieldsType": "image",
                "empty": "no_fields"
            },
            "help": "cbext_share_images"
        }
    }

}

export default fields;