chore(settings): resync superadmin template after can_edit=1 runtime keys

Remove can_edit=1 keys (Montzar runtime, fee_service_charge_percentage, etc.)
from setting-templates-from-deploy.json and editable catalog list.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-19 19:55:43 +03:30
co-authored by Cursor
parent aa44d244d2
commit 19d28f2ed7
2 changed files with 12 additions and 120 deletions
-108
View File
@@ -134,15 +134,6 @@
"description": "روشن: زیرمنوی قیمت ویژه در مشتریان و اعمال سود خرید/فروش پکیج روی مظنه و سفارش برای کاربران انتخاب‌شده. خاموش: غیرفعال. فقط از دیپلوی قابل تغییر است.", "description": "روشن: زیرمنوی قیمت ویژه در مشتریان و اعمال سود خرید/فروش پکیج روی مظنه و سفارش برای کاربران انتخاب‌شده. خاموش: غیرفعال. فقط از دیپلوی قابل تغییر است.",
"type": "switch" "type": "switch"
}, },
{
"key": "down_price",
"value": "0",
"title_fa": "کمترین قیمت امروز",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "price"
},
{ {
"key": "enable_conditional_order", "key": "enable_conditional_order",
"value": "false", "value": "false",
@@ -377,87 +368,6 @@
"description": "", "description": "",
"type": "text" "type": "text"
}, },
{
"key": "montzar_closed",
"value": "false",
"title_fa": "بسته بودن همکار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "switch"
},
{
"key": "montzar_diff",
"value": "0",
"title_fa": "اختلاف قیمت همکار",
"can_edit": 0,
"is_active": 1,
"description": "سیستم پر می‌کند",
"type": "text"
},
{
"key": "montzar_last_product_log",
"value": "{}",
"title_fa": "لاگ محصول همکار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "longtext"
},
{
"key": "montzar_live_price",
"value": "0",
"title_fa": "قیمت لحظه‌ای همکار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "montzar_mazaneh",
"value": "0",
"title_fa": "مظنه همکار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "montzar_order_response",
"value": "[]",
"title_fa": "پاسخ سفارش همکار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "longtext"
},
{
"key": "montzar_token",
"value": "",
"title_fa": "توکن همکار (خودکار)",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "montzar_truly_buy_mazaneh",
"value": "0",
"title_fa": "مظنه خرید همکار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "montzar_truly_sell_mazaneh",
"value": "0",
"title_fa": "مظنه فروش همکار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{ {
"key": "node_client_id", "key": "node_client_id",
"value": "", "value": "",
@@ -656,15 +566,6 @@
"description": "آیدی چنل/گروه تلگرام برای ارسال قیمت (چند مقصد با ویرگول).", "description": "آیدی چنل/گروه تلگرام برای ارسال قیمت (چند مقصد با ویرگول).",
"type": "text" "type": "text"
}, },
{
"key": "price_extreme_date",
"value": "",
"title_fa": "تاریخ min/max روز",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{ {
"key": "referral_bonus_amount", "key": "referral_bonus_amount",
"value": "", "value": "",
@@ -791,15 +692,6 @@
"description": "واحد نمایش وزن فلز در دارایی‌ها، کیف پول و تراکنش‌ها|گرم,کیلوگرم", "description": "واحد نمایش وزن فلز در دارایی‌ها، کیف پول و تراکنش‌ها|گرم,کیلوگرم",
"type": "select" "type": "select"
}, },
{
"key": "up_price",
"value": "0",
"title_fa": "بیشترین قیمت امروز",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "price"
},
{ {
"key": "wallet_payment_provider", "key": "wallet_payment_provider",
"value": "none", "value": "none",
@@ -18,7 +18,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
"chat_webhook_secret", "chat_webhook_secret",
"customer_direct_sms", "customer_direct_sms",
"customer_special_pricing", "customer_special_pricing",
"down_price",
"enable_conditional_order", "enable_conditional_order",
"enable_customer_level_profit", "enable_customer_level_profit",
"enable_product_funds", "enable_product_funds",
@@ -45,15 +44,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
"metal_type", "metal_type",
"montify_name", "montify_name",
"montzar_base_url", "montzar_base_url",
"montzar_closed",
"montzar_diff",
"montzar_last_product_log",
"montzar_live_price",
"montzar_mazaneh",
"montzar_order_response",
"montzar_token",
"montzar_truly_buy_mazaneh",
"montzar_truly_sell_mazaneh",
"node_client_id", "node_client_id",
"node_shared_secret", "node_shared_secret",
"pargar_api_token", "pargar_api_token",
@@ -76,7 +66,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
"price_channel_bale_to", "price_channel_bale_to",
"price_channel_rubika_to", "price_channel_rubika_to",
"price_channel_telegram_to", "price_channel_telegram_to",
"price_extreme_date",
"referral_bonus_amount", "referral_bonus_amount",
"rubika_bot_token", "rubika_bot_token",
"send_to_pargar", "send_to_pargar",
@@ -91,7 +80,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
"tahesab_token", "tahesab_token",
"telegram_bot_token", "telegram_bot_token",
"unit", "unit",
"up_price",
"wallet_payment_provider", "wallet_payment_provider",
"wss_enabled", "wss_enabled",
"zarin_api", "zarin_api",
@@ -121,6 +109,7 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
"deposit_method_shetab", "deposit_method_shetab",
"deposit_sheba", "deposit_sheba",
"deposit_sms_support_number", "deposit_sms_support_number",
"down_price",
"endDay", "endDay",
"fee_conditional_order", "fee_conditional_order",
"fee_free", "fee_free",
@@ -134,11 +123,20 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
"min_first_buy", "min_first_buy",
"min_withdraw", "min_withdraw",
"minimum_sell", "minimum_sell",
"montzar_closed",
"montzar_diff",
"montzar_last_product_log",
"montzar_live_price",
"montzar_mazaneh",
"montzar_mobile", "montzar_mobile",
"montzar_open_buy", "montzar_open_buy",
"montzar_open_sell", "montzar_open_sell",
"montzar_order_response",
"montzar_password", "montzar_password",
"montzar_product_id", "montzar_product_id",
"montzar_token",
"montzar_truly_buy_mazaneh",
"montzar_truly_sell_mazaneh",
"name_fa", "name_fa",
"open_register", "open_register",
"price_channel_diff", "price_channel_diff",
@@ -148,6 +146,7 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
"price_channel_footer_phone", "price_channel_footer_phone",
"price_channel_messengers", "price_channel_messengers",
"price_channel_min_seconds", "price_channel_min_seconds",
"price_extreme_date",
"products_site_link_enabled", "products_site_link_enabled",
"products_site_link_text", "products_site_link_text",
"products_site_link_url", "products_site_link_url",
@@ -189,5 +188,6 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
"support_messenger_text", "support_messenger_text",
"tracking_systems", "tracking_systems",
"tracking_systems_enabled", "tracking_systems_enabled",
"up_price",
]); ]);