✨ feat: update collection metadata and add tags collection with test data
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user