let listManager;

$(document).ready(function () {
    listManager = new ListManager($("#dataList"), 'article',
        [
            {
                name: 'image',
                description: 'Image',
                type: 'image'
            },
            {
                name: 'name',
                description: 'Nom',
                type: 'text'
            },
            {
                name: 'description',
                description: 'Description',
                type: 'text'
            },
            {
                name: 'price',
                description: 'Prix',
                type: 'number'
            },
            {
                name: 'code',
                description: 'Code',
                type: 'text'
            },
            {
                name: 'category',
                description: 'Catégories',
                type: 'checkboxes'
            },
        ]);
});
