feat: update collection metadata and add tags collection with test data

This commit is contained in:
2026-05-17 17:59:06 +00:00
parent b0af8ba329
commit d74964d078
10 changed files with 165 additions and 26 deletions
+10 -10
View File
@@ -6,8 +6,9 @@ name: medialib
uploadPath: ../media/medialib
meta:
label: { de: "Mediathek", en: "Media Library" }
muiIcon: image_multiple
group: media
muiIcon: perm_media
group: content
imageUrl: "https://images.unsplash.com/photo-1542204165-65bf26472b9b?auto=format&fit=crop&q=80&w=800"
viewHint:
media:
ai:
@@ -22,13 +23,10 @@ meta:
file: file
preview:
label: title
secondary: description
tertiary: tags
secondary: tags
tertiary: description
image: file
table:
- file
- title
- tags
mediaFile: file
subNavigation:
- name: images
label: { de: "Bilder", en: "Images" }
@@ -134,8 +132,10 @@ fields:
- name: tags
type: string[]
meta:
label: { de: "Tags", en: "Tags" }
widget: chipArray
label: { de: "Schlagwörter", en: "Tags" }
widget: foreignKey
foreign:
collection: tags
- name: _testdata
type: boolean
meta: