Skip to content

Commit 289ee34

Browse files
committed
Add support for the Hyvä CMS and Hyvä Admin Dashboard cache types
1 parent b633c98 commit 289ee34

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/cache/hotkeys.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
(def process (js/require "process"))
1212

1313
(def key->cachetypes {"c" ["config"]
14-
"b" ["block_html"]
14+
"b" ["block_html" "hyva_cms" "hyva_admin_dashboard"]
1515
"l" ["layout"]
1616
"f" ["full_page"]
1717
"a" [] ;; a for all

src/magento/fingerprint_file.cljs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@
105105
["/etc/queue_topology\\.xml$" ["message_queue_topology_config_cache"]]
106106
["/etc/crontab\\.xml$" ["crontab_config_cache"]]
107107
["/hyva_checkout\\.xml$" ["checkout_config_cache" "hyva_checkout_config_cache"]]
108+
["/etc/adminhtml/(?:hyva_|)dashboard_widget\\.xml$" ["hyva_admin_dashboard"]]
109+
["/etc/hyva_cms/components\\.json$" ["hyva_cms"]]
108110
["/etc/events\\.xml" ["global__event_config_cache"]]
109111
["/etc/frontend/events\\.xml$" ["frontend__event_config_cache"]]
110112
["/etc/adminhtml/events\\.xml$" ["adminhtml__event_config_cache"]]

0 commit comments

Comments
 (0)