Publish Meshkee static-image slot catalog so dashboard Refresh can import keys.

The storefront already consumed slots, but GET /meshkee/static-image-slots was missing, so Meshkee never registered slider, categories, four-icon-image, about-us, or brands for this domain.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-30 09:58:06 +03:30
co-authored by Cursor
parent 26b8b64bf3
commit 7a0de3c1f4
8 changed files with 169 additions and 19 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ export async function getStaticImageSlots(pageKey?: string): Promise<StaticImage
try {
const qs = pageKey ? `?pageKey=${encodeURIComponent(pageKey)}` : "";
const data = await meshkeeFetch<{ items: StaticImageSlot[] }>(
`/tenants/${TENANT_DOMAIN}/website/static-images${qs}`
`/tenants/${TENANT_DOMAIN}/website/static-images${qs}`,
60
);
return data.items;
} catch {