From fcf35ee1f014f85d5281f9626b9c5e409f98fc9a Mon Sep 17 00:00:00 2001 From: Gustavo Luigi Date: Mon, 29 Aug 2022 13:35:43 +0200 Subject: [PATCH] . --- config.json | 43 +------------------------------------------ content-types.json | 27 +++++++++++++++++++++++++++ forms.json | 32 ++++++++++++++++++++++++++++++++ lists.json | 14 ++++++++++++++ 4 files changed, 74 insertions(+), 42 deletions(-) create mode 100644 content-types.json create mode 100644 forms.json create mode 100644 lists.json diff --git a/config.json b/config.json index b3ea64e..741c6b9 100644 --- a/config.json +++ b/config.json @@ -7,46 +7,5 @@ "name": "Areya Webservices", "link": "https://www.areya.de/" }, - "lumino-version": {"min": "3.0", "max": "3.1"}, - "content-types": [ - { - "name":"Produkt", - "description":"Produkt", - "icon":"shopping-bag", - "status":1, - "blade":"produkt", - "fields":[ - { - "name":"Preis", - "type":"number", - "description":"", - "position":1, - "required":1, - "default_value":"" - }, - { - "name":"Lieferumfang", - "type":"textfield", - "description":"", - "position":2, - "required":1, - "default_value":"" - } - ] - } - ], - "lists": [ - { - "name": "Produkte", - "slug": "produkte", - "description": "", - "search_terms": "", - "image": "", - "seo_title": "", - "seo_description": "", - "blade": "produkte", - "content-types": ["Produkt"], - "sorting": "Created At (DESC)" - } - ] + "lumino-version": {"min": "3.0", "max": "3.1"} } diff --git a/content-types.json b/content-types.json new file mode 100644 index 0000000..efc1dcf --- /dev/null +++ b/content-types.json @@ -0,0 +1,27 @@ +[ + { + "name":"Produkt", + "description":"Produkt", + "icon":"shopping-bag", + "status":1, + "blade":"produkt", + "fields":[ + { + "name":"Preis", + "type":"number", + "description":"", + "position":1, + "required":1, + "default_value":"" + }, + { + "name":"Lieferumfang", + "type":"textfield", + "description":"", + "position":2, + "required":1, + "default_value":"" + } + ] + } +] \ No newline at end of file diff --git a/forms.json b/forms.json new file mode 100644 index 0000000..85f9847 --- /dev/null +++ b/forms.json @@ -0,0 +1,32 @@ +[ + { + "name":"Anfrage", + "status":1, + "channels":[ + { + "name":"Bestaetigung", + "type":"email", + "status":1, + "active":"1", + "email-address":"info@areya.de", + "email-subject":"Bestaetigung", + "email-body-type":"text", + "email-body":"Olá" + }, + { + "name":"Fastbill", + "type":"api", + "status":1, + "active":"1", + "api-url":"https://my.fastbill.com/api/1.0/api.php", + "api-method":"post", + "api-auth-type":"basic", + "api-auth-username":"info@areya.de", + "api-auth-password":"e0364f3a42ca616af0fe78de3337008d5P7ZRTq9OsOVlWNlf7h3i5C9ZUagDgyV", + "api-body-type":"json", + "api-body-json":{"SERVICE":"customer.create","DATA":{"CUSTOMER_TYPE":"business","ORGANIZATION":"GustavoLuigi","LAST_NAME":"Souza"}}, + "api-header-data":[{"key":"Content-Type","value":"application/json"}] + } + ] + } +] \ No newline at end of file diff --git a/lists.json b/lists.json new file mode 100644 index 0000000..42d4512 --- /dev/null +++ b/lists.json @@ -0,0 +1,14 @@ +[ + { + "name": "Produkte", + "slug": "produkte", + "description": "", + "search_terms": "", + "image": "", + "seo_title": "", + "seo_description": "", + "blade": "produkte", + "content-types": ["Produkt"], + "sorting": "Created At (DESC)" + } +] \ No newline at end of file