chore(settings): add about_software and enamad_url metadata

This commit is contained in:
2026-08-24 09:50:19 +03:30
parent 547f8c83f4
commit 6123a7327b
+7 -1
View File
@@ -276,6 +276,8 @@ const KEY_TYPE_FALLBACK: Record<string, SettingFieldType> = {
payping_gateway_name: 'select',
text_rule: 'longtext',
text_about: 'longtext',
about_software: 'longtext',
enamad_url: 'text',
fee_service_charge_percentage: 'number',
fee_deduct_from_gold: 'switch',
require_zero_main_gold_before_other_buy: 'switch',
@@ -704,6 +706,10 @@ const KEY_HELP_FALLBACK: Record<string, string> = {
'متن کامل قوانین و مقررات که در صفحه قوانین اپ به مشتری نشان داده می‌شود.',
text_about:
'متن «درباره ما» شامل معرفی مجموعه، راه‌های ارتباطی و توضیح خدمات.',
about_software:
'متن معرفی نرم‌افزار — HTML یا چند خط متن.',
enamad_url:
'لینک اعتماد اینماد (trustseal.enamad.ir).',
referral_id:
'روشن: وارد کردن کد معرف در ثبت‌نام اجباری است. خاموش: کد معرف اختیاری است.',
gift_for_referrer:
@@ -1185,7 +1191,7 @@ export const SETTING_EDITABLE_KEYS = new Set([
'has_chat',
'deposit_support_message_text', 'deposit_account_holder', 'deposit_card_number', 'deposit_account_number', 'deposit_sheba',
'deposit_method_card_to_card', 'deposit_method_gateway', 'deposit_method_identified', 'deposit_method_shetab',
'text_about', 'text_rule',
'text_about', 'text_rule', 'about_software', 'enamad_url',
'zaarbox_price_key',
'price_channel_enabled', 'price_channel_messengers', 'price_channel_diff',
'price_channel_min_seconds', 'price_channel_footer_id', 'price_channel_footer_phone',