diff --git a/api/collections/external.yml b/api/collections/external.yml index a6e5763..c3e2225 100644 --- a/api/collections/external.yml +++ b/api/collections/external.yml @@ -24,12 +24,16 @@ meta: mediaQuery: "(max-width:599px)" primaryText: path columns: + - date + - title - source: file type: file # Desktop - type: table mediaQuery: "(min-width:600px)" columns: + - date + - title - source: file type: file @@ -102,8 +106,31 @@ hooks: # Feldliste der Kollektion fields: + - name: date + type: string + meta: + filter: true + widget: date + inputProps: + type: "datetime-local" + label: + de: Datum + en: Date + helperText: + de: "Dieses Feld wird nur zur Filterung innerhalb vom Tibi-CMS verwendet." + en: "This field is only used for filtering within Tibi-CMS." + - name: title + type: string + meta: + filter: true + label: { de: "Titel", en: "Title" } + helperText: + de: "Dieses Feld wird nur zur Filterung innerhalb vom Tibi-CMS verwendet." + en: "This field is only used for filtering within Tibi-CMS." - name: file type: file meta: + masterDomain: "http://localhost:3002" widget: image label: { de: "Datei", en: "File" } + externalUrl: true