From eb1c2eada11cf8a6ccbf0d7246dfecbc81193607 Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Thu, 24 Sep 2026 09:43:05 -0700 Subject: [PATCH] update media library settings --- .mattrbld/config.json | 118 ++++++++++++++++++++ .mattrbld/users/lee-cattarin-gmail-com.json | 6 + src/img/.gitkeep | 0 3 files changed, 124 insertions(+) create mode 100644 .mattrbld/config.json create mode 100644 .mattrbld/users/lee-cattarin-gmail-com.json create mode 100644 src/img/.gitkeep diff --git a/.mattrbld/config.json b/.mattrbld/config.json new file mode 100644 index 0000000..3c7306b --- /dev/null +++ b/.mattrbld/config.json @@ -0,0 +1,118 @@ +{ + "autoquotes": null, + "brandColors": [], + "corsProxy": "/corsprox", + "name": "mattrbld", + "sidebar": [ + { + "label": "Dashboard", + "icon": "grid", + "target": { + "name": "Project" + }, + "protected": true + }, + { + "label": "Media Library", + "icon": "image-stack", + "target": { + "name": "Project.MediaLibrary" + }, + "protected": true + }, + { + "label": "Settings", + "icon": "settings", + "target": { + "name": "Project.Settings" + }, + "onlyPrivileged": true, + "protected": true + } + ], + "slugifyOptions": { + "customReplacements": [], + "lowercase": true, + "decamelize": true, + "preserveLeadingUnderscore": true, + "preserveTrailingDash": false, + "preserveCharacters": [], + "separator": "-", + "transliterate": true + }, + "customRoles": [], + "draftsDir": null, + "previewUrl": null, + "languages": [], + "media": { + "advanced": true, + "customFields": [ + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "alt", + "label": "Alternative Text", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "title", + "label": "Title", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + } + ], + "dir": "/src/img", + "maxSize": null, + "outputPath": "/img/", + "permissions": { + "everybody": [ + "everything" + ] + } + } +} \ No newline at end of file diff --git a/.mattrbld/users/lee-cattarin-gmail-com.json b/.mattrbld/users/lee-cattarin-gmail-com.json new file mode 100644 index 0000000..5e9da11 --- /dev/null +++ b/.mattrbld/users/lee-cattarin-gmail-com.json @@ -0,0 +1,6 @@ +{ + "email": "lee.cattarin@gmail.com", + "id": "lee-cattarin-gmail-com", + "name": "Lee Cattarin", + "role": "owner" +} \ No newline at end of file diff --git a/src/img/.gitkeep b/src/img/.gitkeep new file mode 100644 index 0000000..e69de29