voyager-admin/voyager

View on GitHub
resources/presets/settings.json

Summary

Maintainability
Test Coverage
[
    {
        "type": "text",
        "group": "admin",
        "key": "title",
        "name": "Title",
        "value": "Voyager II",
        "info": "The title shown in your browser",
        "translatable": false,
        "canBeTranslated": true,
        "options": {
            "placeholder": null,
            "default_value": null,
            "rows": 1,
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "text",
        "group": "admin",
        "key": "sidebar-title",
        "name": "Sidebar title",
        "value": "Voyager II",
        "info": "The title shown in the sidebar",
        "translatable": false,
        "canBeTranslated": true,
        "options": {
            "placeholder": null,
            "default_value": null,
            "rows": 1,
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "number",
        "group": "admin",
        "key": "icon-size",
        "name": "Icon size",
        "value": 6,
        "info": "The size of the sidebar icons.",
        "translatable": false,
        "options": {
            "min": 4,
            "max": 8
        },
        "validation": []
    },
    {
        "type": "dynamic_input",
        "group": "media",
        "key": "disk",
        "name": "Disk",
        "value": "public",
        "info": "The default disk for the media manager",
        "translatable": false,
        "canBeTranslated": false,
        "options": {
            "route_name": "voyager.get-disks",
            "debounce": 200,
            "inline": true,
            "outline": false,
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "text",
        "group": "media",
        "key": "path",
        "name": "Path",
        "value": "\/",
        "info": "Starting path for the media manager",
        "translatable": false,
        "canBeTranslated": true,
        "options": {
            "placeholder": null,
            "default_value": null,
            "rows": 1,
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "text",
        "group": null,
        "key": "title",
        "name": {
            "en": "Title"
        },
        "value": "Voyager II",
        "info": "The title shown in your browser",
        "translatable": false,
        "canBeTranslated": true,
        "options": {
            "placeholder": null,
            "default_value": null,
            "rows": 1,
            "inputmode": "text",
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "simple_array",
        "group": "media",
        "key": "exclude",
        "name": "Exclude",
        "value": [
            ".gitignore",
            ".DS_STORE"
        ],
        "info": "Files\/Folders to exclude",
        "translatable": false,
        "options": [],
        "validation": []
    },
    {
        "type": "select",
        "group": "admin",
        "key": "ui-components",
        "name": "UI components",
        "value": true,
        "info": "Display or hide the UI components page",
        "translatable": false,
        "canBeTranslated": false,
        "options": {
            "multiple": false,
            "options": [
                {
                    "key": "true",
                    "value": {
                        "en": "Show"
                    }
                },
                {
                    "key": "false",
                    "value": {
                        "en": "Hide"
                    }
                }
            ],
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "select",
        "group": "admin",
        "key": "notification-position",
        "name": "Notification position",
        "value": "bottom-right",
        "info": "The position of the notifications",
        "translatable": false,
        "options": {
            "multiple": false,
            "options": [
                {
                    "key": "top-left",
                    "value": {
                        "en": "Top left"
                    }
                },
                {
                    "key": "top-center",
                    "value": {
                        "en": "Top center"
                    }
                },
                {
                    "key": "top-right",
                    "value": {
                        "en": "Top right"
                    }
                },
                {
                    "key": "bottom-left",
                    "value": {
                        "en": "Bottom left"
                    }
                },
                {
                    "key": "bottom-center",
                    "value": {
                        "en": "Bottom center"
                    }
                },
                {
                    "key": "bottom-right",
                    "value": {
                        "en": "Bottom right"
                    }
                }
            ]
        },
        "validation": []
    },
    {
        "type": "select",
        "group": "admin",
        "key": "json-output",
        "name": "JSON output",
        "value": true,
        "info": "Display JSON output on the bottom of the page",
        "translatable": false,
        "canBeTranslated": false,
        "options": {
            "multiple": false,
            "options": [
                {
                    "key": "true",
                    "value": {
                        "en": "Show"
                    }
                },
                {
                    "key": "false",
                    "value": {
                        "en": "Hide"
                    }
                }
            ],
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "select",
        "group": "admin",
        "key": "dev-server",
        "name": {
            "en": "Dev server"
        },
        "value": false,
        "info": null,
        "translatable": false,
        "options": {
            "multiple": false,
            "options": [
                {
                    "key": "true",
                    "value": {
                        "en": "Yes"
                    }
                },
                {
                    "key": "false",
                    "value": {
                        "en": "No"
                    }
                }
            ]
        },
        "validation": []
    },
    {
        "type": "simple_array",
        "group": "media",
        "key": "mime-types",
        "name": "Mime types",
        "value": [],
        "info": "Allowed mime types for the media manager",
        "translatable": false,
        "canBeTranslated": false,
        "options": {
            "max": 0,
            "item_text": {
                "en": "Mime type"
            },
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "select",
        "group": "media",
        "key": "optimize",
        "name": "Optimize",
        "value": true,
        "info": "Optimize uploaded images using spatie\/laravel-image-optimizer",
        "translatable": false,
        "canBeTranslated": true,
        "options": {
            "multiple": false,
            "options": [
                {
                    "key": "true",
                    "value": "Yes"
                },
                {
                    "key": "false",
                    "value": "No"
                }
            ],
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "select",
        "group": "media",
        "key": "hide-thumbnails",
        "name": "Hide thumbnails",
        "value": true,
        "info": "Hide thumbnails and display them as children of the original image",
        "translatable": false,
        "canBeTranslated": true,
        "options": {
            "multiple": false,
            "options": [
                {
                    "key": "true",
                    "value": "True"
                },
                {
                    "key": "false",
                    "value": "False"
                }
            ],
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "select",
        "group": "media",
        "key": "delete-thumbnails",
        "name": "Delete thumbnails",
        "value": true,
        "info": "Delete thumbnails when parent image is deleted",
        "translatable": false,
        "canBeTranslated": true,
        "options": {
            "multiple": false,
            "options": [
                {
                    "key": "true",
                    "value": "Delete"
                },
                {
                    "key": "false",
                    "value": "Keep"
                }
            ],
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "media_picker",
        "group": "watermark",
        "key": "image",
        "name": "Image",
        "value": [],
        "info": "The watermark-image",
        "translatable": false,
        "canBeTranslated": true,
        "options": {
            "min": 0,
            "max": 1,
            "list_url": null,
            "upload_url": null,
            "opened": false,
            "meta": [],
            "mimes": [
                "image\/*",
                "directory"
            ],
            "title": null,
            "description": null
        },
        "validation": []
    },
    {
        "type": "text",
        "group": "admin",
        "key": "welcome",
        "name": "Welcome",
        "value": {
            "en": "Welcome to Voyager II"
        },
        "info": "The welcome text shown when logging in",
        "translatable": true,
        "canBeTranslated": true,
        "options": {
            "placeholder": null,
            "default_value": null,
            "rows": 1,
            "inputmode": "text",
            "title": null,
            "description": null
        },
        "validation": []
    }
]