From 6605a0dd13c5e4344088f48805169721c00a19d3 Mon Sep 17 00:00:00 2001 From: dilmaheurope Date: Thu, 28 Mar 2024 08:58:27 +0000 Subject: [PATCH] migration update --- config/sync/admin-role.strapi-editor.json | 90 ------------- .../sync/admin-role.strapi-super-admin.json | 90 ------------- ...uration_content_types##api##cart.cart.json | 10 -- ...kout-information.checkout-information.json | 30 ----- ...pi##checkout-payment.checkout-payment.json | 54 -------- ...##checkout-shipping.checkout-shipping.json | 50 ------- ...##crowdfunding-form.crowdfunding-form.json | 126 ------------------ ...##crowdfunding-home.crowdfunding-home.json | 32 ----- ...##recurring-element.recurring-element.json | 46 +------ config/sync/user-role.authenticated.json | 3 - .../crowdfunding-form/schema.json | 48 ------- .../controllers/crowdfunding-form.js | 9 -- .../routes/crowdfunding-form.js | 9 -- .../services/crowdfunding-form.js | 9 -- 14 files changed, 7 insertions(+), 599 deletions(-) delete mode 100644 config/sync/core-store.plugin_content_manager_configuration_content_types##api##crowdfunding-form.crowdfunding-form.json delete mode 100644 src/api/crowdfunding-form/content-types/crowdfunding-form/schema.json delete mode 100644 src/api/crowdfunding-form/controllers/crowdfunding-form.js delete mode 100644 src/api/crowdfunding-form/routes/crowdfunding-form.js delete mode 100644 src/api/crowdfunding-form/services/crowdfunding-form.js diff --git a/config/sync/admin-role.strapi-editor.json b/config/sync/admin-role.strapi-editor.json index 95da06a..dad867b 100644 --- a/config/sync/admin-role.strapi-editor.json +++ b/config/sync/admin-role.strapi-editor.json @@ -1254,96 +1254,6 @@ }, "conditions": [] }, - { - "action": "plugin::content-manager.explorer.create", - "subject": "api::crowdfunding-form.crowdfunding-form", - "properties": { - "fields": [ - "Title", - "Intro_text", - "Meta.HTML_Title", - "Meta.Meta_description", - "Meta.noindex", - "Meta.nofollow", - "Meta.URL_slug", - "Meta.Canonical_link" - ], - "locales": [ - "en", - "nl-NL", - "de" - ] - }, - "conditions": [] - }, - { - "action": "plugin::content-manager.explorer.delete", - "subject": "api::crowdfunding-form.crowdfunding-form", - "properties": { - "locales": [ - "en", - "nl-NL", - "de" - ] - }, - "conditions": [] - }, - { - "action": "plugin::content-manager.explorer.publish", - "subject": "api::crowdfunding-form.crowdfunding-form", - "properties": { - "locales": [ - "en", - "nl-NL", - "de" - ] - }, - "conditions": [] - }, - { - "action": "plugin::content-manager.explorer.read", - "subject": "api::crowdfunding-form.crowdfunding-form", - "properties": { - "fields": [ - "Title", - "Intro_text", - "Meta.HTML_Title", - "Meta.Meta_description", - "Meta.noindex", - "Meta.nofollow", - "Meta.URL_slug", - "Meta.Canonical_link" - ], - "locales": [ - "en", - "nl-NL", - "de" - ] - }, - "conditions": [] - }, - { - "action": "plugin::content-manager.explorer.update", - "subject": "api::crowdfunding-form.crowdfunding-form", - "properties": { - "fields": [ - "Title", - "Intro_text", - "Meta.HTML_Title", - "Meta.Meta_description", - "Meta.noindex", - "Meta.nofollow", - "Meta.URL_slug", - "Meta.Canonical_link" - ], - "locales": [ - "en", - "nl-NL", - "de" - ] - }, - "conditions": [] - }, { "action": "plugin::content-manager.explorer.create", "subject": "api::crowdfunding-home.crowdfunding-home", diff --git a/config/sync/admin-role.strapi-super-admin.json b/config/sync/admin-role.strapi-super-admin.json index 93b2105..21dc30e 100644 --- a/config/sync/admin-role.strapi-super-admin.json +++ b/config/sync/admin-role.strapi-super-admin.json @@ -1410,96 +1410,6 @@ }, "conditions": [] }, - { - "action": "plugin::content-manager.explorer.create", - "subject": "api::crowdfunding-form.crowdfunding-form", - "properties": { - "fields": [ - "Title", - "Intro_text", - "Meta.HTML_Title", - "Meta.Meta_description", - "Meta.noindex", - "Meta.nofollow", - "Meta.URL_slug", - "Meta.Canonical_link" - ], - "locales": [ - "en", - "nl-NL", - "de" - ] - }, - "conditions": [] - }, - { - "action": "plugin::content-manager.explorer.delete", - "subject": "api::crowdfunding-form.crowdfunding-form", - "properties": { - "locales": [ - "en", - "nl-NL", - "de" - ] - }, - "conditions": [] - }, - { - "action": "plugin::content-manager.explorer.publish", - "subject": "api::crowdfunding-form.crowdfunding-form", - "properties": { - "locales": [ - "en", - "nl-NL", - "de" - ] - }, - "conditions": [] - }, - { - "action": "plugin::content-manager.explorer.read", - "subject": "api::crowdfunding-form.crowdfunding-form", - "properties": { - "fields": [ - "Title", - "Intro_text", - "Meta.HTML_Title", - "Meta.Meta_description", - "Meta.noindex", - "Meta.nofollow", - "Meta.URL_slug", - "Meta.Canonical_link" - ], - "locales": [ - "en", - "nl-NL", - "de" - ] - }, - "conditions": [] - }, - { - "action": "plugin::content-manager.explorer.update", - "subject": "api::crowdfunding-form.crowdfunding-form", - "properties": { - "fields": [ - "Title", - "Intro_text", - "Meta.HTML_Title", - "Meta.Meta_description", - "Meta.noindex", - "Meta.nofollow", - "Meta.URL_slug", - "Meta.Canonical_link" - ], - "locales": [ - "en", - "nl-NL", - "de" - ] - }, - "conditions": [] - }, { "action": "plugin::content-manager.explorer.create", "subject": "api::crowdfunding-home.crowdfunding-home", diff --git a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##cart.cart.json b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##cart.cart.json index 9ebb686..b8ea3fa 100644 --- a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##cart.cart.json +++ b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##cart.cart.json @@ -156,16 +156,6 @@ "name": "Meta", "size": 12 } - ], - [ - { - "name": "text_cart", - "size": 6 - }, - { - "name": "text_remove", - "size": 6 - } ] ], "list": [ diff --git a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-information.checkout-information.json b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-information.checkout-information.json index d57c429..321d868 100644 --- a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-information.checkout-information.json +++ b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-information.checkout-information.json @@ -254,36 +254,6 @@ "name": "Meta", "size": 12 } - ], - [ - { - "name": "text_continue_to_shipping", - "size": 6 - }, - { - "name": "text_return_to_cart", - "size": 6 - } - ], - [ - { - "name": "Aria_label_form_text", - "size": 6 - }, - { - "name": "text_contact_info", - "size": 6 - } - ], - [ - { - "name": "text_customer", - "size": 6 - }, - { - "name": "text_shipping_address", - "size": 6 - } ] ], "list": [ diff --git a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-payment.checkout-payment.json b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-payment.checkout-payment.json index f045a7d..e8aa8ba 100644 --- a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-payment.checkout-payment.json +++ b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-payment.checkout-payment.json @@ -329,60 +329,6 @@ "name": "Meta", "size": 12 } - ], - [ - { - "name": "text_card_details", - "size": 6 - } - ], - [ - { - "name": "text_accepted_cards", - "size": 6 - }, - { - "name": "Accepted_cards_icon", - "size": 6 - } - ], - [ - { - "name": "Card_label_number", - "size": 6 - }, - { - "name": "Card_label_date", - "size": 6 - } - ], - [ - { - "name": "Card_label_cvv", - "size": 6 - }, - { - "name": "text_card_error_message", - "size": 6 - } - ], - [ - { - "name": "Ideal_label_select_bank", - "size": 6 - } - ], - [ - { - "name": "Button_text_pay_with", - "size": 6 - } - ], - [ - { - "name": "text_payment_error", - "size": 8 - } ] ], "list": [ diff --git a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-shipping.checkout-shipping.json b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-shipping.checkout-shipping.json index d2cb9d4..dcf09b3 100644 --- a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-shipping.checkout-shipping.json +++ b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##checkout-shipping.checkout-shipping.json @@ -285,56 +285,6 @@ "name": "Meta", "size": 12 } - ], - [ - { - "name": "text_contact", - "size": 6 - }, - { - "name": "text_delivery_address", - "size": 6 - } - ], - [ - { - "name": "text_change", - "size": 6 - }, - { - "name": "text_shipping_method", - "size": 6 - } - ], - [ - { - "name": "text_continue_to_payment", - "size": 6 - }, - { - "name": "text_return_to_information", - "size": 6 - } - ], - [ - { - "name": "Aria_label_kindness_delivery_address_form_text", - "size": 6 - }, - { - "name": "Aria_label_delivery_address_text", - "size": 6 - } - ], - [ - { - "name": "Aria_label_email_address_text", - "size": 6 - }, - { - "name": "Aria_label_change_text", - "size": 6 - } ] ], "list": [ diff --git a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##crowdfunding-form.crowdfunding-form.json b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##crowdfunding-form.crowdfunding-form.json deleted file mode 100644 index 5a0018d..0000000 --- a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##crowdfunding-form.crowdfunding-form.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "key": "plugin_content_manager_configuration_content_types::api::crowdfunding-form.crowdfunding-form", - "value": { - "uid": "api::crowdfunding-form.crowdfunding-form", - "settings": { - "bulkable": true, - "filterable": true, - "searchable": true, - "pageSize": 10, - "mainField": "Title", - "defaultSortBy": "Title", - "defaultSortOrder": "ASC" - }, - "metadatas": { - "id": { - "edit": {}, - "list": { - "label": "id", - "searchable": true, - "sortable": true - } - }, - "Title": { - "edit": { - "label": "Title", - "description": "", - "placeholder": "", - "visible": true, - "editable": true - }, - "list": { - "label": "Title", - "searchable": true, - "sortable": true - } - }, - "Intro_text": { - "edit": { - "label": "Intro_text", - "description": "", - "placeholder": "", - "visible": true, - "editable": true - }, - "list": { - "label": "Intro_text", - "searchable": false, - "sortable": false - } - }, - "Meta": { - "edit": { - "label": "Meta", - "description": "", - "placeholder": "", - "visible": true, - "editable": true - }, - "list": { - "label": "Meta", - "searchable": false, - "sortable": false - } - }, - "createdAt": { - "edit": { - "label": "createdAt", - "description": "", - "placeholder": "", - "visible": false, - "editable": true - }, - "list": { - "label": "createdAt", - "searchable": true, - "sortable": true - } - }, - "updatedAt": { - "edit": { - "label": "updatedAt", - "description": "", - "placeholder": "", - "visible": false, - "editable": true - }, - "list": { - "label": "updatedAt", - "searchable": true, - "sortable": true - } - } - }, - "layouts": { - "list": [ - "id", - "Title", - "Meta", - "createdAt" - ], - "edit": [ - [ - { - "name": "Title", - "size": 6 - } - ], - [ - { - "name": "Intro_text", - "size": 12 - } - ], - [ - { - "name": "Meta", - "size": 12 - } - ] - ] - } - }, - "type": "object", - "environment": null, - "tag": null -} \ No newline at end of file diff --git a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##crowdfunding-home.crowdfunding-home.json b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##crowdfunding-home.crowdfunding-home.json index 183d82d..79e0365 100644 --- a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##crowdfunding-home.crowdfunding-home.json +++ b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##crowdfunding-home.crowdfunding-home.json @@ -370,38 +370,6 @@ "name": "Meta", "size": 12 } - ], - [ - { - "name": "Heading_block", - "size": 6 - }, - { - "name": "Heading_plans", - "size": 6 - } - ], - [ - { - "name": "Block_blob", - "size": 6 - } - ], - [ - { - "name": "Heading_goal", - "size": 4 - }, - { - "name": "Heading_supporters", - "size": 4 - } - ], - [ - { - "name": "Block_text", - "size": 12 - } ] ], "list": [ diff --git a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##recurring-element.recurring-element.json b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##recurring-element.recurring-element.json index 15b9b2b..da7cdb2 100644 --- a/config/sync/core-store.plugin_content_manager_configuration_content_types##api##recurring-element.recurring-element.json +++ b/config/sync/core-store.plugin_content_manager_configuration_content_types##api##recurring-element.recurring-element.json @@ -2935,12 +2935,6 @@ } }, "layouts": { - "list": [ - "id", - "Logo", - "Logo_tagline", - "Footer_text" - ], "edit": [ [ { @@ -3728,41 +3722,13 @@ "size": 4 } ], - [ - { - "name": "text_shipping_country", - "size": 4 - } - ], [ { "name": "label_auto_tag", "size": 6 - } - ], - [ - { - "name": "Logo", - "size": 4 - }, - { - "name": "Logo_tagline", - "size": 4 - } - ], - [ - { - "name": "Favicon", - "size": 4 }, { - "name": "Product_sold_out_text", - "size": 4 - } - ], - [ - { - "name": "OpenGraph_default", + "name": "text_plan", "size": 6 } ], @@ -3882,12 +3848,14 @@ { "name": "error_payment", "size": 6 - }, - { - "name": "text_plan", - "size": 6 } ] + ], + "list": [ + "id", + "Logo", + "Logo_tagline", + "Footer_text" ] } }, diff --git a/config/sync/user-role.authenticated.json b/config/sync/user-role.authenticated.json index 5b916c0..0cd5fdb 100644 --- a/config/sync/user-role.authenticated.json +++ b/config/sync/user-role.authenticated.json @@ -21,9 +21,6 @@ { "action": "api::crowdfunding-email.crowdfunding-email.find" }, - { - "action": "api::crowdfunding-form.crowdfunding-form.find" - }, { "action": "api::crowdfunding-home.crowdfunding-home.find" }, diff --git a/src/api/crowdfunding-form/content-types/crowdfunding-form/schema.json b/src/api/crowdfunding-form/content-types/crowdfunding-form/schema.json deleted file mode 100644 index 33c68e3..0000000 --- a/src/api/crowdfunding-form/content-types/crowdfunding-form/schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "kind": "singleType", - "collectionName": "crowdfunding_forms", - "info": { - "singularName": "crowdfunding-form", - "pluralName": "crowdfunding-forms", - "displayName": "Crowdfunding form" - }, - "options": { - "draftAndPublish": true - }, - "pluginOptions": { - "i18n": { - "localized": true - } - }, - "attributes": { - "Title": { - "pluginOptions": { - "i18n": { - "localized": true - } - }, - "type": "string", - "required": true - }, - "Intro_text": { - "pluginOptions": { - "i18n": { - "localized": true - } - }, - "type": "richtext", - "required": true - }, - "Meta": { - "type": "component", - "repeatable": false, - "pluginOptions": { - "i18n": { - "localized": true - } - }, - "component": "search-engine.meta", - "required": true - } - } -} diff --git a/src/api/crowdfunding-form/controllers/crowdfunding-form.js b/src/api/crowdfunding-form/controllers/crowdfunding-form.js deleted file mode 100644 index 4b12242..0000000 --- a/src/api/crowdfunding-form/controllers/crowdfunding-form.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -/** - * crowdfunding-form controller - */ - -const { createCoreController } = require('@strapi/strapi').factories; - -module.exports = createCoreController('api::crowdfunding-form.crowdfunding-form'); diff --git a/src/api/crowdfunding-form/routes/crowdfunding-form.js b/src/api/crowdfunding-form/routes/crowdfunding-form.js deleted file mode 100644 index e150bd4..0000000 --- a/src/api/crowdfunding-form/routes/crowdfunding-form.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -/** - * crowdfunding-form router. - */ - -const { createCoreRouter } = require('@strapi/strapi').factories; - -module.exports = createCoreRouter('api::crowdfunding-form.crowdfunding-form'); diff --git a/src/api/crowdfunding-form/services/crowdfunding-form.js b/src/api/crowdfunding-form/services/crowdfunding-form.js deleted file mode 100644 index a3a1636..0000000 --- a/src/api/crowdfunding-form/services/crowdfunding-form.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -/** - * crowdfunding-form service. - */ - -const { createCoreService } = require('@strapi/strapi').factories; - -module.exports = createCoreService('api::crowdfunding-form.crowdfunding-form');