feat: catalog has_landing and landing_* for SuperAdmin

Expose the website landing flag and content keys in the deploy setting template.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 17:01:54 +03:30
co-authored by Cursor
parent 09218ee1e2
commit ccf7e90922
3 changed files with 29 additions and 0 deletions
@@ -216,6 +216,7 @@ const SUPERADMIN_OWNED_KEYS = new Set([
'enable_customer_level_profit',
'enable_product_funds',
'group_sms',
'has_landing',
'has_page_earn_money',
'has_page_gift_card',
'has_page_notification',
@@ -234,6 +235,13 @@ const SUPERADMIN_OWNED_META = {
'روشن: منوی اتوماسیون در پنل ادمین و اجرای موتور فعال است. خاموش: منو مخفی است و API/کران اجرا نمی‌شود. فقط از سوپرادمین قابل تغییر است.',
type: 'switch',
},
has_landing: {
value: 'false',
title_fa: 'لندینگ وبسایت',
description:
'روشن: منوی تنظیمات وبسایت در ادمین و تنظیمات لندینگ برای اپ کاربر فعال است. خاموش: منو مخفی است.',
type: 'switch',
},
};
for (const [key, meta] of Object.entries(SUPERADMIN_OWNED_META)) {