feat: add comment and tag collections with metadata and mock data

This commit is contained in:
2026-05-17 18:26:26 +00:00
parent d74964d078
commit f407946c19
12 changed files with 33 additions and 32 deletions
+5 -5
View File
@@ -6,9 +6,9 @@ name: medialib
uploadPath: ../media/medialib
meta:
label: { de: "Mediathek", en: "Media Library" }
muiIcon: perm_media
muiIcon: folder-multiple-image
group: content
imageUrl: "https://images.unsplash.com/photo-1542204165-65bf26472b9b?auto=format&fit=crop&q=80&w=800"
imageUrl: "https://images.unsplash.com/photo-1452587925148-ce544e77e70d?auto=format&fit=crop&q=80&w=800"
viewHint:
media:
ai:
@@ -23,7 +23,7 @@ meta:
file: file
preview:
label: title
secondary: tags
secondary: tag
tertiary: description
image: file
mediaFile: file
@@ -129,13 +129,13 @@ fields:
inputProps:
multiline: true
rows: 4
- name: tags
- name: tag
type: string[]
meta:
label: { de: "Schlagwörter", en: "Tags" }
widget: foreignKey
foreign:
collection: tags
collection: tag
- name: _testdata
type: boolean
meta: