From 7387a2f264447da922891276cab2ed259f052f9a Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Thu, 24 Oct 2024 20:23:33 +0200 Subject: [PATCH] feat: add new config of deployment helper --- shop/config.go | 4 ++++ shop/shopware-project-schema.json | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/shop/config.go b/shop/config.go index f97544c..b6b6b48 100644 --- a/shop/config.go +++ b/shop/config.go @@ -95,6 +95,10 @@ type ConfigDeployment struct { LicenseDomain string `yaml:"license-domain"` } `yaml:"store"` + Cache struct { + AlwaysClear bool `yaml:"always_clear"` + } `yaml:"cache"` + // The extension management of the deployment ExtensionManagement struct { // When enabled, the extensions will be installed, updated, and removed diff --git a/shop/shopware-project-schema.json b/shop/shopware-project-schema.json index ec1ed26..129bb5f 100644 --- a/shop/shopware-project-schema.json +++ b/shop/shopware-project-schema.json @@ -135,6 +135,15 @@ "additionalProperties": false, "type": "object" }, + "cache": { + "properties": { + "always_clear": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "extension-management": { "properties": { "enabled": {