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
@@ -18,7 +18,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
"chat_webhook_secret",
"customer_direct_sms",
"customer_special_pricing",
"down_price",
"enable_conditional_order",
"enable_customer_level_profit",
"enable_product_funds",
@@ -45,15 +44,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
"metal_type",
"montify_name",
"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_shared_secret",
"pargar_api_token",
@@ -76,7 +66,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
"price_channel_bale_to",
"price_channel_rubika_to",
"price_channel_telegram_to",
"price_extreme_date",
"referral_bonus_amount",
"rubika_bot_token",
"send_to_pargar",
@@ -91,7 +80,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
"tahesab_token",
"telegram_bot_token",
"unit",
"up_price",
"wallet_payment_provider",
"wss_enabled",
"zarin_api",
@@ -121,6 +109,7 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
"deposit_method_shetab",
"deposit_sheba",
"deposit_sms_support_number",
"down_price",
"endDay",
"fee_conditional_order",
"fee_free",
@@ -134,11 +123,20 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
"min_first_buy",
"min_withdraw",
"minimum_sell",
"montzar_closed",
"montzar_diff",
"montzar_last_product_log",
"montzar_live_price",
"montzar_mazaneh",
"montzar_mobile",
"montzar_open_buy",
"montzar_open_sell",
"montzar_order_response",
"montzar_password",
"montzar_product_id",
"montzar_token",
"montzar_truly_buy_mazaneh",
"montzar_truly_sell_mazaneh",
"name_fa",
"open_register",
"price_channel_diff",
@@ -148,6 +146,7 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
"price_channel_footer_phone",
"price_channel_messengers",
"price_channel_min_seconds",
"price_extreme_date",
"products_site_link_enabled",
"products_site_link_text",
"products_site_link_url",
@@ -189,5 +188,6 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
"support_messenger_text",
"tracking_systems",
"tracking_systems_enabled",
"up_price",
]);