forked from cms/tibi-svelte-starter
✨ feat: add comment and tag collections with metadata and mock data
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user