From 05fe698af65f65a3c0dad36f45933aba791945f8 Mon Sep 17 00:00:00 2001 From: Mario Linz Date: Mon, 13 Jun 2022 17:05:47 +0200 Subject: [PATCH] =?UTF-8?q?Neue=20Collection=20f=C3=BCr=20eine=20einfache?= =?UTF-8?q?=20Listung=20von=20Dateien=20mit=20generierung=20der=20externen?= =?UTF-8?q?=20URL.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/collections/external.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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